Closed Bug 839945 Opened 11 years ago Closed 2 years ago

Too much recursion error in PeerConnection.js

Categories

(Core :: WebRTC, defect, P4)

x86
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ekr, Assigned: jesup)

Details

When testing for bug 838169 (test case from bug 837324 repeated over and over again), I saw
the following errors:

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "too much recursion" {file: "file:///Users/ekr/dev/mozilla-inbound/objdir-ff-asan/dist/NightlyDebug.app/Contents/MacOS/components/PeerConnection.js" line: 803}]' when calling method: [IPeerConnectionObserver::onStateChange]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0"  data: yes]
************************************************************
###!!! ASSERTION: Failed to create the object: 'Error', file /Users/ekr/dev/mozilla-inbound/dom/base/nsDOMClassInfo.cpp, line 4742
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "too much recursion" {file: "file:///Users/ekr/dev/mozilla-inbound/objdir-ff-asan/dist/NightlyDebug.app/Contents/MacOS/components/PeerConnection.js" line: 803}]' when calling method: [IPeerConnectionObserver::onStateChange]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0"  data: yes]
************************************************************
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "too much recursion" {file: "file:///Users/ekr/dev/mozilla-inbound/objdir-ff-asan/dist/NightlyDebug.app/Contents/MacOS/components/PeerConnection.js" line: 803}]' when calling method: [IPeerConnectionObserver::onStateChange]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0"  data: yes]
************************************************************
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "too much recursion" {file: "file:///Users/ekr/dev/mozilla-inbound/objdir-ff-asan/dist/NightlyDebug.app/Contents/MacOS/components/PeerConnection.js" line: 803}]' when calling method: [IPeerConnectionObserver::onStateChange]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0"  data: yes]
************************************************************
Was it repeated over and over by clicking, or by generating fake clicks, or something else?  Which testcase from that bug was it, or was it modified?
Assignee: nobody → rjesup
Flags: needinfo?(ekr)
Priority: -- → P3
Whiteboard: [WebRTC], [blocking-webrtc-]
the second test case. I just clicked over and over.
Flags: needinfo?(ekr)
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "too much recursion"

Possibly related to: -
https://bugzilla.mozilla.org/show_bug.cgi?id=856969

???
backlog: --- → webRTC+
Rank: 35
Whiteboard: [WebRTC], [blocking-webrtc-]
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.