GNOME Bugzilla – Bug 589258
crashes when using dnd from file-roller to a directory
Last modified: 2009-10-10 14:00:31 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/389888 "When I draged from file-roller archive and droped to nautilus, nautilus has been crashed. Now I'm working on upgrade packages and I use uscan for update. After download .tar.gz uscan create a symlink to .tar.gz file. If I'll open any archive (not different a symlink or source .tar.gz) by file-roller, drag and drop to nautilus and... nautilus crashed. error from .xsession-errors: Gdk-ERROR **: The program 'nautilus' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAtom (invalid Atom parameter)'. (Details: serial 10778 error_code 5 request_code 24 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)"
Using nautilus 2.27.4 on karmic: "Gdk-ERROR **: The program 'nautilus' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAtom (invalid Atom parameter)'. (Details: serial 127759 error_code 5 request_code 24 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) aborting... Program received signal SIGTRAP, Trace/breakpoint trap. IA__g_logv (log_domain=<value optimized out>, log_level=G_LOG_LEVEL_ERROR, format=0x1a6c53 "%s", args1=0xbfffe17c "\200\212R\b\5") at /build/buildd/glib2.0-2.21.4/glib/gmessages.c:512 512 /build/buildd/glib2.0-2.21.4/glib/gmessages.c: Aucun fichier ou dossier de ce type. in /build/buildd/glib2.0-2.21.4/glib/gmessages.c (gdb) bt
+ Trace 216556
Bug very similiar to this bug, but no using DnD method. https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/405232
Confirming this bug on 2.28.0 as well, amd64/karmic beta. nautilus crashes immediately when a dragged file from file-roller enters its window, at any place.
This is fixed in master now, thanks for the report. commit 23278532505862816bd5c8c0ab7d17f7a07b4790 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Fri Oct 9 19:19:42 2009 +0200 Always check if the drag dest supports the source. In the "drag-motion" callback, make sure we check for target != GDK_NONE before getting non-existent data for it.
*** Bug 596302 has been marked as a duplicate of this bug. ***
*** Bug 588548 has been marked as a duplicate of this bug. ***