Closed Bug 418614 Opened 18 years ago Closed 18 years ago

js1_5/Regress/regress-249211.js no longer completes in browser debug build

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: bc, Assigned: igor)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file, 2 obsolete files)

In opt browser builds, the test will print: BUGNUMBER: 249211 STATUS: support export and import for 4xp PASSED! support export and import for 4xp however, in browser debug builds the PASSED line is never output. Reproduced locally with linux and on the test farm with windows. Mac does not appear affected. It appears to have regressed in the last 24 hours.
Flags: in-testsuite+
Flags: in-litmus-
Flags: blocking1.9?
ditto js1_5/Regress/regress-354924.js
Assignee: general → igor
Blocks: 416439
Attached patch v1 (obsolete) — Splinter Review
I should learn to like OK.
Attachment #304519 - Flags: review?(mrbkap)
Comment on attachment 304519 [details] [diff] [review] v1 >+ if (ok) > goto error; Er, don't you mean |if (!ok)|?
Attached patch v2 (obsolete) — Splinter Review
Fixing the issue from the previous comment.
Attachment #304519 - Attachment is obsolete: true
Attachment #304525 - Flags: review?(mrbkap)
Attachment #304519 - Flags: review?(mrbkap)
Attachment #304525 - Flags: review?(mrbkap) → review+
Attached patch v3Splinter Review
The new patch uses a better assert: ok is true if and only if we have looped through the whole array.
Attachment #304525 - Attachment is obsolete: true
Attachment #304526 - Flags: review?(mrbkap)
Attachment #304526 - Flags: review?(mrbkap) → review+
Comment on attachment 304526 [details] [diff] [review] v3 The patch fixes a regression, a read of released memory.
Attachment #304526 - Flags: approval1.9?
Comment on attachment 304526 [details] [diff] [review] v3 Sorry, I'm dense (I clearly failed at code review here) -- what was the bug? Approving anyway, and off to get more coffee (late night). /be
Attachment #304526 - Flags: approval1.9? → approval1.9+
The bug was: JS_DestroyIdArray(cx, ida); - if (i != ida->length) since JS_DestroyIdArray = JS_free.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
(In reply to comment #8) > The bug was: > JS_DestroyIdArray(cx, ida); > - if (i != ida->length) > > since JS_DestroyIdArray = JS_free. Too funny -- I saw that as the caffeine hit ;-). /be
v
Status: RESOLVED → VERIFIED
Flags: blocking1.9?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: