Closed Bug 572892 Opened 16 years ago Closed 16 years ago

Several problems with shell workers.

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kpalacz, Assigned: kpalacz)

Details

Attachments

(1 file)

Running the debug builds with shell workers uncovers 2 failed asserts. The AvmCore constructor captures the current thread id, but with multiple workers, the AvmCore is instatiated on one thread and run on another. The AvmCore destructor is run outside of MMGC_ENTER, which triggers a second assert. The worker code also deadlocks under certain circumstances.
Attached patch 3 fixes. — — Splinter Review
Assignee: nobody → kpalacz
Attachment #452113 - Flags: review?(lhansen)
Comment on attachment 452113 [details] [diff] [review] 3 fixes. Any reason the assignment to core->codeContextThread is commented out in ~CoreNode?
Attachment #452113 - Flags: review?(lhansen) → review+
(In reply to comment #2) > (From update of attachment 452113 [details] [diff] [review]) > Any reason the assignment to core->codeContextThread is commented out in > ~CoreNode? I don't think at AvmCore deletion time we should have any active MethodFrames, and that's where codeContextThread is checked currently, but perhaps that could change, I uncommented (the assignment wasn't there before the patch).
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: