WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
164055
Crash is observed randmly while doing DB update operation randomly
https://bugs.webkit.org/show_bug.cgi?id=164055
Summary
Crash is observed randmly while doing DB update operation randomly
saurabh
Reported
2016-10-27 03:01:19 PDT
Crash is observed randomly while doing index-DB operation from JavaScript. Stack Trace: Date/Time: 2016-09-07 15:33:47.47 +0530 Launch Time: 2016-09-07 14:54:39.39 +0530 OS Version: iOS 9.3.5 (13G36) Report Version: 105 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000008 Triggered by Thread: 0 Filtered syslog: None found Global Trace Buffer (reverse chronological seconds): 2.103481 CFNetwork 0x00000001829258e0 TCP Conn 0x145a7b260 SSL Handshake DONE 2.148979 CFNetwork 0x00000001829257f0 TCP Conn 0x145a7b260 starting SSL negotiation 2.162135 CFNetwork 0x00000001829c7e7c TCP Conn 0x145a7b260 complete. fd: 31, err: 0 2.162521 CFNetwork 0x00000001829c93a8 TCP Conn 0x145a7b260 event 1. err: 0 2.218789 CFNetwork 0x00000001829c9480 TCP Conn 0x145a7b260 started 2.818629 CFNetwork 0x00000001829258e0 TCP Conn 0x145be3310 SSL Handshake DONE 2.861126 CFNetwork 0x00000001829257f0 TCP Conn 0x145be3310 starting SSL negotiation 2.861596 CFNetwork 0x00000001829c7e7c TCP Conn 0x145be3310 complete. fd: 21, err: 0 2.862174 CFNetwork 0x00000001829c93a8 TCP Conn 0x145be3310 event 1. err: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 WebCore 0x00000001862f57f4 WebCore::SecurityOriginHash::hash(WebCore::SecurityOrigin) + 24 1 WebCore 0x0000000186515548 std::__1::enable_if >::value, WTF::HashMap<WTF::String, WTF::HashSet<WebCore::Database, WTF::PtrHashWebCore::Database*, WTF::HashTraitsWebCore::Database* >, WTF::StringHash, WTF::HashTraitsWTF::String, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >> >>::type WTF::HashMapWTF::RefPtr<WebCore::SecurityOrigin, WTF::HashMap, WTF::HashTraitsWebCore::Database* >, WTF::StringHash, WTF::HashTraitsWTF::String, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >> >, WebCore::SecurityOriginHash, WTF::HashTraitsWTF::RefPtr<WebCore::SecurityOrigin >, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >, WTF::StringHash, WTF::HashTraitsWTF::String, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >> >> >::inlineGetWTF::RefPtr<WebCore::SecurityOrigin >(WTF::GetPtrHelperWTF::RefPtr<WebCore::SecurityOrigin >::PtrType) const + 44 2 WebCore 0x0000000186515548 std::__1::enable_if >::value, WTF::HashMap, WTF::HashTraitsWebCore::Database* >, WTF::StringHash, WTF::HashTraitsWTF::String, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >> >>::type WTF::HashMapWTF::RefPtr<WebCore::SecurityOrigin, WTF::HashMap, WTF::HashTraitsWebCore::Database* >, WTF::StringHash, WTF::HashTraitsWTF::String, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >> >, WebCore::SecurityOriginHash, WTF::HashTraitsWTF::RefPtr<WebCore::SecurityOrigin >, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >, WTF::StringHash, WTF::HashTraitsWTF::String, WTF::HashTraits, WTF::HashTraitsWebCore::Database* >> >> >::inlineGetWTF::RefPtr<WebCore::SecurityOrigin >(WTF::GetPtrHelperWTF::RefPtr<WebCore::SecurityOrigin >::PtrType) const + 44 3 WebCore 0x0000000186511e10 WebCore::DatabaseTracker::removeOpenDatabase(WebCore::Database*) + 100 4 WebCore 0x0000000186506f1c WebCore::DatabaseBackendBase::closeDatabase() + 60 5 WebCore 0x0000000186502f40 WebCore::Database::close() + 232 6 WebCore 0x00000001865105a8 WebCore::DatabaseTracker::closeAllDatabases() + 796 7 WebKitLegacy 0x00000001871d9850 __69+[WebDatabaseManager(WebDatabaseManagerInternal) startBackgroundTask]block_invoke + 16 8 UIKit 0x000000018774c12c -[UIApplication workspaceNoteAssertionExpirationImminent:] + 284 9 FrontBoardServices 0x0000000183ce37ac _FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 36 10 FrontBoardServices 0x0000000183ce3618 -[FBSSerialQueue performNext] + 168 11 FrontBoardServices 0x0000000183ce39c8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56 12 CoreFoundation 0x00000001822f909c _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24 13 CoreFoundation 0x00000001822f8b30 __CFRunLoopDoSources0 + 540 14 CoreFoundation 0x00000001822f6830 __CFRunLoopRun + 724 15 CoreFoundation 0x0000000182220c50 CFRunLoopRunSpecific + 384 16 GraphicsServices 0x0000000183b08088 GSEventRunModal + 180 17 UIKit 0x000000018750e088 UIApplicationMain + 204 18 WebRTCApp 0x0000000100041950 main (main.m:32) 19 libdyld.dylib 0x0000000181dbe8b8 start + 4
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2016-10-28 20:11:49 PDT
Have you seen this crash in iOS 10? IndexedDB implementation has been largely rewritten in this release.
Brady Eidson
Comment 2
2016-10-30 10:57:34 PDT
(In reply to
comment #0
)
> Crash is observed randomly while doing index-DB operation from JavaScript.
(In reply to
comment #1
)
> Have you seen this crash in iOS 10? IndexedDB implementation has been > largely rewritten in this release.
Note that despite the apparent correlation with doing an IndexedDB operation, this crash trace has absolutely nothing to do with IndexedDB; DatabaseTracker is only about WebSQL and not IDB.
Radar WebKit Bug Importer
Comment 3
2016-10-30 10:57:46 PDT
<
rdar://problem/29019253
>
saurabh
Comment 4
2016-11-01 21:14:27 PDT
(In reply to
comment #2
)
> (In reply to
comment #0
) > > Crash is observed randomly while doing index-DB operation from JavaScript. > > (In reply to
comment #1
) > > Have you seen this crash in iOS 10? IndexedDB implementation has been > > largely rewritten in this release. > > Note that despite the apparent correlation with doing an IndexedDB > operation, this crash trace has absolutely nothing to do with IndexedDB; > DatabaseTracker is only about WebSQL and not IDB.
No crash is not observed on iOS 10. Crashed is observed in OS version is iOS 9.3.5 (13G36)device. We are using webSQL only
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug