Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 07:44:52 GMT
From:      Adrian Pircalabu <apircalabu@bitdefender.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/73269: 4.10-STABLE - thunderbird-0.8_3 segfaults regularly on print preview (probably cups related)
Message-ID:  <200410290744.i9T7iqTF083482@www.freebsd.org>
Resent-Message-ID: <200410290750.i9T7oPYX011903@freefall.freebsd.org>

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

>Number:         73269
>Category:       ports
>Synopsis:       4.10-STABLE - thunderbird-0.8_3 segfaults regularly on print preview (probably cups related)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 29 07:50:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Pircalabu
>Release:        4.10-STABLE
>Organization:
BitDefender
>Environment:
FreeBSD host 4.10-STABLE FreeBSD 4.10-STABLE #4: Mon Aug  9 09:44:10 EEST 2004 root@host:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Thunderbird crashes every time I try to use print preview from the popup menu on every message. I don't think this is a format issue, because I checked several message types (plain, HTML, multipart).
Fortunately, every time it dumps core.
It also crashes after selecting File -> Page Setup, apparently at the same point, this time giving "Bus error"
cupsd is not running.

Cups packages installed are:
cups-1.1.20.0:
cups-base-1.1.20.0:
cups-lpr-1.1.20.0:
cups-pstoraster-7.07_1:

Here is the backtrace:
(gdb) bt
#0  0x289d7d4c in kill () from /usr/lib/libc_r.so.4
#1  0x289cf4f8 in raise () from /usr/lib/libc_r.so.4
#2  0x806b0be in nsProfileLock::FatalSignalHandler (signo=11) at nsProfileLock.cpp:205
#3  0x289e9eeb in _thread_sig_handler () from /usr/lib/libc_r.so.4
#4  0x289e9d56 in _thread_sig_handler () from /usr/lib/libc_r.so.4
#5  0xbfbfffac in ?? ()
#6  0x2aff88c0 in X509_check_private_key () from /usr/lib/libcrypto.so.3
#7  0x2aff8c38 in EVP_DigestFinal_ex () from /usr/lib/libcrypto.so.3
#8  0x2afe948d in RAND_SSLeay () from /usr/lib/libcrypto.so.3
#9  0x2afe95bc in RAND_SSLeay () from /usr/lib/libcrypto.so.3
#10 0x2afe9092 in RAND_seed () from /usr/lib/libcrypto.so.3
#11 0x2af10ee9 in httpInitialize () from /usr/local/lib/libcups.so.2
#12 0x2af1103c in httpConnectEncrypt () from /usr/local/lib/libcups.so.2
#13 0x2af11012 in httpConnect () from /usr/local/lib/libcups.so.2
#14 0x2af0f1a0 in cups_get_sdests () from /usr/local/lib/libcups.so.2
#15 0x2af0e875 in cupsGetDests () from /usr/local/lib/libcups.so.2
#16 0x28fe455e in GlobalPrinters::InitializeGlobalPrinters (this=0x29030ee0) at nsDeviceContextSpecG.cpp:1151
#17 0x28fe4d64 in GlobalPrinters::GetDefaultPrinterName (this=0x29030ee0, aDefaultPrinterName=0xbfbfcec0) at nsDeviceContextSpecG.cpp:1231
#18 0x28fe1ea7 in nsPrinterEnumeratorGTK::GetDefaultPrinterName (this=0x88819e0, aDefaultPrinterName=0xbfbfcec0)
    at nsDeviceContextSpecG.cpp:697
#19 0x28c4552d in nsPrintOptions::GetDefaultPrinterName (this=0x8c76980, aDefaultPrinterName=0xbfbfcec0) at nsPrintOptionsImpl.cpp:943
#20 0x288a7179 in XPTC_InvokeByIndex (that=0x8c76984, methodIndex=5, paramCount=1, params=0xbfbfcec0) at xptcinvoke_unixish_x86.cpp:130
#21 0x28b8fa89 in XPCWrappedNative::CallMethod (ccx=@0xbfbfcf78, mode=CALL_GETTER) at xpcwrappednative.cpp:2028
#22 0x28b99768 in XPC_WN_GetterSetter (cx=0x81f3600, obj=0x827d288, argc=0, argv=0x84c72c8, vp=0xbfbfd0a8) at xpcprivate.h:1884
#23 0x280d3370 in js_Invoke (cx=0x81f3600, argc=0, flags=2) at jsinterp.c:941
#24 0x280d3640 in js_InternalInvoke (cx=0x81f3600, obj=0x827d288, fval=136946944, flags=0, argc=0, argv=0x0, rval=0xbfbfd380)
    at jsinterp.c:1035
#25 0x280d3807 in js_InternalGetOrSet (cx=0x81f3600, obj=0x827d288, id=140605888, fval=136946944, mode=JSACC_READ, argc=0, argv=0x0, 
    rval=0xbfbfd380) at jsinterp.c:1078
#26 0x280eb216 in js_GetProperty (cx=0x81f3600, obj=0x827d288, id=140605888, vp=0xbfbfd380) at jsobj.c:2765
#27 0x280dc02b in js_Interpret (cx=0x81f3600, result=0xbfbfd444) at jsinterp.c:2802
#28 0x280d33dc in js_Invoke (cx=0x81f3600, argc=1, flags=2) at jsinterp.c:958
#29 0x280d3640 in js_InternalInvoke (cx=0x81f3600, obj=0x89b51f8, fval=136825784, flags=0, argc=1, argv=0xbfbfd6a4, rval=0xbfbfd68c)
    at jsinterp.c:1035
