IPhone: Understanding Field Crash Reports: Unrecognized Selector?

The user of my application in the field seems to have problems with a crash when starting the application. I made him send me .crash files from my PC. After "symbolizing" them in accordance with this article, I get what looks from the stack as an unsuccessful selector. But the top line of code that corresponds to my process is to send a message unambiguously, which is executed hundreds of times without problems in my application. Needless to say, I never repeat this problem myself.

Can a crash report lie? Can this stack indicate anything other than an unrecognized selector? Thank you for understanding.

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib               0x000790a0 __kill + 8
1   libSystem.B.dylib               0x00079090 kill + 4
2   libSystem.B.dylib               0x00079082 raise + 10
3   libSystem.B.dylib               0x0008d20a abort + 50
4   libstdc++.6.dylib               0x00044a1c __gnu_cxx::__verbose_terminate_handler() + 376
5   libobjc.A.dylib                 0x000057c4 _objc_terminate + 104
6   libstdc++.6.dylib               0x00042dee __cxxabiv1::__terminate(void (*)()) + 46
7   libstdc++.6.dylib               0x00042e42 std::terminate() + 10
8   libstdc++.6.dylib               0x00042f12 __cxa_throw + 78
9   libobjc.A.dylib                 0x000046a4 objc_exception_throw + 64
10  CoreFoundation                  0x00094174 -[NSObject doesNotRecognizeSelector:] + 108
11  CoreFoundation                  0x00093afa ___forwarding___ + 482
12  CoreFoundation                  0x000306c8 _CF_forwarding_prep_0 + 40
13  MyAppProcess                    0x000147c6 -[ImageLoader imageSmallForColor:style:] (ImageLoader.m:180)
.... /* many more frames... */
+3
2

" " " ". , , x, . . , - Y. , , x, , Y .

+2

, - , , , .

, ImageLoader.m: 180 . , , .

: , , NSException Console.app. , .

1: , . , .

2: / , . NSString, NSNumber.

+2

Source: https://habr.com/ru/post/1744093/


All Articles