[Pkg-xfce-devel] Bug#693937: Bug#693937: Bug#693937: Bug#693937: Bug#693937: Bug#693937: Acknowledgement (thunar: Thunar crashes when mounting USB stick)

Frane Šalković shicy1 at gmail.com
Fri Nov 23 16:51:58 UTC 2012


On 11/23/2012 05:03 PM, Yves-Alexis Perez wrote:
> On ven., 2012-11-23 at 16:48 +0100, Frane Šalković wrote:
>> On 11/23/2012 04:17 PM, Yves-Alexis Perez wrote:
>>> On ven., 2012-11-23 at 14:49 +0100, Frane Šalković wrote:
>>>> This is bt now, when everything works...
>>> Quit thunar daemon first, or you won't be able to get a backtrace
>>> anyway. So run:
>>>
>>> thunar -q
>>> gdb thunar
>>>
>>>> Which packages should I remove and send you backtrace?
>>> Just set you in the previous situation?
>>>
>>> Regards,
>> Ok, I've removed libfm1, libfm-gtk1, libfm-gtk-bin, libfm-data to set me
>> in previous situation.
> Those looked to me like completely unrelated. Afaict it was related to
> gvfs. I'm sorry but you really need to pinpoint what *specific* package
> leads to the crash.
How can I specify which package leads to the crash?
TIA
>> This is bt:
>> shicy at debian:/$ thunar -q
>> shicy at debian:/$ gdb thunar
>> GNU gdb (GDB) 7.4.1-debian
>> Copyright (C) 2012 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "i486-linux-gnu".
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>...
>> Reading symbols from /usr/bin/thunar...Reading symbols from
>> /usr/lib/debug/.build-id/a3/5e4675f86e1fcc6333387b43ebfcab753b346a.debug...done.
>> done.
>> (gdb) set pagination 0
>> (gdb) run
>> Starting program: /usr/bin/thunar
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library
>> "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
>> [New Thread 0xb1c3bb70 (LWP 31298)]
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_mount_get_root: assertion
>> `G_IS_MOUNT (mount)' failed
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_file_hash: assertion `G_IS_FILE
>> (file)' failed
>>
>> (thunar:31295): GLib-GObject-CRITICAL **: g_object_ref: assertion
>> `G_IS_OBJECT (object)' failed
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_file_query_info: assertion
>> `G_IS_FILE (file)' failed
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_file_info_get_file_type:
>> assertion `G_IS_FILE_INFO (info)' failed
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_file_get_basename: assertion
>> `G_IS_FILE (file)' failed
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_file_has_prefix: assertion
>> `G_IS_FILE (file)' failed
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_file_is_native: assertion
>> `G_IS_FILE (file)' failed
>>
>> (thunar:31295): GLib-GIO-CRITICAL **: g_file_get_uri: assertion
>> `G_IS_FILE (file)' failed
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0xb75ac020 in g_utf8_validate () from /lib/i386-linux-gnu/libglib-2.0.so.0
> Mhmh, that's really weird.
>> (gdb) bt
>> #0  0xb75ac020 in g_utf8_validate () from
>> /lib/i386-linux-gnu/libglib-2.0.so.0
>> #1  0xb75627f8 in g_filename_display_name () from
>> /lib/i386-linux-gnu/libglib-2.0.so.0
>> #2  0x80034b38 in thunar_file_load (file=file at entry=0x80201490,
>> cancellable=cancellable at entry=0x0, error=error at entry=0xbffff2ec) at
>> thunar-file.c:887
> If you manually mount the usb key and navigate to the mount point with
> Thunar, does it crash?
Thunar doesn't crash when I manually mount the usb and navigate to the
mount point (through Thunar).

>
> Can you paste the output of mount when mounted manually and when mounted
> through Thunar?
When I manually mount usb:

root at debian:/media# mount /dev/sdb1 /media/usb0/
root at debian:/media# exit
exit
shicy at debian:/media$ thunar
^C
(Thunar didn't crash, so i closed it)


When mounted through Thunar:

root at debian:/media# umount /dev/sdb1
root at debian:/media# exit
exit
shicy at debian:/media$ thunar
thunar-volman: Unsupported USB device type.
thunar-volman: Unsupported USB device type.
thunar-volman: Unknown block device type.
thunar-volman: Unable to locate mount point.

(thunar:2557): GLib-GIO-CRITICAL **: g_mount_get_root: assertion
`G_IS_MOUNT (mount)' failed

(thunar:2557): GLib-GIO-CRITICAL **: g_file_hash: assertion `G_IS_FILE
(file)' failed

(thunar:2557): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed

(thunar:2557): GLib-GIO-CRITICAL **: g_file_query_info: assertion
`G_IS_FILE (file)' failed

(thunar:2557): GLib-GIO-CRITICAL **: g_file_info_get_file_type:
assertion `G_IS_FILE_INFO (info)' failed

(thunar:2557): GLib-GIO-CRITICAL **: g_file_get_basename: assertion
`G_IS_FILE (file)' failed

(thunar:2557): GLib-GIO-CRITICAL **: g_file_has_prefix: assertion
`G_IS_FILE (file)' failed

(thunar:2557): GLib-GIO-CRITICAL **: g_file_is_native: assertion
`G_IS_FILE (file)' failed

(thunar:2557): GLib-GIO-CRITICAL **: g_file_get_uri: assertion
`G_IS_FILE (file)' failed
Segmentation fault
 
> It looks to me like there's an issue with a filename encoding which
> makes glib crash.
>
> Regards,
Thanks in advance



More information about the Pkg-xfce-devel mailing list