#1054261 tint2 coredumps on startup

Package:
tint2
Source:
tint2
Description:
lightweight taskbar
Submitter:
Phil Dibowitz
Date:
2023-11-03 13:54:03 UTC
Severity:
normal
#1054261#5
Date:
2023-10-20 01:02:20 UTC
From:
To:
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.

#1054261#10
Date:
2023-11-03 13:28:59 UTC
From:
To:
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.

#1054261#15
Date:
2023-11-03 13:50:09 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tint2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1054261@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated tint2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 03 Nov 2023 13:40:45 +0100
Source: tint2
Architecture: source
Version: 17.0.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Sebastian Reichel <sre@debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1054261
Changes:
 tint2 (17.0.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Debian Janitor ]
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
   * Update standards version to 4.6.1, no changes needed.
 .
   [ Mateusz Łukasik ]
   * Add patch for fix crash with glib 2.76 (Closes: #1054261) (LP: #2015052)
Checksums-Sha1:
 6c9a0fd3d69cbccbe729ed8fc0caa061a3934261 1848 tint2_17.0.1-1.1.dsc
 ab222f8c6b7cd312f5d807b850e4b349731585e5 6048 tint2_17.0.1-1.1.debian.tar.xz
 80b459bd03ea7e03b07233c8d5816dd8901afefe 14397 tint2_17.0.1-1.1_source.buildinfo
Checksums-Sha256:
 53e8c0a3f152a60fe5a9c128c2d3a67db88d7382070a318bb4f94c1c175762ec 1848 tint2_17.0.1-1.1.dsc
 6cdc997fe3bf93a287c504e7194b6056e2e322f42f4122d4524f6a2f24095b0f 6048 tint2_17.0.1-1.1.debian.tar.xz
 7998fc1767d01d92d11f3615368ebdd04e1ef7443855b7c86c85c8295f36441e 14397 tint2_17.0.1-1.1_source.buildinfo
Files:
 be9416db9a00801cb1d3a984cb03d051 1848 x11 optional tint2_17.0.1-1.1.dsc
 679f5b6bae3d7e596058bc7522139fa0 6048 x11 optional tint2_17.0.1-1.1.debian.tar.xz
 b81aa355cdc9e214286ca20318025727 14397 x11 optional tint2_17.0.1-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmVE61AQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFGVDDACPO+BDN4nX2/ZpQ/ZrfEsQrcsHgcwOTOl0
A06pMBuFn6T6AQEJ4Tj5F/ILpP4boy2Cg1tN9BylCgF6XhLoT71X0HzzGKimEc+r
mbClQ0ILN3z0I0RpdI0w8yPm/sXhUPYaZ9fBFPgXzdpTLC5DSAQnWVfn9pz8QJsO
LhfvlJcfulI13E4VQNW7HLceKKjwdnQboUxqX8OBs5i1wlNgA8vPRuBMiQLmwnrU
+tPfzX9Rb0mnH7Urdt1osMsARqjOZ90gA/HJTsjnYKk5rxKhaQBt6UdOTw3AvXH3
WnMQ+J7ytPgR/6E1zwP9566agEi5OMIgYguNXjLMJynFaCEzDP2oBC/Fua9yAqUY
3Tdd3kHgx7Ma9SroqS4hyTbH8r7LHCHkbYGazz3EVLHLOiG1UMy5thRN7pMKCn9E
N1wOqiyhjGm8RNEK3wPZ/sNRooWk5Vqsenva9GJV5btePPUWIQIEGXG0klRNrTwC
l+CrdaZwQsy6h16RHpTQDTNRtL6gb1E=
=SOKW
-----END PGP SIGNATURE-----