GNOME Bugzilla – Bug 747762
nautilus crashed with SIGABRT in g_assertion_message()
Last modified: 2015-10-10 14:35:58 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.
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
+ Trace 234964
Thread 1 (Thread 0x7ffff7faaa00 (LWP 32413))
A debugging session is active. Inferior 1 [process 32413] will be killed. Quit anyway? (y or n) y
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
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
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 :)
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
> 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.
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?
(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
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.