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 408293 - crash in Home Folder:
crash in Home Folder:
Status: RESOLVED DUPLICATE of bug 349551
Product: nautilus
Classification: Core
Component: general
2.16.x
Other All
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
nautilus[debugsymbols]
: 408312 408319 408374 408858 409572 410440 412557 413518 416146 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-15 16:36 UTC by ozk
Modified: 2007-03-13 19:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
A extract from gdb session (45.51 KB, text/plain)
2007-02-19 19:49 UTC, Andrew Zabolotny
Details

Description ozk 2007-02-15 16:36:57 UTC
What were you doing when the application crashed?



Distribution: Fedora Core release 6 (Zod)
Gnome Release: 2.16.3 2007-01-31 (Red Hat, Inc)
BugBuddy Version: 2.16.0

System: Linux 2.6.19-1.2911.fc6 #1 SMP Sat Feb 10 15:16:31 EST 2007 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Disabled

Memory status: size: 542732288 vsize: 542732288 resident: 42045440 share: 20504576 rss: 42045440 rss_rlim: -1
CPU usage: start_time: 1171523169 rtime: 6342 utime: 5080 stime: 1262 cutime:0 cstime: 1 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912496347056 (LWP 3218)]
0x0000003aa120d96f in waitpid () from /lib64/libpthread.so.0

Thread 1 (Thread 46912496347056 (LWP 3218))

  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 gnome_gtk_module_info_get
    from /usr/lib64/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 gtk_ui_manager_remove_ui
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #4 nautilus_ui_unmerge_ui
    at nautilus-ui-utilities.c line 38
  • #5 real_update_menus
    at fm-directory-view.c line 4637
  • #6 fm_directory_view_update_menus
    at fm-directory-view.c line 9360
  • #7 update_menus_timeout_callback
    at fm-directory-view.c line 2928
  • #8 g_source_get_current_time
    from /lib64/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #10 g_main_context_check
    from /lib64/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /lib64/libglib-2.0.so.0
  • #12 gtk_main
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #13 main
    at nautilus-main.c line 389
  • #14 __libc_start_main
    from /lib64/libc.so.6
  • #15 _start
  • #0 waitpid
    from /lib64/libpthread.so.0

Comment 1 André Klapper 2007-02-16 22:01:18 UTC
Thanks for taking the time to report this bug.
This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read http://bugzilla.gnome.org/bug-HOWTO.html and add a more useful description to this bug.

Also, the stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash.

Could you please help fixing this by also installing glib2-debuginfo and gtk2-debuginfo, start the application as normal, and try to reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the 'Details', now containing way more information. Please copy that stacktrace and paste it as a comment here. Thanks in advance!

More details can be found here: http://live.gnome.org/GettingTraces
Comment 2 André Klapper 2007-02-16 22:01:24 UTC
*** Bug 408312 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2007-02-16 22:01:29 UTC
*** Bug 408319 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2007-02-16 22:01:33 UTC
*** Bug 408374 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2007-02-17 12:08:58 UTC
from bug 408858:

  • #2 <signal handler called>
  • #3 IA__gtk_ui_manager_remove_ui
    at gtkuimanager.c line 1753
  • #4 nautilus_ui_unmerge_ui
    at nautilus-ui-utilities.c line 38
  • #5 real_update_menus
    at fm-directory-view.c line 4637
  • #6 fm_directory_view_update_menus
    at fm-directory-view.c line 9360
  • #7 update_menus_timeout_callback
    at fm-directory-view.c line 2928

Comment 6 André Klapper 2007-02-17 12:09:11 UTC
*** Bug 408858 has been marked as a duplicate of this bug. ***
Comment 7 Susana 2007-02-19 15:46:19 UTC
*** Bug 409572 has been marked as a duplicate of this bug. ***
Comment 8 Andrew Zabolotny 2007-02-19 19:48:08 UTC
As I have pointed out early, I have ssh access to this guy's machine and tried to do some debugging today, despite my complete ignorance in GNOME internals :)

I'm attaching a short extract from my debugging session with some interesting moments marked with ####.

Resume: as far as I understand, update_menus_timeout_callback (and perhaps other callbacks - I've seen similar things in linked bug reports - for example, see bug #408293 where fm_directory_view_update_menus is the timer callback that caused the crash) is called regularily on some timeout (perhaps even asynchronously?). If you happen to click the close button just a bit before the callback is called, nautilus crashes because some fields in callback data were already NULLed out.

I think the solution is to cancel the timer callback before the windows starts
to be destroyed.
Comment 9 Andrew Zabolotny 2007-02-19 19:49:08 UTC
Created attachment 82905 [details]
A extract from gdb session
Comment 10 André Klapper 2007-02-21 17:11:17 UTC
*** Bug 410440 has been marked as a duplicate of this bug. ***
Comment 11 Susana 2007-02-27 12:50:46 UTC
*** Bug 412557 has been marked as a duplicate of this bug. ***
Comment 12 Pedro Villavicencio 2007-03-02 00:36:47 UTC
*** Bug 413518 has been marked as a duplicate of this bug. ***
Comment 13 Susana 2007-03-09 09:54:17 UTC
*** Bug 416146 has been marked as a duplicate of this bug. ***
Comment 14 André Klapper 2007-03-13 19:32:23 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 349551 ***