Bug 175928

Summary: ios10.3 UIWebView crash using LocalStorage
Product: WebKit Reporter: hongfei <codepop>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Critical CC: ap, beidson, codepop, webkit-bug-importer, zhgw01
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
serious bug on ios10.3 none

hongfei
Reported 2017-08-24 01:21:59 PDT
Created attachment 318975 [details] serious bug on ios10.3 # OS Version: 10.3.3 (14G60) # Device: iPhone 6s # RAM Free: 4.2% # Disk Free: 15.7% #21. Crashed: WebCore: LocalStorage 0 WebKitLegacy 0x18a00a828 WebKit::StorageAreaImpl::importItems(WTF::HashMap<WTF::String, WTF::String, WTF::StringHash, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String> > const&) + 50 1 WebKitLegacy 0x18a00bc6c WebKit::StorageAreaSync::performImport() + 336 2 WebKitLegacy 0x18a00f370 WebCore::StorageThread::threadEntryPoint() + 108 3 JavaScriptCore 0x1880cef7c WTF::threadEntryPoint(void*) + 212 4 JavaScriptCore 0x1880cee8c WTF::wtfThreadEntryPoint(void*) + 24 5 libsystem_pthread.dylib 0x1832b168c _pthread_body + 240 6 libsystem_pthread.dylib 0x1832b159c _pthread_body + 282 7 libsystem_pthread.dylib 0x1832aecb4 thread_start + 4
Attachments
serious bug on ios10.3 (268.48 KB, image/png)
2017-08-24 01:21 PDT, hongfei
no flags
hongfei
Comment 1 2017-08-24 01:51:30 PDT
this crash bug seems only to happen on ios10.3 UIWebView
zhgw01
Comment 2 2017-08-25 05:10:55 PDT
We also meet such crash for UIWebView since iOS 10.3.0 randomly in Fabric. It seems there is any thread related issue like race condition in storage thread, which cause m_storageMap of StorageAreaImpl corrupted
Alexey Proskuryakov
Comment 3 2017-08-26 15:20:54 PDT
Apple employees: see also rdar://problem/13458384
Brady Eidson
Comment 4 2017-08-28 09:28:06 PDT
(In reply to Alexey Proskuryakov from comment #3) > Apple employees: see also rdar://problem/13458384 <rdar://problem/33056913>
hongfei
Comment 5 2017-09-18 08:06:11 PDT
Does the crash happens due to webkit source bug? I want to get some ideas to solove the crash.
Note You need to log in before you can comment on or make changes to this bug.