Bug#1108739: baobab crashes when a MTP device is "mounted"
Julien Plissonneau Duquène
sre4ever at free.fr
Fri Jul 4 11:42:54 BST 2025
Package: baobab
Version: 48.0-2+b1
Severity: important
X-Debbugs-Cc: sre4ever at free.fr
Dear Maintainers,
This application crashes with a SIGSEGV when attempting to start it while a MTP
device is mounted through GVFS. When the device is plugged but not mounted, the
application starts, but crashes when attempting to mount the device by clicking
on it. I did not try to reproduce the issue with a different device.
Below is a crash report of starting baobab with the device already mounted.
==========
Thread 1 "baobab" received signal SIGSEGV, Segmentation fault.
baobab_location_list_volume_changed (self=0x555555762950,
volume=0x55555572a910) at src/baobab.p/baobab-location-list.c:881
warning: 881 src/baobab.p/baobab-location-list.c: No such file or directory
(gdb) bt
#0 baobab_location_list_volume_changed (self=0x555555762950,
volume=0x55555572a910) at src/baobab.p/baobab-location-list.c:881
#1 0x000055555556c99d in baobab_location_list_mount_added
(self=0x555555762950, mount=0x555555ce9290) at src/baobab.p/baobab-location-
list.c:1142
#2 0x00007ffff7c07950 in g_closure_invoke () from /lib/x86_64-linux-
gnu/libgobject-2.0.so.0
...
#14 0x00007ffff7d3dedd in g_application_run () from /lib/x86_64-linux-
gnu/libgio-2.0.so.0
#15 0x0000555555563e9f in _vala_main (args=0x7fffffffdfa8, args_length1=1) at
src/baobab.p/main.c:58
#16 main (argc=1, argv=0x7fffffffdfa8) at src/baobab.p/main.c:67
==========
0x000055555556c672 <+306>: call 0x555555570460 <baobab_location_unref>
0x000055555556c677 <+311>: mov 0x8(%rbx),%rbx
0x000055555556c67b <+315>: test %rbx,%rbx
0x000055555556c67e <+318>: je 0x55555556c6a1
<baobab_location_list_volume_changed+353>
=> 0x000055555556c680 <+320>: mov (%rbx),%r14
0x000055555556c683 <+323>: test %r14,%r14
0x000055555556c686 <+326>: jne 0x55555556c600
<baobab_location_list_volume_changed+192>
0x000055555556c68c <+332>: xor %edi,%edi
0x000055555556c68e <+334>: call 0x55555556fdc0
<baobab_location_get_mount>
==========
gio mount -l
...
Volume(0): SAMSUNG Android
Type: GProxyVolume (GProxyVolumeMonitorMTP)
Mount(0): SAMSUNG Android -> mtp://SAMSUNG_SAMSUNG_Android_XXXXXXXXXXX/
Type: GProxyShadowMount (GProxyVolumeMonitorMTP)
Mount(1): mtp -> mtp://SAMSUNG_SAMSUNG_Android_XXXXXXXXXXX/
Type: GDaemonMount
==========
Best regards,
--
Julien Plissonneau Duquène
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (990, 'testing-security'), (990, 'testing-debug'), (990, 'testing'), (20, 'unstable'), (10, 'experimental'), (5, 'stable-updates'), (5, 'stable-security'), (5, 'bookworm-fasttrack'), (5, 'bookworm-backports-staging'), (5, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages baobab depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-5
ii libadwaita-1-0 1.7.4-2
ii libc6 2.41-9
ii libcairo2 1.18.4-1+b1
ii libglib2.0-0t64 2.84.3-1
ii libgraphene-1.0-0 1.10.8-5
ii libgtk-4-1 4.18.6+ds-2
ii libpango-1.0-0 1.56.3-1
Versions of packages baobab recommends:
ii yelp 42.2-4
baobab suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list