[Xfce-bugs] [Bug 14218] Thunar crashes after copying large amount of pictures

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Mar 28 10:49:54 CEST 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14218

ajscholl <jonas.scholl at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas.scholl at gmx.de

--- Comment #14 from ajscholl <jonas.scholl at gmx.de> ---
I think I am hitting the same issue. I created two directories, /tmp/a and
/tmp/b, and two empty files with the same name in them. Then I copied the file
from /tmp/b to /tmp/a. As soon as I tell thunar to overwrite the file, it
crashes. I think this is the same bug because my stack trace is looking
similar.

I did compile thunar and gtk2 with debug symbols and got the following stack
trace:

Core was generated by `./thunar-bin'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f69dcb1d4d7 in gtk_tray_icon_manager_filter (xevent=0x7ffd9ee28e50,
event=<optimized out>, user_data=0x562ab57033b0) at gtktrayicon-x11.c:400
400       else if (xev->xany.window == icon->priv->manager_window)
[Current thread is 1 (Thread 0x7f69dd063980 (LWP 8107))]
(gdb) bt
#0  0x00007f69dcb1d4d7 in gtk_tray_icon_manager_filter (xevent=0x7ffd9ee28e50,
event=<optimized out>, user_data=0x562ab57033b0) at gtktrayicon-x11.c:400
#1  0x00007f69dc5c0391 in gdk_event_apply_filters
(xevent=xevent at entry=0x7ffd9ee28e50, event=event at entry=0x562ab5615200,
window=window at entry=0x0) at gdkevents-x11.c:371
#2  0x00007f69dc5c193c in gdk_event_translate
(display=display at entry=0x562ab53a3000, event=event at entry=0x562ab5615200,
xevent=xevent at entry=0x7ffd9ee28e50, return_exposes=return_exposes at entry=0) at
gdkevents-x11.c:969
#3  0x00007f69dc5c3c96 in _gdk_events_queue
(display=display at entry=0x562ab53a3000) at gdkevents-x11.c:2358
#4  0x00007f69dc5c3d3e in gdk_event_dispatch (source=<optimized out>,
callback=<optimized out>, user_data=<optimized out>) at gdkevents-x11.c:2419
#5  0x00007f69d9bad458 in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#6  0x00007f69d9bad6a1 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007f69d9bad9d2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#8  0x00007f69dc966957 in IA__gtk_main () at gtkmain.c:1270
#9  0x0000562ab47b9258 in main (argc=1, argv=0x7ffd9ee29248) at main.c:312
(gdb) p xev
$1 = (XEvent *) 0x7ffd9ee28e50
(gdb) p xev->xany
$2 = {type = 28, serial = 11511, send_event = 0, display = 0x562ab5395c60,
window = 46137348}
(gdb) p icon->priv
$3 = (GtkTrayIconPrivate *) 0xaaaaaaaaaaaaaaaa
(gdb) p icon
$4 = 0x562ab57033b0
(gdb) p *icon
$5 = {parent_instance = {window = {bin = {container = {widget = {object =
{parent_instance = {g_type_instance = {g_class = 0xaaaaaaaaaaaaaaaa}, ref_count
= 2863311530, 
                qdata = 0xaaaaaaaaaaaaaaaa}, flags = 2863311530}, private_flags
= 43690, state = 170 '\252', saved_state = 170 '\252', 
            name = 0xaaaaaaaaaaaaaaaa <error: Cannot access memory at address
0xaaaaaaaaaaaaaaaa>, style = 0xaaaaaaaaaaaaaaaa, requisition = {width =
-1431655766, height = -1431655766}, 
            allocation = {x = -1431655766, y = -1431655766, width =
-1431655766, height = -1431655766}, window = 0xaaaaaaaaaaaaaaaa, parent =
0xaaaaaaaaaaaaaaaa}, 
          focus_child = 0xaaaaaaaaaaaaaaaa, border_width = 43690, need_resize =
0, resize_mode = 1, reallocate_redraws = 1, has_focus_chain = 0}, child =
0xaaaaaaaaaaaaaaaa}, 
      title = 0xaaaaaaaaaaaaaaaa <error: Cannot access memory at address
0xaaaaaaaaaaaaaaaa>, wmclass_name = 0xaaaaaaaaaaaaaaaa <error: Cannot access
memory at address 0xaaaaaaaaaaaaaaaa>, 
      wmclass_class = 0xaaaaaaaaaaaaaaaa <error: Cannot access memory at
address 0xaaaaaaaaaaaaaaaa>, 
      wm_role = 0xaaaaaaaaaaaaaaaa <error: Cannot access memory at address
0xaaaaaaaaaaaaaaaa>, focus_widget = 0xaaaaaaaaaaaaaaaa, default_widget =
0xaaaaaaaaaaaaaaaa, 
      transient_parent = 0xaaaaaaaaaaaaaaaa, geometry_info =
0xaaaaaaaaaaaaaaaa, frame = 0xaaaaaaaaaaaaaaaa, group = 0xaaaaaaaaaaaaaaaa,
configure_request_count = 43690, allow_shrink = 0, 
      allow_grow = 1, configure_notify_received = 0, need_default_position = 1,
need_default_size = 0, position = 5, type = 10, has_user_ref_count = 0,
has_focus = 1, modal = 0, 
      destroy_with_parent = 1, has_frame = 0, iconify_initially = 1,
stick_initially = 0, maximize_initially = 1, decorated = 0, type_hint = 5,
gravity = 10, is_active = 1, 
      has_toplevel_focus = 0, frame_left = 2863311530, frame_top = 2863311530,
frame_right = 2863311530, frame_bottom = 2863311530, keys_changed_handler =
2863311530, 
      mnemonic_modifier = 2863311530, screen = 0xaaaaaaaaaaaaaaaa},
socket_window = 0xaaaaaaaaaaaaaaaa, modality_window = 0xaaaaaaaaaaaaaaaa,
modality_group = 0xaaaaaaaaaaaaaaaa, 
    grabbed_keys = 0xaaaaaaaaaaaaaaaaPython Exception <class 'gdb.error'> There
is no member named keys.: 
, same_app = 0}, priv = 0xaaaaaaaaaaaaaaaa}
(gdb) p icon[1]
$1 = {parent_instance = {window = {bin = {container = {widget = {object =
{parent_instance = {g_type_instance = {g_class = 0x0}, ref_count = 0, qdata =
0x6081000fb0500}, flags = 512}, 
            private_flags = 1536, state = 5 '\005', saved_state = 0 '\000',
name = 0x6060000000200 <error: Cannot access memory at address
0x6060000000200>, style = 0xf5070000010500, 
            requisition = {width = 512, height = 16582144}, allocation = {x =
16516352, y = 722961, width = 512, height = 722432}, window = 0x4c080000040500,
parent = 0x17070000000200}, 
          focus_child = 0xea090000ff0500, border_width = 512, need_resize = 0,
resize_mode = 0, reallocate_redraws = 0, has_focus_chain = 0}, child =
0x12080000020500}, 
      title = 0xd070000000200 <error: Cannot access memory at address
0xd070000000200>, wmclass_name = 0x63090000fe0500 <error: Cannot access memory
at address 0x63090000fe0500>, 
      wmclass_class = 0xef060000000200 <error: Cannot access memory at address
0xef060000000200>, wm_role = 0xe7080000fb0500 <error: Cannot access memory at
address 0xe7080000fb0500>, 
      focus_widget = 0xed070000000200, default_widget = 0x214090100030600,
transient_parent = 0x7060000000200, geometry_info = 0xf8070000010500, frame =
0x9070000000200, 
      group = 0x22090000fc0500, configure_request_count = 512, allow_shrink =
0, allow_grow = 0, configure_notify_received = 0, need_default_position = 0,
need_default_size = 0, 
      position = 0, type = 0, has_user_ref_count = 0, has_focus = 0, modal = 0,
destroy_with_parent = 0, has_frame = 0, iconify_initially = 0, stick_initially
= 0, maximize_initially = 0, 
      decorated = 0, type_hint = 0, gravity = 6, is_active = 0,
has_toplevel_focus = 0, frame_left = 263424, frame_top = 14354432, frame_right
= 512, frame_bottom = 1771264, 
      keys_changed_handler = 16712960, mnemonic_modifier = 33818881, screen =
0xa060000000200}, socket_window = 0x28080000020500, modality_window =
0x11070000000200, 
    modality_group = 0xb8090000fe0500, Python Exception <class 'gdb.error'>
There is no member named keys.: 
grabbed_keys = 0xfa060000000200, same_app = 0}, priv = 0xf2070000000200}

Looks like icon points to... data explicitly set to 0xaa. So maybe someone
forgot to write actual data to it?

Used versions:
thunar: 1.16.4
gtk+: 2.24.32
Linux laptop 4.15.12-1-ARCH #1 SMP PREEMPT Wed Mar 21 15:14:56 UTC 2018 x86_64
GNU/Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list