ports/105589: Firefox 2.0 segfaults when saving more than one file per session

Micah micahjon at ywave.com
Mon Dec 11 10:12:32 PST 2006


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 
>> confirmed that gedit, eog, and epiphany (and probably any gnome based 
>> app) all show the bug when launched from KDE. GIMP, PAN2, and OOo do not 
>> show the bug. This was all tested from a freshly created user account 
>> with an initially empty home directory. The bug does not show up while 
>> in a Gnome session (not sure how Indigo managed a crash - maybe he was 
>> running some KDE software in his Gnome session?) It appears to be a 
>> general Gnome/KDE incompatibility and has nothing to do with the Gecko 
>> applications directly.
> 
> That's certainly weird since Firefox, GIMP, pan, and OOo use a local GTK
> + 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?
> 
> Joe
> 

I'm not familiar with what you mean by "local GTK", but everything I've 
read recently about Firefox says it uses gnomeui and gnome-vfs if 
available. From that I thought Firefox was more tightly Gnome integrated 
than the other programs I mentioned. Maybe I misunderstood.

Frames 13 through 0 are the same in all the crashes. I've included the 
short gedit backtrace at the end of this email for comparison.

Running gnome-settings-daemon does seem to stop the crash for file 
dialogs, but results in the following error when closing gedit. However 
it does make all the software usable, including Firefox. Jeremy 
suggested I try this earlier but I did not have Gnome installed at the time.

Does any of this help track down the bug, or will it just be a case of 
people needing all of Gnome installed to run Firefox from KDE?

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 
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 "i386-marcel-freebsd"...
(gdb) run
Starting program: /usr/local/bin/gedit
warning: Unable to get location for thread creation breakpoint: generic 
error
[New LWP 100112]
[New Thread 0x80db000 (LWP 100112)]

(gedit:43257): Gnome-CRITICAL **: gnome_program_get_app_version: 
assertion `program != NULL' failed

** (bug-buddy:43259): WARNING **: Failed to connect to the FAM server: 
(null)

** (bug-buddy:43259): WARNING **: Couldn't load icon for Bonobo 
Component Browser

** (bug-buddy:43259): WARNING **: Couldn't load icon for CD Database Server

** (bug-buddy:43259): WARNING **: Couldn't load icon for CD Player

** (bug-buddy:43259): WARNING **: Couldn't load icon for Ekiga Softphone

** (bug-buddy:43259): WARNING **: Couldn't load icon for Login Photo

** (bug-buddy:43259): WARNING **: Couldn't load icon for Multimedia 
Systems Selector

** (bug-buddy:43259): WARNING **: Couldn't load icon for On-Screen Keyboard

** (bug-buddy:43259): WARNING **: Couldn't load icon for Open Folder

** (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.

Program exited with code 01.


Gedit backtrace:

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 
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 "i386-marcel-freebsd"...
(gdb) run
Starting program: /usr/local/bin/gedit
warning: Unable to get location for thread creation breakpoint: generic 
error
[New LWP 100178]
[New Thread 0x80db000 (LWP 100202)]

** (gedit:43173): WARNING **: Throbber rest icon not found

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x80db000 (LWP 100136)]
0x486f971e in cache_glob_lookup_literal (file_name=0x846e5f1 "tarit.txt",
     mime_types=0x7273752f, n_mime_types=2) at endian.h:144
144     {
(gdb) bt
#0  0x486f971e in cache_glob_lookup_literal (file_name=0x846e5f1 
"tarit.txt",
     mime_types=0x7273752f, n_mime_types=2) at endian.h:144
#1  0x486f9cc6 in cache_glob_lookup_file_name (
     file_name=0x846e5f1 "tarit.txt", mime_types=0xbfbfe3f8, n_mime_types=2)
     at xdgmimecache.c:578
#2  0x486f9f74 in _gtk_xdg_cache_get_mime_type_for_file (
     file_name=0x846e5e0 "/home/bsdmjl/tmp/tarit.txt", statbuf=0x849c000)
     at xdgmimecache.c:689
#3  0x486f8401 in _gtk_xdg_get_mime_type_for_file (
     file_name=0x846e5e0 "/home/bsdmjl/tmp/tarit.txt", statbuf=0x849c000)
     at xdgmime.c:485
#4  0x486df177 in cb_fill_in_mime_type (key=0x7273752f, value=0x849c000,
     user_data=0x8244e48) at gtkfilesystemunix.c:2591
#5  0x48fa2166 in g_hash_table_foreach_remove_or_steal 
(hash_table=0x8486ee0,
     func=0x486df120 <cb_fill_in_mime_type>, user_data=0x8244e48, notify=1)
     at ghash.c:605
#6  0x48fa205d in IA__g_hash_table_foreach_remove (hash_table=0x7273752f,
     func=0, user_data=0x7273752f) at ghash.c:561
#7  0x486df21f in fill_in_mime_type (folder_unix=0x8244e48)
     at gtkfilesystemunix.c:2611
#8  0x486dc253 in load_folder (data=0x8244e48) at gtkfilesystemunix.c:874
#9  0x48fb2cb8 in g_idle_dispatch (source=0x847bf80, callback=0,
     user_data=0x7273752f) at gmain.c:3926
#10 0x48fafdad in g_main_dispatch (context=0x8115d80) at gmain.c:2045
#11 0x48fb0c50 in IA__g_main_context_dispatch (context=0x8115d80)
     at gmain.c:2596
#12 0x48fb102c in g_main_context_iterate (context=0x8115d80, block=1,
     dispatch=1, self=0x80e8bc0) at gmain.c:2677
#13 0x48fb16a1 in IA__g_main_loop_run (loop=0x83a6d70) at gmain.c:2881
#14 0x4856e8c2 in IA__gtk_main () at gtkmain.c:1001
#15 0x08064db1 in main (argc=0, argv=0xbfbfe7c0) at gedit.c:568



More information about the freebsd-gnome mailing list