Closed
Bug 220464
Opened 21 years ago
Closed 21 years ago
Crash on www.floppymoose.com/weblog [@ SelectorMatchesTree]
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dev+mozilla, Assigned: jst)
References
()
Details
(Keywords: crash, regression)
Crash Data
Attachments
(3 files, 2 obsolete files)
14.77 KB,
text/plain
|
Details | |
8.28 KB,
patch
|
Details | Diff | Splinter Review | |
5.64 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20030729
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20030927
Visiting http://www.floppymoose.com/weblog instantly crashes today's Mozilla CVS
build on Linux. This crash doesn't occur on a 20030912 CVS build.
Yesterday's Nightly on WinXP doesn't crash.
Reproducible: Always
Steps to Reproduce:
1. Visit URL.
Actual Results:
crash
Expected Results:
no crash
Reporter | ||
Updated•21 years ago
|
Keywords: crash,
regression
Comment 1•21 years ago
|
||
Obviously not a Bookmarks bug.
->B-G
Assignee: pierre_tmp → general
Component: Bookmarks → Browser-General
QA Contact: petersen → general
Comment 2•21 years ago
|
||
ok i think this is checkin from jst
#0 0x40fb01f6 in SelectorMatchesTree (data=@0xbfffec90, aSelector=0x89328a0) at
/mozilla2/mozilla/content/html/style/src/nsCSSStyleSheet.cpp:3949
#1 0x40fb02cd in ContentEnumFunc (aRule=0x8933b80, aSelector=0x8950c18,
aData=0xbfffec90) at
/mozilla2/mozilla/content/html/style/src/nsCSSStyleSheet.cpp:3970
#2 0x40fa607a in RuleHash::EnumerateAllRules(int, nsIAtom*, nsIAtom*, nsVoidArray
const&, void (*)(nsICSSStyleRule*, nsCSSSelector*, void*), void*) (this=0x8116698,
aNameSpace=3, aTag=0x80cebc8, aID=0x0, aClassList=@0xbfffebb0,
aFunc=0x40fb027c <ContentEnumFunc>, aData=0xbfffec90) at
/mozilla2/mozilla/content/html/style/src/nsCSSStyleSheet.cpp:624
#3 0x40fb0387 in CSSRuleProcessor::RulesMatching(ElementRuleProcessorData*,
nsIAtom*) (this=0x8a06ab0, aData=0xbfffec90, aMedium=0x80cf3b0) at
/mozilla2/mozilla/content/html/style/src/nsCSSStyleSheet.cpp:4001
#4 0x40e50349 in EnumRulesMatching (aProcessor=0x8a06ab0, aData=0xbfffec90) at
/mozilla2/mozilla/content/base/src/nsStyleSet.cpp:980
#5 0x408f4938 in nsSupportsArray::EnumerateForwards(int (*)(nsISupports*, void*),
void*) (this=0x86f2fb0, aFunc=0x40e5031c <EnumRulesMatching>, aData=0xbfffec90)
at /mozilla2/mozilla/xpcom/ds/nsSupportsArray.cpp:643
#6 0x40e506be in StyleSetImpl::FileRules(int (*)(nsISupports*, void*),
RuleProcessorData*) (this=0x882dd70, aCollectorFunc=0x40e5031c
<EnumRulesMatching>, aData=0xbfffec90) at
/mozilla2/mozilla/content/base/src/nsStyleSet.cpp:1074
#7 0x40e513f4 in StyleSetImpl::ResolveStyleFor(nsIPresContext*, nsIContent*,
nsStyleContext*) (this=0x882dd70, aPresContext=0x8a08678, aContent=0x8811f28,
aParentContext=0x8a68b50) at /mozilla2/mozilla/content/base/src/nsStyleSet.cpp:1200
#8 0x40da6fc9 in nsPresContext::ResolveStyleContextFor(nsIContent*,
nsStyleContext*) (this=0x8a08678, aContent=0x8811f28, aParentContext=0x8a68b50)
at /mozilla2/mozilla/layout/base/src/nsPresContext.cpp:926
#9 0x40cee687 in nsCSSFrameConstructor::ResolveStyleContext(nsIPresContext*,
nsIFrame*, nsIContent*) (this=0x8a0cc28, aPresContext=0x8a08678,
aParentFrame=0x8a68bbc, aContent=0x8811f28) at
/mozilla2/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:6618
#10 0x40cef254 in nsCSSFrameConstructor::ConstructFrame(nsIPresShell*,
nsIPresContext*, nsFrameConstructorState&, nsIContent*, nsIFrame*, nsFrameItems&)
(this=0x8a0cc28, aPresShell=0x8826f40, aPresContext=0x8a08678,
aState=@0xbfffeea0, aContent=0x8811f28, aParentFrame=0x8a68bbc,
aFrameItems=@0xbfffef78) at
/mozilla2/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:7066
Assignee: general → jst
Component: Browser-General → DOM Other
Summary: Crash on www.floppymoose.com/weblog → Crash on www.floppymoose.com/weblog [@SelectorMatchesTree]
Comment 3•21 years ago
|
||
*** Bug 220444 has been marked as a duplicate of this bug. ***
Comment 4•21 years ago
|
||
*** Bug 220449 has been marked as a duplicate of this bug. ***
Comment 5•21 years ago
|
||
*** Bug 220462 has been marked as a duplicate of this bug. ***
Comment 6•21 years ago
|
||
Could someone try out this patch and see if it fixes the crash?
Comment 7•21 years ago
|
||
Comment on attachment 132257 [details] [diff] [review]
Fix?
Seems to fix it for me. Also see
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&f
ile=nsCSSStyleSheet.cpp&branch=&root=/cvsroot&subdir=mozilla/content/html/style
/src&command=DIFF_FRAMESET&rev1=3.272&rev2=3.273
Attachment #132257 -
Flags: superreview?(jst)
Attachment #132257 -
Flags: review?(jst)
Comment 8•21 years ago
|
||
*** Bug 220481 has been marked as a duplicate of this bug. ***
Comment 9•21 years ago
|
||
*** Bug 220490 has been marked as a duplicate of this bug. ***
Comment 10•21 years ago
|
||
Yes, the patch fixes the immediate crash at the URL (and others), but there must
be more errors introduced by bug 215981, I now crash on exit instead.
At some URLs, for example http://www.johntynes.com/ the crash is still immediate
but now at nsLineLayout::VerticalAlignFrames
Comment 11•21 years ago
|
||
Comment 12•21 years ago
|
||
*** Bug 220485 has been marked as a duplicate of this bug. ***
Comment 13•21 years ago
|
||
This fixes all crashes reported so far:
http://www.floppymoose.com/weblog
http://www.ghg-bonn.de/
http://www.mozillazine.org/members/profile.html
http://pmd.sourceforge.net/
http://extensionroom.mozdev.org/
http://www.johntynes.com/
menu View->Apply Theme->Get New Themes as reported in bug 220485
Updated•21 years ago
|
Attachment #132257 -
Attachment is obsolete: true
Updated•21 years ago
|
Attachment #132274 -
Flags: superreview?(jst)
Attachment #132274 -
Flags: review+
Comment 14•21 years ago
|
||
Does this affect the 1.5 branch ? If so, this should be a blocker for 1.5 since
it affects a lot of pages.
Comment 15•21 years ago
|
||
beanladen: I don't see how this can affect the 1.5 branch, as bug 215981 landed
only on the 1.6a trunk.
/be
Comment on attachment 132274 [details] [diff] [review]
Patch2
Why do we need any refcounting in this function at all, given the new APIs?
Why not get rid of it?
![]() |
||
Comment 17•21 years ago
|
||
jst is out for the weekend, so he won't be reviewing anything, and dbaron is
right -- all the refcounting should just be removed.
I'll be posting a patch to that effect in a few.
And for that matter, |lastContent| could be removed as well, I think. And
perhaps some other general cleanup...
Actually, both content variables can be removed, and I'll have a patch shortly.
Eliminate both content variables and thus all refcounting of them.
Attachment #132274 -
Attachment is obsolete: true
![]() |
||
Comment 22•21 years ago
|
||
Comment on attachment 132290 [details] [diff] [review]
patch (diff -uw, for review)
r+sr=bzbarsky. Excellent.
Attachment #132290 -
Flags: superreview+
Attachment #132290 -
Flags: review+
Comment 23•21 years ago
|
||
*** Bug 220521 has been marked as a duplicate of this bug. ***
![]() |
||
Comment 24•21 years ago
|
||
*** Bug 220515 has been marked as a duplicate of this bug. ***
Fix checked in, 2003-09-26 22:30 -0700.
Not marking fixed quite yet in an effort to reduce duplicates.
Comment 26•21 years ago
|
||
*** Bug 220552 has been marked as a duplicate of this bug. ***
Comment 27•21 years ago
|
||
*** Bug 220764 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
OS: Linux → All
Comment 28•21 years ago
|
||
*** Bug 220862 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Attachment #132257 -
Flags: superreview?(jst)
Attachment #132257 -
Flags: review?(jst)
Updated•21 years ago
|
Attachment #132274 -
Flags: superreview?(jst)
Comment 29•21 years ago
|
||
*** Bug 221192 has been marked as a duplicate of this bug. ***
*** Bug 221498 has been marked as a duplicate of this bug. ***
Summary: Crash on www.floppymoose.com/weblog [@SelectorMatchesTree] → Crash on www.floppymoose.com/weblog [@ SelectorMatchesTree]
Reporter | ||
Comment 31•21 years ago
|
||
Marking fixed as there haven't been any dupes for a week now.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Crash Signature: [@ SelectorMatchesTree]
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•