You would be getting that "cookies.txt" error if you don't have a profile setup...I just had this error a week ago or so and that was the reason, as soon as I got my profile setup, it went away. I was also getting the "RootScrollFrame not scrollable" assertion as well, I've been told to ignore that one. Look here for that https://bugzilla.mozilla.org/show_bug.cgi?id=253818.
I have been getting a "Component manager being held past XPCOM shutdown", it seems to only happen after execution of the nsIBaseWindow::Create(). I read some threads where other people were having the same problem...but was not sure if it was a bug or a valid assertion. Not sure if this error is similar to yours. You can change your assertions from breaks to warning (so that your program doesn't break each time an assertion happens in debug mode) by setting up an environment variable on your windows box. It worked on mine anyways. XPCOM_DEBUG_BREAK = warn. Hope this helps, Niky "Sami Vaaraniemi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I grabbed the mozilla sources (MOZILLA_1_7_5_RELEASE) and I've built it > successfully on Windows with VS.NET 2003. I'm using it as an embedded > control in a C# application. > > While it does more or less work, I'm getting lots of assertion failures and > occasional crashes (see below). Before I start getting deep into these > issues I was wondering if there is a recommended stable mozilla release for > embedded use. Also, what would be the recommended build switch configuration > for embedded use? > > Assertion failures (in no particular order): > > ASSERTION: RootScrollFrame is not scrollable?, file > d:/mozilla/layout/html/base/src/nsPresShell.cpp, line 3573 > > ASSERTION: Could not get profile directory lock.: 'Error', file > d:/mozilla/profile/src/nsProfile.cpp, line 1183 > > ASSERTION: failed to open cookies.txt for writing: 'Error', file > d:/mozilla/netwerk/cookie/src/nsCookieService.cpp, line 1043 > > ASSERTION: Huh, event content left on the stack in pres shell dtor!: > 'mCurrentEventContentStack.Count() == 0', file > d:/mozilla/layout/html/base/src/nsPresShell.cpp, line 1599 > > ASSERTION: Main thread being held past XPCOM shutdown.: 'cnt == 0', file > d:/mozilla/xpcom/threads/nsThread.cpp, line 439 > > Assertion failed! > Program: ...ork\test\MozillaTest\bin\Debug\MozillaTest.exe > File: d:\mozilla\embedding\browser\act...\Browse...stics.h > Line: 78 > Expression: nBuf < sizeof(szBuffer) > > Also, these warnings scroll continuously in the debug output window as I > browse: > WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file > d:/mozilla/xpfe/components/history/src/nsGlobalHistory.cpp, line 2512 > WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(OpenDB())) failed, file > d:/mozilla/xpfe/components/history/src/nsGlobalHistory.cpp, line 1271 > WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(mGlobalHistory->IsVisited(aLinkURI, > &isVisited))) failed, file d:/mozilla/docshell/base/nsWebShell.cpp, line 717 > > > > Thanks, > Sami > > _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
