Closed Bug 122591 Opened 24 years ago Closed 24 years ago

cloneContents() crashes browser

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 120366

People

(Reporter: robert, Assigned: jst)

Details

(Keywords: crash)

Attachments

(1 file)

- Open the attached test (notice it automatically selects "Foobar" - Wait 3 seconds while it grabs the selection range and clones it * Notice everything works fine (the "grabbing selection ..." text changes to a green "cloned") - Now refresh the page, but in the 3 seconds you have before the selection is grabbed, select the "Narf foo" text instead. * Notice nothing happens this time (the cloneContents() call throws an uncatchable exception for some reason) - Now try to refresh the page, or show the javascript console * Crash *
Attached file cloneContent test —
Reporter: Please always use severity level "critical" for crashes. Also, always specify which "Build ID" you're using. Thank you for using Bugzilla!
was not able to reproduce the crash using build 2002-01-27-08 win2k.
Build ID: 2002 01 24 03. Windows 2000. I can reproduce the crash: TB2304313W
I can reproduce the crash also with 2002 01 30 03. However, talkback.exe seems not to work in this build so I can't provide an incident id.
I see "cloned (in green color) Narf foobar(in red color) baz" when i load the page. Svante, can you please provide the incident number using the 24th build if talkback works with this build
confirming the bug, crashed with build 01-27-09 also. reloading the page and selecting from "Narf to foo" crashed the browser. talkback failed to open.
Status: UNCONFIRMED → NEW
Ever confirmed: true
As per comment #2. - Setting severity to "critical" - Version is Mozilla 0.9.7 (Build ID: 2001122106)
Severity: major → critical
stephend, would you get Svante's stack? TB2304313W I can't reproduce this on current linux, btw. Windows-only?
Keywords: crash
nsRange::CopyContents [d:\builds\seamonkey\mozilla\content\base\src\nsRange.cpp, line 2563] nsRange::CloneContents [d:\builds\seamonkey\mozilla\content\base\src\nsRange.cpp, line 1737] XPTC_InvokeByIndex [d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp, line 106] XPCWrappedNative::CallMethod [d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednative.cpp, line 2000] XPC_WN_CallMethod [d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp, line 1267] js_Invoke [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 834] js_Interpret [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 2799] js_Execute [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 1014] JS_EvaluateUCScriptForPrincipals [d:\builds\seamonkey\mozilla\js\src\jsapi.c, line 3358] nsJSContext::EvaluateString [d:\builds\seamonkey\mozilla\dom\src\base\nsJSEnvironment.cpp, line 677] GlobalWindowImpl::RunTimeout [d:\builds\seamonkey\mozilla\dom\src\base\nsGlobalWindow.cpp, line 3861] GlobalWindowImpl::TimerCallback [d:\builds\seamonkey\mozilla\dom\src\base\nsGlobalWindow.cpp, line 4187] nsTimerImpl::Process [d:\builds\seamonkey\mozilla\xpcom\threads\nsTimerImpl.cpp, line 247] PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 591] PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 524] _md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1072] nsAppShellService::Run [d:\builds\seamonkey\mozilla\xpfe\appshell\src\nsAppShellService.cpp, line 308] main1 [d:\builds\seamonkey\mozilla\xpfe\bootstrap\nsAppRunner.cpp, line 1301] main [d:\builds\seamonkey\mozilla\xpfe\bootstrap\nsAppRunner.cpp, line 1628] WinMain [d:\builds\seamonkey\mozilla\xpfe\bootstrap\nsAppRunner.cpp, line 1646] WinMainCRTStartup() KERNEL32.DLL + 0x192a6 (0x77e992a6)
Duplicate of "Crash in nsRange::CopyContents()" (same stack). *** This bug has been marked as a duplicate of 120366 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
marking verified, same trace
Status: RESOLVED → VERIFIED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: