Closed Bug 289967 Opened 19 years ago Closed 19 years ago

[FIXr]Crash when using display:-moz-bulletinboard [@ nsFrameItems::AddChild ]

Categories

(Core :: Layout, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.8beta2

People

(Reporter: martijn.martijn, Assigned: bzbarsky)

References

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(4 files)

See upcoming testcase. 
It seems like a regression. 
This did not crash with Mozilla build 2004102604.
It crashes with Mozilla build 2004102705.
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2004-10-26+04%3A00%3A00&maxdate=2004-10-27+05%3A00%3A00&cvsroot=%2Fcvsroot

What does -moz-bulletinboard do? I expected to see a bulletinboard ;-)
Well, it doesn't crash now, it causes a hang. 
This is a backtrace from my debug build.
> What does -moz-bulletinboard do? 

Absolutely nothing, looks like, other than crashing. ;)  "bulletinboard"
elements have -moz-stack display per xul.css.

Neil, do you see any reason I shouldn't just rip out all the (already-broken!)
support for -moz-bulletinboard in the style system?
Attached patch Like soSplinter Review
This testcase uses display:-moz-page-break;
It also hangs/crashes for me and has the same regression range which I
mentioned earlier in this bug. 
I can file a new bug on this, if asked, but maybe it also just needs to be
ripped out?
Comment on attachment 180419 [details] [diff] [review]
Like so

It looks as if attachment 47402 [details] [diff] [review] was responsible for removing support for
-moz-bulletinboard but not the keyword itself :-( Also do we need the XUL atom?
Separate bug on page-break, please?  It _is_ used, but I'm not sure it should
be... In any case, that one's not nearly as clear-cut as this.
Attachment #180419 - Flags: superreview?(dbaron)
Attachment #180419 - Flags: review?(dbaron)
(In reply to comment #7)
> Separate bug on page-break, please? 
Ok, I filed bug 289975 on that.
As for the atom, if the tag itself is used we should keep it so it doesn't have
to be allocated on-demand.
Attachment #180419 - Flags: superreview?(dbaron)
Attachment #180419 - Flags: superreview+
Attachment #180419 - Flags: review?(dbaron)
Attachment #180419 - Flags: review+
Comment on attachment 180419 [details] [diff] [review]
Like so

Requesting approval for this simple crash fix.
Attachment #180419 - Flags: approval1.8b2?
Assignee: nobody → bzbarsky
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Summary: Crash when using display:-moz-bulletinboard → [FIXr]Crash when using display:-moz-bulletinboard
Target Milestone: --- → mozilla1.8beta3
Target Milestone: mozilla1.8beta3 → mozilla1.8beta2
(In reply to comment #9)
>As for the atom, if the tag itself is used we should keep it so it doesn't have
>to be allocated on-demand.
Does xul.css count as a use? I didn't spot anything obvious in LXR.
> Does xul.css count as a use?

Yes, since we'll atomize that selector.
Blocks: 289975
Summary: [FIXr]Crash when using display:-moz-bulletinboard → [FIXr]Crash when using display:-moz-bulletinboard [@ nsFrameItems::AddChild ]
Comment on attachment 180419 [details] [diff] [review]
Like so

a=asa
Attachment #180419 - Flags: approval1.8b2? → approval1.8b2+
Fixed at 2005-04-12 08:27.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Verified FIXED using the testcase at
https://bugzilla.mozilla.org/attachment.cgi?id=180416 with Seamonkey trunk build
2005-04-14-11 on Windows XP.
Status: RESOLVED → VERIFIED
Crash Signature: [@ nsFrameItems::AddChild ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: