can't print about:config, results in crash [@ nsNativeThemeGTK::DrawWidgetBackground]

RESOLVED WORKSFORME

Status

Core Graveyard
GFX: Gtk
RESOLVED WORKSFORME
16 years ago
9 years ago

People

(Reporter: (not reading, please use seth@sspitzer.org instead), Assigned: blizzard)

Tracking

({crash, helpwanted})

Trunk
x86
Linux
crash, helpwanted

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(2 attachments)

can't print about:config

cc'ing neil and boris, who are one some of the other about:config bugs.

I think we can't print it, because it's a xul doc.

I think we'd want to do what we do when printing a mail message, which is to
generate html for about:config based on the current view and print that.

Comment 1

16 years ago
As it's loaded in content how will about:config know when the user wants to print?

Updated

16 years ago
Component: Browser-General → XP Apps: GUI Features
QA Contact: asa → sairuh

Comment 2

15 years ago
Related to this Bug perhaps: Bug 192706

Comment 3

15 years ago
I just wanted to search in 'about:config'. Because this doesn't work, I thought
it would be a good idea to print it (using an 'only text'-printer, W2K). But
then I saw the 'print preview'. Hm - how does it look?
I can tell you: it crashes Mozilla!
(I got Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.4) Gecko/20030624.
Don't know if this matters. But, if you think my english is quite a bit funny,
this could help you to understand it ;-])

Comment 4

14 years ago
What is the status of this bug? I have just experienced the same exact thing in
firefox-0.9.3

When I tried to print the about:config page to a file, it kills the whole
browser window every time.
--
Steven A. DuChene
> What is the status of this bug?

helpwanted
Keywords: helpwanted
I also crash with this using 2004092206-trunk (seamonkey 1.8a4). tb incidents
TB939798Q, TB939839Q, but the talkback server is backlogged
(http://talkback-public.mozilla.org/talkback/fastfind.jsp).
Keywords: crash
Summary: can't print about:config → can't print about:config, results in crash

Comment 7

14 years ago
Also crash on linux (with moz1.8a4) : TB 1064837W

OS -> All ?

Comment 8

14 years ago
Incident ID: 939839 
Stack Signature nsNativeThemeGTK::DrawWidgetBackground() 76cf4942 
Product ID MozillaTrunk 
Build ID 2004092204 
Trigger Time 2004-09-22 15:48:13.0 
Platform LinuxIntel 
Operating System Linux 2.6.8-1.521 
Module libgfx_gtk.so + (00043085) 
URL visited  
User Comments crash when printing about:config 
Since Last Crash 0 sec 
Total Uptime 0 sec 
Trigger Reason SIGSEGV: Segmentation Fault: (signal 11) 
Source File, Line No. /builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/gfx/src/gtk/nsNativeThemeGTK.cpp, line 104 
Stack Trace  

nsNativeThemeGTK::DrawWidgetBackground()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-2_Clobber/mozilla/gfx/src/gtk/nsNativeThemeGTK.cpp, line 
104]
nsCSSRendering::PaintBackgroundWithSC()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-2_Clobber/mozilla/layout/html/style/src/nsCSSRendering.cpp, 
line 2794]
nsCSSRendering::PaintBackground()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-2_Clobber/mozilla/layout/html/style/src/nsCSSRendering.cpp, 
line 2718]
nsFrame::PaintSelf()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/html/base/src/nsFrame.cpp, line 899]
nsBoxFrame::Paint()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1454]
nsBoxFrame::PaintChild()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 131]
nsBoxFrame::PaintChildren()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1661]
nsBoxFrame::Paint()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1479]
nsBoxFrame::PaintChild()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 131]
nsBoxFrame::PaintChildren()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1661]
nsBoxFrame::Paint()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1479]
nsContainerFrame::PaintChild()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-
2_Clobber/mozilla/layout/html/base/src/nsContainerFrame.cpp, line 130]
nsContainerFrame::PaintChildren()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-
2_Clobber/mozilla/layout/html/base/src/nsContainerFrame.cpp, line 685]
nsContainerFrame::Paint()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/html/base/src/nsContainerFrame.cpp, line 212]
nsPageContentFrame::Paint()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/html/base/src/nsPageContentFrame.cpp, line 192]
PresShell::Paint()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp, line 5419]
nsView::Paint()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/view/src/nsView.cpp, line 710]
nsViewManager::RenderDisplayListElement()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-2_Clobber/mozilla/view/src/nsViewManager.cpp, line 1398]
nsViewManager::RenderViews()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/view/src/nsViewManager.cpp, line 1315]
nsViewManager::Display()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/view/src/nsViewManager.cpp, line 102]
nsSimplePageSequenceFrame::PrintNextPage()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-
2_Clobber/mozilla/layout/html/base/src/nsSimplePageSequence.cpp, line 882]
nsPrintEngine::PrintPage()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/content/base/src/nsPrintEngine.cpp, line 3541]
nsPagePrintTimer::Notify()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/content/base/src/nsPagePrintTimer.cpp, line 92]
nsTimerImpl::Fire()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/xpcom/threads/nsTimerImpl.cpp, line 387]
handleTimerEvent()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/xpcom/threads/nsTimerImpl.cpp, line 448]
PL_HandleEvent()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/xpcom/threads/plevent.c, line 692]
PL_ProcessEventsBeforeID()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/xpcom/threads/plevent.c, line 1699]
processQueue()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/widget/src/gtk/nsAppShell.cpp, line 437]
nsVoidArray::EnumerateForwards()  [/builds/tinderbox/SeaMonkey-
Release/Linux_2.4.2-2_Clobber/mozilla/xpcom/ds/nsVoidArray.cpp, line 648]
nsAppShell::ProcessBeforeID()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/widget/src/gtk/nsAppShell.cpp, line 443]
handle_gdk_event()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/widget/src/gtk/nsGtkEventHandler.cpp, line 871]
libgdk-1.2.so.0 + 0x224b5 (0x0035a4b5)
libglib-1.2.so.0 + 0x1195b (0x00db795b)
libglib-1.2.so.0 + 0x11e47 (0x00db7e47)
libglib-1.2.so.0 + 0x120f5 (0x00db80f5)
libgtk-1.2.so.0 + 0xa453f (0x006b653f)
nsAppShell::Run()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/widget/src/gtk/nsAppShell.cpp, line 322]
nsAppShellService::Run()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/xpfe/appshell/src/nsAppShellService.cpp, line 489]
main1()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 710]
main()  [/builds/tinderbox/SeaMonkey-Release/Linux_2.4.2-
2_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1802]
libc.so.6 + 0x14ad4 (0x00c04ad4)

