Closed Bug 6339 Opened 26 years ago Closed 26 years ago

Blocker: crash closing editor window after typing text

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: paulmac, Assigned: sfraser_bugs)

Details

(Whiteboard: crashes on linux/win/mac)

Today's 5/13 build is crashing on win95 if you do the following: 1. Launch Apprunner 2. Opening the Editor via the tasks menu 3. Type any amount of text 4. Close window with the X button The tracking ID is EML29BFR and the stack is: Call Stack: (Signature = 0x0235405f 26415ab0) 0x0235405f RAPTORHTML.DLL + 0x7e648 (0x016fe648) RAPTORHTML.DLL + 0x7e76c (0x016fe76c) TimerImpl::Fire [d:\builds\seamonkey\mozilla\base\src\windows\nsTimer.cpp, line 310] TimerImpl::ProcessTimeouts [d:\builds\seamonkey\mozilla\base\src\windows\nsTimer.cpp, line 187] FireTimeout [d:\builds\seamonkey\mozilla\base\src\windows\nsTimer.cpp, line 103] KERNEL32.DLL + 0x241d (0xbff7241d) USER32.DLL + 0x3372 (0xbff63372) Doesn't look like nsTimer.cpp has been touched for months, so don't know who to blame. Marking blocker as it's one of the smoketests. Doesn't happen on linux. Mac builds not available yet.
OS: Windows 95 → All
Hardware: PC → All
Whiteboard: crashes on linux/win
Correction, crashes on linux also, changing platform to all (assuming Mac will probably fail also).
cc'ing sfraser -- this sounds very similar to http://bugzilla.mozilla.org/show_bug.cgi?id=6295
confirmed...I see this behavior also..
Whiteboard: crashes on linux/win → crashes on linux/win/mac
same behavior on mac
Assignee: kostello → sfraser
This is the usual mem leak of the pres shell, which causes the caret to keep blinking. I was not aware that there was a crash when you had only one editor window open; I do know that it crashes when you have two open, and you close one of them.
QA, please be explicit about whether this crash happens when you've only made one editor window, and you are closing it. Also, take note of what you type; sometimes, spaces or returns can have different effects on leakage.
yes simon, it crashes even with 1 window open...
okay after further investigation: Opening just one editor window and simply clicking in it(giving it focus) is enough to trigger the behavior we're seeing which is crashing after closing the app.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I'm pretty sure I just fixed this; DoEditorMode was addreffing the pres shell one too many times.
Status: RESOLVED → VERIFIED
verified fixed on all platforms
*** Bug 6295 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.