From owner-freebsd-ports Mon Dec 16 13: 2:53 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6D5437B401; Mon, 16 Dec 2002 13:02:48 -0800 (PST) Received: from gw.cognigen.net (gw.cognigen.net [209.67.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D2743E4A; Mon, 16 Dec 2002 13:02:47 -0800 (PST) (envelope-from grumple@zaphon.llamas.net) Received: by gw.cognigen.net (Postfix, from userid 1001) id 26DDC153BC; Mon, 16 Dec 2002 13:02:47 -0800 (PST) Date: Mon, 16 Dec 2002 13:02:47 -0800 From: Greg Rumple To: Joe Marcus Clarke Cc: alane@geeksrus.net, Bjarne Wichmann Petersen , Frank Altpeter , freebsd-ports@FreeBSD.org Subject: Re: ports/46280: ports/www/phoenix-0.5_3 exit 11 after download Message-ID: <20021216210247.GG36451@gw.cognigen.net> References: <200212160030.gBG0U5k7014592@freefall.freebsd.org> <200212161151.03426.freebsd.nospam@mekanix.dk> <20021216122206.GA75623@wwweasel.geeksrus.net> <200212161614.07885.freebsd.nospam@mekanix.dk> <20021216152442.GA87956@wwweasel.geeksrus.net> <1040059524.28013.36.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1040059524.28013.36.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Okay I spent the time to build this thing with --enable-debug, --disable-strip, and a few other options on and get a stack trace. Here's the crash I see when I try and download a file (after the file downloads, it crashes). This is on a box running RELENG_4_7 (4.7-RELEASE-p2). The box is a dual processor Compaq box. BTW this was difficult to do on my box as GDB kept balooning to 700+ megs in size and exhausting this box (1GB of ram) of ram. #0 0x285a56f1 in strftime () from /usr/lib/libc_r.so.4 #1 0x285a552c in strftime () from /usr/lib/libc_r.so.4 #2 0x285a4aaa in strftime () from /usr/lib/libc_r.so.4 #3 0x282b09a8 in PR_FormatTime () from /usr/X11R6/lib/phoenix/lib/mozilla-1.3a/libnspr4.so #4 0x282b1206 in PR_FormatTimeUSEnglish () from /usr/X11R6/lib/phoenix/lib/mozilla-1.3a/libnspr4.so #5 0x28cf6e8c in rdf_FormatDate (aTime=1040071974343975, aResult=@0xbfbfbd1c) at rdfutil.cpp:184 #6 0x28cf0684 in nsRDFXMLSerializer::SerializeChildAssertion (this=0x8a32520, aStream=0x8953828, aResource=0x88e8400, aProperty=0x88e81e0, aValue=0x88ee3e0) at nsRDFXMLSerializer.cpp:424 #7 0x28cf0d95 in nsRDFXMLSerializer::SerializeProperty (this=0x8a32520, aStream=0x8953828, aResource=0x88e8400, aProperty=0x88e81e0, aInline=0, aSkipped=0xbfbfc1ac) at nsRDFXMLSerializer.cpp:486 #8 0x28cf2684 in nsRDFXMLSerializer::SerializeDescription (this=0x8a32520, aStream=0x8953828, aResource=0x88e8400) at nsRDFXMLSerializer.cpp:645 #9 0x28cf545b in nsRDFXMLSerializer::Serialize (this=0x8a32520, aStream=0x8953828) at nsRDFXMLSerializer.cpp:1040 #10 0x28cea79c in RDFXMLDataSourceImpl::Serialize (this=0x8911c00, aStream=0x8953828) at nsRDFXMLDataSource.cpp:1135 #11 0x28ce8947 in RDFXMLDataSourceImpl::rdfXMLFlush (this=0x8911c00, aURI=0x88cfd00) at nsRDFXMLDataSource.cpp:821 #12 0x28ce910f in RDFXMLDataSourceImpl::Flush (this=0x8911c00) at nsRDFXMLDataSource.cpp:870 #13 0x2ade069d in nsDownloadManager::AssertProgressInfoFor (this=0x8911080, aPath=0xbfbfcb10) at nsDownloadManager.cpp:369 #14 0x2adddf40 in nsDownloadManager::DownloadEnded (this=0x8911080, aPath=0xbfbfcb10, aMessage=0x0) at nsDownloadManager.cpp:233 #15 0x2ade9818 in nsDownload::OnStateChange (this=0x8911600, aWebProgress=0x0, aRequest=0x0, aStateFlags=16, aStatus=0) at nsDownloadManager.cpp:1039 #16 0x2addb172 in nsDownloadProxy::OnStateChange (this=0x829ce80, aWebProgress=0x0, aRequest=0x0, aStateFlags=16, aStatus=0) at ../../../dist/include/xpcom/nsCOMPtr.h:651 #17 0x28b6bdd7 in nsExternalAppHandler::ExecuteDesiredAction (this=0x8575880) at nsExternalHelperAppService.cpp:1534 #18 0x28b663b8 in nsExternalAppHandler::SetWebProgressListener (this=0x8575880, aWebProgressListener=0x829ce84) at nsExternalHelperAppService.cpp:806 #19 0x28b6c29b in nsExternalAppHandler::CreateProgressListener (this=0x8575880) at nsExternalHelperAppService.cpp:1607 #20 0x28b6d343 in nsExternalAppHandler::SaveToDisk (this=0x8575880, aNewFileLocation=0x0, aRememberThisPreference=0) at nsExternalHelperAppService.cpp:1721 #21 0x28212285 in XPTC_InvokeByIndex (that=0x8575884, methodIndex=6, paramCount=2, params=0xbfbfd054) at xptcinvoke_unixish_x86.cpp:130 #22 0x2877692e in XPCWrappedNative::CallMethod (ccx=@0xbfbfd11c, mode=CALL_METHOD) at xpcwrappednative.cpp:2016 #23 0x287807d4 in XPC_WN_CallMethod (cx=0x87efa00, obj=0x8252ab8, argc=2, argv=0x888319c, vp=0xbfbfd23c) at xpcwrappednativejsops.cpp:1294 #24 0x280bba11 in js_Invoke (cx=0x87efa00, argc=2, flags=0) at jsinterp.c:839 #25 0x280c5c79 in js_Interpret (cx=0x87efa00, result=0xbfbfd478) at jsinterp.c:2803 #26 0x280bba7c in js_Invoke (cx=0x87efa00, argc=1, flags=2) at jsinterp.c:856 #27 0x280bbcd2 in js_InternalInvoke (cx=0x87efa00, obj=0x826c2d0, fval=137013320, flags=0, argc=1, argv=0xbfbfd768, rval=0xbfbfd610) at jsinterp.c:931 #28 0x28097c71 in JS_CallFunctionValue (cx=0x87efa00, obj=0x826c2d0, fval=137013320, argc=1, argv=0xbfbfd768, rval=0xbfbfd610) at jsapi.c:3431 #29 0x29284629 in nsJSContext::CallEventHandler (this=0x885ec80, aTarget=0x826c2d0, aHandler=0x82aa848, argc=1, argv=0xbfbfd768, aBoolResult=0xbfbfd73c, aReverseReturnResult=0) at nsJSEnvironment.cpp:1040 #30 0x2930c1d1 in nsJSEventListener::HandleEvent (this=0x88151a0, aEvent=0x8ab4188) at nsJSEventListener.cpp:182 #31 0x29535fb6 in nsEventListenerManager::HandleEventSubType (this=0x88b7200, aListenerStruct=0x88e42d0, aDOMEvent=0x8ab4188, aCurrentTarget=0x8712b60, aSubType=8, aPhaseFlags=7) at nsEventListenerManager.cpp:1219 #32 0x2953a97f in nsEventListenerManager::HandleEvent (this=0x88b7200, aPresContext=0x881e000, aEvent=0xbfbfe540, aDOMEvent=0xbfbfde9c, aCurrentTarget=0x8712b60, aFlags=7, aEventStatus=0xbfbfe494) at nsEventListenerManager.cpp:2218 #33 0x297a115a in nsXULElement::HandleDOMEvent (this=0x88b7180, aPresContext=0x881e000, aEvent=0xbfbfe540, aDOMEvent=0xbfbfde9c, aFlags=7, aEventStatus=0xbfbfe494) at nsXULElement.cpp:3376 #34 0x29d64a43 in PresShell::HandleDOMEventWithTarget (this=0x8a14000, aTargetContent=0x88b7180, aEvent=0xbfbfe540, aStatus=0xbfbfe494) at nsPresShell.cpp:6190 #35 0x29eae59e in nsButtonBoxFrame::MouseClicked (this=0x8808548, aPresContext=0x881e000, aEvent=0xbfbfe85c) at nsButtonBoxFrame.cpp:199 #36 0x29ead87f in nsButtonBoxFrame::HandleEvent (this=0x8808548, aPresContext=0x881e000, aEvent=0xbfbfe85c, aEventStatus=0xbfbfec20) at nsButtonBoxFrame.cpp:143 #37 0x29d648e0 in PresShell::HandleEventInternal (this=0x8a14000, aEvent=0xbfbfe85c, aView=0x0, aFlags=1, aStatus=0xbfbfec20) at nsPresShell.cpp:6158 #38 0x29d645c9 in PresShell::HandleEventWithTarget (this=0x8a14000, aEvent=0xbfbfe85c, aFrame=0x8808548, aContent=0x88b7180, aFlags=1, aStatus=0xbfbfec20) at nsPresShell.cpp:6096 #39 0x29555b2c in nsEventStateManager::CheckForAndDispatchClick (this=0x88db800, aPresContext=0x881e000, aEvent=0xbfbfef0c, aStatus=0xbfbfec20) at nsEventStateManager.cpp:2936 #40 0x29550031 in nsEventStateManager::PostHandleEvent (this=0x88db800, aPresContext=0x881e000, aEvent=0xbfbfef0c, aTargetFrame=0x8808548, aStatus=0xbfbfec20, aView=0x8850680) at nsEventStateManager.cpp:1872 #41 0x29d64923 in PresShell::HandleEventInternal (this=0x8a14000, aEvent=0xbfbfef0c, aView=0x8850680, aFlags=1, aStatus=0xbfbfec20) at nsPresShell.cpp:6163 #42 0x29d64353 in PresShell::HandleEvent (this=0x8a14000, aView=0x8850680, aEvent=0xbfbfef0c, aEventStatus=0xbfbfec20, aForceHandle=1, aHandled=@0xbfbfec24) at nsPresShell.cpp:6050 #43 0x2934b9e3 in nsViewManager::HandleEvent (this=0x88b1000, aView=0x8850680, aEvent=0xbfbfef0c, aCaptured=1) at nsViewManager.cpp:2207 #44 0x2933a84c in nsView::HandleEvent (this=0x8850680, aVM=0x88b1000, aEvent=0xbfbfef0c, aCaptured=1) at nsView.cpp:303 #45 0x2934aa26 in nsViewManager::DispatchEvent (this=0x88b1000, aEvent=0xbfbfef0c, aStatus=0xbfbfede0) at nsViewManager.cpp:1943 #46 0x29339fb1 in HandleEvent (aEvent=0xbfbfef0c) at nsView.cpp:80 #47 0x29393387 in nsWidget::DispatchEvent (this=0x881e200, aEvent=0xbfbfef0c, aStatus=@0xbfbfee90) at nsWidget.cpp:1448 #48 0x2939304d in nsWidget::DispatchWindowEvent (this=0x881e200, event=0xbfbfef0c) at nsWidget.cpp:1336 #49 0x2939342f in nsWidget::DispatchMouseEvent (this=0x881e200, aEvent=@0xbfbfef0c) at nsWidget.cpp:1475 #50 0x293940a2 in nsWidget::OnButtonReleaseSignal (this=0x881e200, aGdkButtonEvent=0x83dd018) at nsWidget.cpp:1937 #51 0x29399782 in nsWindow::OnButtonReleaseSignal (this=0x881e200, aGdkButtonEvent=0x83dd018) at nsWindow.cpp:1701 #52 0x29399ab0 in nsWindow::HandleGDKEvent (this=0x881e200, event=0x83dd018) at nsWindow.cpp:1800 #53 0x29389ab1 in dispatch_superwin_event (event=0x83dd018, window=0x881e200) at nsGtkEventHandler.cpp:1001 #54 0x29389750 in handle_gdk_event (event=0x83dd018, data=0x0) at nsGtkEventHandler.cpp:876 #55 0x28405b90 in gdk_event_dispatch () from /usr/X11R6/lib/libgdk12.so.2 #56 0x28435c3b in g_main_dispatch () from /usr/local/lib/libglib12.so.3 #57 0x28436264 in g_main_iterate () from /usr/local/lib/libglib12.so.3 #58 0x284363fc in g_main_run () from /usr/local/lib/libglib12.so.3 #59 0x283547e7 in gtk_main () from /usr/X11R6/lib/libgtk12.so.2 #60 0x2937b094 in nsAppShell::Run (this=0x83cfe20) at nsAppShell.cpp:347 #61 0x2a6123e0 in nsAppShellService::Run (this=0x8388400) at nsAppShellService.cpp:471 #62 0x805a47d in main1 (argc=1, argv=0xbfbff3e8, nativeApp=0x8068200, aAppData=@0xbfbff380) at nsAppRunner.cpp:1517 #63 0x805b673 in xre_main (argc=1, argv=0xbfbff3e8, aAppData=@0xbfbff380) at nsAppRunner.cpp:1892 #64 0x804fbad in main (argc=1, argv=0xbfbff3e8) at nsBrowserApp.cpp:51 #65 0x804fa29 in _start () Looking at the above, I looked at this. (gdb) frame 5 #5 0x28cf6e8c in rdf_FormatDate (aTime=1040071974343975, aResult=@0xbfbfbd1c) at rdfutil.cpp:184 184 PR_FormatTimeUSEnglish(buf, sizeof buf, "%a %b %d %H:%M:%S %Z %Y", &t); (gdb) print t $1 = {tm_usec = 343975, tm_sec = 54, tm_min = 52, tm_hour = 12, tm_mday = 16, tm_month = 11, tm_year = 2002, tm_wday = 1 '\001', tm_yday = 349, tm_params = {tp_gmt_offset = -28800, tp_dst_offset = 0}} (gdb) print buf $2 = "Mon Dec 16 12:52:54 \200s\t\b@¾¿¿¶¥#(0T((\0008\225\bÀ»¿¿èÚ#(0T((P¼¿¿\016\000\000\0004\\#(0T((\016\000\000\000໿¿þp\037(\224ËÑ(àã\216\b\234¼¿¿?|#(D¼¿¿\000\000\000\000\020¼¿¿\226\002Î(àã\216\b\004\000\000\000ÄýÐ(\024\000\000\000\224ËÑ(\001\000\000\000\220¼¿¿@ðÎ(@¼¿¿\002\000\000\000@¼¿¿%\004Î(àã\216\bP¼¿¿\016\000\000\000R\003Î(¡[#(0T((`¼¿¿¥z#( ½¿¿\000\000\000\000"... (gdb) print sizeof buf $3 = 256 So it looks like it started to format the date when it crashed. Greg * Joe Marcus Clarke (marcus@FreeBSD.org) [021216 09:25]: > On Mon, 2002-12-16 at 10:24, AlanE wrote: > > On Mon, Dec 16, 2002 at 04:14:07PM +0100, Bjarne Wichmann Petersen wrote: > > >On Monday 16 December 2002 13:22, AlanE wrote: > > > > > >> >I've experienced similar (Phoenix crashes/exits after dwl). I don't have > > >> > any more font installed from ports than those you've listed. But I do > > >> > have a "large" amount af TTF-fonts (from M$, HP and other places) > > >> > installed manually to X. > > >> >And on a side-note; after upgrading to Phoenix 0.5_x using other > > >> > dpi-settings than 72 makes all fonts render in "tiny-mode" (I usually use > > >> > 127). > > >> That's a function of Xft and the X server. > > >> In general, the best suggestion I can make for a case like yours, where > > >> you have many non-ports fonts installed, is to build with -DWITHOUT_XFT, > > >> which will disable anti-aliasing, but should stop the crashes. > > > > > >Hmm... just did a reinstall with the "WITHOUT_XFT=yes"-flag in /etc/make.conf > > >... and phoenix still crashes when downloading. > > > > > >Bjarne > > >-- > > >Homepage: http://www.mekanix.dk > > > > Then I have no idea. I'll cc Joe Marcus Clarke to see if he has a clue I > > don't ... he usually does. 8-) > > Well, gdb doesn't seem to like phoenix. It crashes itself. However, > ktrace/kdump and the CVS version of strace were quite useful. Any > chance someone can get a ktrace and/or a strace output of this. It may > not lead to a solution (a gdb backtrace would be ideal), but it may > point us in the right direction. Phoenix 0.5 is based on Mozilla 1.3a, > which was just released, and I have yet to port. > > Joe > > > -- > Joe Marcus Clarke > FreeBSD GNOME Team :: marcus@FreeBSD.org > http://www.FreeBSD.org/gnome -- Greg Rumple grumple@zaphon.llamas.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message