How to reproduce: -Load simple pluglet. -Press reload Mozilla crashes
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
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
Akhil Arora has reviewed my changes. As module owner, I will check them in.
Adding crash keyword
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.
Status: RESOLVED → VERIFIED
QA Contact: leila.garin → avm
Component: Java-Implemented Plugins → Java-Implemented Plugins
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.