Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xapp-sn-watcher crashes on Cinnamon with glib2 version 2.76.0 #165

Closed
NoXPhasma opened this issue Mar 15, 2023 · 2 comments
Closed

xapp-sn-watcher crashes on Cinnamon with glib2 version 2.76.0 #165

NoXPhasma opened this issue Mar 15, 2023 · 2 comments

Comments

@NoXPhasma
Copy link

Distribution: Arch Linux
xapp version: 2.4.2
Cinnamon version: 5.6.7

Since the update to glib2 version 2.76.0 on Arch Linux, xapp-sn-watcher crashes with a segmentation fault when I click on the icon of specific applications (Discord, Gajim), which offer a menu, in the Xapp Status Applet. Downgrading glib2 to 2.74.6 fixes the issue.

@ikaikahub
Copy link

Same here. Occasionally when I click a tray icon they'll disappear and reappear a couple times, then will be functional
Segmentation faults for xapp-sn-watcher regarding libgdk-3.so.0.2405.32 in dmesg
The problem is intermittent but has happened a couple times today

Arch Linux
gtk3: 3.24.37
xapp: 2.4.2
Cinnamon: 5.6.7

@SapphirusBeryl
Copy link

SapphirusBeryl commented Mar 17, 2023

Glib2 swapped out their own memory allocator for malloc, which exposes memory safety issues in downstream applications.

Various other packages with memory safety issues are being exposed by the upstream changes made to glib2:
https://lore.kernel.org/distributions/87pm97325m.fsf@gentoo.org/T/

clefebvre pushed a commit that referenced this issue Mar 28, 2023
The window was getting destroyed before gtk could finish processing
it.

Fixes #165.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants