You are not logged in.

#26 2023-12-10 16:08:41

hazote
Member
Registered: 2013-07-24
Posts: 46

Re: [SOLVED] Tint2 crashing on startup

tint2: Using glib slice allocator (default). Run tint2 with environment variable G_SLICE=always-malloc in case of strange behavior or crashes
tint2: xRandr: Found crtc's: 6
tint2: xRandr: Linking output HDMI-A-0 with crtc 0, resolution 1920x1080, DPI 92
tint2: xRandr: crtc 1 seems disabled
tint2: xRandr: crtc 2 seems disabled
tint2: xRandr: crtc 3 seems disabled
tint2: xRandr: crtc 4 seems disabled
tint2: xRandr: crtc 5 seems disabled
tint2: No XSETTINGS manager, tint2 uses config option 'launcher_icon_theme'.
tint2: Loading config file: /home/youb/.config/tint2/tint2rc
tint2: real transparency off.... depth: 24
tint2: panel items: TSEEEBC
tint2: Systray composited rendering on
tint2: Found power device ps-controller-battery-a4:53:85:56:ef:6a
tint2: /usr/src/debug/tint2/tint2/src/battery/linux.c:167: read failed for /sys/class/power_supply/ps-controller-battery-a4:53:85:56:ef:6a/charge_now
tint2: Failed to initialize battery "ps-controller-battery-a4:53:85:56:ef:6a"
tint2: nb monitors 1, nb monitors used 1, nb desktops 4
tint2: panel 1 uses scale 1 
Creating executor 'clock' with monitor -1 for panel on monitor 0
tint2: Found power device ps-controller-battery-a4:53:85:56:ef:6a
tint2: /usr/src/debug/tint2/tint2/src/battery/linux.c:167: read failed for /sys/class/power_supply/ps-controller-battery-a4:53:85:56:ef:6a/charge_now
tint2: Failed to initialize battery "ps-controller-battery-a4:53:85:56:ef:6a"
tint2: Kernel uevent interface initialized...
tint2: systray window 12582928
tint2: systray started
tint2: reinitialize batteries after HW change
tint2: reinitialize batteries after HW change
Erreur de segmentation (core dumped)

Offline

#27 2023-12-10 16:11:10

seth
Member
Registered: 2012-09-03
Posts: 51,462

Re: [SOLVED] Tint2 crashing on startup

https://wiki.archlinux.org/title/Core_d … _core_dump
And G_SLICE is gone, so

tint2: Using glib slice allocator (default). Run tint2 with environment variable G_SLICE=always-malloc in case of strange behavior or crashes

is inert.

Offline

#28 2023-12-10 18:35:57

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,000
Website

Re: [SOLVED] Tint2 crashing on startup

As I remember there were 2 issues with Openbox/Tint2 when traversing through list with invalid pointers. One was fixed by Mikachu in openbox/client.c:
https://github.com/Mikachu/openbox/comm … 677e5d37e7

and this was applied to the official Arch Openbox package:
https://gitlab.archlinux.org/archlinux/ … =heads#L31

However there was a second issue with resuming from suspend in tint2 src/util/uevent.c which was fixed in a similar way:
https://web.archive.org/web/20230321200 … com/glib2/
https://bbs.archlinux.org/viewtopic.php … 6#p2090946

However this patch was never applied to the official Arch tint2 package.

Last edited by karabaja4 (2024-04-16 20:39:13)

Offline

Board footer

Powered by FluxBB