Bug#1054261: tint2 coredumps on startup

2023-11-03 Thread Bastian Germann

I am uploading a NMU to fix this, which also includes the latest git commits.
The change that I am sponsoring is also available in git.



Bug#1054261: tint2 coredumps on startup

2023-10-19 Thread Phil Dibowitz
Package: tint2
Version: 17.0.1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

tint2 crashes reliably on startup with this:

```
$ tint2
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 DisplayPort-1 with crtc 0, resolution 1920x1080, 
DPI 102
tint2: xRandr: Linking output HDMI-A-0 with crtc 1, resolution 1920x1080, DPI 
102
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/phil/.config/tint2/tint2rc
tint2: real transparency off depth: 24
tint2: panel items: TSC
tint2: Systray composited rendering off
tint2: systray_asb forced to 100 0 0
tint2: nb monitors 2, nb monitors used 2, nb desktops 4
tint2: panel 1 uses scale 1 
tint2: panel 2 uses scale 1 
tint2: Kernel uevent interface initialized...
tint2: systray window 27263052
tint2: systray started add_icon: 46137383 (), pid 24844, visual 0x55fcc6f9e1c0, 
colormap 46137384, depth 32, width 22, height 22
tint2: Couldn't get geometry of window! systray 823: cannot embed icon for 
window 46137383 () parent 27263080 pid 24844
tint2: remove_icon: 46137383 () Segmentation fault (core dumped) 
```

Despite what the message says, even if you define G_SLICE=always-malloc,
it still prints that message:

```
[phil@rider ~]$ export G_SLICE=always-malloc
[phil@rider ~]$ tint2
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
```

The internet believes it's due to newer glibc2: 
https://bbs.archlinux.org/viewtopic.php?id=284293

I'm using openbox.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tint2 depends on:
ii  libc6 2.37-12
ii  libcairo2 1.18.0-1
ii  libgdk-pixbuf-2.0-0   2.42.10+dfsg-1+b1
ii  libglib2.0-0  2.78.0-2
ii  libgtk-3-03.24.38-5
ii  libimlib2 1.12.1-1
ii  libpango-1.0-01.51.0+ds-2
ii  libpangocairo-1.0-0   1.51.0+ds-2
ii  librsvg2-22.54.7+dfsg-2
ii  libstartup-notification0  0.12-6+b1
ii  libx11-6  2:1.8.7-1
ii  libxcomposite11:0.4.5-1
ii  libxdamage1   1:1.1.6-1
ii  libxext6  2:1.3.4-1+b1
ii  libxinerama1  2:1.1.4-3
ii  libxrandr22:1.5.2-2+b1
ii  libxrender1   1:0.9.10-1.1

tint2 recommends no packages.

tint2 suggests no packages.

-- no debconf information