[Pkg-xfce-devel] Bug#625691: Bug#625691: thunar: Thunar crashes when opened dir is renamed by other program

Johan Spee johan.spee at coonsden.com
Thu May 5 20:06:39 UTC 2011

On Thu, 05 May 2011 21:39:23 +0200
Yves-Alexis Perez <corsac at debian.org> wrote:

> Yes, could you do a bt full and install all the debugging symbols for
> all the libs (check all the filenames in the current backtrace).

I added libglib2.0-0-dbg and libgtk2.0-dbg (I could not find anything
relevant for other filenames in the current backtrace).

Here is the result:


~$ gdb thunar
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/thunar...Reading symbols from /usr/lib/debug/usr/bin/Thunar...done.
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/thunar 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffea803700 (LWP 2871)]
[New Thread 0x7fffea002700 (LWP 2872)]
[Thread 0x7fffea002700 (LWP 2872) exited]
[New Thread 0x7fffea002700 (LWP 2874)]

(thunar:2868): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `ThunarFolder'

(thunar:2868): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `ThunarFile'

(thunar:2868): GLib-GIO-CRITICAL **: g_file_equal: assertion `G_IS_FILE (file2)' failed

(thunar:2868): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'

(thunar:2868): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

(thunar:2868): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(thunar:2868): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

Program received signal SIGSEGV, Segmentation fault.
magazine_chain_pop_head (mem_size=24) at /tmp/buildd/glib2.0-2.28.6/./glib/gslice.c:492
492	/tmp/buildd/glib2.0-2.28.6/./glib/gslice.c: No such file or directory.
	in /tmp/buildd/glib2.0-2.28.6/./glib/gslice.c
(gdb) bt full
#0  magazine_chain_pop_head (mem_size=24) at /tmp/buildd/glib2.0-2.28.6/./glib/gslice.c:492
        chunk = 0x2e
#1  thread_memory_magazine1_alloc (mem_size=24) at /tmp/buildd/glib2.0-2.28.6/./glib/gslice.c:795
        mag = 0x7ffff8206630
#2  g_slice_alloc (mem_size=24) at /tmp/buildd/glib2.0-2.28.6/./glib/gslice.c:833
        tmem = 0x2e
        ix = <value optimized out>
        chunk_size = <value optimized out>
        mem = <value optimized out>
#3  0x00007ffff475d80d in g_list_copy (list=0x7ffff8432720) at /tmp/buildd/glib2.0-2.28.6/./glib/glist.c:628
        last = 0x7ffff82524e0
        new_list = 0x7ffff834d2e0
#4  0x00007ffff63c1af9 in _gdk_window_process_updates_recurse (window=0x7ffff823c480, expose_region=0x7ffff83b9100) at /scratch/build-area/gtk+2.0-2.24.4/gdk/gdkwindow.c:5366
        private = 0x7ffff823c480
        child = <value optimized out>
        child_region = <value optimized out>
        r = {x = -130313984, y = 32767, width = -163900144, height = 32767}
        l = <value optimized out>
        children = <value optimized out>
#5  0x00007ffff63bcc2b in gdk_window_process_updates_internal (window=0x7ffff823c480) at /scratch/build-area/gtk+2.0-2.24.4/gdk/gdkwindow.c:5588
        expose_region = 0x7ffff83b9100
        update_area = 0x7ffff843dcd0
        private = 0x7ffff823c480
        impl_iface = <value optimized out>
        save_region = 0
        clip_box = {x = 2, y = 4, width = 983, height = 623}
#6  0x00007ffff63bee39 in IA__gdk_window_process_all_updates () at /scratch/build-area/gtk+2.0-2.24.4/gdk/gdkwindow.c:5696
        private = 0x7ffff823c480
        old_update_windows = 0x7ffff8303810
        tmp_list = 0x7ffff8303810
        in_process_all_updates = 1
        got_recursive_update = 0
#7  0x00007ffff6905c71 in gtk_container_idle_sizer (data=<value optimized out>) at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkcontainer.c:1360
No locals.
#8  0x00007ffff639c126 in gdk_threads_dispatch (data=0x7ffff8483e60) at /scratch/build-area/gtk+2.0-2.24.4/gdk/gdk.c:512
        dispatch = 0x7ffff8483e60
        ret = 0
#9  0x00007ffff47624a3 in g_main_dispatch (context=0x7ffff823f1a0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
        dispatch = 0x7ffff475dce0 <g_idle_dispatch>
        was_in_call = 0
        user_data = 0x7ffff8483e60
        callback = 0x7ffff639c0d0 <gdk_threads_dispatch>
        cb_funcs = 0x7ffff4a0cc10
        cb_data = 0x7ffff84af180
        current_source_link = {data = 0x7ffff84ceeb0, next = 0x0}
        need_destroy = <value optimized out>
        source = 0x7ffff84ceeb0
        current = 0x7ffff82f68b0
        i = <value optimized out>
#10 g_main_context_dispatch (context=0x7ffff823f1a0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
No locals.
#11 0x00007ffff4762c80 in g_main_context_iterate (context=0x7ffff823f1a0, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
        max_priority = 110
        timeout = 0
        some_ready = 1
        nfds = 10
        allocated_nfds = <value optimized out>
        fds = <value optimized out>
#12 0x00007ffff47632f2 in g_main_loop_run (loop=0x7ffff843fe80) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3299
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#13 0x00007ffff69822b7 in IA__gtk_main () at /scratch/build-area/gtk+2.0-2.24.4/gtk/gtkmain.c:1256
        tmp_list = <value optimized out>
        functions = 0x0
        init = <value optimized out>
        loop = 0x7ffff843fe80
#14 0x00007ffff7f74d58 in main (argc=1, argv=0x7fffffffe4c8) at main.c:294
        session_client = 0x7ffff8434490
        dbus_service = 0x0
        application = 0x7ffff823a580
        error = 0x0
        working_directory = 0x7ffff820a940 "XSMP"
        filenames = <value optimized out>
        startup_id = 0x0
(gdb) quit
A debugging session is active.

	Inferior 1 [process 2868] will be killed.

Quit anyway? (y or n) y


> Does it happens in every (parent) folder and with every name you give
> to the renamed folder?

I just tried subdirs of ~/ and of ~/Downloads/, using names with(out)
numbers, all numbers, upper-case.. etc. And thunar segfaulted every

Johan Spee

Eve Ryth in Gisgon na Beal Right

More information about the Pkg-xfce-devel mailing list