Posts

Post not yet marked as solved
1 Replies
1k Views
Hi, all: more details appreciated about why this crash happened. as you can see, it crashed when socket readcomplete, but why trigger a sigtrap in libdispatch? crash stack as follow: Trigger Thread:10 appversion : xxxx CFBundleShortVersionString : xxxx CFBundleName : xxxx packagename : xxxx boot_time : 2021-12-04T01:08:28Z kernel_version : Darwin Kernel Version 21.0.0: Sun Aug 15 20:55:49 PDT 2021; root:xnu-8019.12.5~1/RELEASE_ARM64_T8110 process_name : xxxxx process_id : 1322 parent_process_id : 1 Exception Codes: #0 at 0x00000001820a6f5c Exception Type: SIGTRAP ExtraInfo:{FirstLaunch:0,FirstInstall:0,PT:box.medusa.bbammsimagesearchviewcontroller1229,remjsVer = 3.380.2, isPrejs = 1, prejsVer = 3.370.10, } Code Type: arm64 OS Version: iPhone OS 15.0 (19A344) Hardware Model: iPhone14,5 Launch Time: 2021-12-06 13:56:33 Date/Time: 2021-12-07 18:59:42 Thread 10 Crashed: 0 libdispatch.dylib __dispatch_event_loop_end_ownership.cold.1 (in libdispatch.dylib) 28 1 libdispatch.dylib __dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib) 176 2 CoreFoundation ___CFFileDescriptorDisableCallBacks_block_invoke (in CoreFoundation) 372 3 *** base::MessagePumpIOSForIO::FdWatchController::StopWatchingFileDescriptor() (in ***) 196 4 *** net::SocketPosix::ReadCompleted() (in ***) 16 5 *** base::MessagePumpIOSForIO::HandleFdIOEvent(__CFFileDescriptor*, unsigned long, void*) (in ***) 120 6 CoreFoundation ___CFFileDescriptorPerform (in CoreFoundation) 356 7 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation) 28 8 CoreFoundation ___CFRunLoopDoSource0 (in CoreFoundation) 208 9 CoreFoundation ___CFRunLoopDoSources0 (in CoreFoundation) 376 10 CoreFoundation ___CFRunLoopRun (in CoreFoundation) 820 11 CoreFoundation -[__NSCFString appendString:] (in CoreFoundation) 9040 12 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) 236 13 *** base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) (in ***) 128 14 *** base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) (in ***) 144 15 *** base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) (in ***) 236 16 *** base::RunLoop::Run() (in ***) 384 17 *** base::Thread::ThreadMain() (in ***) 428 18 *** base::PlatformThread::Detach(base::PlatformThreadHandle) (in ***) 260 19 libsystem_pthread.dylib __pthread_start (in libsystem_pthread.dylib) 148 Thread 10 crashed with arm64 Thread State: pc: 0x00000001820a6f5c fp: 0x0000000170641bd0 sp: 0x0000000170641b10 x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000002 x3: 0x0000000170641b18 x4: 0x0000000000000002 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000403 x8: 0x00000000fffffffe x9: 0x0000000000000000 x10: 0x00000000fffffffe x11: 0x0000000000000005 x12: 0x00000002838192b8 x13: 0x0000004000000001 x14: 0x001ffe8000000000 x15: 0x001ffe8000000000 x16: 0x0000000000000177 x17: 0x6ae1000283819280 x18: 0x0000000000000000 x19: 0x0000000283819280 x20: 0x0000000000000001 x21: 0x001ffea400007501 x22: 0x001ffea400000001 x23: 0x0000000170641dd8 x24: 0x0000000170641db8 x25: 0x0000000170641d98 x26: 0x0000000000000001 x27: 0x00000001dc032000 x28: 0x00000001dc032000 lr: 0x0000000182091df8 cpsr: 0x0000000080001000 Binary Images: 0x1b8e41000 - 0x1b8e75000 libsystem_kernel.dylib arm64e <d2476f74d204348d8d386165d0485c7c> /usr/lib/system/libsystem_kernel.dylib 0x1a1cd9000 - 0x1a1ce4000 libsystem_notify.dylib arm64e <ad98a60defce3925a97c072887cf36be> /usr/lib/system/libsystem_notify.dylib 0x18f197000 - 0x18f24c000 IOKit arm64e <08dae3e208c13cf6b8d13854b3ee0d77> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x18480d000 - 0x186090000 UIKitCore arm64e <0e2d8679d5f13c0390107f6ce3662789> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x18206b000 - 0x1820b1000 libdispatch.dylib arm64e <959cd6e40ce73022b73c8b36f79f4745> /usr/lib/system/libdispatch.dylib 0x182363000 - 0x1827b7000 CoreFoundation arm64e <6174789ae88c3f5cba39de2e9edc0750> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x19db92000 - 0x19db9b000 GraphicsServices arm64e <0f7424f6bde5311aa3fac0e0c4c28d72> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x100104000 - 0x10faf8000 *** arm64 <fa0329eae50938c7b09519a50ba29c1e> /private/var/containers/Bundle/Application/4842390D-E12A-47FA-B586-DB4661DE6BEA/***.app/*** 0x18f2eb000 - 0x18f5f7000 CoreMotion arm64e <9d82cede6b9d36b3a8f8ba0c9782d328> /System/Library/Frameworks/CoreMotion.framework/CoreMotion 0x1f282c000 - 0x1f2838000 libsystem_pthread.dylib arm64e <bc1ce0c6a9f2396b9afb623d3acd5881> /usr/lib/system/libsystem_pthread.dylib 0x183b8d000 - 0x183e92000 Foundation arm64e <efbca2ff8b8c3227abbc154ba851d23c> /System/Library/Frameworks/Foundation.framework/Foundation 0x182b79000 - 0x18303e000 CFNetwork arm64e <570aad29ce5c3cd9ab01ad21e1440ddb> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x19a9a7000 - 0x19aa0b000 libc++.1.dylib arm64e <ad83bb4ecfd63d39a9e2b8e115bef247> /usr/lib/libc++.1.dylib 0x18d2ae000 - 0x18e55b000 JavaScriptCore arm64e <3993ffc446eb3e7fa3dc814e1863b585> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore 0x18b6e3000 - 0x18b70d000 AudioSession arm64e <abd54d35666937df90b922ddf1183098> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession 0x18cd34000 - 0x18cfc0000 AudioToolbox arm64e <a1e75af5046b3c8a870e0dcb43881f33> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox 0x19b28a000 - 0x19b2be000 libAudioToolboxUtility.dylib arm64e <08c9eae3a24730179c6af1f2ffb65fc1> /usr/lib/libAudioToolboxUtility.dylib 0x1f2847000 - 0x1f287f000 libxpc.dylib arm64e <e8a600510c6835aeaefd9d97cc7f2696> /usr/lib/system/libxpc.dylib 0x1bdb8e000 - 0x1bdb92000 AppTrackingTransparency arm64e <422d252d95b33c75beeb72ff296a459c> /System/Library/Frameworks/AppTrackingTransparency.framework/AppTrackingTransparency 0x1bdb55000 - 0x1bdb57000 AdSupport arm64e <9cd6f87a74e731e6a90b109f16e19a6d> /System/Library/Frameworks/AdSupport.framework/AdSupport 0x19c9fc000 - 0x19ca15000 libsystem_trace.dylib arm64e <e47c51bb9d5a3882a6bef744a30cce80> /usr/lib/system/libsystem_trace.dylib 0x18303e000 - 0x183b0f000 libnetwork.dylib arm64e <d810c68913393fc696e8196b9901e4dc> /usr/lib/libnetwork.dylib 0x18b138000 - 0x18b2aa000 Security arm64e <7842bf757629334795a6954ea28435cc> /System/Library/Frameworks/Security.framework/Security
Posted Last updated
.