#30 0x280aea91 in JS_CallFunctionValue (cx=0x81f3600, obj=0x89b51f8, fval=136825784, argc=1, argv=0xbfbfd6a4, rval=0xbfbfd68c)
    at jsapi.c:3698
#31 0x29824cfc in nsJSContext::CallEventHandler (this=0x822dfc0, aTarget=0x89b51f8, aHandler=0x827cbb8, argc=1, argv=0xbfbfd6a4, 
    rval=0xbfbfd68c) at nsJSEnvironment.cpp:1296
#32 0x2989280f in nsJSEventListener::HandleEvent (this=0x86635a0, aEvent=0x8c59808) at nsJSEventListener.cpp:175
#33 0x296043e6 in nsEventListenerManager::HandleEventSubType (this=0x8665640, aListenerStruct=0x8609bb0, aDOMEvent=0x8c59808, 
    aCurrentTarget=0x8c79d40, aSubType=8, aPhaseFlags=7) at nsEventListenerManager.cpp:1436
#34 0x296048a6 in nsEventListenerManager::HandleEvent (this=0x8665640, aPresContext=0x834d800, aEvent=0xbfbfe16c, aDOMEvent=0xbfbfdb54, 
    aCurrentTarget=0x8c79d40, aFlags=7, aEventStatus=0xbfbfe164) at nsEventListenerManager.cpp:1531
#35 0x298ded36 in nsXULElement::HandleDOMEvent (this=0x8665600, aPresContext=0x834d800, aEvent=0xbfbfe16c, aDOMEvent=0xbfbfdb54, aFlags=7, 
    aEventStatus=0xbfbfe164) at nsXULElement.cpp:2840
#36 0x29398660 in PresShell::HandleDOMEventWithTarget (this=0x8331000, aTargetContent=0x8665600, aEvent=0xbfbfe16c, aStatus=0xbfbfe164)
    at nsPresShell.cpp:6134
#37 0x294acb5d in nsMenuFrame::Execute (this=0x8866a08, aEvent=0xbfbfe6f8) at nsMenuFrame.cpp:1671
#38 0x294a5871 in nsMenuFrame::HandleEvent (this=0x8866a08, aPresContext=0x834d800, aEvent=0xbfbfe6f8, aEventStatus=0xbfbfe530)
    at nsMenuFrame.cpp:456
#39 0x293984ac in PresShell::HandleEventInternal (this=0x8331000, aEvent=0xbfbfe6f8, aView=0x8c2bc00, aFlags=513, aStatus=0xbfbfe530)
    at nsPresShell.cpp:6101
#40 0x2939792f in PresShell::HandleEvent (this=0x8331000, aView=0x8c2bc00, aEvent=0xbfbfe6f8, aEventStatus=0xbfbfe530, aForceHandle=0, 
    aHandled=@0xbfbfe534) at nsPresShell.cpp:5919
#41 0x29818e39 in nsViewManager::HandleEvent (this=0x8520e00, aView=0x8c2b400, aEvent=0xbfbfe6f8, aCaptured=0) at nsViewManager.cpp:2288
#42 0x298180d5 in nsViewManager::DispatchEvent (this=0x8520e00, aEvent=0xbfbfe6f8, aStatus=0xbfbfe67c) at nsViewManager.cpp:2030
#43 0x2980ca55 in HandleEvent (aEvent=0xbfbfe6f8) at nsView.cpp:76
#44 0x28ce7f48 in nsCommonWidget::DispatchEvent (this=0x8c89900, aEvent=0xbfbfe6f8, aStatus=@0xbfbfe6f4) at nsCommonWidget.cpp:215
#45 0x28cdd0ac in nsWindow::OnButtonReleaseEvent (this=0x8c89900, aWidget=0x8c24a80, aEvent=0x832b018) at nsWindow.cpp:1449
#46 0x28ce1e7a in button_release_event_cb (widget=0x8c24a80, event=0x832b018) at nsWindow.cpp:3274
#47 0x2821d722 in gtk_marshal_VOID__UINT_STRING () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#48 0x286250f5 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.400
#49 0x2863abee in signal_emit_unlocked_R () from /usr/local/lib/libgobject-2.0.so.400
#50 0x286393a0 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.400
#51 0x286395c5 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.400
---Type <return> to continue, or q <return> to quit---
#52 0x282f468b in gtk_widget_send_expose () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#53 0x282f41e2 in gtk_widget_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#54 0x2821c305 in gtk_propagate_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#55 0x2821b2a2 in gtk_main_do_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#56 0x283ec83b in gdk_x11_register_standard_event_type () from /usr/X11R6/lib/libgdk-x11-2.0.so.400
#57 0x2867ba57 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.400
#58 0x2867c84d in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.400
#59 0x2867cc3e in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.400
#60 0x2867d24b in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.400
#61 0x2821aa2d in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#62 0x28ce5c28 in nsAppShell::Run (this=0x80e34a0) at nsAppShell.cpp:142
#63 0x28bfed0d in nsAppShellService::Run (this=0x80e4f00) at nsAppShellService.cpp:494
#64 0x805b589 in xre_main (argc=1, argv=0xbfbff4a0, aAppData=0x8071c0c) at nsAppRunner.cpp:1907
#65 0x805026c in main (argc=1, argv=0xbfbff4a0) at nsMailApp.cpp:58

>How-To-Repeat:
Start Thunderbird, select a message from the message window, right click on it and select 'Print Preview' (also, File -> Print Preview brings to the same result)
>Fix:
None yet, maybe I'll dig into it later
>Release-Note:
>Audit-Trail:
>Unformatted:



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