David, I am not that familiar with the layout code. I ve tried DEBUG_REFLOW but it doesnt compile anymore cleanly. Most of the DEBUGs there also I think they are a bit old. What I would like to know is do we have a test program to see whats going on or at least some clear breakpoints to debug the layout code and find out what it doesnt loaded? (eg a test program that would link with the layout libs only and hence we are going to get a clean pic of what goes wrong).
Regards, On Tue, 20 Jan 2009, L. David Baron wrote: > 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 > _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

