GNOME Bugzilla – Bug 652320
nautilus crashed with SIGSEGV in nautilus_window_slot_get_current_uri()
Last modified: 2011-12-02 21:18:24 UTC
Open bug in Launchpad.net: https://bugs.launchpad.net/bugs/795708 "Install dropbox and restart nautilus... open apport"
+ Trace 227440
I spent some time debugging this crash after I found a reliable way to reproduce it, and I pushed a fix to git master now. Will backport this to the next 3.2.1 stable release too.
Hello Cosimo, your commits were applied to the Ubuntu package but it seems to be still causing the crash, backtrace with the new package is: .
+ Trace 228695
Thread 1 (Thread 0x7fc4855ea960 (LWP 1523))
I can reproduce it for sure in this case: 1. Open a folder on desktop that contains a Windows application (it's Russian language training program for schools, you can download it from http://school-collection.edu.ru/catalog/rubr/e92131e2-85b9-ee62-b9c8-1d8c08dc1b5f/90147/) 2. Launch that program (using Wine, it runs in fullscreen mode) 3. Close it 4. Try to close folder window Nautilus crashes, and desktop disappears. I can provide any debug info if you request.
In my case, slot returned by nautilus_window_get_active_slot is NULL (probably because window->details->active_pane is NULL), so it's impossible to check value of slot->pending_location. I will suggest changing <...> slot = nautilus_window_get_active_slot (sidebar->window); location = nautilus_window_slot_get_current_uri (slot); <...> in nautilus-places-sidebar.c to something like that: <...> slot = nautilus_window_get_active_slot (sidebar->window); if (SLOT == NULL) location = ""; // Default location, or probably put home directory here else location = nautilus_window_slot_get_current_uri (slot); <...>
Created attachment 202562 [details] [review] (untested) patch I believe this patch should help with the crash, but I am not able to reproduce it. Could somebody who can try it and report if it solves the issue? Thanks
Works fine now, thanks a lot!
Thanks for testing, I pushed this patch to master now.