linuxmint / xapp

Cross-desktop libraries and common resources
GNU Lesser General Public License v3.0
126 stars 44 forks source link

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

Closed NoXPhasma closed 1 year ago

NoXPhasma commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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/