! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Segmentation fault in libgtk-x11
Status:
RESOLVED: DUPLICATE

Comments

Description Feix Wagner 2013-03-29 11:57:22 CET
Sometimes if I copy, delete, move, rename, bulk rename files or directories I get a segmentation failt.

I'm now running arch linux however I had the same issue in gentoo. I'm using the awesome wm. I checked the
filesystem which was fine. I checked ram with memtest also no errors. I thought maybe it had something to do with the gtk theme but I tried a lot of them. When the error occured my gtkrc-2 looked like this:

"""
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.

gtk-theme-name="Xfce-4.6"
gtk-icon-theme-name="Faenza"
gtk-font-name="Sans 10"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=0
gtk-xft-hinting=0
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"
include "/home/wagnerfelix/.gtkrc-2.0.mine"
"""

Running thunar with gdb:

"""
...
Exiting... (Quit)
[Thread 0x7fffe35ed700 (LWP 18602) exited]
[New Thread 0x7fffe35ed700 (LWP 19306)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6bdc6c6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0  0x00007ffff6bdc6c6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x00007ffff64afd36 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x00007ffff64b1468 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x00007ffff64b150e in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x00007ffff4bd9845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff4bd9b78 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007ffff4bd9f72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#7  0x00007ffff69d0772 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x0000000000424274 in ?? ()
#9  0x000000000045d2fd in ?? ()
#10 0x00007ffff4e981a0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff4ea95b0 in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff4eb151c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff4eb16b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff6989e18 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x000000000045fe90 in ?? ()
#16 0x000000000041ed22 in ?? ()
#17 0x00007ffff4e981a0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#18 0x00007ffff4ea9330 in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff4eb071b in g_signal_emitv () from /usr/lib/libgobject-2.0.so.0
#20 0x00007ffff69974a1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00007ffff6997991 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007ffff6997be2 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff6998b0d in gtk_bindings_activate_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff6a4b229 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007ffff4e980de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff4ea9330 in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff4eb113b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#28 0x00007ffff4eb16b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#29 0x00007ffff6b633ee in ?? () from /usr/lib/libgtk-x11-2.0.so.0
"""

The error also appears in dmesg.
Comment 1 Nick Schermer editbugs 2013-04-29 19:50:35 CEST
Need a decent backtrace (from a debug build) to see where this starts.
Comment 2 Kolan Sh 2014-06-24 13:57:14 CEST
(In reply to Nick Schermer from comment #1)
> Need a decent backtrace (from a debug build) to see where this starts.

Here a backtrace for last git-(master) under Awesome WM:
It starts in `response = gtk_dialog_run (GTK_DIALOG (dialog));`

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7990d46 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
(gdb) bt
#0  0x00007ffff7990d46 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#1  0x00007ffff755dce5 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#2  0x00007ffff756bb2d in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#3  0x00007ffff756c9ae in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#4  0x00007ffff629e254 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ffff629e498 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007ffff629e75a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#7  0x00007ffff79d4f12 in gtk_dialog_run () from /usr/lib64/libgtk-x11-2.0.so.0
#8  0x000000000042a692 in thunar_application_unlink_files (application=application@entry=0x728090, parent=0x948180, file_list=file_list@entry=0x7fffbc02db00, permanently=<optimized out>, permanently@entry=1)
    at thunar-application.c:1834
#9  0x00000000004833ef in thunar_standard_view_unlink_selection (standard_view=0x948180, permanently=1) at thunar-standard-view.c:2475
#10 0x00007ffff659b1c8 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#11 0x00007ffff65aca5d in ?? () from /usr/lib64/libgobject-2.0.so.0
#12 0x00007ffff65b4739 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#13 0x00007ffff65b49f2 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#14 0x00007ffff784c33a in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#15 0x0000000000483c73 in thunar_standard_view_delete_selected_files (standard_view=0x948180) at thunar-standard-view.c:1849
#16 0x0000000000422d0d in _thunar_marshal_BOOLEAN__VOID (closure=0x9456f0, return_value=0x7fffffffa820, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, 
    marshal_data=0x483b90 <thunar_standard_view_delete_selected_files>) at thunar-marshal.c:123
#17 0x00007ffff659b1c8 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff65ac81b in ?? () from /usr/lib64/libgobject-2.0.so.0
#19 0x00007ffff65b3901 in g_signal_emitv () from /usr/lib64/libgobject-2.0.so.0
#20 0x00007ffff78bf4ad in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#21 0x00007ffff78bfaa1 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#22 0x00007ffff7935dd0 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#23 0x00007ffff797a6c8 in gtk_bindings_activate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00007ffff782f5f5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#25 0x00007ffff659b142 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#26 0x00007ffff65ac81b in ?? () from /usr/lib64/libgobject-2.0.so.0
#27 0x00007ffff65b4409 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#28 0x00007ffff65b49f2 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#29 0x00007ffff79b7ac4 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#30 0x00007ffff79c82db in gtk_window_propagate_key_event () from /usr/lib64/libgtk-x11-2.0.so.0
#31 0x00007ffff79c836b in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#32 0x00007ffff782f5f5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#33 0x00007ffff659b1c8 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#34 0x00007ffff65ac81b in ?? () from /usr/lib64/libgobject-2.0.so.0
#35 0x00007ffff65b4409 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#36 0x00007ffff65b49f2 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#37 0x00007ffff79b7ac4 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#38 0x00007ffff79c9eb7 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#39 0x00007ffff7a5213b in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#40 0x00007ffff756c9d6 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#41 0x00007ffff629e254 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007ffff629e498 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007ffff629e75a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#44 0x00007ffff79f1707 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#45 0x0000000000422aab in main (argc=1, argv=0x7fffffffb878) at main.c:310
Comment 3 Kolan Sh 2014-06-24 14:09:30 CEST
And it works fine under clear X session with terminal. Awesome version is 3.5.5.
Steps to reproduce:
1. Install Awesome-3.5.5.
2. Open Thunar.
3. Copy directory with many files (linux-headers for example).
4. Select the copied directory.
5. Press Shift+Del.
Comment 4 Harald Judt editbugs 2015-04-17 20:56:03 CEST
There have been issues with the gtkstatustrayicon or whatever it is called. I am closing this because of age. Feel free to reopen if necessary.
Comment 5 Harald Judt editbugs 2015-04-17 20:57:53 CEST
Found the other bug report. Resolving duplicate.

*** This bug has been marked as a duplicate of bug 11035 ***

Bug #9960

Reported by:
Feix Wagner
Reported on: 2013-03-29
Last modified on: 2015-04-17

People

Assignee:
Jannis Pohlmann
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information