Open with other application... crashes

Bug #20913 reported by Jack Wasey
24
Affects Status Importance Assigned to Milestone
Baltix
Fix Released
High
Mantas Kriaučiūnas
nautilus (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs
nautilus-python (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

I don't think I've ever tried to do this before, but it doesn't work for any
file type on my up-to-date breezy system.
Right click on any file in nautilus
Naviagte menu to "OPen with other application..."
Dialogue to choose that application opens
Before the list of apps is populated on the screen, nautilus crashes, offering
the choices of restart, close and inform developers.

Close -> this restarts the app
Inform developers -> restarts the app, no other actions
Restart -> this opens nautilus twice

I can't get a stack trace. i've tried nautilus from the command line, but it
detaches from the terminal.

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

Thanks for your bug. To get a backtrace run:
- "gdb -p `pidof nautilus`"
(gdb) continue
.... crash
(gdb) thread apply all bt

Do you have the issue on some specific files?

Revision history for this message
Jack Wasey (jackwasey) wrote :
Download full text (13.9 KiB)

Thanks for the tip. I have nautilus-dbg installed, but apparently no stack
trace. N.b. with the debugger, I see the window draw, but without any options in
it before the crash. Here is the output:

jack@annecy:~$ gdb -p `pidof nautilus`
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 9471
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

warning: could not load vsyscall page because no executable was specified

warning: try using the "file" command first
Reading symbols from /usr/bin/nautilus...Reading symbols from
/usr/lib/debug/usr/bin/nautilus...done.
done.
Reading symbols from /usr/lib/libnautilus-private.so.2...Reading symbols from
/usr/lib/debug/usr/lib/libnautilus-private.so.2.0.0...done.
done.
Loaded symbols for /usr/lib/libnautilus-private.so.2
Reading symbols from /usr/lib/libnautilus-extension.so.1...Reading symbols from
/usr/lib/debug/usr/lib/libnautilus-extension.so.1.0.0...done.
done.
Loaded symbols for /usr/lib/libnautilus-extension.so.1
Reading symbols from /usr/lib/libeel-2.so.2...done.
Loaded symbols for /usr/lib/libeel-2.so.2
Reading symbols from /usr/lib/libglade-2.0.so.0...done.
Loaded symbols for /usr/lib/libglade-2.0.so.0
Reading symbols from /usr/lib/librsvg-2.so.2...done.
Loaded symbols for /usr/lib/librsvg-2.so.2
Reading symbols from /usr/lib/liblaunchpad-integration.so.0...done.
Loaded symbols for /usr/lib/liblaunchpad-integration.so.0
Reading symbols from /usr/lib/libgnome-desktop-2.so.2...done.
Loaded symbols for /usr/lib/libgnome-desktop-2.so.2
Reading symbols from /usr/lib/libgnomeui-2.so.0...done.
Loaded symbols for /usr/lib/libgnomeui-2.so.0
Reading symbols from /usr/lib/libgnome-2.so.0...done.
Loaded symbols for /usr/lib/libgnome-2.so.0
Reading symbols from /usr/lib/libesd.so.0...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libatk-1.0.so.0...done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libgnomevfs-2.so.0...Reading symbols from
/usr/lib/debug/usr/lib/libgnomevfs-2.so.0.1200.1...done.
done.
Loaded symbols for /usr/lib/libgnomevfs-2.so.0
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libbonobo-2.so.0...done.
Loaded symbols for /usr/lib/libbonobo-2.so.0
Reading symbols from /usr/lib/libgconf-2.so.4...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libbo...

Revision history for this message
Jack Wasey (jackwasey) wrote :

... and here's the stack traces:

(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226029376 (LWP 9471)]
0xb7463b78 in strcmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) thread apply all bt

Thread 4 (Thread -1228006480 (LWP 9472)):
#0 0xffffe410 in ?? ()
#1 0xb6ce1378 in ?? ()
#2 0xffffffff in ?? ()
#3 0x00000009 in ?? ()
#4 0xb74b90f4 in poll () from /lib/tls/i686/cmov/libc.so.6
#5 0xb7640348 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#6 0xb76407e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#7 0xb771a37e in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#8 0xb76598c4 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#9 0xb769f361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb74c2bde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1234842704 (LWP 9474)):
#0 0xffffe410 in ?? ()
#1 0xb665c418 in ?? ()
#2 0x00000047 in ?? ()
#3 0x00000000 in ?? ()
#4 0xb76a1c96 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#5 0xb791392b in thread_entry (cast_to_state=0x82d75c0)
    at gnome-vfs-thread-pool.c:156
---Type <return> to continue, or q <return> to quit---
#6 0xb76598c4 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#7 0xb769f361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb74c2bde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1236350032 (LWP 9475)):
#0 0xffffe410 in ?? ()
#1 0xb64ec418 in ?? ()
#2 0x00000021 in ?? ()
#3 0x00000000 in ?? ()
#4 0xb76a1c96 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#5 0xb791392b in thread_entry (cast_to_state=0x85d4f18)
    at gnome-vfs-thread-pool.c:156
#6 0xb76598c4 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#7 0xb769f361 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb74c2bde in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1226029376 (LWP 9471)):
#0 0xb7463b78 in strcmp () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7e59ec0 in eel_mime_set_default_application ()
   from /usr/lib/libeel-2.so.2
#2 0xb763f750 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#3 0xb763d4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#4 0xb76404f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5 0xb76407e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0xb7b38ee5 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x08079ac6 in main (argc=141149352, argv=0xbf893744) at nautilus-main.c:435
(gdb)

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I also get crash, when try to choose "Open with other application" in nautilus
right click menu :(
I use Ubuntu 5.10 (Breezy) final version.
Please change bug status from NEEDINFO to NEW, as bug is really reproducible and
it seems all info, which you asked is provided.

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

The backtrace is not really useful. Could somebody get one with a debug build of
eel2 (https://wiki.ubuntu.com/DebuggingProgramCrash) and the libc6-dbg package
installed?

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : Nautilus -> Open with other application... crashes if python-nautilus is installed

I think I know what couses this problem - nautilus crashes on Ubuntu 5.10 (breezy) when language is set to Lithuanian (lt_LT.UTF-8) and python-nautilus package ver. 0.3.0-2ubuntu2 is installed. Nautilus always crashes, when I choose "Atverti su kita programa..." (this is lithuanian translation of "Open with Other Application") from right click menu on any file/folder.
Also I always get nautilus crash if I press on "Pridėti" button from "Atverti su" tab (this is lithuanian translation of "Open With"->"Add").
When I change interface language to en-US, then both crashes dissapears :-/
This is 100% reproducible on all computers (tested with more than 20 different hardware) with Ubuntu 5.10 (breezy) when language is Lithuanian and package python-nautilus is installed.

So, I think there are 2 bugs - one with python-nautilus package and another with nautilus Lithuanian language (lt_LT.UTF-8).

When I removed python-nautilus package, then nautilus stops to crash, but output in terminal (when I start nautilus --no-desktop) is different if nautilus is started with LANG=lt_LT.UTF-8 and I choose "Open With Other Application from right click menu:

asilas@baltix-linux:~$ LANG=lt_LT.UTF-8 nautilus --no-desktop

(nautilus:12079): Gtk-WARNING **: Failed to set label from markup due to error parsing markup: Eilutės 1 simbolio 94 klaida: Sutiktas elemento „markup“ uždarymo simbolis, tačiau šiuo metu atidarytas kitas elementas „i“

I don't get Gtk-WARNING if I start nautilus with LANG=en_US.UTF-8 .

I can post full translation of this Gtk-WARNING to english:
Line 1 symbol 94 error: Found closing symbol of element „markup“, but now is open another element „i“

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

To Lithuanians:
Baltix'e nuo 1.0 versijos atsirado tokie bug'ai - lužta jei spaudi dešinį ant bylos/katalogo ir išsirenki "atidaryti su", taip pat jei bandai pakeisti bylų tvarkymo nustatymus per
"Sistema->Nustatymai->Bylų tvarkymas"

Angliškai:
nautilus crashes on Ubuntu 5.10 (breezy) when language is set to Lithuanian (lt_LT.UTF-8) and python-nautilus package ver. 0.3.0-2ubuntu2 is installed. Nautilus always crashes, when I choose "Atverti su kita programa..." (this is lithuanian translation of "Open with Other Application") from right click menu on any file/folder.
Also I always get nautilus crash if I try to change "File management" preferences through "System"->"Preferences"->"File management" or press on "Pridėti" button from "Atverti su" tab (this is lithuanian translation of "Open With"->"Add").
When I change interface language to en-US, then all these crashes dissapears :-/ This is 100% reproducible on all computers (tested with more than 20 different hardware) with Ubuntu 5.10 (breezy) when language is Lithuanian and package python-nautilus is installed.

So, I think there are 2 bugs - one with python-nautilus package and another with nautilus Lithuanian language (lt_LT.UTF-8).

When I removed python-nautilus package, then nautilus stops to crash, but output in terminal (when I start nautilus --no-desktop) is different if nautilus is started with LANG=lt_LT.UTF-8 and I choose "Open With Other Application from right click menu:

asilas@baltix-linux:~$ LANG=lt_LT.UTF-8 nautilus --no-desktop

(nautilus:12079): Gtk-WARNING **: Failed to set label from markup due to error parsing markup: Eilutės 1 simbolio 94 klaida: Sutiktas elemento „markup“ uždarymo simbolis, tačiau šiuo metu atidarytas kitas elementas „i“

I don't get Gtk-WARNING if I start nautilus with LANG=en_US.UTF-8 .

Revision history for this message
danr (dan-ivixor) wrote :

Happens to me too but with UK-English set as the language. However, it goes away when python-nautilus is removed.

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

rejecting that task, that's a nautilus-python bug

Changed in nautilus:
assignee: seb128 → desktop-bugs
status: Needs Info → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

Can anybody try with the dapper version of the package, it fixes a bunch of issues and could fix that one

Changed in nautilus-python:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

Dapper version fixes a bunch of issue, assuming that's the case of that one. Feel free to reopen if you still have it after upgrading

Changed in nautilus-python:
status: Needs Info → Fix Released
Revision history for this message
ctkroeker (ctkroeker-91) wrote :

I have the same problem, but just with .MPG files. Also I don't have python-nautilus installed.

Przemek K. (azrael)
Changed in baltix:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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