Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901777 - x11-wm/openbox-3.6.1-r4: crashes randomly with >=dev-libs/glib-2.76.0
Summary: x11-wm/openbox-3.6.1-r4: crashes randomly with >=dev-libs/glib-2.76.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 901805
  Show dependency tree
 
Reported: 2023-03-17 11:55 UTC by Piotr Karbowski (RETIRED)
Modified: 2023-05-04 05:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2023-03-17 11:55:20 UTC
Since update to dev-libs/glib-2.76.0 the Openbox randomly crashes. Seems that Archlinux users did the legwork and it is related to gslice.

https://bbs.archlinux.org/viewtopic.php?pid=2090135#p2090135

Added Gnome project to CC since glib is maintained by Gnome team, many old X software might have now issues much like openbox here and tint2 in another bug.
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2023-03-17 12:04:30 UTC
Thanks Sam for adding the see also links, I just came here to add https://bugzilla.icculus.org/show_bug.cgi?id=6669 and seems it is already here.
Comment 2 Hanno Böck gentoo-dev 2023-03-17 19:46:53 UTC
This is a use after free bug, and the patch attached to the icculus bug tracker entry fixes it:
https://bugzilla-attachments.icculus.org/attachment.cgi?id=3646

So we should add that to the ebuild.
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2023-03-19 09:46:53 UTC
The final version of patch that was pushed https://github.com/Mikachu/openbox/commit/9ed6fdd71890c5cc43747f105382d5677e5d37e7.patch
Comment 4 Larry the Git Cow gentoo-dev 2023-03-19 10:29:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d5a573165b47f9523ba43d9abc3cae5e116c48

commit 95d5a573165b47f9523ba43d9abc3cae5e116c48
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2023-03-19 10:24:19 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2023-03-19 10:24:19 +0000

    x11-wm/openbox: patch issue with >=glib-2.76.0
    
    Bug: https://bugs.gentoo.org/901777
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 x11-wm/openbox/files/openbox-3.6.1-glib-2.76.patch |  54 +++++++++
 x11-wm/openbox/openbox-3.6.1-r5.ebuild             | 123 +++++++++++++++++++++
 2 files changed, 177 insertions(+)