Closed Bug 241285 Opened 22 years ago Closed 10 years ago

Crash [@ nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle() ]

Categories

(Core :: Networking, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bc, Unassigned)

Details

(Keywords: crash, Whiteboard: [needs networking guru to examine stacks])

Crash Data

This crash occured in an optimized 1.7 build from early 4/21 on Windows XP. The crash occured in nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle() { if (mConn) { gHttpHandler->ReclaimConnection(mConn); => NS_RELEASE(mConn); } } and mConn was 0 nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle(nsHttpConnectionMgr::nsConnectionHandle * const 0x00a11180) line 833 + 7 bytes nsHttpConnectionMgr::nsConnectionHandle::`scalar deleting destructor'(nsHttpConnectionMgr::nsConnectionHandle * const 0x00a11180, unsigned int 1) + 8 bytes nsHttpConnectionMgr::nsConnectionHandle::Release(nsHttpConnectionMgr::nsConnectionHandle * const 0x0240f710) line 837 + 32 bytes nsHttpTransaction::Close(nsHttpTransaction * const 0x00a11180, unsigned int 13620223) line 503 + 6 bytes nsHttpConnection::CloseTransaction(nsHttpConnection * const 0x00a11180, nsAHttpTransaction * 0x03711350, unsigned int 2152988678) line 457 nsHttpConnectionMgr::OnMsgCancelTransaction(nsHttpConnectionMgr * const 0x00a11180, unsigned int, void *) line 737 This occured somewhere on about.com, and I will post a url as soon as I can reproduce it.
Darin, I could not reproduce the exact same crash however ran into another one on a different page at about.com using a debug build from the same pull as the above optimized build. The crash is not reproducible at that page either, but I will list it here for reference. nsRefPtr<nsAHttpConnection>::nsRefPtr<nsAHttpConnection>(nsAHttpConnection * 0x07d9c418) line 958 + 13 bytes nsHttpChannel::OnStopRequest(nsHttpChannel * const 0x07d9c6b8, nsIRequest * 0x07d9d408, nsISupports * 0x00000000, unsigned int 2152398851) line 3390 nsInputStreamPump::OnStateStop() line 499 nsInputStreamPump::OnInputStreamReady(nsInputStreamPump * const 0x07d9d40c, nsIAsyncInputStream * 0x0407332c) line 339 + 11 bytes nsInputStreamReadyEvent::EventHandler(PLEvent * 0x040735b4) line 119 PL_HandleEvent(PLEvent * 0x040735b4) line 673 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00af2910) line 608 + 9 bytes _md_EventReceiverProc(HWND__ * 0x0026009a, unsigned int 49437, unsigned int 0, long 11479312) line 1414 + 9 bytes USER32! 77d43a50() USER32! 77d43b1f() USER32! 77d43d79() USER32! 77d43ddf() nsAppShellService::Run(nsAppShellService * const 0x00a34d00) line 524 main1(int 1, char * * 0x002e2638, nsISupports * 0x0099f150) line 1303 + 32 bytes main(int 1, char * * 0x002e2638) line 1780 + 37 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e814c7() I've seen similar stacks in a number of other bugs. One thing that was interesting was the occurence of ###!!! ASSERTION: unexpected progress values: 'progress <= progressMax', file c:/work/mozilla_source/1.7/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp, line 3488 earlier although not directly associated with the page where the crash occured. These both occured while spidering about.com 2 clicks deep using http://bclary.com/2004/04/10/CSpider I don't know if these are artifacts of the spider or if there is some ad which causes problems or if it is due to the asymmetric nature of my satellite connection.
One thing I have noticed about about.com is that it is the only site which I have found that is reporting Apache-Coyote/1.1 server.
Severity: major → critical
Summary: Crash in nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle() → Crash [@ nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle() ]
Version: Other Branch → 1.7 Branch
-> default owner
Assignee: darin → nobody
Component: Networking: HTTP → Networking
QA Contact: networking.http → networking
Version: 1.7 Branch → Trunk
Whiteboard: [needs networking guru to determine whether the stacks are useful]
Crash Signature: [@ nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle() ]
still happens. Somewhat rare. bp-25cd534f-6b2e-453e-b090-0ea2c2120718 firefox 17.0a1 I could not reproduce using nightly with URLs from 6 random crashes rare also for thunderbird. same stack. bp-ecdf77cf-906e-4b36-a126-976282120714 TB 13.0.1 0 xul.dll nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle netwerk/protocol/http/nsHttpConnectionMgr.cpp:1843 1 xul.dll nsHttpConnectionMgr::nsConnectionHandle::`scalar deleting destructor' 2 xul.dll nsHttpConnectionMgr::nsConnectionHandle::Release mailnews/imap/src/nsImapFlagAndUidState.cpp:46 3 xul.dll nsHttpChannel::OnStopRequest netwerk/protocol/http/nsHttpChannel.cpp:4364 4 xul.dll nsInputStreamPump::OnStateStop netwerk/base/src/nsInputStreamPump.cpp:583 5 xul.dll nsInputStreamPump::OnInputStreamReady netwerk/base/src/nsInputStreamPump.cpp:405
Whiteboard: [needs networking guru to determine whether the stacks are useful] → [needs networking guru to examine stacks]
Crash Signature: [@ nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle() ] → [@ nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle() ] [@ nsHttpConnectionMgr::nsConnectionHandle::~nsConnectionHandle ]
lacking an str at this point..
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.