9***@qq.com
9***@qq.com
  • 发布:2019-11-01 14:12
  • 更新:2019-11-01 14:12
  • 阅读:3104

IOS13 兼容性问题,调用自定义原生SDK时崩溃

分类:5+ SDK

在IOS12上没有问题,使用IOS时调用自定义SDK原生代码时应用崩溃。

0 libobjc.A.dylib objc_msgSend + 8
1 HBuilder -[PDRCoreApp handleCmds:] (PDRCoreApp.m:2856)
2 HBuilder -[H5WEWKWebview webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:] (H5WEWKWebview.m:632)
3 WebKit WebKit::UIDelegate::UIClient::runJavaScriptPrompt(WebKit::WebPageProxy*, WTF::String const&, WTF::String const&, WebKit::WebFrameProxy*, WebCore::SecurityOriginData const&, WTF::Function<void (WTF::String const&)>&&) + 492
4 WebKit WebKit::WebPageProxy::runJavaScriptPrompt(unsigned long long, WebCore::SecurityOriginData const&, WTF::String const&, WTF::String const&, WTF::CompletionHandler<void (WTF::String const&)>&&) + 172
5 WebKit void IPC::handleMessageSynchronous<Messages::WebPageProxy::RunJavaScriptPrompt, WebKit::WebPageProxy, void (WebKit::WebPageProxy::)(unsigned long long, WebCore::SecurityOriginData const&, WTF::String const&, WTF::String const&, WTF::CompletionHandler<void (WTF::String const&)>&&)>(IPC::Connection&, IPC::Decoder&, std::__1::unique_ptr<IPC::Encoder, std::__1::default_deleteIPC::Encoder >&, WebKit::WebPageProxy, void (WebKit::WebPageProxy::)(unsigned long long, WebCore::SecurityOriginData const&, WTF::String const&, WTF::String const&, WTF::CompletionHandler<void (WTF::String const&)>&&)) + 180
6 WebKit IPC::MessageReceiverMap::dispatchSyncMessage(IPC::Connection&, IPC::Decoder&, std::__1::unique_ptr<IPC::Encoder, std::__1::default_deleteIPC::Encoder >&) + 112
7 WebKit WebKit::WebProcessProxy::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, std::__1::unique_ptr<IPC::Encoder, std::__1::default_deleteIPC::Encoder >&) + 36
8 WebKit IPC::Connection::dispatchSyncMessage(IPC::Decoder&) + 196
9 WebKit IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_deleteIPC::Decoder >) + 192
10 WebKit IPC::Connection::SyncMessageState::dispatchMessages(IPC::Connection
) + 264
11 WebKit IPC::Connection::SyncMessageState::dispatchMessageAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&) + 168
12 JavaScriptCore WTF::RunLoop::performWork() + 276
13 JavaScriptCore WTF::RunLoop::performWork(void*) + 36
14 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
15 CoreFoundation ___CFRunLoopDoSource0 + 80
16 CoreFoundation ___CFRunLoopDoSources0 + 180
17 CoreFoundation ___CFRunLoopRun + 1080
18 CoreFoundation CFRunLoopRunSpecific + 464
19 GraphicsServices GSEventRunModal + 104
20 UIKitCore UIApplicationMain + 1936
21 HBuilder main (main.m:16)
22 libdyld.dylib _start + 4
#1 Thread

0 libsystem_kernel.dylib 0x000000019f829a74 __workq_kernreturn
1 libsystem_pthread.dylib 0x000000019f74dff0 _pthread_wqthread
#2 com.apple.uikit.eventfetch-thread

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 Foundation 0x000000019fce8994 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 Foundation 0x000000019fce8874 -[NSRunLoop(NSRunLoop) runUntilDate:]
7 UIKitCore 0x00000001a3ad649c -[UIEventFetcher threadMain]
8 Foundation 0x000000019fe190b0 _NSThread__start
9 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#3 com.taobao.weex.bridge

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 Foundation 0x000000019fce8994 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 HBuilder 0x0000000104f2ce20 -[WXBridgeManager _runLoopThread] (WXBridgeManager.m:102)
7 Foundation 0x000000019fe190b0 _NSThread__start
8 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#4 JavaScriptCore bmalloc scavenger

