nautilus not starting as root when empty cd/dvd is inserted

Bug #245931 reported by Matthias Wach
6
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: nautilus

I'm using Ubuntu 8.04.
When I'm trying to start nautilus as root (sudo nautilus) when an empty cd or dvd is inserted into my burner it crashes with "segmentation fault". I'm using nautilus 2.22.3-0ubuntu2

The bug is also discussed at http://ubuntuforums.org/showthread.php?t=820564&page=6

Here is my debug:
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
[New Thread 0xb6b6e720 (LWP 7560)]
Initializing nautilus-share extension
seahorse nautilus module initialized
[New Thread 0xb6302b90 (LWP 7566)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6302b90 (LWP 7566)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb76d4c79 in ?? () from /usr/lib/libgio-2.0.so.0
#2 0xb76ce7b4 in ?? () from /usr/lib/libgio-2.0.so.0
#3 0xb761069b in ?? () from /usr/lib/libglib-2.0.so.0
#4 0xb760ea6f in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb73954fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0xb7317e5e in clone () from /lib/tls/i686/cmov/libc.so.6

When I remove the empty cd/dvd everything works fine

description: updated
Revision history for this message
Steven Rose (steveydoteu) wrote :
Changed in nautilus:
status: New → Invalid
Revision history for this message
Christian Gunning (helmingstay) wrote :

Why is this an invalid bug? Does downgrading nautilus constitute a solution as mentioned on forums? Is the nautilus-share module part of the problem here? Some
comment from the triage-er as to status assignment might be useful to users.

Running as root or user, I'm seeing nautilus crash suddenly upon insertion of a blank dvd, with segfaults on restart. It's issuing the following message with a blank in:
seahorse nautilus module initialized
Initializing nautilus-share extension
Segmentation fault

With a no dvd in, I get the following:
Initializing nautilus-share extension
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
** (nautilus:17652): WARNING **: Unable to add monitor: Operation not supported

gdb on the binary (no debugging symbols) yields final output of:
Initializing nautilus-share extension
(no debugging symbols found)
[New Thread 0xb5a12b90 (LWP 8759)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5a12b90 (LWP 8759)]
0x00000000 in ?? ()

Would any other information be useful?

Revision history for this message
lardbit (flackattack) wrote :

I just noticed this exact issue as well.

I'm running ubuntu 8.10 with nautilus 2.22.3.

If a blank cd/dvd is in the drive, I get this:

$ nautilus --no-desktop
seahorse nautilus module initialized
Initializing nautilus-share extension
Segmentation fault

I receive the same error when opening nautilus first, then inserting a cd. a segmentation fault.

Revision history for this message
lardbit (flackattack) wrote :

No real answer was given. Just a downgrade.

Changed in nautilus:
status: Invalid → Incomplete
Revision history for this message
Steven Rose (steveydoteu) wrote :

Nobody has said it is an invalid bug, I was merely providing information I had found on the matter. I never said it to be the answer to the issue. Sorry, I thought that the idea was to try and help people.

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

does starting nautilus using dbus-launch workaround the issue?

Changed in nautilus:
importance: Undecided → Low
Revision history for this message
James Munro (chapter78) wrote :

Using 'dbus-launch' does rectify the problem.

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

The bug is a known issue and a duplicate

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
Christian Gunning (helmingstay) wrote :

What is the bug number of the original bug? A "known issue" by whom?

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

there is bugs upstream and on launchpad, look at bugs which mention sudo, you can use dbus-launch as a workaround

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.