[Thunar-dev] Crash when opening files

Jannis Pohlmann info at sten-net.de
Mon Nov 14 19:45:15 CET 2005


Hi Benny,

I just checked out libexo and thunar from /trunk and played around with
them a little bit. When opening some PDFs I noticed that, (almost)
whenever I opened a file, Thunar is closed. Notice the "almost", which
means that it doesn't happen all the time.

My first guess is that it may depend on whether I set up the mime-type
to be opened with a custom program. But I'm unsure about this and I
can't proof this theory.

See below for a backtrace of the crash.

Anyway, you did a great job once again!

Regards,
Jannis

(gdb) run
Starting program: /usr/local/bin/thunar
[Thread debugging using libthread_db enabled]
[New Thread -1219017024 (LWP 8008)]
[New Thread -1223668816 (LWP 8011)]
[New Thread -1232061520 (LWP 8012)]
[Thread -1232061520 (LWP 8012) exited]
[Thread -1223668816 (LWP 8011) exited]
*** glibc detected *** double free or corruption (!prev): 0x082f2798 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1219017024 (LWP 8008)]
0xffffe410 in __kernel_vsyscall ()
(gdb) backtrace
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb775c9b1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb775e2c9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb77906ea in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7796f54 in malloc_trim () from /lib/tls/i686/cmov/libc.so.6
#5  0xb77972ca in free () from /lib/tls/i686/cmov/libc.so.6
#6  0xb78a0054 in g_free () from /usr/lib/libglib-2.0.so.0
#7  0xb78b286b in g_strfreev () from /usr/lib/libglib-2.0.so.0
#8  0xb7ed80e1 in thunar_vfs_exec_on_screen (screen=0x80c43d8,
working_directory=0x81429f8 "/home/jannis", argv=0x831dc28, envp=0xbfe19a5c,
    flags=G_SPAWN_SEARCH_PATH, startup_notify=4, error=0xbfe18268) at
thunar-vfs-exec.c:462
#9  0xb7edc9da in IA__thunar_vfs_mime_application_exec_with_env
(application=0x8293258, screen=0x80c43d8, path_list=0x8216890, envp=0x0,
    error=0xbfe18268) at thunar-vfs-mime-application.c:508
#10 0xb7edca1d in IA__thunar_vfs_mime_application_exec
(application=0x8293258, screen=0x80c43d8, path_list=0x8216890,
error=0xbfe18268)
    at thunar-vfs-mime-application.c:423
#11 0x0806b34e in thunar_launcher_open_paths (application=0x8293258,
path_list=0x8216890, launcher=0x8143cf8) at thunar-launcher.c:340
#12 0xb788c9c2 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
#13 0x0806c2fb in thunar_launcher_action_open (action=0x8145e20,
launcher=0x8143cf8) at thunar-launcher.c:421
#14 0xb7914ab3 in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#15 0xb79093a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0xb7917b13 in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#17 0xb7919150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0xb79194c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0xb7c13776 in _gtk_action_emit_activate () from
/usr/lib/libgtk-x11-2.0.so.0
#20 0xb7c13c2c in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7914ab3 in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#22 0xb79093a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#23 0xb7917b13 in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#24 0xb7919150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#25 0xb79194c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#26 0xb7dc1f8d in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7ceec69 in gtk_menu_shell_activate_item () from
/usr/lib/libgtk-x11-2.0.so.0
#28 0xb7ceef3d in gtk_menu_shell_activate_item () from
/usr/lib/libgtk-x11-2.0.so.0
#29 0xb7ce566e in gtk_menu_reorder_child () from
/usr/lib/libgtk-x11-2.0.so.0
#30 0xb7ce002c in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#31 0xb7908d75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#32 0xb79093a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#33 0xb7917c9f in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#34 0xb7918ec3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#35 0xb79194c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#36 0xb7dc216f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb7cde767 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb7cdeba0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb7b6bb2d in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#40 0xb78994ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb789c4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#42 0xb789c7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#43 0x0807b5a7 in thunar_standard_view_context_menu
(standard_view=0x81410b8, button=0, time=17724443) at
thunar-standard-view.c:2263
#44 0x0807b801 in thunar_standard_view_button_release_event
(view=0x8149808, event=0x0, standard_view=0x81410b8)
    at thunar-standard-view.c:1793
---Type <return> to continue, or q <return> to quit---
#45 0xb7ce002c in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#46 0xb79093a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#47 0xb7917b13 in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#48 0xb7918ec3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#49 0xb79194c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#50 0xb7dc216f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#51 0xb7cde767 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#52 0xb7cdeba0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#53 0xb7b6bb2d in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#54 0xb78994ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb789c4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#56 0xb789c7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#57 0xb7cdde65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#58 0x0805603e in main (argc=1, argv=0xbfe19a54) at main.c:90
(gdb)



More information about the Thunar-dev mailing list