Open
Bug 926436
Opened 11 years ago
Updated 2 years ago
AbortOnBadWrite asserts on regular shutdown of a debug build when writing the log file
Categories
(Core :: XPCOM, defect)
Tracking
()
NEW
People
(Reporter: mayhemer, Unassigned)
References
Details
This started say a month ago. Normal shutdown of a debug build, win32. sPoisoningState == POISON_ON thanks http://hg.mozilla.org/mozilla-central/annotate/211337f7fb83/toolkit/xre/nsAppRunner.cpp#l3967 hence: xul.dll!mozilla::ValidWriteAssert(bool ok=false) Line 172 + 0x17 bytes C++ xul.dll!mozilla::AbortOnBadWrite(void * aFile=0x00000090) Line 71 + 0x7 bytes C++ xul.dll!mozilla::patched_WriteFile(void * aFile=0x00000090, void * aEvent=0x00000000, void (void *, _IO_STATUS_BLOCK *, unsigned long)* aApc=0x00000000, void * aApcUser=0x00000000, _IO_STATUS_BLOCK * aIoStatus=0x002fb19c, const void * aBuffer=0x002fda34, unsigned long aLength=97, _LARGE_INTEGER * aOffset=0x00000000, unsigned long * aKey=0x00000000) Line 39 + 0x9 bytes C++ KernelBase.dll!_WriteFile@20() + 0x113 bytes kernel32.dll!_WriteFileImplementation@20() + 0x4a bytes msvcr100d.dll!_write_nolock(int fh=4, const void * buf=0x002fefd8, unsigned int cnt=96) Line 332 + 0x3c bytes C msvcr100d.dll!_write(int fh=4, const void * buf=0x002fefd8, unsigned int cnt=96) Line 74 + 0x11 bytes C msvcr100d.dll!_fwrite_nolock(const void * buffer=0x002fefd8, unsigned int size=1, unsigned int num=96, _iobuf * stream=0x62adf518) Line 165 + 0x1a bytes C msvcr100d.dll!fwrite(const void * buffer=0x002fefd8, unsigned int size=1, unsigned int count=96, _iobuf * stream=0x62adf518) Line 83 + 0x15 bytes C nss3.dll!PR_LogPrint(const char * fmt=0x11dad314, ...) Line 527 + 0x69 bytes C xul.dll!nsHttpHandler::~nsHttpHandler() Line 224 + 0x1b bytes C++ xul.dll!nsHttpHandler::`scalar deleting destructor'() + 0xf bytes C++ xul.dll!nsHttpHandler::Release() Line 1525 + 0x161 bytes C++ xul.dll!ReleaseSliceNow(unsigned int aSlice=8, void * aData=0x08295420) Line 989 + 0xe bytes C++ xul.dll!mozilla::IncrementalFinalizeRunnable::ReleaseNow(bool aLimited=false) Line 1061 + 0x10 bytes C++ xul.dll!mozilla::CycleCollectedJSRuntime::FinalizeDeferredThings(mozilla::CycleCollectedJSRuntime::DeferredFinalizeType aType=FinalizeNow) Line 1112 C++ xul.dll!mozilla::CycleCollectedJSRuntime::OnGC(JSGCStatus aStatus=JSGC_END) Line 1138 C++ xul.dll!mozilla::CycleCollectedJSRuntime::GCCallback(JSRuntime * aRuntime=0x02d17ad0, JSGCStatus aStatus=JSGC_END, void * aData=0x02d15f60) Line 726 C++ mozjs.dll!Collect(JSRuntime * rt=0x02d17ad0, bool incremental=false, __int64 budget=0, js::JSGCInvocationKind gckind=GC_NORMAL, JS::gcreason::Reason reason=API) Line 4677 + 0x13 bytes C++ mozjs.dll!js::GC(JSRuntime * rt=0x02d17ad0, js::JSGCInvocationKind gckind=GC_NORMAL, JS::gcreason::Reason reason=API) Line 4694 + 0x17 bytes C++ mozjs.dll!JS_GC(JSRuntime * rt=0x02d17ad0) Line 2169 + 0xd bytes C++ xul.dll!nsXPConnect::~nsXPConnect() Line 104 + 0x12 bytes C++ xul.dll!nsXPConnect::`scalar deleting destructor'() + 0xf bytes C++ xul.dll!nsXPConnect::Release() Line 57 + 0x15b bytes C++ xul.dll!nsXPConnect::ReleaseXPConnectSingleton() Line 189 + 0xe bytes C++ xul.dll!xpcModuleDtor() Line 24 C++ xul.dll!LayoutModuleDtor() Line 1295 C++ xul.dll!nsComponentManagerImpl::KnownModule::~KnownModule() Line 225 C++ xul.dll!nsComponentManagerImpl::KnownModule::`scalar deleting destructor'() + 0xf bytes C++ xul.dll!nsAutoPtr<nsComponentManagerImpl::KnownModule>::~nsAutoPtr<nsComponentManagerImpl::KnownModule>() Line 77 + 0x1e bytes C++ xul.dll!nsAutoPtr<nsComponentManagerImpl::KnownModule>::`scalar deleting destructor'() + 0xf bytes C++ xul.dll!nsTArrayElementTraits<nsAutoPtr<nsComponentManagerImpl::KnownModule> >::Destruct(nsAutoPtr<nsComponentManagerImpl::KnownModule> * e=0x00883dec) Line 535 C++ xul.dll!nsTArray_Impl<nsAutoPtr<nsComponentManagerImpl::KnownModule>,nsTArrayInfallibleAllocator>::DestructRange(unsigned int start=0, unsigned int count=56) Line 1569 + 0x9 bytes C++ xul.dll!nsTArray_Impl<nsAutoPtr<nsComponentManagerImpl::KnownModule>,nsTArrayInfallibleAllocator>::RemoveElementsAt(unsigned int start=0, unsigned int count=56) Line 1287 C++ xul.dll!nsTArray_Impl<nsAutoPtr<nsComponentManagerImpl::KnownModule>,nsTArrayInfallibleAllocator>::Clear() Line 1298 C++ xul.dll!nsComponentManagerImpl::Shutdown() Line 810 C++ xul.dll!mozilla::ShutdownXPCOM(nsIServiceManager * servMgr=0x00000000) Line 768 + 0xb bytes C++ xul.dll!NS_ShutdownXPCOM(nsIServiceManager * servMgr=0x00842444) Line 616 + 0x9 bytes C++ xul.dll!ScopedXPCOMStartup::~ScopedXPCOMStartup() Line 1130 + 0xb bytes C++ xul.dll!ScopedXPCOMStartup::`scalar deleting destructor'() + 0xf bytes C++ > xul.dll!XREMain::XRE_main(int argc=4, char * * argv=0x00813618, const nsXREAppData * aAppData=0x002ff790) Line 3982 + 0x1f bytes C++ xul.dll!XRE_main(int argc=4, char * * argv=0x00813618, const nsXREAppData * aAppData=0x002ff790, unsigned int aFlags=0) Line 4159 + 0x17 bytes C++ Leak log is not produced thanks this assert...
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•