Bug 32466 - synfigstudio crash due issue in libcanberra
Summary: synfigstudio crash due issue in libcanberra
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://salsa.debian.org/gnome-team/l...
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-10-30 16:07 CET by Pascal Drabik
Modified: 2024-02-09 03:46 CET (History)
5 users (show)

See Also:
Source RPM: libcanberra-0.30-18.mga9.src.rpm
CVE:
Status comment:


Attachments
CLI output when starting synfigstudio in cauldron (7.91 KB, text/plain)
2023-10-30 21:51 CET, Marja Van Waes
Details

Description Pascal Drabik 2023-10-30 16:07:55 CET
Starting synfigstudioa, either from a terminal oe from the menu does not work.From the terminal, the application stops with a segmentation fault.

This application runs well with Mageia 8.

The easiest way perhaps to reproduce this issue is to use the live Mageia 9, plasma-x86_64 version.

As such, it looks not possible to use synfigstudio.
Comment 1 Marja Van Waes 2023-10-30 21:51:12 CET
Created attachment 14119 [details]
CLI output when starting synfigstudio in cauldron

In cauldron, with the same synfigstudio version & release as in Mga9, the program crashes, too. See attachment.

The last two lines before being notified of the segfault are:

(synfigstudio:139001): GLib-GObject-CRITICAL **: 21:40:26.116: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(synfigstudio:139001): GLib-GObject-CRITICAL **: 21:40:26.116: g_object_unref: assertion 'G_IS_OBJECT (object)' failed


I suppose it can run without plugins? There are also these lines:
mlt_repository_init: no plugins found in "/usr/lib64/mlt-7"
synfig(139079) [21:41:37] warning: Can't read plugin directory: Error opening directory “/home/marja/.config/synfig/plugins”: No such file or directory

CC: (none) => marja11

Comment 2 Marja Van Waes 2023-10-30 21:52:51 CET
Assigning to the registered maintainer.

Whiteboard: (none) => MGA9TOO
Assignee: bugsquad => rverschelde
Version: 9 => Cauldron

