Closed Bug 513943 Opened 15 years ago Closed 15 years ago

[SeaMonkey 2.1, leak test] cb-seamonkey-linux-01 fails with "WARNING: ... nsCSSLoader.cpp, line 2101" followed by "ASSERTION: Could not load scrollbars.css.: 'gStyleCache->mScrollbarsSheet'"

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.1a1

People

(Reporter: sgautherie, Assigned: kairo)

References

(Blocks 1 open bug, )

Details

(Keywords: assertion, Whiteboard: [stack available in log])

...

...
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1251760449.1251765900.5187.gz&fulltext=1
Linux comm-central-trunk leak test build on 2009/08/31 16:14:09
{
###!!! ASSERTION: Could not load scrollbars.css.: 'gStyleCache->mScrollbarsSheet', file /builds/slave/comm-central-trunk-linux-debug/build/mozilla/layout/style/nsLayoutStylesheetCache.cpp, line 89
}

This box (only) is perma orange on this job.
(In reply to comment #0)
> ...
> 
> ...

I looked back to
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1251530187.1251535864.26633.gz&fulltext=1
Linux comm-central-trunk leak test build on 2009/08/29 00:16:27
Blocks: SmTestFail
I'm clobbering that tree on that machine, let's see if it helps.
(In reply to comment #2)

Assuming
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1251835020.1251841051.11911.gz
Linux comm-central-trunk leak test build on 2009/09/01 12:57:00
had been clobbered,
then that did not fix this bug.
Really not fixed: 7 failures in a row (and counting).
Neil told me (irc) that bug 514959 might fix this...
Depends on: 514959
(In reply to comment #5)
> Neil told me (irc) that bug 514959 might fix this...

http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1252367744.1252370224.19699.gz
Linux comm-central-trunk leak test build on 2009/09/07 16:55:44

It did not :-|

*****

Ah, the assertion is preceded by
{
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/slave/comm-central-trunk-linux-debug/build/mozilla/layout/style/nsCSSLoader.cpp, line 2101
}

Code is
http://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSLoader.cpp
{
2036 CSSLoaderImpl::InternalLoadNonDocumentSheet(nsIURI* aURL, 
...
2100   rv = LoadSheet(data, state);
2101   NS_ENSURE_SUCCESS(rv, rv);
}
No longer depends on: 514959
Summary: [SeaMonkey 2.1, leak test] cb-seamonkey-linux-01 fails with "ASSERTION: Could not load scrollbars.css.: 'gStyleCache->mScrollbarsSheet'" → [SeaMonkey 2.1, leak test] cb-seamonkey-linux-01 fails with "WARNING: ... nsCSSLoader.cpp, line 2101" followed by "ASSERTION: Could not load scrollbars.css.: 'gStyleCache->mScrollbarsSheet'"
Whiteboard: [stack available in log]
(In reply to comment #6)
> (In reply to comment #5)
> > Neil told me (irc) that bug 514959 might fix this...
> It did not :-|
It fixed it for me locally after a clobber; it won't fix depend builds.

What's happening is that both suite's jar.mn and toolkit's jar.mn provide a location for scrollbars.css; suite says it's in classic.jar and 1.9.1 toolkit also says it's in classic.jar so that's OK; unfortuantely trunk toolkit now puts it in toolkit.jar which results in a conflict. The problem on Linux is that it reads manifest files in creation order, and toolkit.manifest is created before classic.manifest, so classic.manifest wins and points to the bogus location. This isn't a problem on Windows because the file system enumerates files alphabetically and so toolkit.manifest wins because it is read last.
OK, reading that comment, I will clobber that tree on that machine again.
Component: Layout → General
Product: Core → SeaMonkey
QA Contact: layout → general
The box has now done a successful trunk leak test build cycle, see http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1252426721.1252431799.17018.gz&fulltext=1
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Still not sure why this Linux box only was affected...

V.Fixed, anyway.
Assignee: nobody → kairo
Status: RESOLVED → VERIFIED
Depends on: 514959
Flags: in-testsuite-
Target Milestone: --- → seamonkey2.0
Target Milestone: seamonkey2.0 → seamonkey2.1a1
Component: General → Build Config
QA Contact: general → build-config
(In reply to comment #10)
> Still not sure why this Linux box only was affected...
Because the Windows file system enumerates files in alphabetical order while the Linux file system enumerates them in creation order and the bogus line is sensitive to the order in which it is processed.
(In reply to comment #11)

Do the other Linux "VMs" use a Windows file system??
(In reply to comment #12)
> (In reply to comment #11)
> 
> Do the other Linux "VMs" use a Windows file system??

No, but as all of them are doing dep builds, they might never have created them in the wrong order and therfore wouldn't have run into the problem.
Bug 489483 would help to catch/fix these issues automatically, then.
Depends on: 489483
You need to log in before you can comment on or make changes to this bug.