-
Notifications
You must be signed in to change notification settings - Fork 902
Description
Describe the bug
This is an occasional bug, which might be related to my calling the disconnect method of the AWSIoTDataManager class
Stack Trace
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes: 0x0000000000000001, 0x0000000000000008
VM Region Info: 0x8 is not in any region. Bytes before following region: 68719476728
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [26270]
Triggered by Thread: 15
Thread 15 Crashed:
0 CoreFoundation 0x19c68afd4 -[__NSDictionaryM objectForKey:] + 136
1 AWSIoT 0x10497f5d0 -[AWSMQTTSession nextMsgId] + 80
2 AWSIoT 0x10497ca2c -[AWSMQTTSession subscribeToTopic:atLevel:] + 56
3 AWSIoT 0x104959edc -[AWSIoTMQTTClient session:handleEvent:] + 1868
4 AWSIoT 0x10497df08 -[AWSMQTTSession decoder:newMessage:] + 1128
5 AWSIoT 0x10497a97c -[AWSMQTTDecoder stream:handleEvent:] + 1280
6 CoreFoundation 0x19c7a7fbc _inputStreamCallbackFunc + 76
7 CoreFoundation 0x19c73a594 _signalEventSync + 216
8 CoreFoundation 0x19c73a444 _cfstream_shared_signalEventSync + 392
9 CoreFoundation 0x19c6b912c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
10 CoreFoundation 0x19c6b83a8 __CFRunLoopDoSource0 + 176
11 CoreFoundation 0x19c6b6b5c __CFRunLoopDoSources0 + 244
12 CoreFoundation 0x19c6b5898 __CFRunLoopRun + 828
13 CoreFoundation 0x19c6b5478 CFRunLoopRunSpecific + 608
14 Foundation 0x19b64848c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
15 AWSIoT 0x1049791b4 -[AWSIoTStreamThread main] + 948
16 Foundation 0x19b6cbde0 NSThread__start + 732
17 libsystem_pthread.dylib 0x2066a44d4 _pthread_start + 136
18 libsystem_pthread.dylib 0x2066a3a10 thread_start + 8
Thread 15 crashed with ARM Thread State (64-bit):
x0: 0x0000000808d12dfd x1: 0x0000000000000006 x2: 0x000000016d7a9640 x3: 0x0000000000000001
x4: 0x0000000281a7e400 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000403
x8: 0x00000002ad9b0f54 x9: 0xba5ded834e7f0026 x10: 0x0000000000000000 x11: 0xc400000000000000
x12: 0x402a000000000000 x13: 0xc03a000000000000 x14: 0x8010000000000001 x15: 0x0000000000000003
x16: 0x00000002066cdefc x17: 0x000000019c68cc18 x18: 0x0000000000000000 x19: 0xbd7e575043e179e8
x20: 0x0000000000000003 x21: 0x0000000000000000 x22: 0x0000000000000003 x23: 0x0000000000000001
x24: 0x0000000000000003 x25: 0x00000001f2f38a50 x26: 0x0000000000000001 x27: 0x0000000000000001
x28: 0x0000000000000000 fp: 0x000000016d7a96c0 lr: 0xf73718819c68afb8
sp: 0x000000016d7a9680 pc: 0x000000019c68afd4 cpsr: 0x20001000
far: 0x0000000000000008 esr: 0x92000006 (Data Abort) byte read Translation fault
Environment(please complete the following information):
- SDK Version: [2.38.1]
- Dependency Manager: [ Cocoapods]
- Swift Version : [6.0]
- Xcode Version: [16.2]
Device Information (please complete the following information):
- Device: [iPhone14,5r]
- iOS Version: [iOS 17.2.1]
- Specific to simulators: