Segmentation fault when Chart > Dir > Open Externally
I observed two seemingly related issues, both with "Open Externally" of folders: in the tree view it just does not work, in the chart it triggers a segmentation fault.
Observed on Arch Linux with baobab 44 and confirmed with 45.alpha.r25.g 529ec8ca-1 (installed from AUR).
Expected Behavior
When clicking on "Open Externally" on a folder in the tree view or on the chart, a Nautilus window should pop up with the selected folder.
Current Behavior
When clicking "Open Externally" on a folder in the tree view on the left:
When baobab has been launched from a terminal, and a folder is selected in the tree view for "Open Externally", these warnings are displayed:
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium.
and nothing else happens: no file browser is opened.
Doing the same on PDF or image files works as expected.
When clicking "Open Externally" in the chart view on the right:
When baobab has been launched, and a folder is selected in the chart view for "Open Externally", a segmentation fault happens.
Here goes the textual output of coredumpctl
(please tell me if you need also the binary output, it is 219 MB):
PID: 17840 (baobab)
UID: 1000 (ilario)
GID: 1000 (ilario)
Signal: 11 (SEGV)
Timestamp: Tue 2023-08-22 10:41:32 CEST (11s ago)
Command Line: baobab
Executable: /usr/bin/baobab
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-f05d6279-f74a-4893-be8e-e45c4f2669e8.scope
Unit: user@1000.service
User Unit: vte-spawn-f05d6279-f74a-4893-be8e-e45c4f2669e8.scope
Slice: user-1000.slice
Owner UID: 1000 (ilario)
Boot ID: 672e5d0e0f1641cdaab9dc18d025fcec
Machine ID: 42a7188d142442d69a3586e78b32e220
Hostname: iglaptop
Storage: /var/lib/systemd/coredump/core.baobab.1000.672e5d0e0f1641cdaab9dc18d025fcec.17840.1692693692000000.zst (present)
Size on Disk: 8.9M
Message: Process 17840 (baobab) of user 1000 dumped core.
Stack trace of thread 17840:
#0 0x0000558b4bcce9b7 n/a (baobab + 0x179b7)
#1 0x00007efc68b906c0 g_closure_invoke (libgobject-2.0.so.0 + 0x146c0)
#2 0x00007efc68bbe938 n/a (libgobject-2.0.so.0 + 0x42938)
#3 0x00007efc68bafaa7 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33aa7)
#4 0x00007efc68bafd34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
#5 0x00007efc68cc32c6 n/a (libgio-2.0.so.0 + 0xe52c6)
#6 0x00007efc684dfd59 n/a (libgtk-4.so.1 + 0x2dfd59)
#7 0x00007efc68b906c0 g_closure_invoke (libgobject-2.0.so.0 + 0x146c0)
#8 0x00007efc68bbe938 n/a (libgobject-2.0.so.0 + 0x42938)
#9 0x00007efc68bafaa7 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33aa7)
#10 0x00007efc68bafd34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
#11 0x00007efc682a7035 n/a (libgtk-4.so.1 + 0xa7035)
#12 0x00007efc68bafbc9 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33bc9)
#13 0x00007efc68bafd34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
#14 0x00007efc68349777 n/a (libgtk-4.so.1 + 0x149777)
#15 0x00007efc68b944f7 g_cclosure_marshal_VOID__BOXEDv (libgobject-2.0.so.0 + 0x184f7)
#16 0x00007efc68bafbc9 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33bc9)
#17 0x00007efc68bafd34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
#18 0x00007efc6834b3e8 n/a (libgtk-4.so.1 + 0x14b3e8)
#19 0x00007efc6834c5ab n/a (libgtk-4.so.1 + 0x14c5ab)
#20 0x00007efc6834d630 n/a (libgtk-4.so.1 + 0x14d630)
#21 0x00007efc6846532a n/a (libgtk-4.so.1 + 0x26532a)
#22 0x00007efc68465545 n/a (libgtk-4.so.1 + 0x265545)
#23 0x00007efc686b4aa6 n/a (libgtk-4.so.1 + 0x4b4aa6)
#24 0x00007efc6838afbd n/a (libgtk-4.so.1 + 0x18afbd)
#25 0x00007efc683ad9fc n/a (libgtk-4.so.1 + 0x1ad9fc)
#26 0x00007efc682ada2d n/a (libgtk-4.so.1 + 0xada2d)
#27 0x00007efc6864f043 n/a (libgtk-4.so.1 + 0x44f043)
#28 0x00007efc68b906c0 g_closure_invoke (libgobject-2.0.so.0 + 0x146c0)
#29 0x00007efc68bbe938 n/a (libgobject-2.0.so.0 + 0x42938)
#30 0x00007efc68baf4cc g_signal_emit_valist (libgobject-2.0.so.0 + 0x334cc)
#31 0x00007efc68bafd34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
#32 0x00007efc686ab830 n/a (libgtk-4.so.1 + 0x4ab830)
#33 0x00007efc6861e74e n/a (libgtk-4.so.1 + 0x41e74e)
#34 0x00007efc68e0ea31 g_main_context_dispatch (libglib-2.0.so.0 + 0x5aa31)
#35 0x00007efc68e6bcc9 n/a (libglib-2.0.so.0 + 0xb7cc9)
#36 0x00007efc68e0c0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2)
#37 0x00007efc68cbbed6 g_application_run (libgio-2.0.so.0 + 0xdded6)
#38 0x0000558b4bcc5dbb main (baobab + 0xedbb)
#39 0x00007efc67c27cd0 n/a (libc.so.6 + 0x27cd0)
#40 0x00007efc67c27d8a __libc_start_main (libc.so.6 + 0x27d8a)
#41 0x0000558b4bcc5e05 _start (baobab + 0xee05)
Stack trace of thread 17842:
#0 0x00007efc67d0ed6d syscall (libc.so.6 + 0x10ed6d)
#1 0x00007efc68e63ca7 g_cond_wait (libglib-2.0.so.0 + 0xafca7)
#2 0x00007efc68dd9144 n/a (libglib-2.0.so.0 + 0x25144)
#3 0x00007efc68e432fe n/a (libglib-2.0.so.0 + 0x8f2fe)
#4 0x00007efc68e40d75 n/a (libglib-2.0.so.0 + 0x8cd75)
#5 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#6 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17843:
#0 0x00007efc67d0359f __poll (libc.so.6 + 0x10359f)
#1 0x00007efc68e6bc2f n/a (libglib-2.0.so.0 + 0xb7c2f)
#2 0x00007efc68e0c0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2)
#3 0x00007efc68e0c132 n/a (libglib-2.0.so.0 + 0x58132)
#4 0x00007efc68e40d75 n/a (libglib-2.0.so.0 + 0x8cd75)
#5 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#6 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17847:
#0 0x00007efc67c894ae n/a (libc.so.6 + 0x894ae)
#1 0x00007efc67c8bd40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2 0x00007efc51ec781c n/a (crocus_dri.so + 0xc781c)
#3 0x00007efc51f1472c n/a (crocus_dri.so + 0x11472c)
#4 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#5 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17865:
#0 0x00007efc67c894ae n/a (libc.so.6 + 0x894ae)
#1 0x00007efc67c8bd40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2 0x00007efc51ec781c n/a (crocus_dri.so + 0xc781c)
#3 0x00007efc51f1472c n/a (crocus_dri.so + 0x11472c)
#4 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#5 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 18012:
#0 0x00007efc67d0ed6d syscall (libc.so.6 + 0x10ed6d)
#1 0x00007efc68e64533 g_cond_wait_until (libglib-2.0.so.0 + 0xb0533)
#2 0x00007efc68dd9115 n/a (libglib-2.0.so.0 + 0x25115)
#3 0x00007efc68dd9277 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x25277)
#4 0x00007efc68e43bee n/a (libglib-2.0.so.0 + 0x8fbee)
#5 0x00007efc68e40d75 n/a (libglib-2.0.so.0 + 0x8cd75)
#6 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#7 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17848:
#0 0x00007efc67c894ae n/a (libc.so.6 + 0x894ae)
#1 0x00007efc67c8bd40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2 0x00007efc51ec781c n/a (crocus_dri.so + 0xc781c)
#3 0x00007efc51f1472c n/a (crocus_dri.so + 0x11472c)
#4 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#5 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 18009:
#0 0x00007efc67c894ae n/a (libc.so.6 + 0x894ae)
#1 0x00007efc67c8bd40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2 0x00007efc51ec781c n/a (crocus_dri.so + 0xc781c)
#3 0x00007efc51f1472c n/a (crocus_dri.so + 0x11472c)
#4 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#5 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17856:
#0 0x00007efc67d0359f __poll (libc.so.6 + 0x10359f)
#1 0x00007efc68e6bc2f n/a (libglib-2.0.so.0 + 0xb7c2f)
#2 0x00007efc68e0c0e2 g_main_context_iteration (libglib-2.0.so.0 + 0x580e2)
#3 0x00007efc605dafde n/a (libdconfsettings.so + 0x5fde)
#4 0x00007efc68e40d75 n/a (libglib-2.0.so.0 + 0x8cd75)
#5 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#6 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17859:
#0 0x00007efc67c894ae n/a (libc.so.6 + 0x894ae)
#1 0x00007efc67c8bd40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2 0x00007efc51ec781c n/a (crocus_dri.so + 0xc781c)
#3 0x00007efc51f1472c n/a (crocus_dri.so + 0x11472c)
#4 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#5 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17902:
#0 0x00007efc67c894ae n/a (libc.so.6 + 0x894ae)
#1 0x00007efc67c8bd40 pthread_cond_wait (libc.so.6 + 0x8bd40)
#2 0x00007efc51ec781c n/a (crocus_dri.so + 0xc781c)
#3 0x00007efc51f1472c n/a (crocus_dri.so + 0x11472c)
#4 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#5 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
Stack trace of thread 17844:
#0 0x00007efc67d0359f __poll (libc.so.6 + 0x10359f)
#1 0x00007efc68e6bc2f n/a (libglib-2.0.so.0 + 0xb7c2f)
#2 0x00007efc68e0dfef g_main_loop_run (libglib-2.0.so.0 + 0x59fef)
#3 0x00007efc68cee28c n/a (libgio-2.0.so.0 + 0x11028c)
#4 0x00007efc68e40d75 n/a (libglib-2.0.so.0 + 0x8cd75)
#5 0x00007efc67c8c9eb n/a (libc.so.6 + 0x8c9eb)
#6 0x00007efc67d10dfc n/a (libc.so.6 + 0x110dfc)
ELF object binary architecture: AMD x86-64
More than one entry matches, ignoring rest.
Doing the same on PDF or image files works as expected.
Steps to Reproduce
- Install baobab or baobab-git on Arch Linux.
- Scan a folder.
- Right click on a folder in the tree view or in the chart view
Context
Updated Arch Linux.
Observed with baobab 44.
Confirmed installing baobab 45.alpha.r25.g 529ec8ca-1 from AUR. In order to install the baobab-git, I also had to update libadwaita to installing libadwaita-git 1.4.beta+22+gf70d15f2-1, also from AUR.