Closed Bug 44513 Opened 24 years ago Closed 24 years ago

html within deck gives infinite loop

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.0

People

(Reporter: BenB, Assigned: eric)

References

(Depends on 1 open bug)

Details

(Whiteboard: [nsbeta3-])

<deck id="...">
  <html>&mylabel;</html>
  <html>&mylabel;</html>
  <html>&mylabel;</html>
</deck>

gives an infinite loop putting out on the console

[@0x9295aa4] Box id='mailSendFormatExplanation' ###!!! ASSERTION: Infinite loop!
Someone won't stop growing!!: 'passes < 10', file nsStackLayout.cpp, line 261
###!!! Break: at file nsStackLayout.cpp, line 261

For a testcase, remove the <box>es around <html>s in
mailnews/compose/resources/content/askSendFormat.xul.
Assignee: trudelle → evaughan
Keywords: nsbeta3
Say, Ben. I can't reproduce this with Jul 05 builds (linux/win32/mac), 
using a simple case like:

<?xml version="1.0"?> 
<window xmlns:html="http://www.w3.org/TR/REC-html40"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        class="dialog"
        align="vertical"> 
<deck id="foo">
  <html style="border:1px solid blue;">mylabel 1 </html>
  <html style="border:1px solid green;">mylabel 2 </html>
  <html style="border:1px solid red;">mylabel 3 </html>
</deck>
</window>

... and there are no <html> elements in askSendFormat.xul.

(Wrong file? I'm blind? Both?).
> I can't reproduce using a simple case

Quite possible. Never tried. It does happen in my case, and I already lost
enough time (one full day) due to this bug. Sorry.

> (Wrong file? I'm blind? Both?).

No, I forgot to say that the code is not yet checked in, sorry. Get the patch
in/for bug 38433.
targeting
Status: NEW → ASSIGNED
Summary: <html> within <deck> gives infinite loop → ?html? within ?deck? gives infinite loop
Target Milestone: --- → M21
nsbeta3-, should this be wfm?
Summary: ?html? within ?deck? gives infinite loop → html within deck gives infinite loop
Whiteboard: [nsbeta3-]
Target Milestone: M21 → Future
Target Milestone: Future → mozilla0.8
The best way to fix this bug is to try to simplify your case down to the real
problem. It seems that html in a deck does work. It would very helpful to me if
you could take a stab at making a stand alone test case. Something I can bring
up in viewer and test. 
->moz 1.0
Target Milestone: mozilla0.8 → mozilla1.0
->wfm
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Depends on: 32155
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.