Nautilus crashes when associating applications to unknown file types

Joe Marcus Clarke marcus at marcuscom.com
Wed Jan 21 10:38:50 PST 2004


On Wed, 2004-01-21 at 07:01, Simon Barner wrote:
> Hi,
> 
> In my installation, .txt aren't associated with an application.
> 
> First question: Might this be a local problem? Please see the keyboard
> repeat rate mail for a description of my installation.

Maybe, maybe not.  In gnome-vfs-2.5.5, they switched to using the new
XDG shared-mime-info stuff for getting MIME types.  This may have some
issues as it hasn't been as fully shaken out as g-m-i.  I still need to
do an audit of this port.

> 
> When I try to specify a handler for those file types
> <Menu>->Applications-> Desktop Preferences->Advanced->File types and
> programs, and there Documents->Plain Text->Plain text documents, nothing
> happens. I tried various editors, but without success.
> 
> When I double click in nautilus to open a text file, a dialogue is
> shown, that offers me to associate a program with that file type. As
> soon as I hit that button, nautilus crashes.

Can you run nautilus in gdb, then get a stack trace?

> 
> The core dump I got wasn't very useful (also with debugging symbols:
> something in libc_r), but I inserted some printf's into nautilus and
> found out that the crash is line 968 of
> nautilus-2.5.5/libnautilus-private/nautilus-program-chooser.c:
> 
> launch_mime_capplet (NautilusFile *file,
>                      GtkDialog    *parent_dialog)
> {
>         GdkScreen *screen;
>         char *command, *tmp, *mime_type, *file_name;
> 
> --->    screen = gtk_window_get_screen (GTK_WINDOW (parent_dialog));
> 
> I already verified, that parent_dialog is non-0x0

Then this is most likely a memory bug.  Since I can reproduce it with
malloc debugging turned off (and I'm on Nautilus 2.5.4), I bet this
problem is pretty insidious.  I'll see if I can get more debugging info.

Joe

> 
> Any help appreciated,
>  Simon
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040121/4ddcb0b9/attachment.bin


More information about the freebsd-gnome mailing list