Closed Bug 278108 Opened 20 years ago Closed 19 years ago

Thunderbird crashes when trying to print [@ GlobalPrinters::InitializeGlobalPrinters]

Categories

(Core Graveyard :: GFX: Gtk, defect)

1.7 Branch
x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: glueck, Assigned: blizzard)

Details

(Keywords: crash)

Crash Data

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8

After klicking "Print" Thunderbird is killed with errormessage:
.../run-mozilla.sh: line 159: 14552 Speicherzugriffsfehler  "$prog" ${1+"$@"}
(I can't print emails. The same at firefox)

The printer has a network-connection (IP) and can print the testpages.

The Thunderbird program is on a nfs-server. All home directories are connected
via nfs.

Where is the problem?

Reproducible: Always

Steps to Reproduce:
1. start Thunderbird on console with thunderbird &
2. enter my password for my account
3. I can send and recieve mails (SMTP/IMAP)
But I can't print!

Actual Results:  
When I uninstall CUPS, Thunderbird will not crash. It opened the printing
dialogue. But I can't print, because my printer is not present. In YaST he exists!
When I try to change the settings (CUPS...lpr...direct..) I can see the name of
the printer, but it shows "local" and this is not a local printer!!
Result: I can't print.
(Other application can print...OpenOffice e.g.)
Keywords: crash
Summary: Speicherzugriffsfehler! Thunderbird crashes after ctrl-p → Thunderbird crashes when trying to print
Can you provide a talkback id?
Component: Preferences → General
Talkback ID's # TB5503187W TB5503251E TB5517111E
libsmooth.so + 0x23065 (0x4162a065)
libsmooth.so + 0x28bd7 (0x4162fbd7)
libgtk-x11-2.0.so.0 + 0x180298 (0x40230298)
moz_gtk_container_paint() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/gfx/src/gtk/gtk2drawing.c,
line 866]
nsNativeThemeGTK::DrawWidgetBackground() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/gfx/src/gtk/nsNativeThemeGTK.cpp,
line 500]
nsCSSRendering::PaintBackgroundWithSC() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/layout/html/style/src/nsCSSRendering.cpp,
line 2825]
nsCSSRendering::PaintBackground() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/layout/html/style/src/nsCSSRendering.cpp,
line 2748]
nsFrame::PaintSelf() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/layout/html/base/src/nsFrame.cpp,
line 921]
nsBoxFrame::Paint() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1427]
nsBoxFrame::PaintChild() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 134]
nsBoxFrame::PaintChildren() 
[/builds/tinderbox/Tb-Aviary1.0.1/Linux_2.4.18-14_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1634]

Looks to be specific to GTK...
Probably crashing because GTK theme code expects the rendering context to be a
GTK rendering context. We do need to fix that, e.g. to get GTK themes to render
to Cairo, but it ain't gonna happen for 1.8.
I guess we should at least bulletproof the theme code to not crash.
It's most probably a dupe of bug 281196
I have started experience the same problems after we upgraded from Xerox
PostScript printers to HP PostScript printers. I use printer queues managed via
CUPS and I can print from Firefox (1.0.4) without any problems...

I'm running Suse 9.2 with KDE 3.3.0.

Talkback IDs I have sent
TB6750353H
TB6749002Z
TB6749001G
TB6748998Z
TB6748997G
all stacks are the same, good :)

