Closed Bug 402488 Opened 18 years ago Closed 18 years ago

Debug assertion - 'writer returned an error with non-zero writeCount' when browsing

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 398121

People

(Reporter: ian, Unassigned)

References

()

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30) Build Identifier: Gecko/2007110512 Minefield/3.0a9pre Viewing The Burning Edge and get the following in a modal window (debug assertion): - aMsg 0x0012f018 "###!!! ASSERTION: writer returned an error with non-zero writeCount: '(NS_FAILED(rv) ? (*writeCount == 0) : PR_TRUE)', file C:/mozilla-build/msys/home/ian/mozilla/xpcom/io/nsInputStreamTee.cpp, line 105" const char * Reproducible: Always Steps to Reproduce: 1. Open new FF window to home page of http://www.mozilla.org/projects/minefield/ 2. Click link the The Burining Edge on right side of screen 3. Assertion fires. Actual Results: Debug window appears contain error message. Hitting Ignore allows web page to be displayed. Expected Results: No error message should be seen. Debug build, VC8 SP1 and WinXP SP2. Stack trace (taken from VS2005, messy, sorry): xpcom_core.dll!NS_DebugBreak_P(unsigned int aSeverity=1, const char * aStr=0x0036c828, const char * aExpr=0x0036c7f8, const char * aFile=0x0036c7b0, int aLine=105) Line 358 + 0xc bytes C++ xpcom_core.dll!nsInputStreamTee::WriteSegmentFun(nsIInputStream * in=0x06172540, void * closure=0x06172368, const char * fromSegment=0x032bf4b4, unsigned int offset=0, unsigned int count=12, unsigned int * writeCount=0x0012f464) Line 105 + 0x3f bytes C++ xpcom_core.dll!nsPipeInputStream::ReadSegments(unsigned int (nsIInputStream *, void *, const char *, unsigned int, unsigned int, unsigned int *)* writer=0x002d2f00, void * closure=0x06172368, unsigned int count=12, unsigned int * readCount=0x0012f760) Line 799 + 0x1d bytes C++ xpcom_core.dll!nsInputStreamTee::ReadSegments(unsigned int (nsIInputStream *, void *, const char *, unsigned int, unsigned int, unsigned int *)* writer=0x02dbc210, void * closure=0x0616d9d8, unsigned int count=12, unsigned int * bytesRead=0x0012f760) Line 157 C++ imglib2.dll!nsICODecoder::WriteFrom(nsIInputStream * aInStr=0x06172368, unsigned int aCount=12, unsigned int * aRetval=0x0012f760) Line 164 C++ imglib2.dll!imgRequest::OnDataAvailable(nsIRequest * aRequest=0x06171220, nsISupports * ctxt=0x00000000, nsIInputStream * inStr=0x06172368, unsigned int sourceOffset=0, unsigned int count=12) Line 847 + 0x31 bytes C++ imglib2.dll!ProxyListener::OnDataAvailable(nsIRequest * aRequest=0x06171220, nsISupports * ctxt=0x00000000, nsIInputStream * inStr=0x06172368, unsigned int sourceOffset=0, unsigned int count=12) Line 878 C++ necko.dll!nsStreamListenerTee::OnDataAvailable(nsIRequest * request=0x06171220, nsISupports * context=0x00000000, nsIInputStream * input=0x06172540, unsigned int offset=0, unsigned int count=12) Line 97 + 0x35 bytes C++ necko.dll!nsHttpChannel::OnDataAvailable(nsIRequest * request=0x06172790, nsISupports * ctxt=0x00000000, nsIInputStream * input=0x06172540, unsigned int offset=0, unsigned int count=12) Line 4497 + 0x5d bytes C++ necko.dll!nsInputStreamPump::OnStateTransfer() Line 508 + 0x40 bytes C++ necko.dll!nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream * stream=0x06172540) Line 398 + 0xb bytes C++ xpcom_core.dll!nsInputStreamReadyEvent::Run() Line 112 C++ xpcom_core.dll!nsThread::ProcessNextEvent(int mayWait=1, int * result=0x0012f984) Line 491 C++ xpcom_core.dll!NS_ProcessNextEvent_P(nsIThread * thread=0x00bbce18, int mayWait=1) Line 227 + 0x16 bytes C++ gkwidget.dll!nsBaseAppShell::Run() Line 154 + 0xc bytes C++ tkitcmps.dll!nsAppStartup::Run() Line 170 + 0x1c bytes C++ xul.dll!XRE_main(int argc=1, char * * argv=0x00bb93b8, const nsXREAppData * aAppData=0x00bb9930) Line 3142 + 0x25 bytes C++ firefox.exe!main(int argc=1, char * * argv=0x00bb93b8) Line 153 + 0x12 bytes C++ firefox.exe!__tmainCRTStartup() Line 597 + 0x19 bytes C firefox.exe!mainCRTStartup() Line 414 C
Version: unspecified → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.