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 747762 - nautilus crashed with SIGABRT in g_assertion_message()
nautilus crashed with SIGABRT in g_assertion_message()
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Crashers
3.14.x
Other Linux
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
https://bugs.launchpad.net/ubuntu/+so...
Depends on:
Blocks:
 
 
Reported: 2015-04-13 00:05 UTC by Christopher M. Penalver
Modified: 2015-10-10 14:35 UTC
See Also:
GNOME target: ---
GNOME version: 3.13/3.14


Attachments
nautilus-plugins.png (185.69 KB, image/png)
2015-10-09 09:13 UTC, Christopher M. Penalver
Details

Description Christopher M. Penalver 2015-04-13 00:05:42 UTC
Downstream report (Note: it is marked private so you would have to have a Launchpad account, and either be on a team with permissions, or one may subscribe you to it via your Launchpad account):
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1438216

Nautilus crashes frequently when making a first attempt at mounting a Ubuntu samba share. Will post backtrace in follow up comment.
Comment 1 Christopher M. Penalver 2015-04-13 00:05:55 UTC
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nautilus...Reading symbols from /usr/lib/debug//usr/bin/nautilus...done.
done.
(gdb) handle SIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/nautilus 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

(nautilus:32337): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(nautilus:32337): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(nautilus:32337): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[Thread 0x7ffff7faaa00 (LWP 32337) exited]
[Inferior 1 (process 32337) exited normally]
(gdb) run
Starting program: /usr/bin/nautilus 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

(nautilus:32413): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(nautilus:32413): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
[New Thread 0x7fffcc2bd700 (LWP 32419)]
[Thread 0x7fffcc2bd700 (LWP 32419) exited]

(nautilus:32413): Gtk-WARNING **: Refusing to add non-unique action 'TerminalNautilus:OpenFolderLocal' to action group 'ExtensionsMenuGroup'
**
ERROR:nautilus-bookmark.c:349:nautilus_bookmark_connect_file: assertion failed: (!nautilus_file_is_gone (bookmark->details->file))
[New Thread 0x7fffca658700 (LWP 32452)]
[New Thread 0x7fffe35f1700 (LWP 32417)]
[New Thread 0x7fffe3fff700 (LWP 32416)]
[New Thread 0x7fffe9818700 (LWP 32414)]

Program received signal SIGABRT, Aborted.
0x00007ffff36dc267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace full

Thread 1 (Thread 0x7ffff7faaa00 (LWP 32413))

  • #0 __GI_raise
    at ../sysdeps/unix/sysv/linux/raise.c line 55
  • #1 __GI_abort
    at abort.c line 89
  • #2 g_assertion_message
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 g_assertion_message_expr
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #4 nautilus_bookmark_connect_file
    at nautilus-bookmark.c line 349
  • #5 nautilus_bookmark_constructed
    at nautilus-bookmark.c line 549
  • #6 ??
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #7 g_object_new_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #8 g_object_new
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #9 nautilus_bookmark_new
    at nautilus-bookmark.c line 756
  • #10 nautilus_window_slot_update_bookmark
    at nautilus-window-slot.c line 1971
  • #11 nautilus_window_slot_update_for_new_location
    at nautilus-window-slot.c line 2254
  • #12 location_has_really_changed
    at nautilus-window-slot.c line 2532
  • #13 view_begin_loading_cb
    at nautilus-window-slot.c line 2387
  • #14 g_closure_invoke
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #15 ??
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #18 finish_loading
    at nautilus-view.c line 9230
  • #19 finish_loading_if_all_metadata_loaded
    at nautilus-view.c line 9289
  • #20 metadata_for_directory_as_file_ready_callback
    at nautilus-view.c line 9309
  • #21 call_ready_callbacks_at_idle
    at nautilus-directory-async.c line 1798
  • #22 g_main_context_dispatch
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #23 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #24 g_main_context_iteration
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #25 g_application_run
    from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
  • #26 main
    at nautilus-main.c line 103
