Skip to content

NIOPosix Crashed on iOS #3402

@LeiovU

Description

@LeiovU

Exception Category: mach
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000100fc57f8
Crashed Thread: 6
Thread 0:
0 libsystem_kernel.dylib 0x00000001e5975ce4 0x1e5975000 + 3300
1 libsystem_kernel.dylib 0x00000001e597939c 0x1e5975000 + 17308
2 libsystem_kernel.dylib 0x00000001e59792b8 0x1e5975000 + 17080
3 libsystem_kernel.dylib 0x00000001e5979100 0x1e5975000 + 16640
4 libdispatch.dylib 0x000000019cab6c08 0x19ca9a000 + 117768
5 libdispatch.dylib 0x000000019cab6fa8 0x19ca9a000 + 118696
6 libxpc.dylib 0x000000021f0277f0 0x21f017000 + 67568
7 Foundation 0x00000001937d29b0 0x193777000 + 375216
8 Foundation 0x000000019378d88c 0x193777000 + 92300
9 CoreFoundation 0x0000000194b2d6cc 0x194aff000 + 190156
10 CoreFoundation 0x0000000194b2d940 0x194aff000 + 190784
11 LocalAuthentication 0x00000001d0da95f8 0x1d0da6000 + 13816
12 LocalAuthentication 0x00000001d0da92e8 0x1d0da6000 + 13032
13 libdispatch.dylib 0x000000019cab5584 0x19ca9a000 + 112004
14 libdispatch.dylib 0x000000019caabd28 0x19ca9a000 + 73000
15 LocalAuthentication 0x00000001d0da90a0 0x1d0da6000 + 12448
16 LocalAuthentication 0x00000001d0da8e74 0x1d0da6000 + 11892
17 LocalAuthentication 0x00000001d0da8d20 0x1d0da6000 + 11552
18 LocalAuthentication 0x00000001d0da8c0c 0x1d0da6000 + 11276
19 LocalAuthentication 0x00000001d0da89e4 0x1d0da6000 + 10724
20 LocalAuthentication 0x00000001d0da8764 0x1d0da6000 + 10084
21 AiSDPsdk 0x0000000101494544 TunnelServerNIOSession.checkPassCode() + [TunnelServerControllerResponse.swift : 984]
22 AiSDPsdk 0x00000001013f8230 TunnelServerNIOSession.terminfoRequest() + [TunnelServerControllerRequest.swift : 619]
23 AiSDPiOS 0x00000001005f4b94 $s8AiSDPiOS18HomeViewControllerC9makeTimeryyFySo7NSTimerCYbcfU_ + [ : 0]
24 AiSDPiOS 0x00000001005c14b0 $sSo7NSTimerCIeghg_ABIeyBhy_TR + [ : 0]
25 Foundation 0x000000019380abd8 0x193777000 + 605144
26 CoreFoundation 0x0000000194b1833c 0x194aff000 + 103228
27 CoreFoundation 0x0000000194b17ffc 0x194aff000 + 102396
28 CoreFoundation 0x0000000194b17b78 0x194aff000 + 101240
29 CoreFoundation 0x0000000194b0f310 0x194aff000 + 66320
30 CoreFoundation 0x0000000194b10adc 0x194aff000 + 72412
31 GraphicsServices 0x00000001e193d454 0x1e193c000 + 5204
32 UIKitCore 0x0000000197531274 0x1973fc000 + 1266292
33 UIKitCore 0x00000001974fca28 0x1973fc000 + 1051176
34 UIKitCore 0x00000001975de168 0x1973fc000 + 1974632
35 AiSDPiOS 0x0000000100622970 main + [AppDelegate.swift : 0]
36 (null) 0x00000001bb5a9f08 0x0 + 7438245640
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x00000001e5975ce4 0x1e5975000 + 3300
1 libsystem_kernel.dylib 0x00000001e597939c 0x1e5975000 + 17308
2 libsystem_kernel.dylib 0x00000001e59792b8 0x1e5975000 + 17080
3 libsystem_kernel.dylib 0x00000001e5979100 0x1e5975000 + 16640
4 CoreFoundation 0x0000000194b107a0 0x194aff000 + 71584
5 CoreFoundation 0x0000000194b0f090 0x194aff000 + 65680
6 CoreFoundation 0x0000000194b10adc 0x194aff000 + 72412
7 Foundation 0x000000019378679c 0x193777000 + 63388
8 Foundation 0x000000019378c020 0x193777000 + 86048
9 UIKitCore 0x000000019751b56c 0x1973fc000 + 1176940
10 Foundation 0x00000001937ec804 0x193777000 + 481284
11 libsystem_pthread.dylib 0x000000021efcf344 0x21efcc000 + 13124
Thread 2:
0 libsystem_kernel.dylib 0x00000001e597b658 0x1e5975000 + 26200
1 libsystem_c.dylib 0x000000019caf396c 0x19cae0000 + 80236
2 libsystem_c.dylib 0x000000019cb08cd0 0x19cae0000 + 167120
3 AiSDPiOS 0x00000001006822c4 monitorCachedData + [KSCrashCachedData.c : 0]
4 libsystem_pthread.dylib 0x000000021efcf344 0x21efcc000 + 13124
Thread 3 name: KSCrash Exception Handler (Secondary)
Thread 3:
0 libsystem_kernel.dylib 0x00000001e5975ce4 0x1e5975000 + 3300
1 libsystem_kernel.dylib 0x00000001e597939c 0x1e5975000 + 17308
2 libsystem_kernel.dylib 0x00000001e59792b8 0x1e5975000 + 17080
3 libsystem_kernel.dylib 0x00000001e5979100 0x1e5975000 + 16640
4 AiSDPiOS 0x000000010064fb68 handleExceptions + [KSCrashMonitor_MachException.c : 0]
5 libsystem_pthread.dylib 0x000000021efcf344 0x21efcc000 + 13124
Thread 4 name: KSCrash Exception Handler (Primary)
Thread 4:
0 (null) 0x0000000000000000 0x0 + 0
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x00000001e5975ce4 0x1e5975000 + 3300
1 libsystem_kernel.dylib 0x00000001e597939c 0x1e5975000 + 17308
2 libsystem_kernel.dylib 0x00000001e59792b8 0x1e5975000 + 17080
3 libsystem_kernel.dylib 0x00000001e5979100 0x1e5975000 + 16640
4 CoreFoundation 0x0000000194b107a0 0x194aff000 + 71584
5 CoreFoundation 0x0000000194b0f090 0x194aff000 + 65680
6 CoreFoundation 0x0000000194b10adc 0x194aff000 + 72412
7 CFNetwork 0x000000019613edb8 0x19609f000 + 654776
8 Foundation 0x00000001937ec804 0x193777000 + 481284
9 libsystem_pthread.dylib 0x000000021efcf344 0x21efcc000 + 13124
Thread 6 name: NIO-ELT-0-#0
Thread 6 Crashed:
0 NIOPosix 0x0000000100fc57f8 specialized static Posix.accept(descriptor:addr:len:) + [ : 0]
1 NIOPosix 0x0000000100fc5734 specialized static Posix.accept(descriptor:addr:len:) + [System.swift : 309]
2 NIOPosix 0x0000000100fb99ec ServerSocket.accept(setNonBlocking:) + [ : 0]
3 NIOPosix 0x0000000100fbe538 ServerSocketChannel.readFromSocket() + [SocketChannel.swift : 247]
4 NIOPosix 0x0000000100faaa9c specialized BaseSocketChannel.readable0() + [ : 40]
5 NIOPosix 0x0000000100fb2620 specialized SelectableEventLoop.handleEvent(:channel:) + [SelectableEventLoop.swift : 381]
6 NIOPosix 0x0000000100faeea8 closure #2 in closure #2 in SelectableEventLoop.run() + [ : 72]
7 NIOPosix 0x0000000100fb009c partial apply for closure #2 in closure #2 in SelectableEventLoop.run() + [ : 0]
8 NIOPosix 0x0000000100fb8698 Selector.whenReady0(strategy:onLoopBegin:
:) + [SelectorKqueue.swift : 258]
9 NIOPosix 0x0000000100fb5198 Selector.whenReady(strategy:onLoopBegin::) + [SelectorGeneric.swift : 0]
10 NIOPosix 0x0000000100fad498 SelectableEventLoop.run() + [SelectableEventLoop.swift : 447]
11 NIOPosix 0x0000000100f9ca90 specialized static MultiThreadedEventLoopGroup.runTheLoop(thread:canEventLoopBeShutdownIndividually:selectorFactory:initializer:
:) + [MultiThreadedEventLoopGroup.swift : 84]
12 NIOPosix 0x0000000100f9a3dc closure #1 in static MultiThreadedEventLoopGroup.setupThreadAndEventLoop(name:selectorFactory:initializer:) + [ : 0]
13 NIOPosix 0x0000000100fc7964 thunk for @escaping @callee_guaranteed (@guaranteed NIOThread) -> () + [ : 0]
14 NIOPosix 0x0000000100fc8424 closure #1 in static ThreadOpsPosix.run(handle:args:detachThread:) + [ : 332]
15 libsystem_pthread.dylib 0x000000021efcf344 0x21efcc000 + 13124

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions