Closed Bug 157453 Opened 23 years ago Closed 23 years ago

In full-page plug-in mode, closing the window before plug-in content is completely loaded results in crash [@ objc_msgSend]

Categories

(Camino Graveyard :: Plug-ins, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
Chimera0.6

People

(Reporter: chrispetersen, Assigned: bnesse)

References

()

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Build: 2002-07-14-05 NB Expected Results: Window is closed and no crash occurs What I got: Window closes but application crashes Steps to reproduce: 1) Open a QT movie directly (to invoke full page plugin mode) in browser.Use the url provided. 2) After plugin has been initialized but before plugin content is completely loaded, close this window. 3) Application crashs.
Attached file Stack trace
plugin timer fires, we crash. ->bnesse
Assignee: saari → bnesse
Confirmed using Chimera/20020715, generating identical stack.
Severity: major → critical
Keywords: crash
Summary: In full page plugin mode, closing the window before plugin content is completely loaded results in crash → In full-page plug-in mode, closing the window before plug-in content is completely loaded results in crash
(I should mention I'm using Quicktime 6 PR. Oh, look, QT 6 has just shipped.)
Blocks: 147975
Any chance on getting this problem resolved soon ?
Not unless you can reproduce it in Mach V... ;)
That's the problem, I can't...
Summary: In full-page plug-in mode, closing the window before plug-in content is completely loaded results in crash → In full-page plug-in mode, closing the window before plug-in content is completely loaded results in crash [@ objc_msgSend]
*** Bug 160915 has been marked as a duplicate of this bug. ***
Can this get nominated for 0.5 milestone ?
Component: Page Layout → Plug-ins
*** Bug 163496 has been marked as a duplicate of this bug. ***
QA Contact: winnie → petersen
*** Bug 169403 has been marked as a duplicate of this bug. ***
We should probably fix this for 0.6 since now apple has a high profile page that contains links to three qt movies which activate full-page plugin mode. http://www.apple.com/hotnews/articles/2002/09/digistory/
Click one of the QT "Watch the movie" images to begin loading the movie. While the movie is still being loaded, close the window. A crash should occur.
Target Milestone: --- → Chimera0.6
Wow, I can no longer reproduce this problem in the 2002-09-27-04 NB. Closing the window while the plugin content is still loading no longer crashs the application. Brian, should we mark this as fixed ?
i fixed a bug last week where we now immediately shut down gecko when closing the window, rather than waiting for 1 event cycle to shut it down after the window is closed. this situation caused all sorts of nasty bugs and timing issues. it's much better now. i think we can mark this fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified in the 2002-09-27-04 NB under OS 10.2.1.
Status: RESOLVED → VERIFIED
Geez, first I collide with Pink... then Chris... Grrrr The other possibility is this part of the patch for bug 154361 which disables the timer notification when Destroy() is called on the plugin: Index: nsPluginViewer.cpp =================================================================== RCS file: /cvsroot/mozilla/modules/plugin/base/src/nsPluginViewer.cpp,v retrieving revision 1.106.2.10.8.1 diff -u -2 -w -r1.106.2.10.8.1 nsPluginViewer.cpp --- nsPluginViewer.cpp 16 Aug 2002 17:35:18 -0000 1.106.2.10.8.1 +++ nsPluginViewer.cpp 26 Sep 2002 17:54:45 -0000 @@ -503,4 +504,7 @@ if(mOwner != nsnull) { + // stop the timer explicitly to reduce reference count. + mOwner->CancelTimer(); + nsIPluginInstance *inst; if(NS_OK == mOwner->GetInstance(inst)) But, hey, fixed is fixed...
No longer blocks: 147975
Crash Signature: [@ objc_msgSend]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: