[Webkit-unassigned] [Bug 15087] New: REGRESSION: crashes in ResourceHandle::client() on a secondary thread
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 26 22:05:33 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=15087
Summary: REGRESSION: crashes in ResourceHandle::client() on a
secondary thread
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Keywords: Regression, NeedsRadar
Severity: Normal
Priority: P1
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ap at webkit.org
WebKit nightlies sometimes crash for me in ResourceHandle::client(). The crash
isn't reliably reproducible, but the stack trace immediately shows what the
problem is - NSURLConnection calls its delegate on a secondary thread.
So, this seems to be an NSURLConnection bug. However, it didn't cause crashes
(that often?) for us before, and it can be worked around by forwarding delegate
methods to the main thread, so it IMO makes sense to track it in both Radar and
Bugzilla. Perhaps a null check would be an adequate fix, too.
Thread 1 Crashed:
0 com.apple.WebCore 0x01414850 WebCore::ResourceHandle::client()
const + 0
1 com.apple.Foundation 0x92c37d70
-[NSURLConnection(NSURLConnectionInternal) _didFinishReturnCachedResponse:] +
524
2 com.apple.Foundation 0x92c0f01c -[NSConnectionHTTPURLProtocol
attemptRetryAfter3xxResponse] + 540
3 com.apple.Foundation 0x92d2235c -[NSConnectionHTTPURLProtocol
performHTTPHeaderRead] + 696
4 com.apple.Foundation 0x92c0e844 readStreamCallback2 + 592
5 com.apple.CoreFoundation 0x9082af3c _CFStreamSignalEventSynch + 332
6 com.apple.CoreFoundation 0x907de4fc __CFRunLoopDoSources0 + 384
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list