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 108205 - Crash after attempting to copying a file to trash.
Crash after attempting to copying a file to trash.
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.2.x
Other Linux
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 108719 109398 126615 140483 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-03-12 16:22 UTC by Dennis Cranston
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Dennis Cranston 2003-03-12 16:22:14 UTC
Package: nautilus
Severity: major
Version: GNOME2.2.0 2.2.2
os_details: Gnome.Org
Synopsis: Crash when copying file to desktop trash.
Bugzilla-Product: nautilus
Bugzilla-Component: File and Folder Operations
BugBuddy-GnomeVersion: 2.0 (2.2.0.1)
Description:
Description of Problem:
Nautilus crashed when copying file to desktop tra

Steps to reproduce the problem:
1.  Double click on home folder.
2.  Middle click and drag a .jpg from home folder to desktop trash icon.
3.  Select 'Copy File' option.

Actual Results:
Nautilus crashes.

Expected Results:
Nautilus does not crash.

How often does this happen?
Only once, but still thought I should report it.

Additional Information:



Debugging Information:

Backtrace was generated from '/gnome/gnome-2-2/INSTALL/bin/nautilus'

0xffffe002 in ?? ()
  • #0 ??
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 646
  • #2 <signal handler called>
  • #3 gtk_widget_get_toplevel
    at gtkwidget.c line 5356
  • #4 gtk_main_get_window_group
    at gtkmain.c line 1569
  • #5 gtk_main_do_event
    at gtkmain.c line 1394
  • #6 gdk_event_dispatch
    at gdkevents-x11.c line 2018
  • #7 g_main_dispatch
    at gmain.c line 1653
  • #8 g_main_context_dispatch
    at gmain.c line 2197
  • #9 g_main_context_iterate
    at gmain.c line 2278
  • #10 g_main_loop_run
    at gmain.c line 2498
  • #11 gtk_dialog_run
    at gtkdialog.c line 981
  • #12 eel_run_simple_dialog
    at eel-stock-dialogs.c line 369
  • #13 nautilus_file_operations_copy_move
    at nautilus-file-operations.c line 1927
  • #14 fm_directory_view_move_copy_items
    at fm-directory-view.c line 5961
  • #15 icon_view_move_copy_items
    at fm-icon-view.c line 2243
  • #16 nautilus_marshal_VOID__POINTER_POINTER_POINTER_INT_INT_INT
    at nautilus-marshal-guts.c line 516
  • #17 g_closure_invoke
    at gclosure.c line 437
  • #18 signal_emit_unlocked_R
    at gsignal.c line 2822
  • #19 g_signal_emit_valist
    at gsignal.c line 2554
  • #20 g_signal_emit_by_name
    at gsignal.c line 2649
  • #21 handle_nonlocal_move
    at nautilus-icon-dnd.c line 865
  • #22 nautilus_icon_container_receive_dropped_icons
    at nautilus-icon-dnd.c line 1020
  • #36 gtk_selection_convert
    at gtkselection.c line 729
  • #37 gtk_drag_get_data
    at gtkdnd.c line 652
  • #38 get_data_on_first_target_we_support
    at nautilus-icon-dnd.c line 406
  • #39 drag_drop_callback
    at nautilus-icon-dnd.c line 1298
  • #40 _gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINT
    at gtkmarshalers.c line 288
  • #41 g_closure_invoke
    at gtkdnd.c line 1392
  • #50 gtk_drag_find_widget
    at gtkdnd.c line 1392
  • #51 gtk_drag_find_widget
    at gtkdnd.c line 1392
  • #52 gtk_drag_find_widget
    at gtkdnd.c line 1392
  • #53 gtk_drag_find_widget
    at gtkdnd.c line 1392
  • #54 gtk_drag_find_widget
    at gtkdnd.c line 1392
  • #55 _gtk_drag_dest_handle_event
    at gtkdnd.c line 1092
  • #56 gtk_main_do_event
    at gtkmain.c line 1536
  • #57 gdk_event_dispatch
    at gdkevents-x11.c line 2018
  • #58 g_main_dispatch
    at gmain.c line 1653
  • #59 g_main_context_dispatch
    at gmain.c line 2197
  • #60 g_main_context_iterate
    at gmain.c line 2278
  • #61 g_main_loop_run
    at gmain.c line 2498
  • #62 gtk_main
    at gtkmain.c line 1092
  • #63 main
    at nautilus-main.c line 267
  • #64 __libc_start_main
    from /lib/tls/libc.so.6

