On Tuesday 2009-01-20 16:12 -0800, Takis Psarogiannakopoulos wrote:
> The attached log dumped core and is being debugged. As I said
> InitBoxMetrics was never called. The cores on xul are always on BoxReflow

I think this crash is likely the result of some internal (and
required) style sheets failing to load.  We should probably have
some better handling of the case when that happens (i.e., call
exit() rather than continuing).

It would be interesting to know why those style sheets are failing
to load.  (Normally I'd have expected the assertion in
nsLayoutStylesheetCache::ScrollbarsSheet() to have fired, but
perhaps we loaded it but using an incorrect encoding such that it
was garbage?)

> ###!!! ASSERTION: failed to create encoder: '0', file nsUNIXCharset.cpp, 
> line 371
> ###!!! ASSERTION: unable to use nl_langinfo(CODESET): '0', file 
> nsUNIXCharset.cpp, line 305

This assertion seems like it could be interesting.  Were we trying
to figure out the filesystem encoding in order to read the file or
something like that?


I'd also be curious what the style sheet object that's being
returned from nsLayoutStylesheetCache::ScrollbarsSheet() (in
layout/style/nsLayoutStyleSheetCache.cpp) looks like (in particular,
what's in its mInner->mOrderedRules).

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to