gpt4 book ai didi

ios - 网络扩展 IPC 中的奇怪崩溃

转载 作者:行者123 更新时间:2023-11-29 12:00:57 28 4
gpt4 key购买 nike

有时,当我从 GUI 发送 IPC 消息时,我的数据包隧道(网络扩展)会发生奇怪的崩溃:

Hardware Model:      iPad5,4
Process: PacketTunnel [7893]
Code Type: ARM-64 (Native)
Parent Process: launchd [1]

Date/Time: 2016-05-04 17:57:58.58 +0300
Launch Time: 2016-05-04 17:55:55.55 +0300
OS Version: iOS 9.0.2 (13A452)
Report Version: 105

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000000000c0
Triggered by Thread: 0

Filtered syslog:
None found

Global Trace Buffer (reverse chronological seconds):
19.714507 libextension.dylib 0x00000001965c0dc8 tearing down context in extension due to invalidation



Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x0000000196d87890 lookUpImpOrForward + 80
1 libobjc.A.dylib 0x0000000196d91db8 _objc_msgSend_uncached_impcache + 56
2 libobjc.A.dylib 0x0000000196d91db8 _objc_msgSend_uncached_impcache + 56
3 NetworkExtension 0x0000000185552988 __70-[NEExtensionTunnelProviderContext establishIPCWithCompletionHandler:]_block_invoke + 104
4 NetworkExtension 0x000000018546b3ac -[NEIPC handleMessage:withHandler:] + 444
5 NetworkExtension 0x000000018546b68c __39-[NEIPC setupMessageHandlingWithQueue:]_block_invoke + 172
6 libxpc.dylib 0x00000001977c130c _xpc_connection_call_event_handler + 68
7 libxpc.dylib 0x00000001977bf0b4 _xpc_connection_mach_event + 2132
8 libdispatch.dylib 0x000000019756d86c _dispatch_client_callout4 + 16
9 libdispatch.dylib 0x0000000197571b58 _dispatch_mach_msg_invoke + 656
10 libdispatch.dylib 0x0000000197579930 _dispatch_queue_drain + 1332
11 libdispatch.dylib 0x0000000197570c6c _dispatch_mach_invoke + 600
12 libdispatch.dylib 0x00000001975728d8 _dispatch_main_queue_callback_4CF + 492
13 CoreFoundation 0x0000000182164258 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
14 CoreFoundation 0x00000001821620c0 __CFRunLoopRun + 1628
15 CoreFoundation 0x0000000182090dc0 CFRunLoopRunSpecific + 384
16 Foundation 0x00000001830047ec -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 308
17 Foundation 0x0000000183059e14 -[NSRunLoop(NSRunLoop) run] + 88
18 libxpc.dylib 0x00000001977ccd3c _xpc_objc_main + 660
19 libxpc.dylib 0x00000001977cea70 xpc_main + 200
20 Foundation 0x00000001831d6494 service_connection_handler + 0
21 PlugInKit 0x000000019003acd8 -[PKService run] + 544
22 PlugInKit 0x000000019003a96c +[PKService main] + 56
23 PlugInKit 0x000000019003acfc +[PKService _defaultRun:arguments:] + 20
24 libextension.dylib 0x00000001965d2058 NSExtensionMain + 64
25 libdyld.dylib 0x000000019759e8b8 start + 4

看起来它试图向已释放的对象发送消息。我知道这个答案需要网络扩展内部或源代码的知识,但也许 Apple 工程师正在阅读 SO...

最佳答案

我与 DTS 进行了交谈,我们认为这是 iOS 9.0.2 中的错误,并已在 iOS 9.3.x 中修复。除了升级到 9.3.x 之外,9.0.2 没有解决方法。

关于ios - 网络扩展 IPC 中的奇怪崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37033779/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com