! 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 !
Extracting Files via DnD crashes xarchiver
Status:
RESOLVED: FIXED
Product:
Xarchiver
Component:
general

Comments

Description zenwalk-oskar 2006-07-24 18:26:15 CEST
on a clean zenwalk-2.8 install (with new user) compiled
xarchiver-0.3.9.3svnr22521

then downloaded http://download.zenwalk.org/i486/current/packages/a/sysvinit-2.84-i486-4z28.tgz
to $HOME

and extracted the files

rc.local.new
rc.K.new
rc.6.new
rc.4.new
rc.S.new
rc.M.new

to

$HOME/test

backtrace:

0xb77f2847 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb77f2847 in raise () from /lib/tls/libc.so.6
#1  0xb77f40d9 in abort () from /lib/tls/libc.so.6
#2  0xb7826616 in __libc_message () from /lib/tls/libc.so.6
#3  0xb782cd4f in _int_free () from /lib/tls/libc.so.6
#4  0xb782d0ea in free () from /lib/tls/libc.so.6
#5  0xb792497c in g_free () from /usr/lib/libglib-2.0.so.0
#6  0xb7936f2b in g_string_free () from /usr/lib/libglib-2.0.so.0
#7  0x0805664f in drag_data_get (widget=0x80bda20, dc=0x0,
    selection_data=0xbfbc0120, info=0, t=12370120, data=0x0)
    at callbacks.c:1765
#8  0xb7e3a8e5 in gtk_marshal_VOID__UINT_STRING ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb798dd2c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0xb79a29ec in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#11 0xb79a393d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#12 0xb79a3ab6 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#13 0xb7dce214 in gtk_drag_set_default_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7e3a2fe in gtk_marshal_VOID__UINT_STRING ()
   from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb798dd2c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0xb79a29ec in g_signal_has_handler_pending ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libgobject-2.0.so.0
#17 0xb79a393d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0xb79a3ab6 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#19 0xb7e75cfc in gtk_selection_clear () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7e75fb0 in gtk_selection_clear () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7e390f0 in gtk_marshal_VOID__UINT_STRING ()
   from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb798e028 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#23 0xb798dd2c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xb79a251a in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#25 0xb79a3654 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0xb79a3bbb in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xb7f01e94 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb7e371d1 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7cff1b1 in gdk_event_get_graphics_expose ()
   from /usr/lib/libgdk-x11-2.0.so.0
#30 0xb791d4e4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb791ef16 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#32 0xb791f195 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#33 0xb7e378e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x0804e909 in main (argc=1, argv=0xbfbc0814) at main.c:234
Comment 1 Giuseppe Torelli 2006-07-25 07:31:55 CEST
I can't reproduce the bug. I tried to drag the files either one by one to $HOME/test (in Thunar) or all together but I can't get the crash.
Comment 2 zenwalk-oskar 2006-07-25 07:49:49 CEST
dragging alltogether works fine, only if a drag several single files it happens

it also works if i
drag & wait until the file is extracted then drag the next file

It crashes when I drag single file and then another while the first is still extracted, So looks like a problem with multithreading
Comment 3 Giuseppe Torelli 2006-07-25 07:55:24 CEST
(In reply to comment #2)
> It crashes when I drag single file and then another while the first is still
> extracted, So looks like a problem with multithreading

Ok, now the mistery is revealed! I will include a fix in the next revision.

Comment 4 Giuseppe Torelli 2006-07-26 12:25:39 CEST
Fixed in r22528.

Bug #2065

Reported by:
zenwalk-oskar
Reported on: 2006-07-24
Last modified on: 2006-07-26

People

Assignee:
Giuseppe Torelli
CC List:
0 users

Version

Version:
0.3.9svn

Attachments

Additional information