0 libsystem_kernel.dylib 0x000000019f828c8c __psynch_cvwait
1 libsystem_pthread.dylib 0x000000019f746204 __pthread_cond_wait$VARIANT$mp
2 libc++.1.dylib 0x000000019f87a7a8 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)
3 JavaScriptCore 0x00000001ae6063fc void std::__1::condition_variable_any::wait<std::__1::unique_lockbmalloc::Mutex >(std::__1::unique_lockbmalloc::Mutex&)
4 JavaScriptCore 0x00000001ae609dcc bmalloc::Scavenger::threadRunLoop()
5 JavaScriptCore 0x00000001ae609ab4 bmalloc::Scavenger::Scavenger(std::__1::lock_guardbmalloc::Mutex&)
6 JavaScriptCore 0x00000001ae60adc0 std::__1::__thread_specific_ptrstd::__1::__thread_struct::set_pointer(std::__1::__thread_struct*)
7 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#5 com.taobao.weex.component

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 Foundation 0x000000019fce8994 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 HBuilder 0x0000000104dc0d50 -[WXComponentManager _runLoopThread] (WXComponentManager.mm:182)
7 Foundation 0x000000019fe190b0 _NSThread__start
8 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#6 Thread

0 libsystem_kernel.dylib 0x000000019f829a74 __workq_kernreturn
1 libsystem_pthread.dylib 0x000000019f74dff0 _pthread_wqthread
#7 Thread

0 libsystem_kernel.dylib 0x000000019f829a74 __workq_kernreturn
1 libsystem_pthread.dylib 0x000000019f74dff0 _pthread_wqthread
#8 Thread

0 libsystem_kernel.dylib 0x000000019f828c8c __psynch_cvwait
1 libsystem_pthread.dylib 0x000000019f746204 __pthread_cond_wait$VARIANT$mp
2 HBuilder 0x0000000105225e24 _baidu_vi::CVEvent::Wait(unsigned int)
3 HBuilder 0x00000001052262cc _baidu_vi::CVThreadEvent::Wait()
4 HBuilder 0x000000010522f0f4 _baidu_vi::CVSocketMan::SocketThreadProc(void*)
5 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#9 com.apple.NSURLConnectionLoader

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 CFNetwork 0x00000001a2c23e68 0x00000001a2c22000
6 Foundation 0x000000019fe190b0 _NSThread__start
7 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#10 Thread

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 CoreFoundation 0x000000019f9a9608 CFRunLoopRun
6 Foundation 0x000000019fe190b0 _NSThread__start
7 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#11 Thread

0 libsystem_kernel.dylib 0x000000019f829a74 __workq_kernreturn
1 libsystem_pthread.dylib 0x000000019f74dff0 _pthread_wqthread
#12 com.apple.CFSocket.private

0 libsystem_kernel.dylib 0x000000019f829148 __select
1 CoreFoundation 0x000000019f9bbb3c ___CFSocketManager
2 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#13 WebThread

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 WebCore 0x00000001a7863100 RunWebThread(void*)
6 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#14 GtAsyncSocket-CFStream

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 Foundation 0x000000019fce8994 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 HBuilder 0x000000010502065c +[GtAsyncSocket cfstreamThread]
7 Foundation 0x000000019fe190b0 _NSThread__start
8 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start
#15 AVAudioSession Notify Thread

0 libsystem_kernel.dylib 0x000000019f8075f4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000019f806a60 mach_msg
2 CoreFoundation 0x000000019f9ae068 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x000000019f9a9188 ___CFRunLoopRun
4 CoreFoundation 0x000000019f9a88bc CFRunLoopRunSpecific
5 AVFAudio 0x00000001ac409e68 GenericRunLoopThread::Entry(void*)
6 AVFAudio 0x00000001ac45adf0 CAPThread::Entry(CAPThread*)
7 libsystem_pthread.dylib 0x000000019f74d1ec _pthread_start

2019-11-01 14:12 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复