Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2006 16:00:37 -0800
From:      Micah <micahjon@ywave.com>
To:        Joe Marcus Clarke <marcus@marcuscom.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:  <4578AB25.2020504@ywave.com>
In-Reply-To: <1165476509.74826.14.camel@shumai.marcuscom.com>
References:  <200612061930.kB6JUJVA038980@freefall.freebsd.org> <1165476509.74826.14.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Marcus Clarke wrote:
> Before anything can be done to fix this, someone needs to provide a
> backtrace with full debugging symbols.  For more on doing this, see
> http://www.freebsd.org/gnome/docs/bugging.html .
> 
> Joe

Anything else I can provide?

Note: it took more than two saves to cause the crash this time (I didn't 
count, but from the messages it looks like it took 7 tries before it 
crashed).

trisha% firefox -g -d gdb
/usr/local/lib/firefox/run-mozilla.sh -g -d gdb 
/usr/local/lib/firefox/firefox-bin
MOZILLA_FIVE_HOME=/usr/local/lib/firefox
 
LD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/plugins:/usr/local/lib/browser_plugins:/usr/local/lib/browser_linux_plugins:/usr/local/lib/firefox
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
 
LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/components:/usr/local/lib/firefox
        SHLIB_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox
           LIBPATH=/usr/local/lib/firefox:/usr/local/lib/firefox
        ADDON_PATH=/usr/local/lib/firefox
       MOZ_PROGRAM=/usr/local/lib/firefox/firefox-bin
       MOZ_TOOLKIT=
         moz_debug=1
      moz_debugger=gdb
/usr/bin/gdb /usr/local/lib/firefox/firefox-bin -x /tmp/mozargs.a6uUjQ
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) handle SIG33 nostop noprint
Signal        Stop      Print   Pass to program Description
SIG33         No        No      Yes             Real-time event 33
(gdb) run
Starting program: /usr/local/lib/firefox/firefox-bin
warning: Unable to get location for thread creation breakpoint: generic 
error
[New LWP 100125]
[New Thread 0x8079000 (LWP 100125)]
Type Manifest File: /home/bsdmjl/.mozilla/firefox/3m4v9uom.default/xpti.dat
*** Registering Apprunner components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: registering deferred (0)
pldhash: for the table at address 0x80bba20, the given entrySize of 44 
probably favors chaining over double hashing.
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsChromeRegistry.cpp, line 1252
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
++WEBSHELL == 1
++DOMWINDOW == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
++DOMWINDOW == 2
++WEBSHELL == 2
++DOMWINDOW == 3
++DOMWINDOW == 4
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Note: verifyreflow is disabled
JavaScript error: chrome://global/content/contentAreaUtils.js, line 118: 
redeclaration of const kSaveAsType_Complete
++WEBSHELL == 3
++DOMWINDOW == 5
++DOMWINDOW == 6
++WEBSHELL == 4
++DOMWINDOW == 7
++DOMWINDOW == 8
++DOMWINDOW == 9
++DOMWINDOW == 10
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
nsStringBundle.cpp, line 273
--DOMWINDOW == 9
--DOMWINDOW == 8
spec=/logo-reverse.png
WARNING: malformed url: no scheme, file nsStandardURL.cpp, line 714
spec=/logo-reverse.png
WARNING: malformed url: no scheme, file nsStandardURL.cpp, line 714
spec=/logo-reverse.png
WARNING: malformed url: no scheme, file nsStandardURL.cpp, line 714
spec=/logo-reverse.png
WARNING: malformed url: no scheme, file nsStandardURL.cpp, line 714
spec=/logo-reverse.png
WARNING: malformed url: no scheme, file nsStandardURL.cpp, line 714
spec=/logo-reverse.png
WARNING: malformed url: no scheme, file nsStandardURL.cpp, line 714
spec=/logo-reverse.png
WARNING: malformed url: no scheme, file nsStandardURL.cpp, line 714

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8079000 (LWP 100195)]
0x48613d0e in cache_glob_lookup_literal (
     file_name=0x94bddd8 "bsd-devilettes.jpg", mime_types=0x7273752f,
     n_mime_types=2) at endian.h:144
