iOS crash, can't symbolicate -
my crash log:
application received signal sigsegv (null) ( 0 corefoundation 0x0000000182ab02f4 <redacted> + 160 1 libobjc.a.dylib 0x00000001942d40e4 objc_exception_throw + 60 2 corefoundation 0x0000000182ab0218 <redacted> + 0 3 yixia 0x429496857fc2 _zn15ctxappidconvert17isconnectionappidepkc + 149220 4 libsystem_platform.dylib 0x0000000194b0094c _sigtramp + 52 5 yixia 0x42949679ff82 yixia + 485740 6 yixia 0x4294967b8072 yixia + 584284 7 libdispatch.dylib 0x0000000194925994 <redacted> + 24 8 libdispatch.dylib 0x0000000194925954 <redacted> + 16 9 libdispatch.dylib 0x000000019492a20c _dispatch_main_queue_callback_4cf + 1608 10 corefoundation 0x0000000182a677f8 <redacted> + 12 11 corefoundation 0x0000000182a658a0 <redacted> + 1492 12 corefoundation 0x00000001829912d4 cfrunlooprunspecific + 396 13 graphicsservices 0x000000018c1a76fc gseventrunmodal + 168 14 uikit 0x0000000187556fac uiapplicationmain + 1488 15 yixia 0x4294967b8746 yixia + 586032 16 libdyld.dylib 0x0000000194952a08 <redacted> + 4 ) dsym uuid: 220af59e-3467-377e-b8ae-da048ba93ddc cpu type: arm64 slide address: 0x429496729616x binary image: yixia base address: 0x00000001000a8000
my dsym
file: dsym.
i run dwarfdump --arch=arm64 --lookup 0x429496857fc2 yixia.app.dsym
, following result:
---------------------------------------------------------------------- file: yixia.app.dsym/contents/resources/dwarf/yixia (arm64) ---------------------------------------------------------------------- looking address: 0x0000429496739102 in .debug_info... not found. looking address: 0x0000429496739102 in .debug_frame... not found.
i'm sure code causes crash: crash code.
the app crashes after invoking + (nsdata *)generategifwithimage:(uiimage *)image andstickers:(nsarray *)stickers small:(bool)small withsharetype:(nsuinteger)sharetype
, screenshot:
then iphone lost connection.
replace
dwarfdump --arch=arm64 --lookup 0x429496857fc2 yixia.app.dsym
with
atos -arch arm64 -o yixia.app.dsym/contents/resources/dwarf/yixia 0x429496857fc2
read this blog (written in chinese) more.