Closed Bug 5215 Opened 26 years ago Closed 26 years ago

[PP]Crash on loading http://www.real.com

Categories

(Core :: Layout, defect, P1)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dead, Assigned: joki)

References

()

Details

This crashed apprunner. The crash happened, apparently, while it was displaying the popup window. Unfortunately I don't have a stack trace.
Assignee: troy → kipp
Kipp, works on NT. Can you try it on Linux?
Severity: major → critical
Status: NEW → ASSIGNED
Priority: P3 → P1
Assignee: kipp → vidur
Severity: critical → normal
Status: ASSIGNED → NEW
The program is crashing trying to open a window from javascript. Its' dying at line 1558 of nsGlobalWindow.cpp: (gdb) l 1548 NS_OK != newContextOwner->GetScriptGlobalObject(&newGlobalObject)) { 1549 1550 NS_IF_RELEASE(newWindow); 1551 NS_IF_RELEASE(newInnerShell); 1552 NS_IF_RELEASE(newOuterShell); 1553 NS_IF_RELEASE(newContextOwner); 1554 return NS_ERROR_FAILURE; 1555 } 1556 1557 NS_RELEASE(newWindow); 1558 NS_RELEASE(newInnerShell); 1559 NS_RELEASE(newOuterShell); 1560 NS_RELEASE(newContextOwner); 1561 } newInnerShell is nsnull. newOuterShell and newContextOwner are not nsnull. Here is the stack trace: #0 0x405bc76f in GlobalWindowImpl::Open (this=0x817a808, cx=0x816bbc0, argv=0x837e80c, argc=3, aReturn=0xbfffdae4) at nsGlobalWindow.cpp:1558 #1 0x405b635a in WindowOpen (cx=0x816bbc0, obj=0x819cd00, argc=3, argv=0x837e80c, rval=0xbfffdb90) at nsJSWindow.cpp:1366 #2 0x4085ba57 in js_Invoke (cx=0x816bbc0, argc=3, constructing=0) at jsinterp.c:650 #3 0x4086b62e in js_Interpret (cx=0x816bbc0, result=0xbfffdf38) at jsinterp.c:2183 #4 0x4085bab5 in js_Invoke (cx=0x816bbc0, argc=0, constructing=0) at jsinterp.c:666 #5 0x4086b62e in js_Interpret (cx=0x816bbc0, result=0xbfffe30c) at jsinterp.c:2183 #6 0x4085bab5 in js_Invoke (cx=0x816bbc0, argc=0, constructing=0) at jsinterp.c:666 #7 0x4086b62e in js_Interpret (cx=0x816bbc0, result=0xbfffe6e0) at jsinterp.c:2183 #8 0x4085bab5 in js_Invoke (cx=0x816bbc0, argc=0, constructing=0) at jsinterp.c:666 #9 0x4086b62e in js_Interpret (cx=0x816bbc0, result=0xbfffeab4) at jsinterp.c:2183 #10 0x4085bab5 in js_Invoke (cx=0x816bbc0, argc=1, constructing=0) at jsinterp.c:666 #11 0x4085bd6c in js_CallFunctionValue (cx=0x816bbc0, obj=0x819cd00, fval=135913728, argc=1, argv=0xbfffec10, rval=0xbfffec14) at jsinterp.c:735 #12 0x408354d9 in JS_CallFunctionValue (cx=0x816bbc0, obj=0x819cd00, fval=135913728, argc=1, argv=0xbfffec10, rval=0xbfffec14) at jsapi.c:2369 #13 0x405d1a19 in nsJSEventListener::HandleEvent (this=0x8202f88, aEvent=0x82a7890) at nsJSEventListener.cpp:97 #14 0x402c3306 in nsEventListenerManager::HandleEvent (this=0x82026c8, aPresContext=@0x8153af0, aEvent=0xbfffed0c, aDOMEvent=0xbfffec88, aFlags=3, aEventStatus=@0xbfffed38) at nsEventListenerManager.cpp:870 #15 0x405bd910 in GlobalWindowImpl::HandleDOMEvent (this=0x817a808, aPresContext=@0x8153af0, aEvent=0xbfffed0c, aDOMEvent=0xbfffec88, aFlags=1, aEventStatus=@0xbfffed38) at nsGlobalWindow.cpp:1888 #16 0x40025c3f in nsWebShell::OnEndDocumentLoad (this=0x80d9a38, aURL=0x81228d8, aStatus=0) at nsWebShell.cpp:2340 #17 0x4001d04b in nsDocLoaderImpl::FireOnEndDocumentLoad (this=0x80d9f28, aStatus=0) at nsDocLoader.cpp:1286 #18 0x4001d4a2 in nsDocLoaderImpl::LoadURLComplete (this=0x80d9f28, aURL=0x8236160, aBindInfo=0x8236358, aStatus=0) at nsDocLoader.cpp:1444
Assignee: vidur → joki
Status: NEW → ASSIGNED
Target Milestone: M6
Kipp put in a fix for this in nsGlobalWindow::Open(). Tom should check it out.
Summary: Crash on loading → [PP]Crash on loading http://www.real.com
petersen, please try on latest build with all platforms (no Mac data here) and give us results please.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
The code here looks fine now. Since no ones been by this bug in at least a week I'm marking it fixed.
From my testing with the 5/19 build, real.com loads fine on Linux, Mac , and Windows.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.