Closed
Bug 1324
Opened 26 years ago
Closed 26 years ago
Assertion in nsBodyFrame
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: angus, Assigned: troy)
References
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
Here's my test case (it's using the style dom to change the letterSpacing
property on a paragraph element). A stack trace is below the sample markup. I'm
using a 11-9-98 debug build.
<html>
<head>
<script>
function spaceIt(element,inc, stopAt) {
var currentSpace = parseFloat(element.style.letterSpacing);
currentSpace += inc*element.growDirection;
if (currentSpace >= stopAt) element.growDirection *= -1;
if (currentSpace <= 0 && element.notfirsttime) clearInterval(window.myid);
element.style.letterSpacing=currentSpace+"em";
element.notfirsttime=1;
}
function moveIt(inc,stopAt) {
var inspireText = document.getElementById("myp");
window.myid =
setInterval(spaceIt,20,document.getElementById("myp"),inc,stopAt);
}
function init() {
moveIt(0.1,2);
}
</script>
</head>
<body onload="init()" bgcolor="indigo">
<p id="myp"
align=center
style="letter-spacing: 0em; color:white;
position: absolute;
top: 10px;
left: 35px;
width: 100%;
text-align: center;">
NGLAYOUT
</p>
</body>
Here's my stack trace:
NTDLL! 77f76148()
gc_root_marker(JSHashEntry * 0x00f83f20, int 6, void * 0x010d41f8) line 599 + 35
bytes
JS_HashTableEnumerateEntries(JSHashTable * 0x00f71860, int (JSHashEntry *, int,
void *)* 0x0033169e gc_root_marker(JSHashEntry *, int, void *), void *
0x010d41f8) line 347 + 15 bytes
js_GC(JSContext * 0x00f73e00) line 717 + 21 bytes
js_ForceGC(JSContext * 0x00f73e00) line 614 + 9 bytes
JS_GC(JSContext * 0x00f73e00) line 864 + 9 bytes
nsJSContext::GC() line 180 + 13 bytes
GlobalWindowImpl::SetNewDocument(GlobalWindowImpl * const 0x00f0e1f4,
nsIDOMDocument * 0x00000000) line 215
DocumentViewerImpl::~DocumentViewerImpl() line 191
DocumentViewerImpl::`scalar deleting destructor'(unsigned int 1) + 15 bytes
DocumentViewerImpl::Release(DocumentViewerImpl * const 0x00f746e0) line 149 + 99
bytes
nsWebShell::Embed(nsWebShell * const 0x00eda2d0, nsIContentViewer * 0x01358f10,
const char * 0x00000000, nsISupports * 0x00000000) line 573 + 27 bytes
nsDocumentBindInfo::OnStartBinding(nsDocumentBindInfo * const 0x01357db0, nsIURL
* 0x01357d50, const char * 0x01357240) line 1305 + 36 bytes
OnStartBindingProxyEvent::HandleEvent(OnStartBindingProxyEvent * const
0x01357280) line 487
StreamListenerProxyEvent::HandlePLEvent(PLEvent * 0x01357284) line 452 + 12
bytes
PL_HandleEvent(PLEvent * 0x01357284) line 395 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x00e96b40) line 357 + 9 bytes
_md_EventReceiverProc(HWND__ * 0x005a0366, unsigned int 49394, unsigned int 0,
long 15297344) line 675 + 9 bytes
USER32! 77e71250()
00e96b40()
Where in that stack trace do you see an assert in the body code?
Reporter | ||
Updated•26 years ago
|
Assignee: angus → troy
Reporter | ||
Comment 2•26 years ago
|
||
Ack! My bad; I submitted the wrong stack trace in my bug report. Here is the
correct stack trace. Sorry for the confusion.
the REAL stack trace:
NTDLL! 77f76148()
nsDebug::Assertion(const char * 0x00633f18, const char * 0x00633ee4, const char
* 0x00633eb4, int 279) line 95 + 13 bytes
nsBodyFrame::Reflow(nsBodyFrame * const 0x00f59a94, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 279 + 32 bytes
nsBodyFrame::Reflow(nsBodyFrame * const 0x00f4e094, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 324 + 31 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x00f4e090, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 426 + 28 bytes
nsScrollFrame::Reflow(nsScrollFrame * const 0x00f4e414, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 363
nsContainerFrame::ReflowChild(nsIFrame * 0x00f4e410, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 426 + 28 bytes
RootFrame::Reflow(RootFrame * const 0x00f4eae4, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 163
nsHTMLReflowCommand::Dispatch(nsHTMLReflowCommand * const 0x00f8ab80,
nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsSize & {...},
nsIRenderingContext & {...}) line 174
PresShell::ProcessReflowCommands() line 713
PresShell::ExitReflowLock(PresShell * const 0x00f72e30) line 417
PresShell::AttributeChanged(PresShell * const 0x00f72e38, nsIDocument *
0x00f74820, nsIContent * 0x00f4fbbc, nsIAtom * 0x00f1db60, int 4) line 820
nsDocument::AttributeChanged(nsDocument * const 0x00f74820, nsIContent *
0x00f4fbbc, nsIAtom * 0x00f1db60, int 4) line 599
nsDOMCSSAttributeDeclaration::StylePropertyChanged(const nsString & {...}, int
4) line 645 + 30 bytes
nsDOMCSSDeclaration::SetProperty(nsDOMCSSDeclaration * const 0x00f806e0, const
nsString & {...}, const nsString & {...}, const nsString & {...}) line 198 + 22
bytes
nsDOMCSSDeclaration::SetLetterSpacing(nsDOMCSSDeclaration * const 0x00f806e0,
const nsString & {...}) line 889 + 55 bytes
SetCSSStyleDeclarationProperty(JSContext * 0x00f719a0, JSObject * 0x010d3340,
long -115, long * 0x0012fbc8) line 2690
js_SetProperty(JSContext * 0x00f719a0, JSObject * 0x010d3340, long 16042800,
long * 0x0012fbc8) line 1914 + 25 bytes
js_Interpret(JSContext * 0x00f719a0, long * 0x0012fd48) line 2160 + 806 bytes
js_Invoke(JSContext * 0x00f719a0, unsigned int 4, int 0) line 666 + 13 bytes
js_CallFunctionValue(JSContext * 0x00f719a0, JSObject * 0x010d1698, long
17639648, unsigned int 4, long * 0x00f80ab0, long * 0x0012feb4) line 735 + 15
bytes
JS_CallFunctionValue(JSContext * 0x00f719a0, JSObject * 0x010d1698, long
17639648, unsigned int 4, long * 0x00f80ab0, long * 0x0012feb4) line 2370 + 29
bytes
GlobalWindowImpl::RunTimeout(nsTimeoutImpl * 0x00f80af0) line 1021 + 51 bytes
nsGlobalWindow_RunTimeout(nsITimer * 0x00f80960, void * 0x00f80af0) line 940
TimerImpl::Fire(unsigned long 177386738) line 308 + 17 bytes
TimerImpl::ProcessTimeouts(unsigned long 177386738) line 187
FireTimeout(HWND__ * 0x00000000, unsigned int 275, unsigned int 13259, unsigned
long 177386738) line 101 + 9 bytes
USER32! 77e7128c()
main(int 1, char * * 0x00e96e60) line 96
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77f1b304()
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•26 years ago
|
||
Doesn't crash 12.1.98 build of xpviewer on NT 4.0 SP3 or Win 98. Thus, marked as
verified. Please re-open if your mileage varies.
Updated•8 years ago
|
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•