Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2006 12:57:08 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Micah <micahjon@ywave.com>
Cc:        gnome@freebsd.org, bug-followup@freebsd.org
Subject:   Re: ports/105589: Firefox 2.0 segfaults when saving more than one file per session
Message-ID:  <1165859828.27824.19.camel@shumai.marcuscom.com>
In-Reply-To: <457D9886.7000005@ywave.com>
References:  <200612061930.kB6JUJVA038980@freefall.freebsd.org> <1165476509.74826.14.camel@shumai.marcuscom.com> <4578AB25.2020504@ywave.com> <1165565003.15396.7.camel@shumai.marcuscom.com> <4579C00E.2040905@ywave.com> <4579C125.3040106@marcuscom.com> <4579C1E0.6000703@ywave.com> <4579CF70.3070703@marcuscom.com> <4579D39E.1020904@ywave.com> <4579D75A.1010009@marcuscom.com> <457CC9FA.8090802@ywave.com> <1165815421.22551.32.camel@shumai.marcuscom.com> <457D9886.7000005@ywave.com>

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

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

On Mon, 2006-12-11 at 09:42 -0800, Micah wrote:
> Joe Marcus Clarke wrote:
> > On Sun, 2006-12-10 at 19:01 -0800, Micah wrote:
> >> I've installed a complete Gnome system for further testing. I have=20
> >> confirmed that gedit, eog, and epiphany (and probably any gnome based=20
> >> app) all show the bug when launched from KDE. GIMP, PAN2, and OOo do n=
ot=20
> >> show the bug. This was all tested from a freshly created user account=20
> >> with an initially empty home directory. The bug does not show up while=
=20
> >> in a Gnome session (not sure how Indigo managed a crash - maybe he was=
=20
> >> running some KDE software in his Gnome session?) It appears to be a=20
> >> general Gnome/KDE incompatibility and has nothing to do with the Gecko=
=20
> >> applications directly.
> >=20
> > That's certainly weird since Firefox, GIMP, pan, and OOo use a local GT=
K
> > + file chooser while gedit, eog, and epiphany can use an enhanced
> > gnome-vfs chooser.  It would have been telling had the crash happened
> > only with one type of application.  Are all the crashes the same in all
> > the applications (i.e. same backtrace)?  If you
> > start /usr/local/libexec/gnome-settings-daemon, does the crash still
> > occur?
> >=20
> > Joe
> >=20
>=20
> I'm not familiar with what you mean by "local GTK", but everything I've=20
> read recently about Firefox says it uses gnomeui and gnome-vfs if=20
> available. From that I thought Firefox was more tightly Gnome integrated=20
> than the other programs I mentioned. Maybe I misunderstood.

The crash is in the gtk+ file chooser, though, and not in the gnome-vfs
file chooser.

>=20
> Frames 13 through 0 are the same in all the crashes. I've included the=20
> short gedit backtrace at the end of this email for comparison.
>=20
> Running gnome-settings-daemon does seem to stop the crash for file=20
> dialogs, but results in the following error when closing gedit. However=20
> it does make all the software usable, including Firefox. Jeremy=20
> suggested I try this earlier but I did not have Gnome installed at the ti=
me.
>=20
> Does any of this help track down the bug, or will it just be a case of=20
> people needing all of Gnome installed to run Firefox from KDE?

No, it doesn't really help isolate why the problem is happening.  It's
just good to know we have a workaround.  You should try and find out
what KDE is doing that affects GTK+ or GNOME applications.  THAT would
help track down the crash.

Joe

