i am getting lots of java script core related crashes, however i am not using it directly in client app, but i am using many third party sdks, which are using them.
but looking from crashlogs, i am totally clueless, from where this crash is coming:
below are crash logs: can any gives some idea regarding this crash ?
Crashed: WebThread
0 JavaScriptCore 0x188c3ca2c bmalloc::Heap::allocateLarge(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long, unsigned long) + 24
1 JavaScriptCore 0x188c3ca20 bmalloc::Heap::allocateLarge(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long, unsigned long) + 12
2 JavaScriptCore 0x188c3a2a0 bmalloc::Allocator::allocateLarge(unsigned long) + 92
3 JavaScriptCore 0x188c3a120 bmalloc::Allocator::reallocate(void*, unsigned long) + 444
4 JavaScriptCore 0x18829698c WTF::fastRealloc(void*, unsigned long) + 52
5 JavaScriptCore 0x188c27bd0 WTF::StringImpl::reallocate(WTF::Ref<WTF::StringImpl>&&, unsigned int, unsigned char*&) + 76
6 JavaScriptCore 0x1882968c0 void WTF::StringBuilder::reallocateBuffer<unsigned char>(unsigned int) + 104
7 JavaScriptCore 0x188c273cc WTF::StringBuilder::appendQuotedJSONString(WTF::String const&) + 184
8 JavaScriptCore 0x18897e698 JSC::Stringifier::appendStringifiedValue(WTF::StringBuilder&, JSC::JSValue, JSC::Stringifier::Holder const&, JSC:ropertyNameForFunctionCall const&) + 3468
9 JavaScriptCore 0x18897f784 JSC::Stringifier::Holder::appendNextProperty(JSC::Stringifier&, WTF::StringBuilder&) + 2756
10 JavaScriptCore 0x18897e9c4 JSC::Stringifier::appendStringifiedValue(WTF::StringBuilder&, JSC::JSValue, JSC::Stringifier::Holder const&, JSC:ropertyNameForFunctionCall const&) + 4280
11 JavaScriptCore 0x18897d72c JSC::Stringifier::stringify(JSC::Handle<JSC::Unknown>) + 272
12 JavaScriptCore 0x1889821ac JSC::JSONProtoFuncStringify(JSC::ExecState*) + 380
13 JavaScriptCore 0x188a18eb4 llint_entry + 29668
14 JavaScriptCore 0x188a18454 llint_entry + 27012
15 JavaScriptCore 0x188a18454 llint_entry + 27012
16 JavaScriptCore 0x188a18454 llint_entry + 27012
17 JavaScriptCore 0x188a188bc llint_entry + 28140
18 JavaScriptCore 0x188a18454 llint_entry + 27012
19 JavaScriptCore 0x188a11900 vmEntryToJavaScript + 272
20 JavaScriptCore 0x1888f0170 JSC::JITCode::execute(JSC::VM*, JSC:rotoCallFrame*) + 184
21 JavaScriptCore 0x1882d5294 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 400
22 JavaScriptCore 0x1885392e4 JSC:rofiledCall(JSC::ExecState*, JSC:rofilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 168
23 JavaScriptCore 0x188963e34 JSC::JSJobMicrotask::run(JSC::ExecState*) + 452
24 WebCore 0x189f7a1b0 WebCore::JSDOMWindowMicrotaskCallback::call() + 152
25 WebCore 0x18984d9ec WebCore::ActiveDOMCallbackMicrotask::run() + 48
26 WebCore 0x18a3d9154 WebCore::MicrotaskQueue:erformMicrotaskCheckpoint() + 108
27 WebCore 0x18a0be4ec WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 24
28 WebCore 0x1897c87a0 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) + 1108
29 WebCore 0x189b47f4c WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener>, 1ul, WTF::CrashOnOverflow, 16ul>) + 836
30 WebCore 0x189b478e4 WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 420
31 WebCore 0x18a407cb8 WebCore::Node::handleLocalEvents(WebCore::Event&) + 104
32 WebCore 0x189b3819c WebCore::EventContext::handleLocalEvents(WebCore::Event&) const + 116
33 WebCore 0x189b391d4 WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&) + 776
34 WebCore 0x1897574d0 WebCore::HTMLImageLoader::dispatchLoadEvent() + 248
35 WebCore 0x18975739c WebCore::ImageLoader::dispatchPendingEvent(WebCore::EventSender<WebCore::ImageLoader>*) + 144
36 WebCore 0x189757214 WebCore::EventSender<WebCore::ImageLoader>::dispatchPendingEvents() + 128
37 WebCore 0x1896d7e18 WebCore::ThreadTimers::sharedTimerFiredInternal() + 172
38 WebCore 0x1896d7d58 WebCore::timerFired(__CFRunLoopTimer*, void*) + 28
39 CoreFoundation 0x181877dc0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
40 CoreFoundation 0x181877ae4 __CFRunLoopDoTimer + 864
41 CoreFoundation 0x1818772e4 __CFRunLoopDoTimers + 248
42 CoreFoundation 0x181874ecc __CFRunLoopRun + 1928
43 CoreFoundation 0x181794c58 CFRunLoopRunSpecific + 436
44 WebCore 0x18970984c RunWebThread(void*) + 560
45 libsystem_pthread.dylib 0x1814f82b4 _pthread_body + 308
46 libsystem_pthread.dylib 0x1814f8180 _pthread_body + 310
47 libsystem_pthread.dylib 0x1814f6b74 thread_start + 4
but looking from crashlogs, i am totally clueless, from where this crash is coming:
below are crash logs: can any gives some idea regarding this crash ?
Crashed: WebThread
0 JavaScriptCore 0x188c3ca2c bmalloc::Heap::allocateLarge(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long, unsigned long) + 24
1 JavaScriptCore 0x188c3ca20 bmalloc::Heap::allocateLarge(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long, unsigned long) + 12
2 JavaScriptCore 0x188c3a2a0 bmalloc::Allocator::allocateLarge(unsigned long) + 92
3 JavaScriptCore 0x188c3a120 bmalloc::Allocator::reallocate(void*, unsigned long) + 444
4 JavaScriptCore 0x18829698c WTF::fastRealloc(void*, unsigned long) + 52
5 JavaScriptCore 0x188c27bd0 WTF::StringImpl::reallocate(WTF::Ref<WTF::StringImpl>&&, unsigned int, unsigned char*&) + 76
6 JavaScriptCore 0x1882968c0 void WTF::StringBuilder::reallocateBuffer<unsigned char>(unsigned int) + 104
7 JavaScriptCore 0x188c273cc WTF::StringBuilder::appendQuotedJSONString(WTF::String const&) + 184
8 JavaScriptCore 0x18897e698 JSC::Stringifier::appendStringifiedValue(WTF::StringBuilder&, JSC::JSValue, JSC::Stringifier::Holder const&, JSC:ropertyNameForFunctionCall const&) + 3468
9 JavaScriptCore 0x18897f784 JSC::Stringifier::Holder::appendNextProperty(JSC::Stringifier&, WTF::StringBuilder&) + 2756
10 JavaScriptCore 0x18897e9c4 JSC::Stringifier::appendStringifiedValue(WTF::StringBuilder&, JSC::JSValue, JSC::Stringifier::Holder const&, JSC:ropertyNameForFunctionCall const&) + 4280
11 JavaScriptCore 0x18897d72c JSC::Stringifier::stringify(JSC::Handle<JSC::Unknown>) + 272
12 JavaScriptCore 0x1889821ac JSC::JSONProtoFuncStringify(JSC::ExecState*) + 380
13 JavaScriptCore 0x188a18eb4 llint_entry + 29668
14 JavaScriptCore 0x188a18454 llint_entry + 27012
15 JavaScriptCore 0x188a18454 llint_entry + 27012
16 JavaScriptCore 0x188a18454 llint_entry + 27012
17 JavaScriptCore 0x188a188bc llint_entry + 28140
18 JavaScriptCore 0x188a18454 llint_entry + 27012
19 JavaScriptCore 0x188a11900 vmEntryToJavaScript + 272
20 JavaScriptCore 0x1888f0170 JSC::JITCode::execute(JSC::VM*, JSC:rotoCallFrame*) + 184
21 JavaScriptCore 0x1882d5294 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 400
22 JavaScriptCore 0x1885392e4 JSC:rofiledCall(JSC::ExecState*, JSC:rofilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 168
23 JavaScriptCore 0x188963e34 JSC::JSJobMicrotask::run(JSC::ExecState*) + 452
24 WebCore 0x189f7a1b0 WebCore::JSDOMWindowMicrotaskCallback::call() + 152
25 WebCore 0x18984d9ec WebCore::ActiveDOMCallbackMicrotask::run() + 48
26 WebCore 0x18a3d9154 WebCore::MicrotaskQueue:erformMicrotaskCheckpoint() + 108
27 WebCore 0x18a0be4ec WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 24
28 WebCore 0x1897c87a0 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) + 1108
29 WebCore 0x189b47f4c WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener>, 1ul, WTF::CrashOnOverflow, 16ul>) + 836
30 WebCore 0x189b478e4 WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 420
31 WebCore 0x18a407cb8 WebCore::Node::handleLocalEvents(WebCore::Event&) + 104
32 WebCore 0x189b3819c WebCore::EventContext::handleLocalEvents(WebCore::Event&) const + 116
33 WebCore 0x189b391d4 WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&) + 776
34 WebCore 0x1897574d0 WebCore::HTMLImageLoader::dispatchLoadEvent() + 248
35 WebCore 0x18975739c WebCore::ImageLoader::dispatchPendingEvent(WebCore::EventSender<WebCore::ImageLoader>*) + 144
36 WebCore 0x189757214 WebCore::EventSender<WebCore::ImageLoader>::dispatchPendingEvents() + 128
37 WebCore 0x1896d7e18 WebCore::ThreadTimers::sharedTimerFiredInternal() + 172
38 WebCore 0x1896d7d58 WebCore::timerFired(__CFRunLoopTimer*, void*) + 28
39 CoreFoundation 0x181877dc0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
40 CoreFoundation 0x181877ae4 __CFRunLoopDoTimer + 864
41 CoreFoundation 0x1818772e4 __CFRunLoopDoTimers + 248
42 CoreFoundation 0x181874ecc __CFRunLoopRun + 1928
43 CoreFoundation 0x181794c58 CFRunLoopRunSpecific + 436
44 WebCore 0x18970984c RunWebThread(void*) + 560
45 libsystem_pthread.dylib 0x1814f82b4 _pthread_body + 308
46 libsystem_pthread.dylib 0x1814f8180 _pthread_body + 310
47 libsystem_pthread.dylib 0x1814f6b74 thread_start + 4