Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2004 13:38:40 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Simon Barner <barner@in.tum.de>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Nautilus crashes when associating applications to unknown file types
Message-ID:  <1074710320.768.90.camel@gyros>
In-Reply-To: <20040121120143.GC903@zi025.glhnet.mhn.de>
References:  <20040121120143.GC903@zi025.glhnet.mhn.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-wfK9yaVDnGDPC50AuMyz
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2004-01-21 at 07:01, Simon Barner wrote:
> Hi,
>=20
> In my installation, .txt aren't associated with an application.
>=20
> 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.

>=20
> 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.
>=20
> 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?

>=20
> 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:
>=20
> launch_mime_capplet (NautilusFile *file,
>                      GtkDialog    *parent_dialog)
> {
>         GdkScreen *screen;
>         char *command, *tmp, *mime_type, *file_name;
>=20
> --->    screen =3D gtk_window_get_screen (GTK_WINDOW (parent_dialog));
>=20
> 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

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



--=-wfK9yaVDnGDPC50AuMyz
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBADscwb2iPiv4Uz4cRAkyJAKCnuiRwj/EZETXaKRORg0oD6pobZgCfYlHV
HSI3V6JJcNsVeSpj6oNzZVM=
=PSJs
-----END PGP SIGNATURE-----

--=-wfK9yaVDnGDPC50AuMyz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1074710320.768.90.camel>