Closed
Bug 16230
Opened 25 years ago
Closed 25 years ago
pluglets crash mozilla after reload
Categories
(Core Graveyard :: Java-Implemented Plugins, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: blackconnect, Assigned: blackconnect)
Details
(Keywords: crash)
Attachments
(1 file)
696 bytes,
patch
|
Details | Diff | Splinter Review |
How to reproduce: -Load simple pluglet. -Press reload Mozilla crashes
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•25 years ago
|
||
The reason of this bug is as follows: We do not call AddRef for our PlugletInstance. At some point we have 2 reference to our PlugletInstance, butreferenc counter equal to 1. So after first release() PlugletInstance would be destroyed, after second release() mozilla would be crashed. Suggested fix: call NS_ADDREF for newly created PlugletInstance in Pluglet::CreatePlugletInstance
Assignee | ||
Comment 2•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•25 years ago
|
||
Akhil Arora has reviewed my changes. As module owner, I will check them in.
Comment 5•23 years ago
|
||
Verified with Mozilla 0.9.5 (Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.5+) Gecko/20011030). Mozilla do not crashed after reload.
Updated•12 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•