144     {
Current language:  auto; currently c
(gdb) bt
#0  0x48613d0e in cache_glob_lookup_literal (
     file_name=0x94bddd8 "bsd-devilettes.jpg", mime_types=0x7273752f,
     n_mime_types=2) at endian.h:144
#1  0x486142b6 in cache_glob_lookup_file_name (
     file_name=0x94bddd8 "bsd-devilettes.jpg", mime_types=0xbfbfbeb0,
     n_mime_types=2) at xdgmimecache.c:578
#2  0x48614564 in _gtk_xdg_cache_get_mime_type_for_file (
     file_name=0x94bddc0 "/home/bsdmjl/visual/bsd/bsd-devilettes.jpg",
     statbuf=0x9480800) at xdgmimecache.c:689
#3  0x486129f1 in _gtk_xdg_get_mime_type_for_file (
     file_name=0x94bddc0 "/home/bsdmjl/visual/bsd/bsd-devilettes.jpg",
     statbuf=0x9480800) at xdgmime.c:485
#4  0x485f97b7 in cb_fill_in_mime_type (key=0x7273752f, value=0x9480800,
     user_data=0x939fe18) at gtkfilesystemunix.c:2591
#5  0x48a74166 in g_hash_table_foreach_remove_or_steal 
(hash_table=0x942cf20,
     func=0x485f9760 <cb_fill_in_mime_type>, user_data=0x939fe18, notify=1)
     at ghash.c:605
#6  0x48a7405d in IA__g_hash_table_foreach_remove (hash_table=0x7273752f,
     func=0, user_data=0x7273752f) at ghash.c:561
#7  0x485f985f in fill_in_mime_type (folder_unix=0x939fe18)
     at gtkfilesystemunix.c:2611
#8  0x485f6923 in load_folder (data=0x939fe18) at gtkfilesystemunix.c:874
#9  0x48a84cb8 in g_idle_dispatch (source=0x8bf9580, callback=0,
     user_data=0x7273752f) at gmain.c:3926
#10 0x48a81dad in g_main_dispatch (context=0x80a1c80) at gmain.c:2045
#11 0x48a82c50 in IA__g_main_context_dispatch (context=0x80a1c80)
     at gmain.c:2596
#12 0x48a8302c in g_main_context_iterate (context=0x80a1c80, block=1,
     dispatch=1, self=0x81a0800) at gmain.c:2677
#13 0x48a836a1 in IA__g_main_loop_run (loop=0x94c2560) at gmain.c:2881
#14 0x483f7b4b in IA__gtk_dialog_run (dialog=0x935e1c8) at gtkdialog.c:996
#15 0x49286727 in nsFilePicker::Show (this=0x9223300, aReturn=0xbfbfc590)
     at nsFilePicker.cpp:583
#16 0x4827dbdd in XPTC_InvokeByIndex (that=0x9223300, methodIndex=17,
     paramCount=1920169263, params=0xbfbfc590) at 
xptcinvoke_unixish_x86.cpp:179
#17 0x48eed622 in XPCWrappedNative::CallMethod (ccx=@0xbfbfc670,
     mode=XPCWrappedNative::CALL_METHOD) at xpcwrappednative.cpp:2168
#18 0x48ef867a in XPC_WN_CallMethod (cx=0x84de400, obj=0x7273752f,
     argc=1920169263, argv=0xbfbfc670, vp=0x7273752f)
     at xpcwrappednativejsops.cpp:1455
