After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 115263 - Crash when recursing the main loop from "drag-begin"
Crash when recursing the main loop from "drag-begin"
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
2.2.x
Other other
: Normal minor
: Small fix
Assigned To: gtk-bugs
gtk-bugs
: 114131 115075 126381 126717 128425 138890 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-06-16 01:07 UTC by Wesley Tanaka
Modified: 2006-03-10 05:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Wesley Tanaka 2003-06-16 01:07:34 UTC
Package: nautilus
Severity: normal
Version: 2.2.1
Synopsis: file-roller crash
Bugzilla-Product: nautilus
Bugzilla-Component: File and Folder Operations
BugBuddy-GnomeVersion: 2.0 (2.2.0.1)

Description:
Description of Problem:
Bug buddy dialog appeared

Steps to reproduce the problem:
1. I opened up a zip file, selected all the files
2. I dragged the files to another nautilus window

Actual Results:
bug buddy crash dialog

Expected Results:
no crash dialog

How often does this happen?
first time

Additional Information:
the combined size of the files in the zip file was very large, such that
the unzip operation was taking many seconds.  I am not sure if the unzip
had completed when the crash occured.



Debugging Information:

Backtrace was generated from '/usr/bin/file-roller'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1086198656 (LWP 10737)]
0xffffe002 in ?? ()

Thread 1 (Thread 1086198656 (LWP 10737))

  • #0 ??
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 _gtk_drag_source_handle_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #4 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #9 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #13 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #17 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 main
  • #19 __libc_start_main
    from /lib/tls/libc.so.6
  • #0 ??




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-06-15 21:07 -------

Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.

Comment 1 Elijah Newren 2003-06-16 16:41:16 UTC
*** Bug 114131 has been marked as a duplicate of this bug. ***
Comment 2 Elijah Newren 2003-06-16 16:42:23 UTC
*** Bug 115075 has been marked as a duplicate of this bug. ***
Comment 3 Elijah Newren 2003-06-16 16:47:58 UTC
This is potentially a duplicate of bug 108166, but I'm not sure.  I've
marked all other duplicates I could find.  I'm setting all fields
appropriately, moving to gtk+ (one of the dups was also a file-roller
crash, but the other was in gnome-panel), reassigning the bug to the
owner of gtk+ and marking as new.
Comment 4 Owen Taylor 2003-08-01 21:32:19 UTC
No, not a dup of bug 108166 - that isn't a crash at all.
Comment 5 Owen Taylor 2003-08-13 23:10:33 UTC
(I think all the crashes are actually from the file-roller
process, there is no nautilus connection here.)

I can't reproduce this crash, but having looked at what
file-roller is doing, I'm rather suprised that it even
works at all. It's doing a expensive long operations from
"drag-begin" and recursing the GTK+ main loop while
doing so.

The real fix is to fix file roller, and I've filed
bug 119829 about that.

As for GTK+, we probably should try to make GTK+ robust
against this; though I'm not really sure how to do
that. It may be that we can safely avoid calling
::drag-begin until we've set up almost everything for
the drag other than the icon. (::drag-begin is
just meant to allow people to set the icon for the
drag, that's all!)

Putting this on 2.4.0, since there are various reorganizations
to the DND code base in HEAD which will make the situation
different in head and gtk-2-2, so I think trying to fix
it in both places is not sensible.
Comment 6 Olav Vitters 2003-11-06 18:47:56 UTC
*** Bug 126381 has been marked as a duplicate of this bug. ***
Comment 7 Elijah Newren 2003-12-10 04:32:45 UTC
*** Bug 128425 has been marked as a duplicate of this bug. ***
Comment 8 Elijah Newren 2003-12-10 04:33:40 UTC
*** Bug 126717 has been marked as a duplicate of this bug. ***
Comment 9 Mark McLoughlin 2004-04-05 07:12:44 UTC
*** Bug 138890 has been marked as a duplicate of this bug. ***
Comment 10 Matthias Clasen 2006-03-10 05:57:29 UTC
I don't think there is much for GTK+ to do here. The original file-roller
issue has since been fixed.