Bug 175928 - ios10.3 UIWebView crash using LocalStorage
Summary: ios10.3 UIWebView crash using LocalStorage
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-08-24 01:21 PDT by hongfei
Modified: 2022-02-09 10:14 PST (History)
5 users (show)

See Also:


Attachments
serious bug on ios10.3 (268.48 KB, image/png)
2017-08-24 01:21 PDT, hongfei
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description hongfei 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
Comment 1 hongfei 2017-08-24 01:51:30 PDT
this crash bug seems only to happen on ios10.3 UIWebView
Comment 2 zhgw01 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
Comment 3 Alexey Proskuryakov 2017-08-26 15:20:54 PDT
Apple employees: see also rdar://problem/13458384
Comment 4 Brady Eidson 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>
Comment 5 hongfei 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.