Comment 3 Pascal Drabik 2024-01-30 15:41:54 CET
(In reply to Marja Van Waes from comment #2)
> Assigning to the registered maintainer.

Hi,
Is there any news about this issue?
Despite keeping my system updated, I am still unable to use synfigstudio on my system.

For information, the error related to the pluugins directory can probably be solved by simply creating it outsied the program.

Furtermore, I discovered that if I use a full new installation of Mageia (instead of an upgrade or from using the live distribution) then synfigstudio seems to work properly .

As far as my system is concerned installing from scratch Mageia 9 would involved a lot of work due to the configuration I am using.

If I remember well, I think I installed Mageia  from the live distribution and simply updated the system each time it was necessary.

Could thee be a difference beteeen the full installation version and the live version regarding possible libraries?

Thanks in advance.

Best regards,

Pascal.

PS: Being still in January, I wish all the people from Mageia teams a very healthy and happy new year.
Comment 4 Marja Van Waes 2024-01-30 22:38:01 CET
Thanks Pascal, best wishes from us to you, too.

CC'ing ghibo, who was the last one to push synfig(studio)

CC: (none) => ghibomgx

Comment 5 Pascal Drabik 2024-02-05 19:23:58 CET
Hi,
Trying to understand a bit further this issue, I found 2 interesting points. Her they are with the hope it can help you...

1- Running synfigstudio in GDB, I get the following information
.
.
.
synfig(269850) [19:08:38] info: Loading Settings...
[New Thread 0x7fffb7fff6c0 (LWP 269885)]
[New Thread 0x7fffb77fe6c0 (LWP 269886)]
[Thread 0x7fffb7fff6c0 (LWP 269885) exited]
[Thread 0x7fffb77fe6c0 (LWP 269886) exited]
synfig(269850) [19:08:38] info: Init Tools...

Thread 1 "synfigstudio" received signal SIGSEGV, Segmentation fault.
0x00007ffff7fbd99e in idle_cb () from /usr/lib64/gtk-3.0/modules/libcanberra-gtk-module.so
(gdb) 


2- If I remember correctly, I installed Mageia 9 from scratch on a dual-boot laptop (the other OS is Kubuntu). I installed and then checked synfigstudio and it worked well. I continued to install various software mainly dealing with photo and video processing. I fixed some issues like for instance the laptop not being able to wake up from hibernate. Once I thought my laptop was more or less functional, I checked by curiosity synfigstudio. Unfortunately it does not work anymore.
Comment 6 Giuseppe Ghibò 2024-02-06 15:31:30 CET
The crash occurs in libcanberra. The fix for libcanberra is this:

https://salsa.debian.org/gnome-team/libcanberra/-/raw/debian/latest/debian/patches/gtk-module-Handle-display-closing-gracefully.patch?ref_type=heads

applying this patch to current libcanberra would make synfigstudio not crashing anymore. Feel free to open a new bug for libcanberra and apply this patch.
Comment 7 David GEIGER 2024-02-06 17:55:08 CET
So ok let's try the fix done for both mga9 and Cauldron! Thanks Giuseppe :)

Assigning to QA,


Packages in 9/Core/Updates_testing:
======================
canberra-common-0.30-18.1.mga9
canberra-gtk-0.30-18.1.mga9
libcanberra-devel-0.30-18.1.mga9
lib64canberra-devel-0.30-18.1.mga9
libcanberra-gtk-devel-0.30-18.1.mga9
lib64canberra-gtk-devel-0.30-18.1.mga9
libcanberra-gtk0-0.30-18.1.mga9
lib64canberra-gtk0-0.30-18.1.mga9
libcanberra-gtk3-devel-0.30-18.1.mga9
lib64canberra-gtk3-devel-0.30-18.1.mga9
libcanberra-gtk3_0-0.30-18.1.mga9
lib64canberra-gtk3_0-0.30-18.1.mga9
libcanberra0-0.30-18.1.mga9
lib64canberra0-0.30-18.1.mga9


From SRPMS:
 libcanberra-0.30-18.1.mga9.src.rpm

Assignee: rverschelde => qa-bugs
CC: (none) => geiger.david68210

katnatek 2024-02-06 21:28:29 CET

Source RPM: synfigstudio-1.5.1-1.mga9.src.rpm => libcanberra-0.30-18.mga9.src.rpm
Summary: The command "synfigstudio" run from a terminal generates a segmentation fault => synfigstudio crash due issue in libcanberra

Comment 8 katnatek 2024-02-06 21:31:05 CET
Tested on real hardware mageia 9 x86_64

install  synfigstudio
run in terminal and get the crash
update to testing canberra packages
run synfigstudio in terminal, the application not crash

I can't do a deep test of the application
Comment 9 katnatek 2024-02-06 21:38:31 CET
If some one use one of the applications listed will be good to test if still works after the update

urpmq --whatrequires libcanberra0
aisleriot
canberra-common
canberra-gtk
cinnamon-session
cinnamon-settings-daemon
claws-mail-notification-plugin
eiskaltdcpp-gtk
evolution
evolution-data-server
gdm
gnome-flashback
gnome-multi-writer
gnome-recipes
gnome-settings-daemon
gnubg
hexchat
kdebase4-runtime
kmix
libcanberra-devel
libcanberra-gtk0
libcanberra-gtk3_0
libcanberra0
libgnome-bluetooth13
libgnome2_0
libgsound0
libkf5notifications5
libkf5notifyconfig5
libmarco-private2
libmuffin0
libmutter12_0
mate-control-center
mate-media
mate-power-manager
mate-screenshot
metacity
onboard
pavucontrol
pipewire-module-x11
plasma-pa
rawtherapee
vim-X11
vim-X11
vim-X11
vim-X11
vim-X11
whatsapp-for-linux
xfce4-notifyd
Comment 10 katnatek 2024-02-07 18:21:29 CET
Tested with onboard, enable the sounds and I hear the sound each time I click on a character

Whiteboard: MGA9TOO => MGA9-64-OK
Version: Cauldron => 9

Marja Van Waes 2024-02-07 22:00:31 CET

URL: (none) => https://salsa.debian.org/gnome-team/libcanberra/-/raw/debian/latest/debian/patches/gtk-module-Handle-display-closing-gracefully.patch?ref_type=heads

Marja Van Waes 2024-02-07 22:06:55 CET

Keywords: (none) => advisory

Comment 11 Thomas Andrews 2024-02-08 16:56:21 CET
Validating.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Comment 12 Mageia Robot 2024-02-09 03:46:45 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0050.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.