Incident ID: 6750353
Stack Signature	GlobalPrinters::InitializeGlobalPrinters() e0898a6c
Product ID	Thunderbird10
Build ID	2004120604
Trigger Time	2005-06-17 03:37:47.0
Platform	LinuxIntel
Operating System	Linux 2.6.8-24.14-default
Module	thunderbird-bin + (001bf787)
URL visited	
User Comments	Tried to print an email
Since Last Crash	0 sec
Total Uptime	1052 sec
Trigger Reason	SIGSEGV: Segmentation Fault: (signal 11)
Source File, Line No.
/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/gfx/src/gtk/nsDeviceContextSpecG.cpp,
line 117
Stack Trace 	
GlobalPrinters::InitializeGlobalPrinters() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/gfx/src/gtk/nsDeviceContextSpecG.cpp,
line 117]
GlobalPrinters::GetDefaultPrinterName() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/gfx/src/gtk/nsDeviceContextSpecG.cpp,
line 1232]
nsPrinterEnumeratorGTK::GetDefaultPrinterName() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/gfx/src/gtk/nsDeviceContextSpecG.cpp,
line 699]
nsPrintOptions::GetDefaultPrinterName() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/gfx/src/nsPrintOptionsImpl.cpp,
line 710]
XPTC_InvokeByIndex()
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp,
line 2939]
XPC_WN_GetterSetter() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp,
line 1884]
js_Invoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 941]
js_InternalInvoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 1035]
js_InternalGetOrSet() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 1078]
js_GetProperty() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsobj.c,
line 2775]
js_Interpret() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 2809]
js_Invoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 958]
nsXPCWrappedJSClass::CallMethod() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp,
line 1343]
nsXPCWrappedJS::CallMethod() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappedjs.cpp,
line 450]
PrepareAndDispatch() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp,
line 100]
XPTC_InvokeByIndex()
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp,
line 2939]
XPC_WN_CallMethod() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp,
line 1287]
js_Invoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 941]
js_Interpret() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 2977]
js_Invoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 958]
js_InternalInvoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 1035]
JS_CallFunctionValue() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsapi.c,
line 3705]
nsJSContext::CallEventHandler() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1296]
nsJSEventListener::HandleEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/dom/src/events/nsJSEventListener.cpp,
line 177]
nsEventListenerManager::HandleEventSubType() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/events/src/nsEventListenerManager.cpp,
line 710]
nsEventListenerManager::HandleEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/events/src/nsEventListenerManager.cpp,
line 1529]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2841]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 710]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 710]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 710]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 710]
nsXULElement::HandleDOMEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 710]
PresShell::HandleDOMEventWithTarget() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 6135]
nsMenuFrame::Execute() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/layout/xul/base/src/nsMenuFrame.cpp,
line 710]
nsMenuFrame::HandleEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/layout/xul/base/src/nsMenuFrame.cpp,
line 456]
PresShell::HandleEventInternal() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 6102]
PresShell::HandleEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 5920]
nsViewManager::HandleEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/view/src/nsViewManager.cpp,
line 710]
nsViewManager::DispatchEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/view/src/nsViewManager.cpp,
line 96]
HandleEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/view/src/nsView.cpp,
line 77]
nsCommonWidget::DispatchEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/widget/src/gtk2/nsCommonWidget.cpp,
line 215]
nsWindow::OnButtonReleaseEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/widget/src/gtk2/nsWindow.cpp,
line 1450]
button_release_event_cb() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/widget/src/gtk2/nsWindow.cpp,
line 3277]
libgtk-x11-2.0.so.0 + 0x117fa4 (0x401cefa4)
libgobject-2.0.so.0 + 0x8bfb (0x40469bfb)
libgobject-2.0.so.0 + 0x19fb0 (0x4047afb0)
libgobject-2.0.so.0 + 0x1b3f6 (0x4047c3f6)
libgobject-2.0.so.0 + 0x1b9b2 (0x4047c9b2)
libgtk-x11-2.0.so.0 + 0x20fd64 (0x402c6d64)
libgtk-x11-2.0.so.0 + 0x110469 (0x401c7469)
libgtk-x11-2.0.so.0 + 0x111991 (0x401c8991)
libgdk-x11-2.0.so.0 + 0x3fc12 (0x403bcc12)
libglib-2.0.so.0 + 0x23d17 (0x404c6d17)
libglib-2.0.so.0 + 0x26467 (0x404c9467)
libglib-2.0.so.0 + 0x27677 (0x404ca677)
libgtk-x11-2.0.so.0 + 0x111e43 (0x401c8e43)
nsAppShell::Run() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/widget/src/gtk2/nsAppShell.cpp,
line 144]
nsAppShellService::Run() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/xpfe/appshell/src/nsAppShellService.cpp,
line 495]
xre_main() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/toolkit/xre/nsAppRunner.cpp,
line 692]
main() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/mail/app/nsMailApp.cpp,
line 59]
libc.so.6 + 0x14b10 (0x409feb10)
Assignee: mscott → blizzard
Component: General → GFX: Gtk
Product: Thunderbird → Core
QA Contact: gtk
Summary: Thunderbird crashes when trying to print → Thunderbird crashes when trying to print [@ GlobalPrinters::InitializeGlobalPrinters]
Version: unspecified → 1.7 Branch
GlobalPrinters::InitializeGlobalPrinters was bug 281367 (fixed on branches)
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Product: Core → Core Graveyard
Crash Signature: [@ GlobalPrinters::InitializeGlobalPrinters]
You need to log in before you can comment on or make changes to this bug.