That stack feels different, it's a theme bug and probably deserves its own, 
would someone please crash mozilla-win32-talkback and get an incdent id/stack 
trace?

Comment 9

14 years ago
Yes, it should be OS -> all because my experience carshing firefox-0.9.3 was on
Linux.
OS: Windows 2000 → All

Comment 10

14 years ago
until someone can provide a talkback incident for windows, i'm sending this to
gtk. when someone can provide a talkback incident for windows, they can file a
new bug. seth: sorry for morphing, but first stack gets the bug.
Assignee: sspitzer → blizzard
Component: XP Apps: GUI Features → GFX: Gtk
OS: All → Linux
QA Contact: bugzilla → ian
Summary: can't print about:config, results in crash → can't print about:config, results in crash [@ nsNativeThemeGTK::DrawWidgetBackground]
Created attachment 160785 [details]
Printout of about:config (Modern Theme)

Printing out about:config works fine so far on Windows, here is a screenshot,
made with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4)
Gecko/20040928 with Modern Theme.
Created attachment 160786 [details]
Printout of about:config (Classic Theme)

Comment 13

14 years ago
As per comments, OS=ALL
OS: Linux → All

Comment 14

14 years ago
Sorry, I missed reading comment #10 before changing OS.
OS: All → Linux

Comment 15

14 years ago
This might be related to topcrash bug 240490 (crash closing XUL page print preview).
has this been a problem for anyone using recent firefox aviary1.0 or mozilla
trunk builds? fwiw, I no longer crash when trying to print about:config on linux
fc2. instead I just get an error dialog saying "Printer error: some printing
functionality on yet implemented." tested with 2004110509-0.11 (firefox
aviary1.0, 1.0rc2+).

Comment 17

13 years ago
with linux trunk CVS I get a printout of the first page.

Comment 18

12 years ago
no crash anymore. I just get "unable to print or print preview this page"

Comment 19

12 years ago
Can this be closed as WORKSFORME ? Printing might not work, but it doesn't crash anymore.

Comment 20

12 years ago
The "unable to print or print preview this page" is because printing XUL has been disabled (bug 240490).  If I back that out locally and print, I get a single page, as in comment 17

resolving WFM
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
Crash Signature: [@ nsNativeThemeGTK::DrawWidgetBackground]
You need to log in before you can comment on or make changes to this bug.