[Hardy] Nautilus segfaults, cannot be upgraded

Bug #185650 reported by Chow Loong Jin
8
Affects Status Importance Assigned to Milestone
eel2 (Ubuntu)
Invalid
Undecided
Unassigned
nautilus (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libeel2-2

Here is the current status of the packages nautilus, nautilus-data, and libeel2-2.

====================================================
hyperair@Hyperair-PC:~$ apt-cache policy nautilus nautilus-data libeel2-2
nautilus:
  Installed: 1:2.20.0-2ubuntu3
  Candidate: 1:2.21.6-0ubuntu2
  Version table:
     1:2.21.6-0ubuntu2 0
        500 http://tw.archive.ubuntu.com hardy/main Packages
 *** 1:2.20.0-2ubuntu3 0
        100 /var/lib/dpkg/status
nautilus-data:
  Installed: 1:2.20.0-2ubuntu3
  Candidate: 1:2.21.6-0ubuntu2
  Version table:
     1:2.21.6-0ubuntu2 0
        500 http://tw.archive.ubuntu.com hardy/main Packages
 *** 1:2.20.0-2ubuntu3 0
        100 /var/lib/dpkg/status
libeel2-2:
  Installed: 2.20.0-2ubuntu1
  Candidate: 2.21.5-0ubuntu1
  Version table:
     2.21.5-0ubuntu1 0
        500 http://tw.archive.ubuntu.com hardy/main Packages
 *** 2.20.0-2ubuntu1 0
        100 /var/lib/dpkg/status
====================================================

There is a libeel2-2 dependency in nautilus.

====================================================
hyperair@Hyperair-PC:~$ apt-cache depends nautilus
nautilus
...
  Depends: libeel2-2
...
====================================================

And a breakage onto nautilus caused by libeel2-2.

====================================================
hyperair@Hyperair-PC:~$ apt-cache depends libeel2-2
libeel2-2
...
  Breaks: nautilus
  Breaks: nautilus-cd-burner
  Breaks: nautilus-share
  Breaks: python-nautilus
====================================================

Result:

====================================================
hyperair@Hyperair-PC:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED
  nautilus nautilus-cd-burner nautilus-image-converter nautilus-share
  timevault ubuntu-desktop
The following NEW packages will be installed
  gvfs gvfs-backends libcdio-cdda0 libcdio-paranoia0 libgvfscommon0
The following packages have been kept back:
  libeel2-2
The following packages will be upgraded:
  nautilus-data
1 upgraded, 5 newly installed, 6 to remove and 1 not upgraded.
Need to get 1633kB of archives.
After this operation, 3285kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
====================================================

In its current state, nautilus will refuse to run, and can only segfault. I believe this is a very serious bug and should be fixed immediately.

Revision history for this message
Matti Lindell (mlind) wrote :

workaround is to remove nautilus-share, it needs some work for the new ABI.

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

one bug task is enough and that's not a libeel issue

Changed in eel2:
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

Did you upgrade nautilus or not? The bug report is not clear. Could you get a crash stacktrace?

Changed in nautilus:
status: New → Incomplete
Revision history for this message
Chow Loong Jin (hyperair) wrote :

I cannot upgrade nautilus because when i use "sudo apt-get upgrade" it says that all the packages are kept back and does nothing. When I use "sudo apt-get dist-upgrade" I get the output as shown above. I just aborted because it tries to remove nautilus as well as ubuntu-desktop, among other nautilus packages. In other words, the status of my packages are as shown above in the apt-cache policy output.

The said workaround does not work.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Stack trace:

#0 0xb71d7b03 in strchr () from /lib/tls/i686/cmov/libc.so.6
#1 0xb6036abd in ?? ()
   from /usr/lib/nautilus/extensions-1.0/libnautilus-open-terminal.so
#2 0x00000000 in ?? ()

Revision history for this message
sojourner (itsmealso2) wrote :

I'll add a confirm on this , I first removed python-nautilus which was blocking libeel2 then upgraded , nautilus segfaults

ron@ron-desktop:~$ nautilus

** (nautilus:8434): CRITICAL **: nautilus_file_new_from_filename: assertion `filename[0] != '\0'' failed
Segmentation fault (core dumped)
ron@ron-desktop:~$

removed nautilus-share same result

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Okay I removed nautilus-open-terminal and tried again. This time yields more interesting results. Nautilus doesn't segfault. However, it keeps opening (shows the desktop and my home directory for a brief moment), and crashing, and repeating the process until I send SIGKILL to it.

This is what gdb says when nautilus crashes:
/usr/bin/nautilus: symbol lookup error: /usr/lib/nautilus/extensions-1.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive

Revision history for this message
Chow Loong Jin (hyperair) wrote :

I have reason to believe that Nautilus forks before encountering the symbol lookup error. "pidof nautilus" reports a changing PID, and if the timing is right, 2 PIDs.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Ah python-nautilus was the problem! I just removed it, and with python-nautilus, timevault. Then dist-upgraded the packages. Now it doesn't segfault.

Then I've installed nautilus-open-terminal, and found that it's broken. Damn. No menu item for opening a terminal.

Revision history for this message
sojourner (itsmealso2) wrote :

dist-upgraded again no help here it still segfaults with the same error . NOTE! I am amd64 here .

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

could people having issue list the nautilus packages and versions they are using and get a crach stacktrace to copy to the bug?

Revision history for this message
Chow Loong Jin (hyperair) wrote :

hyperair@Hyperair-PC:~$ dpkg -l | grep nautilus
ii libnautilus-burn4 2.21.5-0ubuntu1 Nautilus Burn Library - runtime version
ii libnautilus-extension1 1:2.21.6-0ubuntu2 libraries for nautilus components - runtime
ii nautilus 1:2.21.6-0ubuntu2 file manager and graphical shell for GNOME
ii nautilus-actions 1.4.1-1 nautilus extension to configure programs to
ii nautilus-cd-burner 2.21.5-0ubuntu1 CD Burning front-end for Nautilus
ii nautilus-data 1:2.21.6-0ubuntu2 data files for nautilus
ii nautilus-gksu 2.0.0-5ubuntu1 privilege granting extension for nautilus us
ii nautilus-image-converter 0.2.0-1 nautilus extension to mass resize or rotate
ii nautilus-open-terminal 0.8-1ubuntu1 nautilus plugin for opening terminals in arb
ii nautilus-script-audio-convert 0.3.1.1-0ubuntu4 A nautilus audio converter script
ii nautilus-script-collection-svn 0.9.2-0ubuntu2 Nautilus subversion management scripts
ii nautilus-script-debug 0.9.2-0ubuntu2 Simple nautilus debugging script
ii nautilus-script-manager 0.0.5-0ubuntu4 A simple management tool for nautilus script
ii nautilus-sendto 0.12-2ubuntu1 integrates Evolution and Pidgin into the Nau
ii nautilus-wallpaper 0.1-0ubuntu2 Nautilus extension. Add a "set as wallpaper"

Issue: scripts are working fine, but all extensions have stopped working completely.

Revision history for this message
sojourner (itsmealso2) wrote :

ron@ron-desktop:~$ dpkg -l | grep nautilus
ii libnautilus-burn4 2.21.5-0ubuntu1 Nautilus Burn Library - runtime version
ii libnautilus-extension1 1:2.21.6-0ubuntu2 libraries for nautilus components - runtime
ii nautilus 1:2.21.6-0ubuntu2 file manager and graphical shell for GNOME
ii nautilus-actions 1.4.1-1 nautilus extension to configure programs to
ii nautilus-data 1:2.21.6-0ubuntu2 data files for nautilus
ii nautilus-gksu 2.0.0-5ubuntu1 privilege granting extension for nautilus us
ii nautilus-open-terminal 0.8-1ubuntu1 nautilus plugin for opening terminals in arb
ii nautilus-sendto 0.12-2ubuntu1 integrates Evolution and Pidgin into the Nau
ron@ron-desktop:~$

attached is as much of the strace as my bash history would allow , seems like its having a problem with my icons , the icons are there both in /usr/share/icons and ~.icons

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

The stacktrace is not one

Revision history for this message
sojourner (itsmealso2) wrote :

where do I find the right one ?

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Run "gdb nautilus" in a terminal. You will get a gdb prompt. Type "run". Then press enter every time it prompts you whether to continue or not. Eventually it will crash. Then you will have a prompt again. Type "bt". The output is your stack trace.

Revision history for this message
sojourner (itsmealso2) wrote :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fe0c75696f0 (LWP 21777)]
0x00000000004b3b08 in ?? ()
(gdb) bt
#0 0x00000000004b3b08 in ?? ()
#1 0x0000000000431a3d in ?? ()
#2 0x0000000000431b5f in ?? ()
#3 0x00007fe0c373b948 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#4 0x00007fe0c372136d in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x00007fe0c371fd6d in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#6 0x00007fe0c37208a2 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#7 0x00007fe0c37209e1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#8 0x0000000000431cda in ?? ()
#9 0x0000000000455955 in ?? ()
#10 0x00000000004559b7 in ?? ()
#11 0x000000000045d930 in ?? ()
#12 0x00007fe0c373b791 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#13 0x00007fe0c372136d in ?? () from /usr/lib/libgobject-2.0.so.0
#14 0x000000000045d6c9 in ?? ()
#15 0x00007fe0c371fd6d in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#16 0x00007fe0c37207b6 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#17 0x00007fe0c4de499a in gtk_widget_new () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x0000000000434441 in ?? ()
#19 0x0000000000430834 in ?? ()
#20 0x0000000000450443 in ?? ()
#21 0x00007fe0c32843e4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007fe0c32876f5 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007fe0c3287a15 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x00007fe0c4cd0803 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x000000000043d942 in ?? ()
#26 0x00007fe0c1e591c4 in __libc_start_main () from /lib/libc.so.6
#27 0x000000000042d069 in ?? ()
#28 0x00007fffcf5aac88 in ?? ()
#29 0x0000000000000000 in ?? ()
(gdb)

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

instuctions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.
If you are using Kubuntu or Xubuntu you can file the crash using "/usr/share/apport/apport-qt --crash-file=/var/crash/_my_crash_report.crash" in a terminal - where _my_crash_report.crash is the crash you would like to report.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
sojourner (itsmealso2) wrote :

I cant launch nautilus, it segfaults . If I launch thunar and double click on the crash report it does not send it , instead it opens the report in text editor. besides the crash report is from before updating , after update no crash report is generated because it never gets that far it segfaults trying to load.

Revision history for this message
Murat Gunes (mgunes) wrote :

Just running "apport-cli" in a terminal without any arguments should offer to send the pending crash reports. Or you can issue "apport-cli -c /path/to/crash/file" to send a particular one.

Revision history for this message
barbex (barbex) wrote : Re: [Hardy] Nautilus segfaults

Adding a "me too":

Nautilus keeps opening (home directory flashes for a split second), and crashing. Starting from the terminal I get:
barbex@barbex-laptop:~$ nautilus
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-1.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive

I CAN open the subdirectories /Documents, /Videos ,/Pictures ,/Music that have a link in the sidebar.

I don't have many extensions:
barbex@barbex-laptop:~$ dpkg -l | grep nautilus
ii libnautilus-burn4 2.21.5-0ubuntu1 Nautilus Burn Library - runtime version
ii libnautilus-extension1 1:2.21.90-0ubuntu1 libraries for nautilus components - runtime
ii nautilus 1:2.20.0-2ubuntu2 file manager and graphical shell for GNOME
ii nautilus-cd-burner 2.20.0-1 CD Burning front-end for Nautilus
ii nautilus-data 1:2.20.0-2ubuntu2 data files for nautilus
ii nautilus-sendto 0.12-2ubuntu1 integrates Evolution and Pidgin into the Nau

Revision history for this message
riker09 (riker-09) wrote :

I don't know if it helps but I attached the output from gdb after following the instruction from hyperair (2008-01-24).

Revision history for this message
barbex (barbex) wrote :

Latest update fixed the problem for me but killed the network

 dpkg -l | grep nautilus
ii libnautilus-burn4 2.21.6-0ubuntu1 Nautilus Burn Library - runtime version
ii libnautilus-extension1 1:2.21.90-0ubuntu1 libraries for nautilus components - runtime
ii nautilus 1:2.21.90-0ubuntu1 file manager and graphical shell for GNOME
ii nautilus-cd-burner 2.21.6-0ubuntu1 CD Burning front-end for Nautilus
ii nautilus-data 1:2.21.90-0ubuntu1 data files for nautilus
ii nautilus-sendto 0.13.1-0ubuntu1 integrates Evolution and Pidgin into the Nau

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 185650] Re: [Hardy] Nautilus segfaults, cannot be upgraded

The problem's fixed for me. Network's fine for me too.

On Fri, Feb 1, 2008 at 6:19 AM, barbex <email address hidden> wrote:

> Latest update fixed the problem for me but killed the network
>
> dpkg -l | grep nautilus
> ii libnautilus-burn4 2.21.6-0ubuntu1
> Nautilus Burn Library - runtime version
> ii libnautilus-extension1 1:2.21.90-0ubuntu1
> libraries for nautilus components - runtime
> ii nautilus 1:2.21.90-0ubuntu1
> file manager and graphical shell for GNOME
> ii nautilus-cd-burner 2.21.6-0ubuntu1
> CD Burning front-end for Nautilus
> ii nautilus-data 1:2.21.90-0ubuntu1
> data files for nautilus
> ii nautilus-sendto 0.13.1-0ubuntu1
> integrates Evolution and Pidgin into the Nau
>
> --
> [Hardy] Nautilus segfaults, cannot be upgraded
> https://bugs.launchpad.net/bugs/185650
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Hyperair

Revision history for this message
barbex (barbex) wrote :

Still no network: "Nautilus kann nicht mit network:/// umgehen" (Nautilus cannot deal with network:///) Should that be a new bug?

dpkg -l | grep nautilus
ii libnautilus-burn4 2.21.6-0ubuntu1 Nautilus Burn Library - runtime version
ii libnautilus-extension1 1:2.21.90-0ubuntu1 libraries for nautilus components - runtime
ii nautilus 1:2.21.90-0ubuntu1 file manager and graphical shell for GNOME
ii nautilus-cd-burner 2.21.6-0ubuntu1 CD Burning front-end for Nautilus
ii nautilus-data 1:2.21.90-0ubuntu1 data files for nautilus
ii nautilus-sendto 0.13.1-0ubuntu1 integrates Evolution and Pidgin into the Nau

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Yes I think it should be. I also experience this bug.

On Sat, Feb 2, 2008 at 4:10 AM, barbex <email address hidden> wrote:

> Still no network: "Nautilus kann nicht mit network:/// umgehen"
> (Nautilus cannot deal with network:///) Should that be a new bug?
>
> dpkg -l | grep nautilus
> ii libnautilus-burn4 2.21.6-0ubuntu1
> Nautilus Burn Library - runtime version
> ii libnautilus-extension1 1:2.21.90-0ubuntu1
> libraries for nautilus components - runtime
> ii nautilus 1:2.21.90-0ubuntu1
> file manager and graphical shell for GNOME
> ii nautilus-cd-burner 2.21.6-0ubuntu1
> CD Burning front-end for Nautilus
> ii nautilus-data 1:2.21.90-0ubuntu1
> data files for nautilus
> ii nautilus-sendto 0.13.1-0ubuntu1
> integrates Evolution and Pidgin into the Nau
>
> --
> [Hardy] Nautilus segfaults, cannot be upgraded
> https://bugs.launchpad.net/bugs/185650
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Hyperair

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.