GNOME Bugzilla – Bug 85399
nautilus crashes on closing the last windows after preferences had been opened
Last modified: 2004-12-22 21:47:04 UTC
Package: nautilus Severity: normal Version: 2.0.0 Synopsis: nautilus crashes on closing the last windows after preferences had been opened Bugzilla-Product: nautilus Bugzilla-Component: general BugBuddy-GnomeVersion: 2.0 (2.0.1) Description: Description of Problem: If i opened the nautilus preferences, then closed them (wether i changed any of them or not), nautilus segfaults on closing the last application window. This does only happen if i don't use nautilus to draw the desktop. Steps to reproduce the problem: 1. don't use nautilus to draw the desktop 2. start nautilus 3. bring up the preferences dialog and close it 4. close nautilus Actual Results: segfault Expected Results: clean exit How often does this happen? every time Additional Information: if i haven't opened the preferences dialog, i get the following output on the shell when i close nautilus: (nautilus:12227): Bonobo-WARNING **: Leaked a total of 1 refs to 1 bonobo object(s) ** (nautilus:12227): WARNING **: CORBA_ORB_destroy: ORB still has 2 refs. Debugging Information: Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...[New Thread 1024 (LWP 12246)] [New Thread 2049 (LWP 12247)] [New Thread 1026 (LWP 12248)] [New Thread 2051 (LWP 12249)] 0x40c72449 in __wait4 () at __wait4:-1 in __wait4
+ Trace 23874
Thread 1 (Thread 1024 (LWP 12246))
0x40c72449 -1 in __wait4 ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-06-15 16:02 ------- The original reporter (v.merkatz@gmx.net) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.
Can you take a look at this, Damon? Is the trace useful at all? [Looks like not to me...] v.merkatz: do you use nautilus to draw your desktop?
no i don't use nautilus to draw the desktop.
This sounds like the same behaviour as bug 84693, just with a different, possibly bad stacktrace. Is this a dup?
I didn't use preferences:// or any capplet at all, i meant the nautilus preferences window (Edit->Preferences), so i don't think this is the same as bug 84693. I only do Edit->Preferences, close, then close nautilus, then nautilus segfaults. If you tell me how i can generate a more useful stacktrace or any other information that could help, i'll do it.
*** Bug 85599 has been marked as a duplicate of this bug. ***
Created attachment 9331 [details] [review] patch to fix it.
(Luis: The stack trace was pretty accurate, by the way, except for the gnome_scores_new() bit!) It was missing an argument to g_signal_emit, so it was failing when trying to collect the value. Also, when the dialog is destroyed it clears the selection, so the selected theme can be NULL. I added code to ignore that case.
Looks good. Please commit.
Patch applied.
*** Bug 86978 has been marked as a duplicate of this bug. ***
*** Bug 88275 has been marked as a duplicate of this bug. ***
*** Bug 87071 has been marked as a duplicate of this bug. ***