[Thunar-dev] tree-error with pango
Mark Ulrich
MarkUlrich at gmx.de
Sun Jul 23 18:44:24 CEST 2006
I ran a xunar-binary and a selfcompiled
Thunar-0.3.3svn-r22506When I open the tree in the sidepane, Thunar crashes right after the tree expanded.
gdb Thunar
(gdb) run
Starting program: /usr/bin/Thunar
[New Thread 16384 (LWP 10262)]
[New Thread 32769 (LWP 10279)]
[New Thread 16386 (LWP 10280)]
[New Thread 32771 (LWP 10281)]
Thunar: Failed to connect to the D-BUS session bus: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)
[New Thread 49156 (LWP 10282)]
[New Thread 65538 (LWP 10288)]
[New Thread 81923 (LWP 10289)]
[New Thread 98308 (LWP 10290)]
[New Thread 114693 (LWP 10291)]
[New Thread 131078 (LWP 10292)]
[New Thread 147463 (LWP 10293)]
[New Thread 163848 (LWP 10294)]
[New Thread 180233 (LWP 10295)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10262)]
0x40754c34 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
(gdb) backtrace
#0 0x40754c34 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1 0x405a5dea in pango_layout_line_get_extents () from /usr/lib/libpango-1.0.so.0
#2 0x405a452d in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#3 0x405a4cfa in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#4 0x405a3215 in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#5 0x405a3568 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#6 0x405a35df in pango_layout_get_pixel_extents () from /usr/lib/libpango-1.0.so.0
#7 0x4021cc22 in gtk_cell_renderer_text_new () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x4021d02c in gtk_cell_renderer_text_new () from /usr/lib/libgtk-x11-2.0.so.0
#9 0x40216747 in gtk_cell_renderer_render () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x403c5f24 in gtk_tree_view_column_cell_get_size () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x403c6077 in gtk_tree_view_column_cell_get_size () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x403b08ef in gtk_tree_view_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x403b106e in gtk_tree_view_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x402cb6fc in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x406b47c8 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#16 0x406b450f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0x406c5b5f in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#18 0x406c4fc6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0x406c545b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0x403d695b in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x402c91c5 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x4050bd88 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x4050bef9 in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#24 0x4050bb72 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#25 0x40742a21 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#26 0x4073f953 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#27 0x40740a59 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x40740db6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x40741320 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#30 0x402c8a7b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x0805cf2b in thunar_vfs_mime_info_unref () at thunar-vfs-mime-info.c:163
#32 0x40059469 in __libc_start_main () from /lib/libc.so.6
(gdb)
-----------------------------------------------------------------------
Sometimes the backtrace looks completely different:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4348)]
0x40754c34 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
(gdb) backtrace
#0 0x40754c34 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1 0x40754d7e in g_slice_alloc0 () from /usr/lib/libglib-2.0.so.0
#2 0x406ca7ff in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#3 0x406b77fe in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4 0x406b704b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5 0x406b77a7 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#6 0x406b6d0f in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7 0x0806a266 in thunar_vfs_mime_info_unref () at thunar-vfs-mime-info.c:163
#8 0x0806abfc in thunar_vfs_mime_info_unref () at thunar-vfs-mime-info.c:163
#9 0x40020dac in _thunar_vfs_marshal_BOOLEAN__POINTER (closure=0x8235b08, return_value=0xbfb41c70,
n_param_values=2, param_values=0x8275e70, invocation_hint=0xbfb41c98, marshal_data=0x0)
at thunar-vfs-marshal.c:82
#10 0x406b450f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x406c60f2 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#12 0x406c4fc6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x40025e6f in thunar_vfs_job_source_dispatch (source=0xffffffff, callback=0, user_data=0x0)
at thunar-vfs-job.c:271
#14 0x4073f953 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#15 0x40740a59 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x40740db6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x40741320 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0x402c8a7b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x0805cf2b in thunar_vfs_mime_info_unref () at thunar-vfs-mime-info.c:163
#20 0x40059469 in __libc_start_main () from /lib/libc.so.6
(gdb)
OS: Puppylinux 2.01
Kernel 2.6.16.7
Glib: 2.12
Gtk: 2.10.0
Pango: 1.13.1 and Pango 1.12.3
These libs are selfcompiled, so maybe on other systems it might work.
(see: http://www.murga.org/~puppy/viewtopic.php?t=9509 )
---------------------------------------------------------------
Ok, now I ran it again, it did not crash after clicking on the first leaf in the tree.
But if I clicked on a sub-branch, again:
(gdb) backtrace
#0 0x40754c3b in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1 0x405a5dea in pango_layout_line_get_extents () from /usr/lib/libpango-1.0.so.0
#2 0x405a452d in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#3 0x405a4cfa in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#4 0x405a3215 in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#5 0x405a3568 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#6 0x405a35df in pango_layout_get_pixel_extents () from /usr/lib/libpango-1.0.so.0
#7 0x4021cc22 in gtk_cell_renderer_text_new () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x4021d02c in gtk_cell_renderer_text_new () from /usr/lib/libgtk-x11-2.0.so.0
#9 0x40216747 in gtk_cell_renderer_render () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x403c5f24 in gtk_tree_view_column_cell_get_size () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x403c6077 in gtk_tree_view_column_cell_get_size () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x403b08ef in gtk_tree_view_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x403b106e in gtk_tree_view_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x402cb6fc in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x406b47c8 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#16 0x406b450f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0x406c5b5f in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#18 0x406c4fc6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0x406c545b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0x403d695b in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x402c91c5 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x4050bd88 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x4050bef9 in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#24 0x4050bb72 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#25 0x40742a21 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#26 0x4073f953 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#27 0x40740a59 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x40740db6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x40741320 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#30 0x402c8a7b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x0805cf2b in thunar_vfs_mime_info_unref () at thunar-vfs-mime-info.c:163
#32 0x40059469 in __libc_start_main () from /lib/libc.so.6
Regards, Mark
More information about the Thunar-dev
mailing list