Comment 1 Alex Duggan 2003-03-12 16:27:26 UTC
Works ok here with 2.2.2 nautilus tarball.  A dialog box pops up
saying "You cannot copy items into the trash".
Comment 2 Dennis Cranston 2003-03-12 16:38:45 UTC
I said it only happened once.  Maybe the debug output would be more
helpful rather than simply dismissing the bug because "it works for me"? 
Comment 3 Elijah Newren 2003-03-19 14:57:02 UTC
Dennis: I don't see how Alex dismissed this bug at all.  If you'll
notice, the bug is still open, whereas Alex could have closed it.  He
looks through hundreds of bugs regularly and was likely just leaving a
note that he had at least tried this bug once and couldn't
reproduce--which can be potentially useful to others.

I'm starting to suspect this is a gtk+ problem.  This bug and a few
others I've recently seen have the following two functions (even with
matchine line numbers) at the top of their stack traces:
  gtk_widget_get_toplevel at gtkwidget.c:5356
  gtk_main_get_window_group at gtkmain.c:1569
Half of these bugs were gnome-panel crashes, the other half are
nautilus ones.  See bug 108656 for the ones tracked against the
gnome-panel.  I believe either this should be a duplicate of that one,
or that one should be a duplicate of this bug (so long as the product
is changes)--but I'm not completely sure.

Comment 4 Elijah Newren 2003-03-19 14:58:32 UTC
*** Bug 108719 has been marked as a duplicate of this bug. ***
Comment 5 Elijah Newren 2003-03-19 15:01:16 UTC
Ooops, forgot to triage.  Marking severity->critical (it's a crasher),
adding myself to cc list (so I can find out if I was right about this
and 108656 being dups), and adding bugsquad keyword.
Comment 6 Alexander Larsson 2003-03-19 16:27:41 UTC
I agree. I think this is likely a gtk+ bug.
Especially after looking at the backtrace in bug 108719.
Comment 7 Elijah Newren 2003-03-22 17:57:10 UTC
Owen: I'm adding you to the cc list (as Arvind suggested might be a
good idea in bug 108656) so you can take a look at this and perhaps
provide some insight as to whether this might be a gtk+ problem or
not.  Note that this bug is almost identical (if not identical) to the
stack traces being tracked in bug 108656 (which is recording
gnome-panel crashes instead of nautilus ones).
Comment 8 Owen Taylor 2003-03-22 22:14:19 UTC
Well, it's certainly not a GTK+ bug that can be debugged
by code inspection ... the code involved is actually really
straightforward ... it just takes a widget and walks
up the toplevel to the heirarchy.

It appears that something has corrupted (or stored invalid
data in) the user data field of a GdkWindow.
Comment 9 Owen Taylor 2003-03-22 22:27:27 UTC
Oh - another thing. For "Possible GTK+" bugs, please 
Cc: gtk-bugs@gtk.org rather than me. I don't handle
GTK+ maintenance alone, and other people may have more
time/interest in trying to track down such intermittent 
crashers in GNOME apps.

Comment 10 Elijah Newren 2003-03-23 06:48:18 UTC
Oh, okay, I'll remember that Owen.  Thanks for the pointer.  (And
sorry for the extra work)  I'll drop you from the cc-list so you won't
be spammed further from this bug.  

chrisw@tartarus.uwa.edu.au just added a very interesting comment to
bug 108656:
  GARNOME 0.22.0 uses a patched version of GTK+ to add pretty (albeit
  buggy) drop shadow eyecandy and the like - installing a clean 
  version of GTK+ fixes the problem. I've informed the list so 
  hopefully an updated version will be released.
Dennis: Do you happen to be using garnome or the same GTK+ patch?  If
so, can you try removing that patch and seeing if the problem still
occurs?
Comment 11 Dennis Cranston 2003-06-13 04:57:31 UTC
Yes.  It was that menu shadow patch.  I am closing this bug.
Sorry for wasting everyone's time on this.
 
Comment 12 Elijah Newren 2003-07-08 16:02:56 UTC
*** Bug 109398 has been marked as a duplicate of this bug. ***
Comment 13 Elijah Newren 2003-07-08 16:04:36 UTC
Dennis: You didn't waste anyone's time.  Other people are reporting
the same or similar bugs, and this bug is helping to track at least
one of them down.  I'm guessing a few others are dups as well if I
look into this further.  Thanks for following up and telling us that
the gtk+ patch was at fault.  :)
Comment 14 Vincent Untz 2003-11-11 21:35:09 UTC
*** Bug 126615 has been marked as a duplicate of this bug. ***
Comment 15 Martin Wehner 2004-04-19 15:03:25 UTC
*** Bug 140483 has been marked as a duplicate of this bug. ***