Closed
Bug 374090
Opened 19 years ago
Closed 19 years ago
Crash [@ nsGfxScrollFrameInner::GetScrollPortSize] with noframes and setting binding on root element
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: smaug)
References
Details
(Keywords: crash, regression, testcase)
Crash Data
Attachments
(2 files, 1 obsolete file)
|
319 bytes,
text/html
|
Details | |
|
1.66 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
See testcase, which crashes current trunk builds on load.
Talkback ID: TB30264927H
0x46000000
nsGfxScrollFrameInner::GetScrollPortSize [mozilla/layout/generic/nsgfxscrollframe.h, line 172]
nsGfxScrollFrameInner::FireScrollPortEvent [mozilla/layout/generic/nsgfxscrollframe.cpp, line 1524]
nsGfxScrollFrameInner::AsyncScrollPortEvent::Run [mozilla/layout/generic/nsgfxscrollframe.cpp, line 1895]
NS_ProcessNextEvent_P [mozilla/xpcom/build/nsthreadutils.cpp, line 225]
nsBaseAppShell::Run [mozilla/widget/src/xpwidgets/nsbaseappshell.cpp, line 153]
This regressed between 2007-03-04 and 2007-03-05, probably a regression from bug 363253.
| Reporter | ||
Updated•19 years ago
|
Flags: blocking1.9?
| Assignee | ||
Comment 1•19 years ago
|
||
Flushing kills the (outer) frame :(
(We should start thinking whether it is possible to remove some of the
uses of WeakFrame)
Assignee: nobody → Olli.Pettay
Status: NEW → ASSIGNED
Attachment #261272 -
Flags: superreview?(roc)
Attachment #261272 -
Flags: review?(roc)
| Assignee | ||
Comment 2•19 years ago
|
||
Btw, for some reason I see the crash only on non-debug-builds
Why don't you just move the flush to AsyncScrollPortEvent.Run before you check mInner again?
| Assignee | ||
Comment 4•19 years ago
|
||
That sounds better yes. Will make a new patch.
| Assignee | ||
Comment 5•19 years ago
|
||
Except that I'd need to call mAsyncScrollPortEvent.Forget() before flushing, I think, and after that accessing mInner may not be safe.
(In reply to comment #5)
> Except that I'd need to call mAsyncScrollPortEvent.Forget() before flushing, I
> think
why?
| Assignee | ||
Comment 7•19 years ago
|
||
Attachment #261272 -
Attachment is obsolete: true
Attachment #261372 -
Flags: superreview?(roc)
Attachment #261372 -
Flags: review?(roc)
Attachment #261272 -
Flags: superreview?(roc)
Attachment #261272 -
Flags: review?(roc)
Attachment #261372 -
Flags: superreview?(roc)
Attachment #261372 -
Flags: superreview+
Attachment #261372 -
Flags: review?(roc)
Attachment #261372 -
Flags: review+
| Assignee | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Flags: blocking1.9?
Resolution: --- → FIXED
Updated•19 years ago
|
Flags: in-testsuite?
Updated•15 years ago
|
Crash Signature: [@ nsGfxScrollFrameInner::GetScrollPortSize]
Comment 8•12 years ago
|
||
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•