[webkit-dev] Crash in NetscapeMoviePlugin sample code
Bill Patterson
billpatt at aol.com
Wed Sep 12 03:48:27 PDT 2007
I'm trying to use the NetscapeMoviePlugIn sample code, but I get a
crash when it loads in FireFox or Comino.
If the debugger is running it reports:
Program received signal: "EXC_BAD_INSTRUCTION".
mi_cmd_stack_list_frames: Not enough frames in stack.
If not, I get a crash in Camino 1.5 with:
Exception: EXC_BAD_INSTRUCTION (0x0002)
Code[0]: 0x0000000d
Code[1]: 0x000074dc
Thread 0 Crashed:
0 <<00000000>> 0x170c0710 0 + 386664208
1 org.mozilla.camino 0x005edc45
nsPluginHostImpl::~nsPluginHostImpl [in-charge]() + 783
2 org.mozilla.camino 0x005e4f9c
nsActivePlugin::nsActivePlugin[in-charge](nsPluginTag*,
nsIPluginInstance*, char const*, int, nsIPluginInstancePeer*) + 404
3 org.mozilla.camino 0x005ecc84
nsPluginHostImpl::SetUpDefaultPluginInstance(char const*, nsIURI*,
nsIPluginInstanceOwner*) + 2228
4 org.mozilla.camino 0x00325117
nsObjectFrame::InstantiatePlugin(nsPresContext*,
nsHTMLReflowMetrics&, nsHTMLReflowState const&, nsIPluginHost*, char
const*, nsIURI*) + 637
5 org.mozilla.camino 0x00326829
nsObjectFrame::CreateDefaultFrames(nsPresContext*,
nsHTMLReflowMetrics&, nsHTMLReflowState const&) + 4041
6 org.mozilla.camino 0x003205d4 nsLineLayout::ReflowFrame
(nsIFrame*, unsigned&, nsHTMLReflowMetrics*, int&) + 810
7 org.mozilla.camino 0x002f4c8d
nsBlockFrame::ReflowInlineFrame(nsBlockReflowState&, nsLineLayout&,
nsLineList_iterator, nsIFrame*, unsigned char*) + 117
8 org.mozilla.camino 0x002f53a9
nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState&,
nsLineLayout&, nsLineList_iterator, int*, unsigned char*, int, int,
int) + 727
9 org.mozilla.camino 0x002f55cc
nsBlockFrame::ReflowInlineFrames(nsBlockReflowState&,
nsLineList_iterator, int, int*, int, int) + 178
10 org.mozilla.camino 0x002f57f2 nsBlockFrame::ReflowLine
(nsBlockReflowState&, nsLineList_iterator, int, int*, int) + 466
11 org.mozilla.camino 0x002f5d84
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&, int) + 496
12 org.mozilla.camino 0x002f6fe5
nsBlockFrame::ComputeFinalSize(nsHTMLReflowState const&,
nsBlockReflowState&, nsHTMLReflowMetrics&) + 2609
13 org.mozilla.camino 0x002f85b2
nsBlockReflowContext::ReflowBlock(nsRect const&, int,
nsCollapsingMargin&, int, int, nsMargin&, nsHTMLReflowState&,
unsigned&) + 566
14 org.mozilla.camino 0x002f4124
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&,
nsLineList_iterator, int*) + 414
15 org.mozilla.camino 0x002f56a6 nsBlockFrame::ReflowLine
(nsBlockReflowState&, nsLineList_iterator, int, int*, int) + 134
16 org.mozilla.camino 0x002f5d84
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&, int) + 496
17 org.mozilla.camino 0x002f6fe5
nsBlockFrame::ComputeFinalSize(nsHTMLReflowState const&,
nsBlockReflowState&, nsHTMLReflowMetrics&) + 2609
18 org.mozilla.camino 0x002f85b2
nsBlockReflowContext::ReflowBlock(nsRect const&, int,
nsCollapsingMargin&, int, int, nsMargin&, nsHTMLReflowState&,
unsigned&) + 566
19 org.mozilla.camino 0x002f4124
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&,
nsLineList_iterator, int*) + 414
20 org.mozilla.camino 0x002f56a6 nsBlockFrame::ReflowLine
(nsBlockReflowState&, nsLineList_iterator, int, int*, int) + 134
21 org.mozilla.camino 0x002f5d84
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&, int) + 496
22 org.mozilla.camino 0x002f6fe5
nsBlockFrame::ComputeFinalSize(nsHTMLReflowState const&,
nsBlockReflowState&, nsHTMLReflowMetrics&) + 2609
23 org.mozilla.camino 0x002fd924 nsContainerFrame::ReflowChild
(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, int, int, unsigned, unsigned&) + 94
24 org.mozilla.camino 0x003120d0 CanvasFrame::GetType() const
+ 1358
25 org.mozilla.camino 0x002fd924 nsContainerFrame::ReflowChild
(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, int, int, unsigned, unsigned&) + 94
26 org.mozilla.camino 0x0030db40
nsHTMLScrollFrame::ReflowScrolledFrame(ScrollReflowState const&, int,
int, nsHTMLReflowMetrics*, int) + 288
27 org.mozilla.camino 0x0030dd16
nsHTMLScrollFrame::ReflowContents(ScrollReflowState*,
nsHTMLReflowMetrics const&) + 260
28 org.mozilla.camino 0x0030fe2a nsXULScrollFrame::Layout
(nsBoxLayoutState&) + 1752
29 org.mozilla.camino 0x002fd924 nsContainerFrame::ReflowChild
(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, int, int, unsigned, unsigned&) + 94
30 org.mozilla.camino 0x00346989
ViewportFrame::AdjustReflowStateForScrollbars(nsHTMLReflowState*)
const + 479
31 org.mozilla.camino 0x002e02da IncrementalReflow::Dispatch
(nsPresContext*, nsHTMLReflowMetrics&, nsSize const&,
nsIRenderingContext&) + 224
32 org.mozilla.camino 0x002e4efa
PresShell::ProcessReflowCommands(int) + 684
33 org.mozilla.camino 0x002e508a
PresShell::ProcessReflowCommands(int) + 1084
34 libxpcom_core.dylib 0x00b7e45d PL_HandleEvent + 21
35 libxpcom_core.dylib 0x00b7e716 PL_ProcessPendingEvents + 103
36 com.apple.CoreFoundation 0x9082bf92 CFRunLoopRunSpecific + 1213
37 com.apple.CoreFoundation 0x9082bace CFRunLoopRunInMode + 61
38 com.apple.HIToolbox 0x92de78d8 RunCurrentEventLoopInMode + 285
39 com.apple.HIToolbox 0x92de6fe2 ReceiveNextEventCommon + 385
40 com.apple.HIToolbox 0x92de6e39
BlockUntilNextEventMatchingListInMode + 81
41 com.apple.AppKit 0x9328d465 _DPSNextEvent + 572
42 com.apple.AppKit 0x9328d056 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
43 com.apple.AppKit 0x93286ddb -[NSApplication run] + 512
44 com.apple.AppKit 0x9327ad2f NSApplicationMain + 573
45 org.mozilla.camino 0x0000328a start + 258
46 org.mozilla.camino 0x000031b1 start + 41
This is on a MacBookPro runing 10.4.9.
Is there a newer Netscape plugin example that works for Intel,
FireFox and Camino?
Thanks,
Bill Patterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070912/2f2aa219/attachment.html
More information about the webkit-dev
mailing list