Closed Bug 563127 Opened 14 years ago Closed 14 years ago

TM: Crash [@ js_GetCurrentBytecodePC] with evalcx

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta2+
status1.9.2 --- unaffected
status1.9.1 --- unaffected

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: crash, regression, testcase, Whiteboard: [ccbr][sg:dos] fixed by 563099)

Crash Data

Attachments

(1 file)

function a() {}
a();
for(var j=0;j<3;++j){ evalcx("lazy");}
Attached file stack trace from mac
OS: Linux → All
Hardware: x86_64 → All
(gdb) x/i $eip
0x21c69 <_Z23js_GetCurrentBytecodePCP9JSContext+25>:    mov    0x14(%eax),%edx
(gdb) x/1b $eax
0x0:    Cannot access memory at address 0x0

This seems to be a null +14 dereference.
Keywords: regression
Whiteboard: [ccbr][sg:dos]
I don't think this can happen inside the browser from content, so I will leave this open for now.
autoBisect shows this is probably related to bug 551680:

The first bad revision is:
changeset:   39494:eba4f78cdca4
user:        Igor Bukanov
date:        Wed Mar 17 10:29:37 2010 +0300
summary:     bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap
Blocks: 551680
blocking2.0: --- → ?
This crash is now flooding jsfunfuzz. Urgh.
blocking2.0: ? → beta1+
blocking2.0: beta1+ → beta2+
autoBisect shows this is probably related to the following changeset:

The first good revision is:
changeset:   44269:3aaaa21012c8
user:        Jason Orendorff
date:        Wed Jun 23 16:35:10 2010 -0500
summary:     Bug 563099 - Compartments and wrappers API. r=gal.

Bug 563099 seems to have fixed the assert.
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Depends on: compartments-api
Whiteboard: [ccbr][sg:dos] → [ccbr][sg:dos] fixed by 563099
Crash Signature: [@ js_GetCurrentBytecodePC]
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: