Closed
Bug 8317
Opened 27 years ago
Closed 27 years ago
SMOKETEST: Crash after Closing Editor after changing text
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: paulmac, Assigned: sfraser_bugs)
References
()
Details
(Whiteboard: Have a reviewed fix in hand.)
Using 6/16 builds, I crash on all platforms if I...
1. Open the Editor via the Task Menu
2. Select Some Text
3. Modify the Text by makin it bold (or changing the color, or underline)
4. Deselect the text by DOUBLECLICKING in the Editor Window - you cannot
deselect the text with a single click, by the way (separate bug?)
5. Closing the Editor Window
Note: it seems that the double-click in the Editor Window is what is causing the
crash to occur. You can actually skip steps 2 and 3 to get the crash.
This is basically smoketest#27 at http://www.mozilla.org/quality/smoketests/
Call Stack: (Signature = 0x054e2883 572fa228)
0x054e2883
nsCaret::DrawCaret
[d:\builds\seamonkey\mozilla\layout\base\src\nsCaret.cpp, line 563]
nsCaret::CaretBlinkCallback
[d:\builds\seamonkey\mozilla\layout\base\src\nsCaret.cpp, line 626]
TimerImpl::Fire
[d:\builds\seamonkey\mozilla\gfx\src\windows\nsTimer.cpp, line 310]
TimerImpl::ProcessTimeouts
[d:\builds\seamonkey\mozilla\gfx\src\windows\nsTimer.cpp, line 187]
FireTimeout
[d:\builds\seamonkey\mozilla\gfx\src\windows\nsTimer.cpp, line 103]
KERNEL32.DLL + 0x241d (0xbff7241d)
FireTimeout
[d:\builds\seamonkey\mozilla\gfx\src\windows\nsTimer.cpp, line 83]
USER32.DLL + 0x4cbd (0xbff64cbd)
0x835b0003
| Assignee | ||
Updated•27 years ago
|
Assignee: buster → sfraser
| Assignee | ||
Comment 2•27 years ago
|
||
This looks to me like someone is leaking refs to the document or pres shell on
double click. This is almost certainly in layout: cc:ing joki. I'll look for the
leak.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•27 years ago
|
||
sujay: it would be helpful for you to pin down whether it's JUST the double
click that's needed here, or whether some other series of editing operations
causes the crash.
Its definitely triggered by the double-click along with the highlighting.
Here's How I can get it to crash every single time:
1) launch apprunner and editor
2) double-click to highlight text/word
3) make some change to it like Bold
4) exit apprunner by clicking on "X"
5) re-launch editor and wait a few seconds
crash
| Assignee | ||
Comment 5•27 years ago
|
||
Is step 3 necessary?
| Assignee | ||
Comment 7•27 years ago
|
||
OK, I got it. mjudge was leaking the caret.
| Assignee | ||
Updated•27 years ago
|
Whiteboard: Have a reviewed fix in hand.
| Assignee | ||
Comment 8•27 years ago
|
||
Have a reviewed fix in hand.
| Assignee | ||
Updated•27 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 9•27 years ago
|
||
Fix checked in.
Comment 10•27 years ago
|
||
verified in 6/17 build.
You need to log in
before you can comment on or make changes to this bug.
Description
•