tint2 segfaults with latest version of glib2
Hi.
After Mageia Cauldron was updated to the latest version of glib2, tint2 segfaults when it removes an icon. I've tried to look at it, but I'm not a programmer.
Could you please look at it as soon as you can? I miss using tint2.
% tint2
tint2: Using glib slice allocator (default). Run tint2 with environment variable G_SLICE=always-malloc in case of strange behavior or crashes
tint2: xShm: Disabled
tint2: xRandr: Found crtc's: 4
tint2: xRandr: Linking output DVI-D-0 with crtc 0, resolution 2560x1440, DPI 108
tint2: xRandr: Linking output HDMI-0 with crtc 1, resolution 2560x1600, DPI 101
tint2: xRandr: crtc 2 seems disabled
tint2: xRandr: crtc 3 seems disabled
tint2: Loading config file: /home/stig/.config/tint2/tint2rc
tint2: tint2 has been compiled without battery support
tint2: real transparency off.... depth: 24
tint2: panel items: PTSBC
tint2: Systray composited rendering on
tint2: nb monitors 2, nb monitors used 2, nb desktops 4
tint2: panel 1 uses scale 1
tint2: Loading icon theme cache...
Icon path not found in cache: theme = hicolor, icon = /usr/share/icons/mini/mageia.png, size = 0
tint2: Loading icon theme 'hicolor': 'hicolor'
Adding icon path to cache: theme = hicolor, icon = /usr/share/icons/mini/mageia.png, size = 0, path = /usr/share/icons/mini/mageia.png
tint2: panel 2 uses scale 1
tint2: Kernel uevent interface initialized...
Icon path not found in cache: theme = hicolor, icon = /usr/share/icons/mini/mageia.png, size = 24
Adding icon path to cache: theme = hicolor, icon = /usr/share/icons/mini/mageia.png, size = 24, path = /usr/share/icons/mini/mageia.png
tint2: systray window 17825799
tint2: systray started
tint2: got 5 X errors
tint2: BadAlloc (insufficient resources for operation)
tint2: BadDrawable (invalid Pixmap or Window parameter)
tint2: BadAlloc (insufficient resources for operation)
tint2: BadDrawable (invalid Pixmap or Window parameter)
tint2: BadDrawable (invalid Pixmap or Window parameter)
add_icon: 6292376 (nxrunner.bin), pid 18789, visual 0x876550, colormap 6292375, depth 32, width 1, height 1
add_icon: 22020177 (), pid 18947, visual 0x876550, colormap 22020101, depth 32, width 22, height 22
tint2: got 1 X errors
tint2: BadDrawable (invalid Pixmap or Window parameter)
tint2: got 2 X errors
tint2: BadPixmap (invalid Pixmap parameter)
tint2: BadPixmap (invalid Pixmap parameter)
add_icon: 19922951 (pnmixer), pid 65523, visual 0x876550, colormap 19922950, depth 32, width 1, height 1
tint2: systray: error code 9
tint2: remove_icon: 19922951 (pnmixer)
[1] 1769426 segmentation fault (core dumped) tint2
Full backtrace from gdb: tint2.gdb.bt.txt
Addition to the attachment.
(gdb) where
#0 handle_x_event (e=0x7fffffffd240) at /usr/src/debug/tint2-17.1.3-1.mga9.x86_64/src/main.c:539
#1 0x000000000041e5a7 in handle_x_event (e=0x7fffffffd240) at /usr/src/debug/tint2-17.1.3-1.mga9.x86_64/src/main.c:447
#2 handle_x_events () at /usr/src/debug/tint2-17.1.3-1.mga9.x86_64/src/main.c:603
#3 0x000000000041eefa in run_tint2_event_loop () at /usr/src/debug/tint2-17.1.3-1.mga9.x86_64/src/main.c:781
#4 0x000000000041ef75 in tint2 (argc=<optimized out>, restart=0x7fffffffdbfc, argv=0x7fffffffdd28)
at /usr/src/debug/tint2-17.1.3-1.mga9.x86_64/src/main.c:824
#5 tint2 (argc=<optimized out>, argv=0x7fffffffdd28, restart=0x7fffffffdbfc) at /usr/src/debug/tint2-17.1.3-1.mga9.x86_64/s
rc/main.c:812
#6 0x0000000000414957 in main (argc=1, argv=0x7fffffffdd28) at /usr/src/debug/tint2-17.1.3-1.mga9.x86_64/src/main.c:871