Crash [@ nsThebesRenderingContext::SetFont] [@ nsThebesRenderingContext::GetNativeGraphicData] (trying to scroll option text into view?)

VERIFIED WORKSFORME

Status

()

Core
Graphics
--
critical
VERIFIED WORKSFORME
11 years ago
7 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {crash, testcase})

Trunk
mozilla1.9alpha8
x86
Mac OS X
crash, testcase
Points:
---
Dependency tree / graph
Bug Flags:
blocking1.9 +
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
Created attachment 256773 [details]
testcase (crashes Firefox when loaded)

Regressed between 2006-11-21 and 2006-11-22 nightlies, so I'm guessing it's a regression from turning on Cairo on Mac (bug 323934).

Thread 0 Crashed:
0   libgkgfxthebes.dylib     	0x2fe0f9c9 nsThebesRenderingContext::SetFont(nsFont const&, nsIAtom*) + 87 (nsThebesRenderingContext.cpp:1149)
1   libgklayout.dylib        	0x18420a9b SetFontFromStyle(nsIRenderingContext*, nsStyleContext*) + 75 (nsFrame.cpp:440)
2   libgklayout.dylib        	0x18484333 nsTextStyle::nsTextStyle[in-charge](nsPresContext*, nsIRenderingContext&, nsStyleContext*) + 155 (nsTextFrame.cpp:901)
3   libgklayout.dylib        	0x18488175 nsTextFrame::GetPointFromOffset(nsPresContext*, nsIRenderingContext*, int, nsPoint*) + 253 (nsTextFrame.cpp:4382)
4   libgklayout.dylib        	0x18474885 nsTypedSelection::GetPointFromOffset(nsIFrame*, int, nsPoint*) + 489 (nsSelection.cpp:6956)
5   libgklayout.dylib        	0x18474944 nsTypedSelection::GetCachedFrameOffset(nsIFrame*, int, nsPoint&) + 160 (nsSelection.cpp:5275)
6   libgklayout.dylib        	0x1846aca3 nsTypedSelection::GetSelectionRegionRectAndScrollableView(short, nsRect*, nsIScrollableView**) + 887 (nsSelection.cpp:7033)
7   libgklayout.dylib        	0x1846fb55 nsTypedSelection::ScrollIntoView(short, int) + 417 (nsSelection.cpp:7311)
8   libgklayout.dylib        	0x18465c01 nsFrameSelection::ScrollSelectionIntoView(short, short, int) + 123 (nsSelection.cpp:2534)
9   libgklayout.dylib        	0x183db4e5 PresShell::ScrollSelectionIntoView(short, short, int) + 77 (nsPresShell.cpp:2286)
10  libgklayout.dylib        	0x1880fb80 nsEditor::ScrollSelectionIntoView(int) + 280 (nsEditor.cpp:2492)
11  libgklayout.dylib        	0x18811222 nsEditor::EndPlaceHolderTransaction() + 336 (nsEditor.cpp:987)
12  libgklayout.dylib        	0x18b335b5 nsAutoPlaceHolderBatch::~nsAutoPlaceHolderBatch [not-in-charge]() + 53 (nsEditorUtils.h:66)
13  libgklayout.dylib        	0x18b335d5 nsAutoEditBatch::~nsAutoEditBatch [in-charge]() + 17 (nsEditorUtils.h:78)
14  libgklayout.dylib        	0x1895e235 nsHTMLEditor::Indent(nsAString_internal const&) + 1987 (nsHTMLEditor.cpp:2846)
15  libcomposer.dylib        	0x3a40afd0 nsIndentCommand::DoCommand(char const*, nsISupports*) + 136 (nsComposerCommands.cpp:532)
16  libembedcomponents.dylib 	0x173a2c66 nsControllerCommandTable::DoCommand(char const*, nsISupports*) + 212 (nsControllerCommandTable.cpp:191)
17  libembedcomponents.dylib 	0x1739e17b nsBaseCommandController::DoCommand(char const*) + 317 (nsBaseCommandController.cpp:169)
18  libembedcomponents.dylib 	0x173a0eed nsCommandManager::DoCommand(char const*, nsICommandParams*, nsIDOMWindow*) + 279 (nsCommandManager.cpp:257)
19  libgklayout.dylib        	0x186c9232 nsHTMLDocument::ExecCommand(nsAString_internal const&, int, nsAString_internal const&, int*) + 756 (nsHTMLDocument.cpp:4042)
20  libxpcom_core.dylib      	0x0135af70 NS_InvokeByIndex + 98 (xptcinvoke_unixish_x86.cpp:179)
...
Flags: blocking1.9?
(Reporter)

Updated

11 years ago
Summary: Crash [@ nsThebesRenderingContext::SetFont] → Crash [@ nsThebesRenderingContext::SetFont] [@ nsThebesRenderingContext::GetNativeGraphicData]
(Reporter)

Updated

11 years ago
Summary: Crash [@ nsThebesRenderingContext::SetFont] [@ nsThebesRenderingContext::GetNativeGraphicData] → Crash [@ nsThebesRenderingContext::SetFont] [@ nsThebesRenderingContext::GetNativeGraphicData] (trying to scroll option text into view?)

Updated

11 years ago
Flags: blocking1.9? → blocking1.9+
Target Milestone: --- → mozilla1.9beta1

Comment 1

11 years ago
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/20070625 Minefield/3.0a6pre

not reproducible in latest trunk build
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 2

11 years ago
Verified WFM (Mac trunk).  No crash, no assertions.
Status: RESOLVED → VERIFIED
(Reporter)

Comment 3

10 years ago
Crashtest checked in.
Flags: in-testsuite+
(Assignee)

Updated

7 years ago
Crash Signature: [@ nsThebesRenderingContext::SetFont] [@ nsThebesRenderingContext::GetNativeGraphicData]
You need to log in before you can comment on or make changes to this bug.