You are not logged in.
Step 1: find some GTK2 (such as Audacious) that can open a file chooser window
Step 2: open a file chooser window, and drag any sort of file that is NOT a directory/folder, into the Places list of the file chooser, so it puts it as a shortcut in the list of bookmarked places
Note that Thunar instantly crashes, and from then on crashes instantly when you try to run it:
free(): invalid pointer
Aborted (core dumped)
Does this happen for anyone else?
Last edited by dusthillresident (2021-11-07 13:25:56)
Offline
Note that Thunar instantly crashes, and from then on crashes instantly when you try to run it:
Well, I don't have a spare VM to try, so i'm not going to risk instant persistent crashes of my file manager right now, sorry!
Anyone with a disposable VM out there?
Also, for debugging purposes, please add version numbers of the apps involved, OS, etc... c'mon, of course!
Offline
When audacious opens the file chooser dialog, it is using GTK's FileChooser, not thunar. @dusthillresident, are you saying that thunar (which at this point is not involved in this transaction) is crashing? Or are you dragging from thunar into the FileChooser window?
Do you have anything in your log files (~/.xsession-errors) at the time of the crash?
Also, I'm not sure which distro you are using, but if it is systemd-based, what does:
coredumpctl list --no-pager
...say right after the crash?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
it says this
TIME PID UID GID SIG COREFILE EXE
Sun 2021-11-07 13:08:45 GMT 479575 1000 1000 6 present /usr/bin/thunar
Sun 2021-11-07 13:08:47 GMT 480039 1000 1000 6 present /usr/bin/thunar
I'm running ubuntu 21.04
I recorded this video to demonstrate: https://www.youtube.com/watch?v=kKe_jHnEqDI
So basically, Thunar seems to crash if you put non-directory items in the bookmarks/'places' list. Normally it's not possible to do it with thunar or the gtk3 file chooser, but it seems like the gtk2 file chooser has a bug where you can put anything in the bookmarks just by dragging it there.
Offline
Which gtk2 app is that ("choose music"), that you are using to get the GtkFileChooser dialog?
Can you post back the results of:
coredumpctl info 480039 --no-pager
Also, what version of thunar?
thunar -V
It's quite possible there is a thunar bug that that isn't handling the situation. There were some recent bookmark fixes in thunar that might have fixed the issue.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
thunar 4.16.6 (Xfce 4.16)
I tried it with two different apps, "richard bannister's audio overload", and Audacious which is in ubuntu and debian's repos.
[16:39 ~]$ coredumpctl info 480039 --no-pager
PID: 480039 (thunar)
UID: 1000 (REDACTED)
GID: 1000 (REDACTED)
Signal: 6 (ABRT)
Timestamp: Sun 2021-11-07 13:08:47 GMT (5 days ago)
Command Line: thunar
Executable: /usr/bin/thunar
Control Group: /user.slice/user-1000.slice/session-c2.scope
Unit: session-c2.scope
Slice: user-1000.slice
Session: c2
Owner UID: 1000 (REDACTED)
Boot ID: 00bcb8a735b8403aad833a300018e635
Machine ID: 3d3b19b853104c34aef0fd6ef6a9cff5
Hostname: REDACTED
Storage: /var/lib/systemd/coredump/core.thunar.1000.00bcb8a735b8403aad833a300018e635.480039.1636290527000000.zst (inaccessible)
Message: Process 480039 (thunar) of user 1000 dumped core.
Stack trace of thread 480039:
#0 0x00007ff9fedf6fbb __GI_raise (libc.so.6 + 0x40fbb)
#1 0x00007ff9feddc864 __GI_abort (libc.so.6 + 0x26864)
#2 0x00007ff9fee3f736 __libc_message (libc.so.6 + 0x89736)
#3 0x00007ff9fee4808c malloc_printerr (libc.so.6 + 0x9208c)
#4 0x00007ff9fee49f50 _int_free (libc.so.6 + 0x93f50)
#5 0x00007ff9fee4d7a8 __GI___libc_free (libc.so.6 + 0x977a8)
#6 0x000055a09558039c n/a (thunar + 0x7939c)
#7 0x000055a095584caa n/a (thunar + 0x7dcaa)
#8 0x000055a09559ef4a n/a (thunar + 0x97f4a)
#9 0x000055a095584bf8 n/a (thunar + 0x7dbf8)
#10 0x00007ff9feff77ef g_main_context_dispatch (libglib-2.0.so.0 + 0x557ef)
#11 0x00007ff9ff04ad28 n/a (libglib-2.0.so.0 + 0xa8d28)
#12 0x00007ff9feff5023 g_main_context_iteration (libglib-2.0.so.0 + 0x53023)
#13 0x00007ff9ff21127d g_application_run (libgio-2.0.so.0 + 0xdc27d)
#14 0x000055a095535140 n/a (thunar + 0x2e140)
#15 0x00007ff9fedde565 __libc_start_main (libc.so.6 + 0x28565)
#16 0x000055a09553524e n/a (thunar + 0x2e24e)
Stack trace of thread 480043:
#0 0x00007ff9feebd39e statx (libc.so.6 + 0x10739e)
#1 0x00007ff9ff2673ed n/a (libgio-2.0.so.0 + 0x1323ed)
#2 0x00007ff9ff263965 n/a (libgio-2.0.so.0 + 0x12e965)
#3 0x00007ff9ff19d8f0 g_file_enumerator_next_file (libgio-2.0.so.0 + 0x688f0)
#4 0x000055a095559fb6 n/a (thunar + 0x52fb6)
#5 0x000055a09555a569 n/a (thunar + 0x53569)
#6 0x000055a095587ec7 n/a (thunar + 0x80ec7)
#7 0x00007ff9ffe31263 n/a (libexo-2.so.0 + 0x16263)
#8 0x00007ff9ff1b124e n/a (libgio-2.0.so.0 + 0x7c24e)
#9 0x00007ff9ff1e2c72 n/a (libgio-2.0.so.0 + 0xadc72)
#10 0x00007ff9ff028494 n/a (libglib-2.0.so.0 + 0x86494)
#11 0x00007ff9ff025901 n/a (libglib-2.0.so.0 + 0x83901)
#12 0x00007ff9fed96450 start_thread (libpthread.so.0 + 0x9450)
#13 0x00007ff9feecdd53 __clone (libc.so.6 + 0x117d53)
Stack trace of thread 480041:
#0 0x00007ff9feff33d2 n/a (libglib-2.0.so.0 + 0x513d2)
#1 0x00007ff9feff34a4 n/a (libglib-2.0.so.0 + 0x514a4)
#2 0x00007ff9feff790d g_main_context_dispatch (libglib-2.0.so.0 + 0x5590d)
#3 0x00007ff9ff04ad28 n/a (libglib-2.0.so.0 + 0xa8d28)
#4 0x00007ff9feff6e53 g_main_loop_run (libglib-2.0.so.0 + 0x54e53)
#5 0x00007ff9ff2459aa n/a (libgio-2.0.so.0 + 0x1109aa)
#6 0x00007ff9ff025901 n/a (libglib-2.0.so.0 + 0x83901)
#7 0x00007ff9fed96450 start_thread (libpthread.so.0 + 0x9450)
#8 0x00007ff9feecdd53 __clone (libc.so.6 + 0x117d53)
Stack trace of thread 480042:
#0 0x00007ff9feebdceb __GI___access (libc.so.6 + 0x107ceb)
#1 0x00007ff9ff267c4d n/a (libgio-2.0.so.0 + 0x132c4d)
#2 0x00007ff9ff263965 n/a (libgio-2.0.so.0 + 0x12e965)
#3 0x00007ff9ff19d8f0 g_file_enumerator_next_file (libgio-2.0.so.0 + 0x688f0)
#4 0x000055a095559fb6 n/a (thunar + 0x52fb6)
#5 0x000055a09555a569 n/a (thunar + 0x53569)
#6 0x000055a095587ec7 n/a (thunar + 0x80ec7)
#7 0x00007ff9ffe31263 n/a (libexo-2.so.0 + 0x16263)
#8 0x00007ff9ff1b124e n/a (libgio-2.0.so.0 + 0x7c24e)
#9 0x00007ff9ff1e2c72 n/a (libgio-2.0.so.0 + 0xadc72)
#10 0x00007ff9ff028494 n/a (libglib-2.0.so.0 + 0x86494)
#11 0x00007ff9ff025901 n/a (libglib-2.0.so.0 + 0x83901)
#12 0x00007ff9fed96450 start_thread (libpthread.so.0 + 0x9450)
#13 0x00007ff9feecdd53 __clone (libc.so.6 + 0x117d53)
Stack trace of thread 480040:
#0 0x00007ff9feec222f __GI___poll (libc.so.6 + 0x10c22f)
#1 0x00007ff9ff04acc6 n/a (libglib-2.0.so.0 + 0xa8cc6)
#2 0x00007ff9feff5023 g_main_context_iteration (libglib-2.0.so.0 + 0x53023)
#3 0x00007ff9feff5071 n/a (libglib-2.0.so.0 + 0x53071)
#4 0x00007ff9ff025901 n/a (libglib-2.0.so.0 + 0x83901)
#5 0x00007ff9fed96450 start_thread (libpthread.so.0 + 0x9450)
#6 0x00007ff9feecdd53 __clone (libc.so.6 + 0x117d53)
Offline
You'll need to install the thunar-dbgsym package so you can get true thunar debug info in that backtrace. To do so, you can follow the instructions here: https://wiki.ubuntu.com/Debug%20Symbol%20Packages.
Once installed, re-start the computer and generate the crash again. Then look at the backtrace as above. You will probably need to create a bug report at the bug tracker.
Note: I installed xubuntu 21.04 in a VM and tried to replicate the issue. Although it doesn't crash on my system, I end up with a blank non-functional entry in thunar.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 578.55 KiB (Peak: 595.39 KiB) ]