Running nautilus from terminal causes gnome-session to start too many nautilus processes

Bug #741978 reported by Ibrahim M. Ghazal
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: nautilus

When killing the existing nautilus process, then immediately running nautilus from the terminal before gnome-session gets to spawn another one, i.e.:
$ nautilus -q && nautilus
gnome-session spawns an infinite number of nautilus processes, filling the task bar with many "Starting File Manager" entries.

The symptoms of this bug is similar to Bug #325973, but it has a different cause.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: nautilus 1:2.32.0-0ubuntu1.3
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Thu Mar 24 21:44:58 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: nautilus

Revision history for this message
Ibrahim M. Ghazal (imgx64) wrote :
Revision history for this message
ppareit (ppareit) wrote :

Same problem here, when in the shell executing:

  nautilus -q && nautilus --no-desktop

nautilus will spawn indefinitely. This can be stopped with executing 'nautilus -q'. The previous command is important, as it is used to debug extensions for nautilus, the command will allow to capture the output of nautilus, assuming it works as expected.

To work around this problem, edit '/usr/share/applications/nautilus.desktop', change X-GNOME-AutoRestart to false and add the line 'AutostartCondition=GNOME /apps/nautilus/preferences/show_desktop'.

Revision history for this message
Ibrahim M. Ghazal (imgx64) wrote :

Pieter,

That's exactly my use case, I'm working on a nautilus extension and trying to get the stack traces it's printing.

Thanks for the workaround, it's very helpful.

Revision history for this message
Ravi Teja (punkzebra) wrote :

I have confirmed the bug. I got the following errors in terminal after executing
"nautilus -q && nautilus

Initializing nautilus-gdu extension

(nautilus:2030): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed

(nautilus:2030): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed"

Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
ppareit (ppareit) wrote :

This still happens. Now on 11.04.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue seems resolved in newer versions

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.