Hello,
I am getting crash with following details.
Crash occurs on only iOS 18.5.
Many times the crash occurs in same library i.e. libsystem_malloc.dylib.
Can someone guide me to debug this crash and resolve the issue?
—————————————————————————————————
Crash sample got by a thirdparty framework:
0x00000001048cc000
Caused by:Applicationreceived signal 5
0 libsystem_malloc.dylib 0x000000019771a020 0x0000000197718000 + 8224
1 libdispatch.dylib 0x000000018ee88a1c 0x000000018ee87000 + 6684
2 libdispatch.dylib 0x000000018ee88a1c 0x000000018ee87000 + 6684
3 libdispatch.dylib 0x000000018ee90258 0x000000018ee87000 + 37464
4 CoreMedia 0x000000019439d704 0x00000001942cc000 + 857860
5 CoreMedia 0x00000001943a3bb4 0x00000001942cc000 + 883636
6 CoreMedia 0x00000001943a3688 0x00000001942cc000 + 882312
7 CoreMedia 0x00000001943a32f8 0x00000001942cc000 + 881400
8 MediaToolbox 0x0000000198736d0c 0x0000000198469000 + 2940172
9 libsystem_pthread.dylib 0x0000000211624d98 0x0000000211624000 + 3480
10 libsystem_platform.dylib 0x0000000211579d98 0x0000000211579000 + 3480
11 libsystem_platform.dylib 0x00000002115798d0 0x0000000211579000 + 2256
12 libsystem_pthread.dylib 0x0000000211628bfc 0x0000000211624000 + 19452
13 MediaToolbox 0x00000001987366dc 0x0000000198469000 + 2938588
14 AVFCore 0x0000000199078f98 0x0000000198fc1000 + 753560
15 AVFCore 0x000000019907825c 0x0000000198fc1000 + 750172
16 AVFCore 0x0000000199076de0 0x0000000198fc1000 + 744928
17 ICBCBankTest 0x0000000108ca5fc4 -[YTVideoRecorder startWith:withWidth:withHeight:withCodecSetting:withAudioSetting:] (in XXXApp) (YTVideoRecorder.mm:114)
YTVideoRecorder.mm:114 should be the following code:
[videoWriter startWriting];
[videoWriter startSessionAtSourceTime:kCMTimeZero];
And videoWriter is an instance of AVAssetWriter.
Currently, memory exhaustion and storage space exhaustion can be ruled out. And AVAssetWriter is used in a single thread.
Thanks!
Topic:
Developer Tools & Services
SubTopic:
Xcode