RESOLVED INVALID 84231
Random crash in web core ApplicationCacheGroup.
https://bugs.webkit.org/show_bug.cgi?id=84231
Summary Random crash in web core ApplicationCacheGroup.
Jianhua
Reported 2012-04-18 01:31:54 PDT
My IPhone project is based on PhoneGap, using UIWebView to display browser web pages, in order to support view offline, web page supports HTML 5 manifest. During recent pressure and other kinds of special crash, random crash occurs from time to time, all crash in WebCore. Confusing, not find the root cause so far, nor lack of the guideline on how to further debugging. See the first crash, for which cases webcore will be invoked in this way? Any guys who have experience on WebCore or experienced the similar tough issues, could you share some info to guide me move on. Any idea or discussion will be appreciated, thanks in advance. Thread 5 name: WebThread Thread 5 Crashed: 0 WebCore 0x317947d8 WebCore::FrameLoader::applyUserAgent(WebCore::ResourceRequest&) + 20 1 WebCore 0x31932eda WebCore::ApplicationCacheGroup::createResourceHandle(WebCore::KURL const&, WebCore::ApplicationCacheResource*) + 54 2 WebCore 0x31933da6 WebCore::ApplicationCacheGroup::startLoadingEntry() + 158 3 WebCore 0x31934bc4 WebCore::ApplicationCacheGroup::didFinishLoading(WebCore::ResourceHandle*) + 324 4 WebCore 0x317d4074 -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:] + 112 5 Foundation 0x33e283c0 -[NSURLConnectionDelegateProxy connectionDidFinishLoading:] + 32 6 Foundation 0x33dff2ee -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading] + 62 7 Foundation 0x33dff270 _NSURLConnectionDidFinishLoading + 72 8 CFNetwork 0x35c1940a URLConnectionClient::_clientDidFinishLoading(URLConnectionClient::ClientConnectionEventQueue*) + 130 9 CFNetwork 0x35c0df3e URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 94 10 CFNetwork 0x35c0e0c6 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 486 11 CFNetwork 0x35c0de30 URLConnectionClient::processEvents() + 64 12 CFNetwork 0x35c0dde2 URLConnection::multiplexerClientPerform(RunLoopMultiplexer*) + 30 13 CFNetwork 0x35c0dd54 MultiplexerSource::perform() + 120 14 CFNetwork 0x35c0dcd2 MultiplexerSource::_perform(void*) + 2 15 CoreFoundation 0x32f08a72 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 6 16 CoreFoundation 0x32f0a69c __CFRunLoopDoSources0 + 188 17 CoreFoundation 0x32f0b4e4 __CFRunLoopRun + 224 18 CoreFoundation 0x32e9bebc CFRunLoopRunSpecific + 224 19 CoreFoundation 0x32e9bdc4 CFRunLoopRunInMode + 52 20 WebCore 0x3171c27e RunWebThread(void*) + 382 21 libsystem_c.dylib 0x3326630a _pthread_start + 242 22 libsystem_c.dylib 0x33267bb4 thread_start + 0 ----------------------------------------------------- Thread 5 name: WebThread Thread 5 Crashed: 0 WebCore 0x31932c74 WebCore::ApplicationCacheGroup::disassociateDocumentLoader(WebCore::DocumentLoader*) + 276 1 WebCore 0x317bed68 WebCore::ApplicationCacheHost::~ApplicationCacheHost() + 20 2 WebCore 0x317bed4a WebCore::ApplicationCacheHost::~ApplicationCacheHost() + 2 3 WebCore 0x317bea1e WebCore::DocumentLoader::~DocumentLoader() + 26 4 WebKit 0x368e3e10 WebDocumentLoaderMac::~WebDocumentLoaderMac() + 164 5 WebCore 0x31729080 WebCore::FrameLoader::setDocumentLoader(WebCore::DocumentLoader*) + 120 6 WebCore 0x318859e0 WebCore::FrameLoader::detachFromParent() + 160 7 WebKit 0x3693bbdc -[WebView(WebPrivate) _close] + 200 8 CoreFoundation 0x32f3479c __invoking___ + 60 9 CoreFoundation 0x32eac436 -[NSInvocation invoke] + 102 10 WebCore 0x3171dc36 SendMessage(NSInvocation*) + 10 11 WebCore 0x3171dc0e HandleAPISource(void*) + 66 12 CoreFoundation 0x32f08a72 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 6 13 CoreFoundation 0x32f0a69c __CFRunLoopDoSources0 + 188 14 CoreFoundation 0x32f0b4e4 __CFRunLoopRun + 224 15 CoreFoundation 0x32e9bebc CFRunLoopRunSpecific + 224 16 CoreFoundation 0x32e9bdc4 CFRunLoopRunInMode + 52 17 WebCore 0x3171c27e RunWebThread(void*) + 382 18 libsystem_c.dylib 0x3326630a _pthread_start + 242 19 libsystem_c.dylib 0x33267bb4 thread_start + 0
Attachments
Alexey Proskuryakov
Comment 1 2012-04-18 14:53:23 PDT
Please file iOS specific bugs via http://bugreport.apple.com
Jianhua
Comment 2 2012-04-18 19:03:14 PDT
(In reply to comment #1) > Please file iOS specific bugs via http://bugreport.apple.com Oh, no response from apple yet, maybe this bug report has been ignored. What does WebCore::FrameLoader::applyUserAgent(WebCore::ResourceRequest&) do? is it under manifest loading process?
Alexey Proskuryakov
Comment 3 2012-04-18 22:43:05 PDT
What do you mean saying that there was no response from Apple? Have you already reported this via <http://bugreport.apple.com>? Please post the 7 or 8 digit number that was assigned to that report.
Jianhua
Comment 4 2012-04-18 23:11:51 PDT
Thanks you guy's kindly help. I have reported it to apple with bug ID# 10992172, no response yet. I have also fired a question on http://stackoverflow.com/questions/9865547/random-crashes-occur-in-my-iphone-project-see-two-call-stacks-all-in-web-core, many people help, but no root cause found so far, could you give me some insight to help me to move on? Thanks. (In reply to comment #3) > What do you mean saying that there was no response from Apple? Have you already reported this via <http://bugreport.apple.com>? Please post the 7 or 8 digit number that was assigned to that report.
Note You need to log in before you can comment on or make changes to this bug.