Closed Bug 469824 Opened 16 years ago Closed 16 years ago

crash when using Firefox JS debugger service on cnn.com

Categories

(Core :: JavaScript Engine, defect)

1.9.1 Branch
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 465808
mozilla1.9.1b3

People

(Reporter: bmcquade, Assigned: rginda)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2

Firefox 3.1 beta 1 and 2 both crash on cnn.com when a jsdIScriptHook is registered with the jsdIDebuggerService and that scriptHook attempts to dereference a script's functionSource attribute. This crash happens 100% of the time. It seems to be related to code that gets eval()'d by cnn.com.

I have verified the crash on both Linux and on Windows XP.

This crash does not happen in Firefox 3.0 and older.

This crash happens even if I disable javascript.options.jit.content and javascript.options.jit.chrome.

Reproducible: Always

Steps to Reproduce:
1. enable jsdIDebuggerService and attach a jsdIScriptHook (see attachment for specific example)
2. navigate to cnn.com

Actual Results:  
browser crashes before page load is complete

Expected Results:  
browser should not crash
You will need to enable window.dump() in order to run this example.

To use:
1. save attached file to local disk
2. navigate to the attached file using a file:// URL (e.g. file:///home/user/scriptHookCrash.html)
3. open a new tab
4. navigate to cnn.com in that new tab
5. observe crash
could you please attach a stack trace? i prefer not to run random code, and typically i can fix based on the stack trace.

also, your useragent/buildid say linux, but the os says windows...
Keywords: stackwanted
I have verified the crash on both Linux and on Windows XP.

crash report at:
http://crash-stats.mozilla.com/report/index/5d22a392-d700-4343-a743-39f8e2081216?p=1

Please let me know if you need any additional information.
Keywords: stackwanted
Version: unspecified → 3.1 Branch
The crash is in decompile (script.functionSource).
Assignee: nobody → rginda
Component: General → JavaScript Debugger
Product: Firefox → Other Applications
QA Contact: general → venkman
Target Milestone: --- → mozilla1.9.1b3
Version: 3.1 Branch → 1.9.1 Branch
Platform/OS == All/All per comment #3.

Pretty sure crashes are supposed to be sev: cri. :-)
Severity: normal → critical
OS: Windows XP → All
Hardware: PC → All
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Component: JavaScript Debugger → JavaScript Engine
Product: Other Applications → Core
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: