Crash
#211
Replies: 1 comment
-
|
@michaelklishin could you please check or comment? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Since updating Xcode supporting of iOS 16, my app crashes almost each day in different cases. Here the stacktrace where you may see it happens in RMQClient:
`Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 11
Last Exception Backtrace:
0 CoreFoundation 0x1bedd7a84 __exceptionPreprocess + 160 (NSException.m:202)
1 libobjc.A.dylib 0x1bd229958 objc_exception_throw + 56 (objc-exception.mm:356)
2 CoreFoundation 0x1bef65554 _CFThrowFormattedException + 104 (CFObject.m:2235)
3 CoreFoundation 0x1bede5834 -[__NSArrayM removeObjectsInRange:] + 1600 (NSArrayM.m:339)
4 RMQClient 0x105737af0 -[RMQMultipleChannelAllocator allocatedUserChannels] + 84 (RMQMultipleChannelAllocator.m:108)
5 RMQClient 0x10571a694 __55-[RMQConnectionRecover recover:channelAllocator:error:]_block_invoke_3 + 64 (RMQConnectionRecover.m:95)
6 libdispatch.dylib 0x1caafd850 _dispatch_call_block_and_release + 24 (init.c:1518)
7 libdispatch.dylib 0x1caafe7c8 _dispatch_client_callout + 16 (object.m:560)
8 libdispatch.dylib 0x1caad9854 _dispatch_lane_serial_drain$VARIANT$armv81 + 604 (inline_internal.h:2632)
9 libdispatch.dylib 0x1caada2e4 _dispatch_lane_invoke$VARIANT$armv81 + 380 (queue.c:3940)
10 libdispatch.dylib 0x1caae4000 _dispatch_workloop_worker_thread + 612 (queue.c:6846)
11 libsystem_pthread.dylib 0x20b57ab50 _pthread_wqthread + 284 (pthread.c:2618)
12 libsystem_pthread.dylib 0x20b57a67c start_wqthread + 8 (:-1)`
Use version 0.12, installed using Pods
Xcode allows to show place in code, where the crash happens:
`
NSMutableArray *userChannels = [self.channels.allValues mutableCopy];
[userChannels removeObjectAtIndex:0];
return [userChannels sortedArrayUsingComparator:^NSComparisonResult(id ch1, id ch2) {
return ch1.channelNumber.integerValue > ch2.channelNumber.integerValue;
}];
}
`
Beta Was this translation helpful? Give feedback.
All reactions