Closed
Bug 461813
Opened 17 years ago
Closed 17 years ago
crash in [@ nsFrameSelection::HandleDrag]
Categories
(Core :: DOM: Selection, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: vlad, Assigned: vlad)
References
Details
(Keywords: crash, verified1.9.1)
Crash Data
Attachments
(2 files)
|
628 bytes,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
|
628 bytes,
text/html
|
Details |
Crash report:
http://crash-stats.mozilla.com/report/index/a795e040-a45f-11dd-b7a9-001cc4e2bf68?p=1
Almost certainly caused by https://bugzilla.mozilla.org/show_bug.cgi?id=459921#c13 -- filing this bug to track a fix, since i'm not sure if it just needs a null check or needs some more code around it.
Flags: blocking1.9.1+
Severity: normal → critical
Keywords: crash
Summary: crash in nsFrameSelection::HandleDrag → crash in [@ nsFrameSelection::HandleDrag]
Updated•17 years ago
|
Assignee: nobody → uriber
| Assignee | ||
Comment 1•17 years ago
|
||
I crash in this at least 2-3x daily. Not sure if this is the right fix codewise, but it would make my crash go away.
Assignee: uriber → vladimir
Attachment #345413 -
Flags: superreview?(roc)
Attachment #345413 -
Flags: review?(roc)
I think that null check should go down inside the "if (NS_SUCCEEDED(frame->...))"
| Assignee | ||
Comment 3•17 years ago
|
||
The crash is the NS_SUCCEEDED bit, not the later one. That is, GetFrameForNodeOffset is returning NULL, so that whole block wouldn't do much, right?
Comment 4•17 years ago
|
||
Is this the same as this crash?
http://crash-stats.mozilla.com/report/index/35b14c21-a61b-11dd-b43a-001321b13766?p=1
If so, I might be able to get a testcase, if wanted.
I mean it should be "if (frame && NS_SUCCEEDED(frame->...))", like the similar code below.
A crashtest would be good.
Comment 7•17 years ago
|
||
Ok, I get the crash I mentioned with this testcase. Just move your mouse over the window of the testcase, it should crash very soonish.
I tried to make a fully automated testcase that crashes, by using mousemove events, but I didn't succeed at that.
Attachment #345413 -
Flags: superreview?(roc)
Attachment #345413 -
Flags: superreview+
Attachment #345413 -
Flags: review?(roc)
Attachment #345413 -
Flags: review+
Comment 8•17 years ago
|
||
bp-4f3f1347-a6c9-11dd-80d1-001a4bd43ef6 using Windows XP with same stack as the crash mentioned in #c4.
OS: Mac OS X → All
Comment 9•17 years ago
|
||
Sorry for not being around to fix this, and thanks, Vlad, for providing a fix.
Comment 10•17 years ago
|
||
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 11•17 years ago
|
||
The testcase I attached to this bug is still crashing in current trunk build, so I filed bug 466856 for that.
Updated•17 years ago
|
Keywords: fixed1.9.1
Comment 12•17 years ago
|
||
I'm not sure what's up with this bug as it's in a Resolved:FIXED state, while the last comment states that the bug is still crashing in the "current" trunk build on 11/26/2008. Can we get an update on this?
Comment 13•17 years ago
|
||
This bug is fixed, I filed a new bug for the testcase that I attached.
Comment 14•17 years ago
|
||
verified FIXED on builds: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090413 Minefield/3.6a1pre ID:20090413031052
and
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090413 Minefield/3.6a1pre ID:20090413031052
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Comment 15•17 years ago
|
||
ack, here's the build ID for Shiretoko Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090413 Shiretoko/3.5b4pre ID:20090413031313
Updated•15 years ago
|
Crash Signature: [@ nsFrameSelection::HandleDrag]
You need to log in
before you can comment on or make changes to this bug.
Description
•