Closed
Bug 115835
Opened 23 years ago
Closed 23 years ago
NPP_Destroy or NP_Shutdown cause crash if called after window closes
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
People
(Reporter: larry, Assigned: serhunt)
References
()
Details
(Keywords: crash)
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4)
Gecko/20011019 Netscape6/6.2
We have a plugin that works fine in Netscape 4.x and we are trying
to make it work with Netscape 6.x. When we close Netscape 6.x after viewing
content with our plugin, we get an Access Violation error (only with Windows
2000). The problem seems to be that in Netscape 6, NPP_Destroy and
NPP_Shutdown are called after the window is closed.
In Netscape 4, these two methods are called before the window is destroyed.
I can still see Netscape on my task bar when the debugger stops in NPP_Destroy
and NPP_Shutdown. But with Netscape 6, when the debugger stops in NPP_Destroy,
the window is already destroyed and Netscape is no longer present on my taskbar.
Some of the methods we call from NPP_Destroy need the HWND and the HDC. But
they are no longer valid.
Reproducible: Always
Steps to Reproduce:
1. Install the AXEL plugin from www.mindavenue.com on a win 2000 PC
2. Look at any page with AXEL content, then exit Netscape 6.2.
3. Crash!
Actual Results: Crash on exit
Expected Results: Not crash.
Comment 1•23 years ago
|
||
Your server seems to be down for me.
And this is not a Netscape bug database...
Do you see this bug with a recent mozilla build ?
(Please try a nightly build if possible:
http://ftp.mozilla.org/pub/mozilla/nightly/latest-0.9.7/)
And please use a talkback enabled build and after you crashed and talkback
submitted the crash, run mozilla\bin\components\talkback.exe and add the
Talkback ID in this bug.
Thanks
Severity: normal → critical
Keywords: crash
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter, is there any difference when you exit through File/Quit and Close
button in the windows top right corner?
Comment 3•23 years ago
|
||
Larry, pls-pls confirm this problem with a 'most recent' build...
I still get the crash with Mozilla 0.9.6+ (Windows; U; Windows NT 5.0; en-US;
rv:0.9.6+) Gecko/20011211 BUT only on File->Exit, not when I use the window's
close button.
i see this on the newest nightly build on win 2k. I will try to get a stack
trace up here or at least something more specific.
Also, I see this whether I use File->Exit or just the close window button, it
doesnt matter.
anthonyd
Updated•23 years ago
|
Keywords: 4xp
Summary: crash on exit when viewing page with plugin → NPP_Destroy or NP_Shutdown cause crash if called after window closes
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
I think this is it. Symptoms are very familiar. Resolving.
*** This bug has been marked as a duplicate of 66748 ***
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•