A debugging session is active.

	Inferior 1 [process 32413] will be killed.

Quit anyway? (y or n) y
Comment 2 Christopher M. Penalver 2015-10-09 00:19:01 UTC
This just happened now while attempting to connect to a directory on a bluetooth connected phone via nautilus.

apt-cache policy nautilusnautilus:
  Installed: 1:3.14.2-0ubuntu10
  Candidate: 1:3.14.2-0ubuntu10
  Version table:
 *** 1:3.14.2-0ubuntu10 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status
Comment 3 Carlos Soriano 2015-10-09 08:32:10 UTC
Fixed in https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-14&id=a0cbf72827b87a28fba47988957001a8b4fbddf5

I don't plan more releases, so feel free to backport
Comment 4 Carlos Soriano 2015-10-09 08:34:47 UTC
And for next time if it's possible ask the reporter if they have extensions/plugins and try to reproduce without them. I spent 7 days debugging this one in the past because I didn't know :)
Comment 5 Christopher M. Penalver 2015-10-09 08:40:19 UTC
Carlos Soriano, thank you very much for cranking that fix out!

Unfortunately, while I am the original reporter, I wasn't aware I was using any plugins or extensions... sorry it took you 7 days to debug it.

However, would there be a command that could advise what extensions or plugins one has installed? Once identified, this information could be incorporate into the debugging documentation located at:
https://wiki.ubuntu.com/DebuggingGNOME
Comment 6 Carlos Soriano 2015-10-09 09:06:49 UTC
> However, would there be a command that could advise what extensions or
> plugins one has installed? Once identified, this information could be
> incorporate into the debugging documentation located at:
> https://wiki.ubuntu.com/DebuggingGNOME

Good question, I don't think so. But I guess trying to search the "nautilus-*" installed packages is enough. There should be only nautilus itself, everything else would be an extension.
Comment 7 Christopher M. Penalver 2015-10-09 09:13:22 UTC
Created attachment 312941 [details]
nautilus-plugins.png

Carlos Soriano, as per the attached nautilus-plugins.png, would any of those be defined as a plugin/extension, one of the plugins/extensions that threw a wrench in your debugging, or you were thinking might be installed?
Comment 8 Carlos Soriano 2015-10-09 10:39:42 UTC
(In reply to Christopher M. Penalver from comment #7)
> Created attachment 312941 [details]
> nautilus-plugins.png
> 
> Carlos Soriano, as per the attached nautilus-plugins.png, would any of those
> be defined as a plugin/extension, one of the plugins/extensions that threw a
> wrench in your debugging, or you were thinking might be installed?

Looks like nautilus-share. And I though ubuntu installed open-terminal by default, do you have an "open terminal" item in the right click menu?

Also, I saw that in the "HowToDebug" wiki page of ubuntu is not explained, but nautilus has a custom debug envar. To gather everything:
G_DEBUG="all" NAUTILUS_DEBUG="All" nautilus
Comment 9 Christopher M. Penalver 2015-10-10 14:35:58 UTC
Carlos Soriano, thanks for the continued feedback. It is greatly appreciated.

>"Looks like nautilus-share."

Got it.

>"And I though ubuntu installed open-terminal by default, do you have an "open terminal" item in the right click menu?"

I do have "Open in Terminal" in the secondary click menu. However, I'm unable to find an open-terminal package:
apt-cache policy open-terminal
N: Unable to locate package open-terminal

The only installed packages found with the word terminal in it were:
gnome-terminal
gnome-terminal-data
 
>"Also, I saw that in the "HowToDebug" wiki page of ubuntu is not explained, but nautilus has a custom debug envar. To gather everything: G_DEBUG="all" NAUTILUS_DEBUG="All" nautilus"

The article now includes everything you've mentioned so far. Feel free to advise or edit if improvement opportunities exist.