>=20
> gdb gedit
> GNU gdb 6.1.1 [FreeBSD]
> 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=20
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> This GDB was configured as "i386-marcel-freebsd"...
> (gdb) run
> Starting program: /usr/local/bin/gedit
> warning: Unable to get location for thread creation breakpoint: generic=20
> error
> [New LWP 100112]
> [New Thread 0x80db000 (LWP 100112)]
>=20
> (gedit:43257): Gnome-CRITICAL **: gnome_program_get_app_version:=20
> assertion `program !=3D NULL' failed
>=20
> ** (bug-buddy:43259): WARNING **: Failed to connect to the FAM server:=20
> (null)
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for Bonobo=20
> Component Browser
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for CD Database Serv=
er
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for CD Player
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for Ekiga Softphone
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for Login Photo
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for Multimedia=20
> Systems Selector
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for On-Screen Keyboa=
rd
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for Open Folder
>=20
> ** (bug-buddy:43259): WARNING **: Couldn't load icon for Volume Monitor
> ptrace: Device busy.
> /home/bsdmjl/43255: No such file or directory.
> /usr/local/share/gnome/bug-buddy/gdb-cmd:1: Error in sourced command file=
:
> No stack.
> LibGTop-Server: pid 43260 received eof.
>=20
> Program exited with code 01.
>=20
>=20
> Gedit backtrace:
>=20
> GNU gdb 6.1.1 [FreeBSD]
> 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=20
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> This GDB was configured as "i386-marcel-freebsd"...
> (gdb) run
> Starting program: /usr/local/bin/gedit
> warning: Unable to get location for thread creation breakpoint: generic=20
> error
> [New LWP 100178]
> [New Thread 0x80db000 (LWP 100202)]
>=20
> ** (gedit:43173): WARNING **: Throbber rest icon not found
>=20
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x80db000 (LWP 100136)]
> 0x486f971e in cache_glob_lookup_literal (file_name=3D0x846e5f1 "tarit.txt=
",
>      mime_types=3D0x7273752f, n_mime_types=3D2) at endian.h:144
> 144     {
> (gdb) bt
> #0  0x486f971e in cache_glob_lookup_literal (file_name=3D0x846e5f1=20
> "tarit.txt",
>      mime_types=3D0x7273752f, n_mime_types=3D2) at endian.h:144
> #1  0x486f9cc6 in cache_glob_lookup_file_name (
>      file_name=3D0x846e5f1 "tarit.txt", mime_types=3D0xbfbfe3f8, n_mime_t=
ypes=3D2)
>      at xdgmimecache.c:578
> #2  0x486f9f74 in _gtk_xdg_cache_get_mime_type_for_file (
>      file_name=3D0x846e5e0 "/home/bsdmjl/tmp/tarit.txt", statbuf=3D0x849c=
000)
>      at xdgmimecache.c:689
> #3  0x486f8401 in _gtk_xdg_get_mime_type_for_file (
>      file_name=3D0x846e5e0 "/home/bsdmjl/tmp/tarit.txt", statbuf=3D0x849c=
000)
>      at xdgmime.c:485
> #4  0x486df177 in cb_fill_in_mime_type (key=3D0x7273752f, value=3D0x849c0=
00,
>      user_data=3D0x8244e48) at gtkfilesystemunix.c:2591
> #5  0x48fa2166 in g_hash_table_foreach_remove_or_steal=20
> (hash_table=3D0x8486ee0,
>      func=3D0x486df120 <cb_fill_in_mime_type>, user_data=3D0x8244e48, not=
ify=3D1)
>      at ghash.c:605
> #6  0x48fa205d in IA__g_hash_table_foreach_remove (hash_table=3D0x7273752=
f,
>      func=3D0, user_data=3D0x7273752f) at ghash.c:561
> #7  0x486df21f in fill_in_mime_type (folder_unix=3D0x8244e48)
>      at gtkfilesystemunix.c:2611
> #8  0x486dc253 in load_folder (data=3D0x8244e48) at gtkfilesystemunix.c:8=
74
> #9  0x48fb2cb8 in g_idle_dispatch (source=3D0x847bf80, callback=3D0,
>      user_data=3D0x7273752f) at gmain.c:3926
> #10 0x48fafdad in g_main_dispatch (context=3D0x8115d80) at gmain.c:2045
> #11 0x48fb0c50 in IA__g_main_context_dispatch (context=3D0x8115d80)
>      at gmain.c:2596
> #12 0x48fb102c in g_main_context_iterate (context=3D0x8115d80, block=3D1,
>      dispatch=3D1, self=3D0x80e8bc0) at gmain.c:2677
> #13 0x48fb16a1 in IA__g_main_loop_run (loop=3D0x83a6d70) at gmain.c:2881
> #14 0x4856e8c2 in IA__gtk_main () at gtkmain.c:1001
> #15 0x08064db1 in main (argc=3D0, argv=3D0xbfbfe7c0) at gedit.c:568
>=20
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

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

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

iD8DBQBFfZv0b2iPiv4Uz4cRAjCuAJ9JwkH+1Z5iIf0kwQUzdbZPGvFQVgCfQDUx
ROWE9vm8Lkp8cIu8SNaOyDc=
=Bmo+
-----END PGP SIGNATURE-----

--=-GKlyNVj4fLLP9IKgLrcr--




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