Closed Bug 39789 Opened 24 years ago Closed 24 years ago

assertion loading plugin

Categories

(Core Graveyard :: Plug-ins, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: buster, Assigned: serhunt)

References

()

Details

click on any of the real video 28.8 links on the above URL.  You will get the 
assertion "data in U+0100-U+FFFF will be lost: '(*first<256)' in 
bufferRoutines.h. 

cc-ing rickg and scc because strings are on the stack.

here's the stack:

nsDebug::Assertion(const char * 0x100b4a68, const char * 0x100b4a58, const char 
* 0x100b4a30, int 302) line 242 + 13 bytes
CopyChars2To1(char * 0x0327f3f0, int 0, const char * 0x0327f460, unsigned int 0, 
unsigned int 67) line 302 + 41 bytes
nsStr::StrAppend(nsStr & {...}, const nsStr & {...}, unsigned int 0, int 67) 
line 171 + 50 bytes
nsStr::StrAssign(nsStr & {...}, const nsStr & {...}, unsigned int 0, int 67) 
line 146 + 21 bytes
nsString::ToCString(char * 0x0327f3f0, unsigned int 68, unsigned int 0) line 842 
+ 70 bytes
nsPluginInstanceOwner::GetAttributes(nsPluginInstanceOwner * const 0x03254704, 
unsigned short & 62380, const char * const * & 0x028faea0, const char * const * 
& 0x00000006) line 1536
nsPluginInstanceOwner::GetAttribute(nsPluginInstanceOwner * const 0x03254704, 
const char * 0x0208961c, const char * * 0x0012af3c) line 1590
nsPluginInstanceOwner::GetWidth(nsPluginInstanceOwner * const 0x03254704, 
unsigned int * 0x0012af64) line 1980 + 21 bytes
nsObjectFrame::GetDesiredSize(nsIPresContext * 0x03b2f860, const 
nsHTMLReflowState & {...}, nsHTMLReflowMetrics & {...}) line 463 + 26 bytes
nsObjectFrame::InstantiatePlugin(nsIPresContext * 0x03b2f860, 
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, nsIPluginHost * 
0x0233f494, const char * 0x03253400, nsIURI * 0x03256d70) line 856
nsObjectFrame::Reflow(nsObjectFrame * const 0x0297bf44, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 773 + 43 bytes
nsLineLayout::ReflowFrame(nsIFrame * 0x0297bf44, nsIFrame * * 0x0012b698, 
unsigned int & 0, nsHTMLReflowMetrics * 0x00000000, int & 0) line 971
nsInlineFrame::ReflowInlineFrame(nsIPresContext * 0x03b2f860, const 
nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsIFrame * 
0x0297bf44, unsigned int & 0) line 564 + 26 bytes
nsInlineFrame::ReflowFrames(nsIPresContext * 0x03b2f860, const nsHTMLReflowState 
& {...}, nsInlineFrame::InlineReflowState & {...}, nsHTMLReflowMetrics & {...}, 
unsigned int & 0) line 415 + 28 bytes
nsInlineFrame::Reflow(nsInlineFrame * const 0x028f3378, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 323 + 28 bytes
nsLineLayout::ReflowFrame(nsIFrame * 0x028f3378, nsIFrame * * 0x0012c350, 
unsigned int & 0, nsHTMLReflowMetrics * 0x00000000, int & 0) line 971
nsBlockFrame::ReflowInlineFrame(nsBlockReflowState & {...}, nsLineLayout & 
{...}, nsLineBox * 0x02851678, nsIFrame * 0x028f3378, unsigned char * 
0x0012b8b8) line 4324 + 29 bytes
nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState & {...}, nsLineLayout & 
{...}, nsLineBox * 0x02851678, int * 0x0012bf48, unsigned char * 0x0012bd98, int 
1, int 1) line 4208 + 28 bytes
nsBlockFrame::DoReflowInlineFramesAuto(nsBlockReflowState & {...}, nsLineBox * 
0x02851678, int * 0x0012bf48, unsigned char * 0x0012bd98, int 1, int 1) line 
4144 + 42 bytes
nsBlockFrame::ReflowInlineFrames(nsBlockReflowState & {...}, nsLineBox * 
0x02851678, int * 0x0012bf48, int 1, int 1) line 4087 + 32 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x02851678, int 
* 0x0012bf48, int 1) line 3186
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2906 + 27 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x02851310, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1724 + 15 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x02851310, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, 
int 0, unsigned int 0, unsigned int & 0) line 643 + 31 bytes
nsTableCellFrame::Reflow(nsTableCellFrame * const 0x028512b4, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 771
nsContainerFrame::ReflowChild(nsIFrame * 0x028512b4, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 
19, int 0, unsigned int 0, unsigned int & 0) line 643 + 31 bytes
nsTableRowFrame::IR_TargetIsChild(nsTableRowFrame * const 0x028510fc, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, RowReflowState & 
{...}, unsigned int & 0, nsIFrame * 0x028512b4) line 1291 + 45 bytes
nsTableRowFrame::IncrementalReflow(nsTableRowFrame * const 0x028510fc, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, RowReflowState & 
{...}, unsigned int & 0) line 1176 + 35 bytes
nsTableRowFrame::Reflow(nsTableRowFrame * const 0x028510fc, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1428 + 31 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x028510fc, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, 
int 0, unsigned int 0, unsigned int & 0) line 643 + 31 bytes
nsTableRowGroupFrame::IR_TargetIsChild(nsTableRowGroupFrame * const 0x028510b8, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, RowGroupReflowState & 
{...}, unsigned int & 0, nsIFrame * 0x028510fc) line 1519 + 45 bytes
nsTableRowGroupFrame::IncrementalReflow(nsTableRowGroupFrame * const 0x028510b8, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, RowGroupReflowState & 
{...}, unsigned int & 0) line 1159 + 35 bytes
nsTableRowGroupFrame::Reflow(nsTableRowGroupFrame * const 0x028510b8, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, unsigned int & 0) line 1060 + 31 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x028510b8, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, 
int 0, unsigned int 0, unsigned int & 0) line 643 + 31 bytes
nsTableFrame::IR_TargetIsChild(nsTableFrame * const 0x0285104c, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, InnerTableReflowState & {...}, unsigned 
int & 0, nsIFrame * 0x028510b8) line 2720 + 44 bytes
nsTableFrame::IncrementalReflow(nsTableFrame * const 0x0285104c, nsIPresContext 
* 0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 2508 + 41 bytes
nsTableFrame::Reflow(nsTableFrame * const 0x0285104c, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1551 + 31 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x0285104c, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, 
int 0, unsigned int 3, unsigned int & 0) line 643 + 31 bytes
nsTableOuterFrame::OuterReflowChild(nsTableOuterFrame * const 0x02850ff8, 
nsIPresContext * 0x03b2f860, nsIFrame * 0x0285104c, const nsHTMLReflowState & 
{...}, nsHTMLReflowMetrics & {...}, int * 0x00000000, nsSize & {width=1233272 
height=31146696}, nsMargin & {top=0 right=0 bottom=0 left=0}, nsMargin & {top=0 
right=0 bottom=0 left=0}, nsReflowReason eReflowReason_Incremental, ...) l
nsTableOuterFrame::IR_InnerTableReflow(nsTableOuterFrame * const 0x02850ff8, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, unsigned int & 0) line 1172 + 54 bytes
nsTableOuterFrame::IR_TargetIsInnerTableFrame(nsTableOuterFrame * const 
0x02850ff8, nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, unsigned int & 0) line 975 + 31 bytes
nsTableOuterFrame::IR_TargetIsChild(nsTableOuterFrame * const 0x02850ff8, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, unsigned int & 0, nsIFrame * 0x0285104c) line 947 + 
31 bytes
nsTableOuterFrame::IncrementalReflow(nsTableOuterFrame * const 0x02850ff8, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, unsigned int & 0) line 926 + 35 bytes
nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x02850ff8, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1363 + 31 bytes
nsBlockReflowContext::ReflowBlock(nsIFrame * 0x02850ff8, const nsRect & {x=0 
y=885 width=4200 height=1073741824}, int 1, int 0, int 0, nsMargin & {top=0 
right=0 bottom=0 left=0}, unsigned int & 0) line 470 + 45 bytes
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 
0x028f310c, int * 0x0012d8ec) line 3835 + 56 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x028f310c, int 
* 0x0012d8ec, int 1) line 3099 + 23 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2906 + 27 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x0297bc00, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1724 + 15 bytes
nsBlockReflowContext::ReflowBlock(nsIFrame * 0x0297bc00, const nsRect & {x=0 y=0 
width=4200 height=1073741824}, int 0, int 0, int 1, nsMargin & {top=0 right=0 
bottom=0 left=0}, unsigned int & 0) line 470 + 45 bytes
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 
0x028f3260, int * 0x0012e34c) line 3835 + 56 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x028f3260, int 
* 0x0012e34c, int 1) line 3099 + 23 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2906 + 27 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x0297bb28, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1724 + 15 bytes
nsBlockReflowContext::ReflowBlock(nsIFrame * 0x0297bb28, const nsRect & {x=0 y=0 
width=4500 height=1073741824}, int 1, int 0, int 1, nsMargin & {top=0 right=0 
bottom=0 left=0}, unsigned int & 0) line 470 + 45 bytes
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 
0x0297bb9c, int * 0x0012edac) line 3835 + 56 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x0297bb9c, int 
* 0x0012edac, int 1) line 3099 + 23 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2906 + 27 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x0297baa0, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1724 + 15 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x0297baa0, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, 
int 0, unsigned int 0, unsigned int & 0) line 643 + 31 bytes
CanvasFrame::Reflow(CanvasFrame * const 0x0297adfc, nsIPresContext * 0x03b2f860, 
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) 
line 306
nsBoxToBlockAdaptor::Reflow(nsBoxLayoutState & {...}, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0, int 0, int 0, int 4500, int 6000, int 1) line 712
nsBoxToBlockAdaptor::Layout(nsBoxToBlockAdaptor * const 0x0297ba44, 
nsBoxLayoutState & {...}) line 394 + 52 bytes
nsScrollPortFrame::Layout(nsScrollPortFrame * const 0x0297af14, nsBoxLayoutState 
& {...}) line 334
nsContainerBox::LayoutChildAt(nsBoxLayoutState & {...}, nsIBox * 0x0297af14, 
const nsRect & {x=0 y=0 width=4500 height=6000}) line 589 + 16 bytes
nsGfxScrollFrameInner::LayoutBox(nsBoxLayoutState & {...}, nsIBox * 0x0297af14, 
const nsRect & {x=0 y=0 width=4500 height=6000}) line 1008
nsGfxScrollFrameInner::Layout(nsBoxLayoutState & {...}) line 1095
nsGfxScrollFrame::Layout(nsGfxScrollFrame * const 0x0297ae70, nsBoxLayoutState & 
{...}) line 1020 + 15 bytes
nsBoxFrame::Reflow(nsBoxFrame * const 0x0297ae38, nsIPresContext * 0x03b2f860, 
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) 
line 653
nsGfxScrollFrame::Reflow(nsGfxScrollFrame * const 0x0297ae38, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 706 + 25 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x0297ae38, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, 
int 0, unsigned int 0, unsigned int & 0) line 643 + 31 bytes
ViewportFrame::Reflow(ViewportFrame * const 0x0297adc0, nsIPresContext * 
0x03b2f860, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 546
nsHTMLReflowCommand::Dispatch(nsHTMLReflowCommand * const 0x03b286a0, 
nsIPresContext * 0x03b2f860, nsHTMLReflowMetrics & {...}, const nsSize & 
{width=4500 height=6000}, nsIRenderingContext & {...}) line 145
PresShell::ProcessReflowCommands(int 1) line 3753
I also have a bug which I beleive is related. #17169. Can anybody of string 
gurus look at ftang thoughts?
No longer asserts with ftang's suggestion. Doesn't play due to LiveConnect 
problems, but the original bug is fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
marking verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.