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)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED INVALID

People

(Reporter: shantirao, Unassigned)

Details

Attachments

(1 file)

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
JS_AddRoot(cx,s); <----- ??? Isn't this adding the root to the wrong thing?
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.

Attachment

General

Creator:
Created:
Updated:
Size: