Closed Bug 66005 Opened 24 years ago Closed 23 years ago

Crash on EMBED tag

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME
mozilla1.0

People

(Reporter: vectro, Assigned: serhunt)

References

()

Details

(Keywords: crash)

Attachments

(2 files)

The attached HTML page crashes mozilla every time. My build ID is 2001010517 (Mozilla 0.7). This page came from www.lordoftherings.net/flash.html, but I've extracted all but the offending code.
WORKSFORME Platform: PC OS: Windows 98 Mozilla Build: 2001011904 Reporter try using the latest nightlies and a new profile and see if that fixes the problem.
Keywords: testcase
Nope, still fails, using: Platform: PC OS: Linux 2.2.16 Build: 2001011912 I'm using Linux so there aren't any profiles.
Run: ./mozilla -profilemanager To create a NEW profile and try again.
OK. I created a new profile, but it still dies. I forgot to mention what it prints on the console: Document file:///tmp/lotr.html loaded successfully Error: Object "drawingArea" does not have windowed ancestor
can you pls mail me the swf file mentioned on this page ? Thanks!
I should point out that it crashes without the flash animation present; So I would say it's pretty clear the problem is with the HTML, rather than the Flash.
Marking NEW as per comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Worksforme, reloaded and opened the page several times and no crash. Mozilla 2001011820 on Windows 2000 SP1.
sending to : browser general
Assignee: av → asa
Component: Plug-ins → Browser-General
QA Contact: shrir → doronr
I do not crash here without the flash plugin installed. tested with 011906 linux build on redhat 6.2
Upon further analysis, it appears the following HTML is enough to crash mozilla 0.7: <html> <body> <embed src="x.swf"> </embed> </body> </html> The flash plugin does not exist. Mozilla prints this on the console: Registering plugin 0 for: "*","All types",".*" Error: Object "drawingArea" does not have windowed ancestor
Component: Browser-General → Plug-ins
Keywords: testcase
Summary: Crash on object HTML → Crash on EMBED tag
reassign
Assignee: asa → av
QA Contact: doronr → shrir
I do not see this crash on linux branch and trunk 0122. Reporter, please reverify with a recent build. Tehre was a crash fix for flash last week that fixed this problem. Thanks!
I have two SuSE 7.0 systems. On one system (fresh SuSE istallation) everything is fine. But on the other one (2 year old system updated every few months) I can fully reproduce the crash. What lib is responsible for the error message? gtk? motif? xlib? (see http://lxr.mozilla.org/seamonkey/search?string=drawingArea)
Just saw this crash at the URL http://www.wired.com/news/technology/0,1282,41573,00.html and get the error "Error: Object "drawingArea" does not have windowed ancestor" in the terminal. Code on page includes the following which, after reading comments for this bug, seems pertinent: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=upper_corner WIDTH=300 HEIGHT=210> <PARAM NAME=movie VALUE="/news/flash/mm_news_resize21.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <SCRIPT LANGUAGE=JavaScript> <!-- var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0; if ( plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4 ) { // Check for Flash version 5 or greater in Netscape document.write(' <EMBED src="/news/flash/mm_news_resize21.swf" quality=high bgcolor=#FFFFFF '); document.write(' swLiveConnect=FALSE WIDTH=300 HEIGHT=210 '); document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"><br><img width=300 height=1 src="/news/images/spacer.gif" border=0> '); } else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){ // Netscape 2 will display the IMG tag below so don't write an extra one document.write('<a href="http://www.macromedia.com/go/pbanner_wirednews_fl_player"><img border="0" src="http://a1112.g.akamai.net/7/1112/492/02012000/static.wired.com/news/flash/macromedia_alternate.gif" width="117" height="210" name="logo" border=0></a>'); } //--> </SCRIPT> <NOEMBED><a href="http://www.macromedia.com/go/pbanner_wirednews_fl_player"><img border="0" src="http://a1112.g.akamai.net/7/1112/492/02012000/static.wired.com/news/flash/macromedia_alternate.gif" width="117" height="210" name="logo" border=0></a></NOEMBED> <NOSCRIPT><a href="http://www.macromedia.com/go/pbanner_wirednews_fl_player"><img border="0" src="http://a1112.g.akamai.net/7/1112/492/02012000/static.wired.com/news/flash/macromedia_alternate.gif" width="117" height="210" name="logo" border=0></a></NOSCRIPT> </OBJECT>
Sorry that code turned out so garbled... pasting in mozilla text boxes can be a real chore :-\ BTW, I do have the flash plugin installed, along with the real player plugin (gcc 2.95 build) and the java plugin. Running Linux Mandrake 7.1 Mozilla trunk build 2001020109
Moving to m1.0
Target Milestone: --- → mozilla1.0
Just to note, on my system this does not set off talkback.
talkback seems to have been broken again since June 1st...
With this build, I get talkback on other browser crashes, e.g. the history crash. Just not with this one.
I found a workaround (removing Netscape4.x plugins). Please see #82716, should probably have been done a duplicate of this bug.
Keywords: crash
OK, there may be some connection between this bug and netscape 4.x, but I can't find it. I have two machines both running redhat 6.x. The desktop machine had netscape 4.77 installed (with the flash plugin), the laptop had netscape 4.3x installed (no flash plugin.) This bug appears on the desktop but not the laptop. Unfortunately, removing ~/.mozilla and ~/.netscape, and uninstalling netscape, did not make this bug go away. I copied the installed mozilla from the laptop, but that didn't solve it either.
Have a look at bug 79601 http://bugzilla.mozilla.org/show_bug.cgi?id=79601 Looks like a duplicate. Especially after the last comments I've added there.
Have a look at bug 85701 as well. Looks liek a duplicate.
From bug 82716 (EMBED and plugin error: Error: Object "drawingArea" does not have windowed ancestor): ------- Additional Comments From gerhard.olsson@tjohoo.se 2001-06-10 10:06 ------- I found a workaround: A plugin was defined in /usr/local/lib/netscpe/plugins (plugger.so). When moving this file to /usr/local/mozilla/plugins/, mozilla no longer crashes. Also, the removed plugins can be moved back. I suggest the crach is attended, but (at least in my case), there is a simple workaround.
*** Bug 82716 has been marked as a duplicate of this bug. ***
btw: This bug does not seem to show up if you have the necessary plugin installed... I guess it has somehting to do with the plugin request process?
I am no longer seeing this bug on 2001091311 (Moz 0.9.4). But if I move the Netscape flash plugin into the Mozilla plugins directory, the bug reappears. It looks like the problem was that moz was trying the Netscape plugin if it didn't have it itself, but that's been changed.
Can someone who is seeing this attach a stack trace or Talkback ID#. Thanks!
As mentionned above, I am no longer experiencing this bug. However, when I was, the crash did not generate a talkback submission, although other crashes did.
wfm using build 2001103113 on Linux (RH 6.2, glibc 2.1.3) + Flash 5.0r47.
--->WFM
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: