My SERVER app working fine in debug mode crashes when in release mode.
The moment that crashes is when the client is shut down abruptly or sometimes just at startup.
I have two Crash-Reports but I can't figure out what the error is. Anyone know how to translate what is written?
The moment that crashes is when the client is shut down abruptly or sometimes just at startup.
I have two Crash-Reports but I can't figure out what the error is. Anyone know how to translate what is written?
Incident Identifier: D2259C18-4AAB-4784-8ED7-A2DF15FD5E28
CrashReporter Key: 21254572901f4ab2b146210abda2c91a97803e7c
Hardware Model: iPhone7,2
Process: HttpServer [302]
Path: /var/containers/Bundle/Application/9F377310-1043-4A66-9AD1-68954AFC14CA/HttpServer.app/HttpServer
Identifier: it.tecnomedia.httpserver
Version: 1.0.0 (1.0.0)
Code Type: ARM-64
Parent Process: ? [1]
Date/Time: 2021-03-04 07:26:09.000 +0100
OS Version: iOS 12.5.1 (16H22)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_NOT_WAITING at 0x0000000000000030
Crashed Thread: 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libicucore.A.dylib 0x0000000186b1d064 0x1869f4000 + 1216612 (icu::GregorianCalendar::defaultCenturyStartYear() const + 812)
1 libicucore.A.dylib 0x0000000186b1d044 0x1869f4000 + 1216580 (icu::GregorianCalendar::defaultCenturyStartYear() const + 780)
2 libicucore.A.dylib 0x0000000186abac90 0x1869f4000 + 814224 (icu:?:computeGregorianAndDOWFields(int, UErrorCode&) + 64)
3 libicucore.A.dylib 0x0000000186abab18 0x1869f4000 + 813848 (icu:?:computeFields(UErrorCode&) + 216)
4 libicucore.A.dylib 0x0000000186aba2a8 0x1869f4000 + 811688 (icu:?:complete(UErrorCode&) + 56)
5 libicucore.A.dylib 0x0000000186aba244 0x1869f4000 + 811588 (icu:?:get(UCalendarDateFields, UErrorCode&) const + 48)
6 CoreFoundation 0x0000000186d6f7c8 0x186c62000 + 1103816 (<redacted> + 60)
7 CoreFoundation 0x0000000186d97db8 0x186c62000 + 1269176 (_CFCalendarDecomposeAbsoluteTimeV + 204)
8 CoreFoundation 0x0000000186c7b1a8 0x186c62000 + 102824 (<redacted> + 336)
9 CoreFoundation 0x0000000186c79df8 0x186c62000 + 97784 (<redacted> + 84)
10 HttpServer 0x000000010050cfd0 0x1004cc000 + 266192 (-[B4IDateTime GetDayOfMonth:] + 112)
11 HttpServer 0x00000001004dc468 0x1004cc000 + 66664 (-[b4i_servletrequest _completedate:] + 440)
12 HttpServer 0x00000001004d9d34 0x1004cc000 + 56628 (-[ResumableSub_servletrequest_BrowserTimeOut resume::] + 1152)
13 HttpServer 0x00000001004ff59c 0x1004cc000 + 210332 (__21-[B4ICommon Sleep:::]_block_invoke + 60)
14 libdispatch.dylib 0x00000001867b97d4 0x186759000 + 395220 (<redacted> + 16)
15 libdispatch.dylib 0x000000018675e01c 0x186759000 + 20508 (<redacted> + 412)
16 libdispatch.dylib 0x000000018676dfa8 0x186759000 + 85928 (<redacted> + 1308)
17 libdispatch.dylib 0x0000000186766eec 0x186759000 + 57068 (<redacted> + 784)
18 CoreFoundation 0x0000000186d0cb20 0x186c62000 + 699168 (<redacted> + 12)
19 CoreFoundation 0x0000000186d07a58 0x186c62000 + 678488 (<redacted> + 1924)
20 CoreFoundation 0x0000000186d06fb4 0x186c62000 + 675764 (CFRunLoopRunSpecific + 436)
21 GraphicsServices 0x0000000188f0879c 0x188efe000 + 42908 (GSEventRunModal + 104)
22 UIKitCore 0x00000001b374dc38 0x1b2e91000 + 9161784 (UIApplicationMain + 212)
23 HttpServer 0x00000001004d0854 0x1004cc000 + 18516 (main + 128)
24 libdyld.dylib 0x00000001867ca8e0 0x1867c9000 + 6368 (<redacted> + 4)
Thread 1 name: Dispatch queue: com.apple.root.default-qos
Thread 1:
0 libsystem_kernel.dylib 0x0000000186915df4 0x1868f4000 + 138740 (accept + 8)
1 HttpServer 0x000000010053e974 0x1004cc000 + 469364 (-[B4IFastServerSocket accept] + 68)
2 HttpServer 0x000000010053c1dc 0x1004cc000 + 459228 (__32-[B4IServerSocketWrapper Listen]_block_invoke + 124)
3 libdispatch.dylib 0x00000001867b8a38 0x186759000 + 391736 (<redacted> + 24)
4 libdispatch.dylib 0x00000001867b97d4 0x186759000 + 395220 (<redacted> + 16)
5 libdispatch.dylib 0x000000018675dc80 0x186759000 + 19584 (<redacted> + 684)
6 libdispatch.dylib 0x000000018676a030 0x186759000 + 69680 (<redacted> + 372)
7 libdispatch.dylib 0x000000018676a8d4 0x186759000 + 71892 (<redacted> + 128)
8 libsystem_pthread.dylib 0x000000018699a1b4 0x18698e000 + 49588 (_pthread_wqthread + 464)
Thread 2:
0 libsystem_kernel.dylib 0x0000000186917b74 0x1868f4000 + 146292 (__workq_kernreturn + 8)
1 libsystem_pthread.dylib 0x000000018699a138 0x18698e000 + 49464 (_pthread_wqthread + 340)
Thread 3 Crashed:
0 HttpServer 0x000000010054442c 0x1004cc000 + 492588 (__23-[B4IAOUT putClosePill]_block_invoke + 60)
1 HttpServer 0x0000000100544424 0x1004cc000 + 492580 (__23-[B4IAOUT putClosePill]_block_invoke + 52)
2 libdispatch.dylib 0x00000001867b8a38 0x186759000 + 391736 (<redacted> + 24)
3 libdispatch.dylib 0x00000001867b97d4 0x186759000 + 395220 (<redacted> + 16)
4 libdispatch.dylib 0x0000000186762324 0x186759000 + 37668 (<redacted> + 592)
5 libdispatch.dylib 0x0000000186762e40 0x186759000 + 40512 (<redacted> + 428)
6 libdispatch.dylib 0x000000018676b4ac 0x186759000 + 74924 (<redacted> + 596)
7 libsystem_pthread.dylib 0x000000018699a114 0x18698e000 + 49428 (_pthread_wqthread + 304)
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x000000018690c0f4 0x1868f4000 + 98548 (mach_msg_trap + 8)
1 libsystem_kernel.dylib 0x000000018690b5a0 0x1868f4000 + 95648 (mach_msg + 72)
2 CoreFoundation 0x0000000186d0c914 0x186c62000 + 698644 (<redacted> + 236)
3 CoreFoundation 0x0000000186d07824 0x186c62000 + 677924 (<redacted> + 1360)
4 CoreFoundation 0x0000000186d06fb4 0x186c62000 + 675764 (CFRunLoopRunSpecific + 436)
5 Foundation 0x00000001876d595c 0x1876ce000 + 31068 (<redacted> + 300)
6 Foundation 0x00000001876d57ec 0x1876ce000 + 30700 (<redacted> + 96)
7 UIKitCore 0x00000001b3833754 0x1b2e91000 + 10102612 (<redacted> + 136)
8 Foundation 0x00000001878024a0 0x1876ce000 + 1262752 (<redacted> + 984)
9 libsystem_pthread.dylib 0x00000001869992c0 0x18698e000 + 45760 (<redacted> + 128)
10 libsystem_pthread.dylib 0x0000000186999220 0x18698e000 + 45600 (_pthread_start + 44)
Thread 5:
0 libsystem_kernel.dylib 0x0000000186917400 0x1868f4000 + 144384 (__semwait_signal + 8)
1 libsystem_c.dylib 0x000000018688d56c 0x186815000 + 492908 (nanosleep + 212)
2 libsystem_c.dylib 0x000000018688d36c 0x186815000 + 492396 (sleep + 44)
3 HttpServer 0x00000001005a336c 0x1004cc000 + 881516 (monitorCachedData + 132)
4 libsystem_pthread.dylib 0x00000001869992c0 0x18698e000 + 45760 (<redacted> + 128)
5 libsystem_pthread.dylib 0x0000000186999220 0x18698e000 + 45600 (_pthread_start + 44)
Thread 6 name: KSCrash Exception Handler (Secondary)
Thread 6:
0 libsystem_kernel.dylib 0x000000018690c0f4 0x1868f4000 + 98548 (mach_msg_trap + 8)
1 libsystem_kernel.dylib 0x000000018690b5a0 0x1868f4000 + 95648 (mach_msg + 72)
2 HttpServer 0x000000010059fc18 0x1004cc000 + 867352 (handleExceptions + 208)
3 libsystem_pthread.dylib 0x00000001869992c0 0x18698e000 + 45760 (<redacted> + 128)
4 libsystem_pthread.dylib 0x0000000186999220 0x18698e000 + 45600 (_pthread_start + 44)
Thread 7 name: KSCrash Exception Handler (Primary)
Thread 7:
Thread 8:
0 libsystem_kernel.dylib 0x0000000186917208 0x1868f4000 + 143880 (recvfrom + 8)
1 HttpServer 0x000000010053d7f8 0x1004cc000 + 464888 (-[B4IFastSocket receiveBytes:limit:] + 56)
2 HttpServer 0x0000000100543a0c 0x1004cc000 + 489996 (-[B4IAIN run] + 2480)
3 Foundation 0x00000001878024a0 0x1876ce000 + 1262752 (<redacted> + 984)
4 libsystem_pthread.dylib 0x00000001869992c0 0x18698e000 + 45760 (<redacted> + 128)
5 libsystem_pthread.dylib 0x0000000186999220 0x18698e000 + 45600 (_pthread_start + 44)
Thread 9:
0 libsystem_kernel.dylib 0x0000000186917208 0x1868f4000 + 143880 (recvfrom + 8)
1 HttpServer 0x000000010053d7f8 0x1004cc000 + 464888 (-[B4IFastSocket receiveBytes:limit:] + 56)
2 HttpServer 0x0000000100543a0c 0x1004cc000 + 489996 (-[B4IAIN run] + 2480)
3 Foundation 0x00000001878024a0 0x1876ce000 + 1262752 (<redacted> + 984)
4 libsystem_pthread.dylib 0x00000001869992c0 0x18698e000 + 45760 (<redacted> + 128)
5 libsystem_pthread.dylib 0x0000000186999220 0x18698e000 + 45600 (_pthread_start + 44)
Thread 3 crashed with ARM-64 Thread State:
cpsr: 0x0000000080000000 fp: 0x000000016fb5e8f0 lr: 0x0000000100544424 pc: 0x000000010054442c
sp: 0x000000016fb5e8a0 x0: 0x0000000000000000 x1: 0x00000001867b8a20 x10: 0x0000000000000070
x11: 0x0000000000000000 x12: 0x0000000044000000 x13: 0x0000000000000000 x14: 0x00000000f0243800
x15: 0x0000000000000087 x16: 0x0000000185f6c66c x17: 0x0000000070200000 x18: 0x0000000000000000
x19: 0x0000000280b0df20 x2: 0x0000000000000002 x20: 0x0000000282b15e30 x21: 0x0000000000030002
x22: 0x0000000000000114 x23: 0x0000000000000000 x24: 0x0000000281049e00 x25: 0x0000000000000010
x26: 0x000000010060c000 x27: 0x0000000000000000 x28: 0x000000016fb5f0e0 x29: 0x000000016fb5e8f0
x3: 0x000000018694df30 x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000
x7: 0x0000000000000000 x8: 0x0000000000000030 x9: 0x0000000000000008