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 681388 - crash on startup: assertion failed: (NAUTILUS_IS_VIEW (view))
crash on startup: assertion failed: (NAUTILUS_IS_VIEW (view))
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Crashers
0.x.x [obsolete]
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-07 16:19 UTC by Adam Dingle
Modified: 2012-08-07 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2012-08-07 16:19:01 UTC
I built Nautilus from git master on Ubuntu 12.10 (Quantal).  When I run it, it crashes immediately:

ERROR:nautilus-window.c:1855:nautilus_window_connect_content_view: assertion failed: (NAUTILUS_IS_VIEW (view))
Aborted (core dumped)
Comment 1 Cosimo Cecchi 2012-08-07 17:23:10 UTC
Hi Adam, can you please provide a stacktrace of the crash?
Comment 2 Adam Dingle 2012-08-07 18:07:07 UTC
Sure - a stack trace is below.  I see Nautilus_File_Manager_Desktop_Icon_View in the stack trace, so perhaps this is related to displaying icons on the desktop (which is enabled by default in Ubuntu).  Maybe that hasn't been tested with the latest Nautilus changes?

  • #0 __GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 __GI_abort
    at abort.c line 91
  • #2 g_assertion_message
    at /build/buildd/glib2.0-2.33.6/./glib/gtestutils.c line 1861
  • #3 g_assertion_message_expr
  • #4 nautilus_window_connect_content_view
    at nautilus-window.c line 1855
  • #5 create_content_view
    at nautilus-window-manage-views.c line 980
  • #6 got_file_info_for_view_selection_callback
    at nautilus-window-manage-views.c line 865
  • #7 desktop_callback_check_done
    at nautilus-desktop-directory-file.c line 219
  • #8 call_ready_callbacks_at_idle
    at nautilus-directory-async.c line 1857
  • #9 g_main_dispatch
    at /build/buildd/glib2.0-2.33.6/./glib/gmain.c line 2691
  • #10 g_main_context_dispatch
    at /build/buildd/glib2.0-2.33.6/./glib/gmain.c line 3195
  • #11 g_main_context_iterate
    at /build/buildd/glib2.0-2.33.6/./glib/gmain.c line 3266
  • #12 g_main_context_iteration
    at /build/buildd/glib2.0-2.33.6/./glib/gmain.c line 3327
  • #13 g_application_run
    at /build/buildd/glib2.0-2.33.6/./gio/gapplication.c line 1607
  • #14 main
    at nautilus-main.c line 103

Comment 3 Cosimo Cecchi 2012-08-07 18:29:01 UTC
Yes, indeed that was the case :)
It's fixed now in master, thanks for the report.