Closed
Bug 572892
Opened 16 years ago
Closed 16 years ago
Several problems with shell workers.
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kpalacz, Assigned: kpalacz)
Details
Attachments
(1 file)
|
3.50 KB,
patch
|
lhansen
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → kpalacz
Attachment #452113 -
Flags: review?(lhansen)
Comment 2•16 years ago
|
||
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+
| Assignee | ||
Comment 3•16 years ago
|
||
| Assignee | ||
Comment 4•16 years ago
|
||
(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).
| Assignee | ||
Updated•16 years ago
|
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.
Description
•