#19 0x480f579a in js_Invoke (cx=0x84de400, argc=0, flags=0) at 
jsinterp.c:1377
---Type <return> to continue, or q <return> to quit---
#20 0x4810348e in js_Interpret (cx=0x84de400, pc=0x85d8274 ":",
     result=0xbfbfcacc) at jsinterp.c:4119
#21 0x480f5824 in js_Invoke (cx=0x84de400, argc=1, flags=2) at 
jsinterp.c:1396
#22 0x480f5b04 in js_InternalInvoke (cx=0x84de400, obj=0x7273752f,
     fval=1920169263, flags=0, argc=1, argv=0xbfbfcd2c, rval=0xbfbfcd14)
     at jsinterp.c:1471
#23 0x480c1e10 in JS_CallFunctionValue (cx=0x84de400, obj=0x7273752f,
     fval=1920169263, argc=1920169263, argv=0x7273752f, rval=0x7273752f)
     at jsapi.c:4419
#24 0x49e7f22f in nsJSContext::CallEventHandler (this=0x84dd200,
     aTarget=0x8cc3b68, aHandler=0x9233ec8, argc=1920169263, 
argv=0x7273752f,
     rval=0xbfbfcd14) at nsJSEnvironment.cpp:1493
#25 0x49ee3c37 in nsJSEventListener::HandleEvent (this=0x8763300,
     aEvent=0x9216e8c) at nsJSEventListener.cpp:185
#26 0x49d0aa7f in nsEventListenerManager::HandleEventSubType 
(this=0x7273752f,
     aListenerStruct=0x873bd10, aListener=0x8763300, aDOMEvent=0x9216e8c,
     aCurrentTarget=0x94b29a0, aSubType=8, aPhaseFlags=1920169263)
     at nsEventListenerManager.cpp:1655
#27 0x49d0af2e in nsEventListenerManager::HandleEvent (this=0x87632c0,
     aPresContext=0x8653400, aEvent=0xbfbfd390, aDOMEvent=0xbfbfd0dc,
     aCurrentTarget=0x94b29a0, aFlags=7, aEventStatus=0xbfbfd37c)
     at nsEventListenerManager.cpp:1757
#28 0x49e3025e in nsXULElement::HandleDOMEvent (this=0x8763280,
     aPresContext=0x8653400, aEvent=0xbfbfd390, aDOMEvent=0xbfbfd0dc, 
aFlags=7,
     aEventStatus=0xbfbfd37c) at nsXULElement.cpp:2228
#29 0x49a282e1 in PresShell::HandleDOMEventWithTarget (this=0x8736000,
     aTargetContent=0x8763280, aEvent=0x7273752f, aStatus=0x7273752f)
     at nsPresShell.cpp:6520
#30 0x49c3697f in nsMenuFrame::Execute (this=0x8e94430, aEvent=0xbfbfd9a0)
     at nsMenuFrame.cpp:1663
#31 0x49c32e60 in nsMenuFrame::HandleEvent (this=0x8e94430,
     aPresContext=0x8653400, aEvent=0xbfbfd9a0, aEventStatus=0xbfbfd750)
     at nsMenuFrame.cpp:469
#32 0x49a2803b in PresShell::HandleEventInternal (this=0x8736000,
     aEvent=0xbfbfd9a0, aView=0x9425180, aFlags=1, aStatus=0xbfbfd750)
     at nsPresShell.cpp:6465
#33 0x49a276cb in PresShell::HandleEvent (this=0x8736000, aView=0x9425180,
     aEvent=0xbfbfd9a0, aEventStatus=0xbfbfd750, aForceHandle=0,
     aHandled=@0xbfbfd754) at nsPresShell.cpp:6260
#34 0x49e70f51 in nsViewManager::HandleEvent (this=0x8745200, 
aView=0x941cd80,
     aEvent=0xbfbfd9a0, aCaptured=1920169263) at nsVoidArray.h:61
---Type <return> to continue, or q <return> to quit---
#35 0x49e70189 in nsViewManager::DispatchEvent (this=0x8745200,
     aEvent=0xbfbfd9a0, aStatus=0xbfbfd94c) at nsViewManager.cpp:2246
#36 0x49e648e6 in HandleEvent (aEvent=0xbfbfd9a0) at nsView.h:251
#37 0x4927b621 in nsCommonWidget::DispatchEvent (this=0x8bf5100,
     aEvent=0xbfbfd9a0, aStatus=@0xbfbfd99c) at nsCommonWidget.cpp:219
#38 0x4926d295 in nsWindow::OnButtonReleaseEvent (this=0x8bf5100,
     aWidget=0x8c76698, aEvent=0x94062a8) at nsWindow.cpp:1692
#39 0x49272413 in button_release_event_cb (widget=0x7273752f, 
event=0x94062a8)
     at nsWindow.cpp:3840
#40 0x4848cd5e in _gtk_marshal_BOOLEAN__BOXED (closure=0x492723d0,
     return_value=0xbfbfdba0, n_param_values=2, param_values=0xbfbfdd20,
     invocation_hint=0xbfbfdbc8, marshal_data=0x0) at gtkmarshalers.c:84
#41 0x48a1d0dc in IA__g_closure_invoke (closure=0x94b9b00,
     return_value=0x7273752f, n_param_values=1920169263,
     param_values=0x7273752f, invocation_hint=0x7273752f) at gclosure.c:490
#42 0x48a34119 in signal_emit_unlocked_R (node=0x8191a00, detail=0,
     instance=0x8c76698, emission_return=0xbfbfdcd0,
     instance_and_params=0xbfbfdd20) at gsignal.c:2440
#43 0x48a3342d in IA__g_signal_emit_valist (instance=0x8c76698,
     signal_id=3217022160, detail=0, var_args=0xbfbfdeb0 "¸Þ¿¿\001")
     at gsignal.c:2209
#44 0x48a33636 in IA__g_signal_emit (instance=0x7273752f,
     signal_id=1920169263, detail=1920169263) at gsignal.c:2243
#45 0x485d765e in gtk_widget_event_internal (widget=0x8c76698, 
event=0x94062a8)
     at gtkwidget.c:3911
#46 0x485d723f in IA__gtk_widget_event (widget=0x8c76698, event=0x94062a8)
     at gtkwidget.c:3717
#47 0x4848b1f0 in IA__gtk_propagate_event (widget=0x8c76698, 
event=0x94062a8)
     at gtkmain.c:2188
#48 0x48489dba in IA__gtk_main_do_event (event=0x94062a8) at gtkmain.c:1422
#49 0x48721208 in gdk_event_dispatch (source=0x7273752f, callback=0,
     user_data=0x0) at gdkevents-x11.c:2320
#50 0x48a81dad in g_main_dispatch (context=0x80a1c80) at gmain.c:2045
#51 0x48a82c50 in IA__g_main_context_dispatch (context=0x80a1c80)
     at gmain.c:2596
#52 0x48a8302c in g_main_context_iterate (context=0x80a1c80, block=1,
     dispatch=1, self=0x81a0800) at gmain.c:2677
#53 0x48a836a1 in IA__g_main_loop_run (loop=0x8313360) at gmain.c:2881
#54 0x484895a2 in IA__gtk_main () at gtkmain.c:1001
#55 0x49278b69 in nsAppShell::Run (this=0x81d8230) at nsAppShell.cpp:139
#56 0x493a9ca7 in nsAppStartup::Run (this=0x81d7240) at nsAppStartup.cpp:151
---Type <return> to continue, or q <return> to quit---
#57 0x08056fa0 in XRE_main (argc=0, argv=0xbfbfe45c, aAppData=0x806e6e0)
     at nsAppRunner.cpp:2438
#58 0x0804e9c4 in main (argc=1920169263, argv=0x7273752f)
     at nsBrowserApp.cpp:61



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