Closed
Bug 238657
Opened 22 years ago
Closed 22 years ago
Native function calls js_NewString calls js_GC at a bad time
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: shantirao, Unassigned)
Details
Attachments
(1 file)
|
1.66 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
Garbage collection called from inside a js_New() function invoked by a native
method can crash SM.
Reproducible: Always
Steps to Reproduce:
1. Compile and run the attached program
| Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
JS_AddRoot(cx,s); <----- ???
Isn't this adding the root to the wrong thing?
| Reporter | ||
Comment 3•22 years ago
|
||
Oops, my bad.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•