js component fastload ASSERTION: demux segment length botch!: 'entry->mBytesLeft >= 8

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
12 years ago
3 years ago

People

(Reporter: timeless, Unassigned)

Tracking

({assertion})

Trunk
x86
Windows XP
assertion

Details

(Reporter)

Description

12 years ago
this was my first attempt to run a debug build of this kind

    ImageFile:    'C:\home\mozilla.org\mozilla\dbg-firefox-i686-pc-mingw32\dist\bin\firefox.exe'
    CommandLine:  '"firefox.exe" "-no-remote" "-p" '

12/14/06  04:40 PM                47 cvsco.log

# Options for client.mk.
mk_add_options MOZ_CO_PROJECT=suite,browser,mail,composer,calendar,xulrunner,macbrowser
mk_add_options MOZ_CO_MODULE=mozilla/tools
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/dbg-firefox-@CONFIG_GUESS@
mk_add_options MOZ_MAKE_FLAGS="-j5 -s"

# Options for 'configure' (same as command-line options).
ac_add_options --enable-debug
ac_add_options --enable-application=browser
ac_add_options --disable-javaxpcom
ac_add_options --disable-accessibility
ac_add_options --disable-activex-scripting
ac_add_options --disable-activex
ac_add_options --disable-xpconnect-idispatch

bug 288410 may or may not be relevant

00 ntdll!DbgBreakPoint
01 xpcom_core!Break(char * aMsg = 0x0012f4e8 "###!!! ASSERTION: demux segment length botch!: 'entry->mBytesLeft >= 8', file c:/home/soref/mozilla.org/mozilla/xpcom/io/nsFastLoadFile.cpp, line 579")+0x145 [c:\home\mozilla.org\mozilla\xpcom\base\nsdebugimpl.cpp @ 472]
02 xpcom_core!NS_DebugBreak_P(unsigned int aSeverity = 1, char * aStr = 0x002fbba8 "demux segment length botch!", char * aExpr = 0x002fbbc4 "entry->mBytesLeft >= 8", char * aFile = 0x002fb60c "c:/home/soref/mozilla.org/mozilla/xpcom/io/nsFastLoadFile.cpp", int aLine = 579)+0x1c2 [c:\home\mozilla.org\mozilla\xpcom\base\nsdebugimpl.cpp @ 352]
03 xpcom_core!nsFastLoadFileReader::Read(char * aBuffer = 0x0012f938 "???", unsigned int aCount = 4, unsigned int * aBytesRead = 0x0012f924)+0x10b [c:\home\mozilla.org\mozilla\xpcom\io\nsfastloadfile.cpp @ 579]
04 xpcom_core!nsBinaryInputStream::Read32(unsigned int * a32 = 0x0012f938)+0x17 [c:\home\mozilla.org\mozilla\xpcom\io\nsbinarystream.cpp @ 428]
05 xpc3250!ReadScriptFromStream(struct JSContext * cx = 0x00b2cac0, class nsIObjectInputStream * stream = 0xffffffff, struct JSScript ** script = 0x0012f9d0)+0x17 [c:\home\mozilla.org\mozilla\js\src\xpconnect\loader\mozjscomponentloader.cpp @ 277]
06 xpc3250!mozJSComponentLoader::ReadScript(class nsIFastLoadService * flSvc = 0x00000000, char * nativePath = 0x00000000 "", class nsIURI * uri = 0x00ac7270, struct JSContext * cx = 0x00b2cac0, struct JSScript ** script = 0x0012f9d0)+0xf3 [c:\home\mozilla.org\mozilla\js\src\xpconnect\loader\mozjscomponentloader.cpp @ 884]
07 xpc3250!mozJSComponentLoader::GlobalForLocation(class nsILocalFile * aComponent = 0x00b2bd48, struct JSObject ** aGlobal = 0x00b66754, char ** aLocation = 0x00b66758)+0x4c9 [c:\home\mozilla.org\mozilla\js\src\xpconnect\loader\mozjscomponentloader.cpp @ 1025]
08 xpc3250!mozJSComponentLoader::LoadModule(class nsILocalFile * aComponentFile = 0x00b2bd48, class nsIModule ** aResult = 0x0012fc4c)+0x1b6 [c:\home\mozilla.org\mozilla\js\src\xpconnect\loader\mozjscomponentloader.cpp @ 509]
09 xpcom_core!nsComponentManagerImpl::AutoRegisterComponent(class nsILocalFile * aComponentFile = 0x00b2bd48, class nsTArray<DeferredModule> * aDeferred = 0x0012fd18, int minLoader = 0)+0x242 [c:\home\mozilla.org\mozilla\xpcom\components\nscomponentmanager.cpp @ 3042]
0a xpcom_core!nsComponentManagerImpl::LoadLeftoverComponents(class nsCOMArray<nsILocalFile> * aLeftovers = 0x00000001, class nsTArray<DeferredModule> * aDeferred = 0x0012fd18, int minLoader = 0)+0x79 [c:\home\mozilla.org\mozilla\xpcom\components\nscomponentmanager.cpp @ 3098]
0b xpcom_core!nsComponentManagerImpl::AutoRegister(class nsIFile * aSpec = 0x00000000)+0x266 [c:\home\mozilla.org\mozilla\xpcom\components\nscomponentmanager.cpp @ 3348]
0c xpcom_core!NS_InitXPCOM3_P(class nsIServiceManager ** result = 0x0012fe88, class nsIFile * binDirectory = 0x003ea3a0, class nsIDirectoryServiceProvider * appFileLocationProvider = 0x0012fe2c, struct nsStaticModuleInfo * staticComponents = 0x100192d8, unsigned int componentCount = 1)+0x463 [c:\home\mozilla.org\mozilla\xpcom\build\nsxpcominit.cpp @ 653]
0d xul!ScopedXPCOMStartup::Initialize(void)+0x51 [c:\home\mozilla.org\mozilla\toolkit\xre\nsapprunner.cpp @ 639]
0e xul!XRE_main(int argc = 3, char ** argv = 0x003e8da0, struct nsXREAppData * aAppData = 0x004036cc)+0x874 [c:\home\mozilla.org\mozilla\toolkit\xre\nsapprunner.cpp @ 2355]
0f firefox!main(int argc = 4198765, char ** argv = 0x0012fff0)+0x13 [c:\home\mozilla.org\mozilla\browser\app\nsbrowserapp.cpp @ 61]
10 firefox!__tmainCRTStartup(void)+0x1a6 [f:\rtm\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 586]
11 firefox!mainCRTStartup(void)+0xd [f:\rtm\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 403]
12 kernel32!BaseProcessStart+0x23

0:000> dt nativePath nsCAutoString mData
Local var @ 0x12fa68 Type nsCAutoString
   +0x004 mData         : 0x00b6a410  "file:///C:/home/Application%20Data/Mozilla/Firefox/Profiles/nkezd24i.Test/extensions/%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D/components/noscriptService.js"

Comment 1

6 years ago
component fastload is gone, replaced with startupcache
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
(Assignee)

Updated

3 years ago
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.