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 756342 - Crash after opening Preferences when Other Locations is opened
Crash after opening Preferences when Other Locations is opened
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Crashers
3.18.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-10 13:45 UTC by donny
Modified: 2016-11-17 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description donny 2015-10-10 13:45:24 UTC
OS: Arch Linux, Linux 4.2.2 64bit
Gnome Files 3.18.0


Steps to reproduce:

1) Open Nautilus window
2) Choose "Other Locations" in left column and click on it
3) Open the application menu by clicking on "Files" in Gnome top bar
4) Choose "Preferences" from the application menu

-> Crash.

I don't know how to compile Nautilus with debugging symbols, so the gdb output is not detailed.

----

Reading symbols from nautilus...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe8527700 (LWP 15741)]
[New Thread 0x7fffe7d26700 (LWP 15742)]
[New Thread 0x7fffe5df3700 (LWP 15743)]
[New Thread 0x7fffe53e5700 (LWP 15744)]
[New Thread 0x7fffd6897700 (LWP 15746)]
[New Thread 0x7fffd563d700 (LWP 15747)]
[Thread 0x7fffd563d700 (LWP 15747) exited]
[Thread 0x7fffd6897700 (LWP 15746) exited]
**
ERROR:nautilus-file.c:6984:nautilus_file_is_in_trash: assertion failed: (NAUTILUS_IS_FILE (file))

Program received signal SIGABRT, Aborted.
0x00007ffff41725f8 in raise () from /usr/lib/libc.so.6
Comment 1 Carlos Soriano 2015-11-18 08:10:43 UTC
fixed in 3.18.2
Comment 2 Sebastien Bacher 2015-12-08 17:19:11 UTC
@Carlos, your fix seems to not be enough, the Ubuntu bug trackers is receiving similar issues from 3.18.2
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1524008

"#0  0x00007fb35ddbb227 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
        resultvar = 0
        pid = 3374
        selftid = 3374
  • #1 __GI_abort
    at abort.c line 89
  • #2 g_assertion_message
  • #3 g_assertion_message_expr
  • #4 nautilus_file_is_in_trash
    at nautilus-file.c line 7046
  • #5 get_default_column_order
    at nautilus-list-view.c line 1892
  • #6 set_columns_settings_from_metadata_and_preferences
    at nautilus-list-view.c line 1973
  • #7 g_closure_invoke
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gclosure.c line 804
  • #8 signal_emit_unlocked_R
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gsignal.c line 3629
  • #9 g_signal_emit_valist
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gsignal.c line 3385
  • #10 g_signal_emit
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gsignal.c line 3441
  • #11 g_settings_real_change_event
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gio/gsettings.c line 386
  • #12 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #13 ffi_call
    at ../src/x86/ffi64.c line 525
  • #14 g_cclosure_marshal_generic_va
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gclosure.c line 1604
  • #15 _g_closure_invoke_va
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gclosure.c line 867
  • #16 g_signal_emit_valist
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gsignal.c line 3294
  • #17 g_signal_emit
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gobject/gsignal.c line 3441
  • #18 settings_backend_changed
    at /build/glib2.0-IfQpAv/glib2.0-2.47.3/./gio/gsettings.c line 446

Comment 3 Carlos Soriano 2015-12-09 10:22:45 UTC
Sebastien, can you reproduce it personally? can you reproduce not using templates or any plugin?

Thanks
Comment 4 Sebastien Bacher 2015-12-10 12:05:42 UTC
I was able to reproduce once yesterday, I don't use templates but I have some of the standard plugin installed (e.g gnome-user-share), I'm going to try without those but since I can't easily reproduce I'm unsure if that's going to work. What other info do you need if I manage to reproduce?
Comment 5 Carlos Soriano 2015-12-10 12:29:18 UTC
No other info is required. If you can reproduce with the code living in nautilus alone, it's more than enough (also I guess you are using the desktop right?)

This problem happens when a view is leaked, then when requesting preferences it goes through all the views, and tries to access one that has invalid data.

Afaik the only one currently that has ownership of the view is the window-slot, (templates menu items were also having it, which is what I fixed in 3.18 branch for 3.18.3).
Comment 6 Sebastien Bacher 2015-12-10 14:09:03 UTC
Ok, do you plan to roll a 3.18.3 tarball? The easiest way to test is probably to get the update out and see if we still get reports
Comment 7 Carlos Soriano 2015-12-10 15:54:20 UTC
(In reply to Sebastien Bacher from comment #6)
> Ok, do you plan to roll a 3.18.3 tarball? The easiest way to test is
> probably to get the update out and see if we still get reports

yes, but later on since we want some other changes as well.
Comment 8 Alexandre Franke 2016-11-17 13:14:21 UTC
I see that 3.18.3 has eventually been released. Is that still an issue?
Comment 9 Robin A. Meade 2016-11-17 19:57:44 UTC
This seems to be fixed. I can't reproduce it anymore. (I'm running Nautilus 3.20.3 on Fedora 24.)