GNOME Bugzilla – Bug 73456
Notes sidebar crash long after main Nautilus crash
Last modified: 2004-12-22 21:47:04 UTC
Package: nautilus Severity: normal Version: 1.1.6 Synopsis: Notes sidebar crash long after main Nautilus crash Bugzilla-Product: nautilus Bugzilla-Component: Sidebar Panel: (Other) BugBuddy-GnomeVersion: 2.0 (1.112.0) Description: Hmm, my main Nautilus died a few hours ago, then I got a nautilus-notes crash dialog with no main Nautilus running. Go figure. ;-) Backtrace looks like it could be figured out without needing a way to reproduce. Debugging Information: [New Thread 1024 (LWP 19537)] 0x40a695d9 in __wait4 () from /lib/i686/libc.so.6
+ Trace 18659
Thread 1 (Thread 1024 (LWP 19537))
bounds>, string_b=0x0) at eel-string.c:54 54 return strcmp (string_a == NULL ? "" : string_a, No locals. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-03-04 18:31 ------- Unknown version 1.1.x in product nautilus. Setting version to the default, "unspecified". Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.
Still seeing this, Havoc?
Only saw it the one time.
Dave: we've got no duplicates of this, and Havoc only saw it the one time. Can you close this if the trace isn't useful/relevant anymore?
It happens because it isn't checking CORBA ev for errors in nautilus_directory_get_file_metadata(). So I guess the CORBA call is failing because nautilus is dead, but it uses the return value which is invalid, and it SEGVs. Also see bug #46664. There are 11 corba calls in nautilus-directory-metafile.c that don't check the ev for errors. I'll attach a patch that would avoid this particular SEGV, but it doesn't fix the underlying issue of no error-handling strategy.
Created attachment 7897 [details] [review] Patch to avoid SEGV in this instance
Created attachment 7962 [details] [review] New version of patch which compiles (change '->' to '.')
Patch applied. Closing.