Posts

Post not yet marked as solved
0 Replies
172 Views
15.0.1(19A348) arm64e The addresses of the following symbols are all “00000001fc3e0a0c” nm libswift_Concurr.dylib | grep "3e0a0c"    00000001fc3e0a0c S _$sScG11isCancelledSbvpMV 00000001fc3e0a0c S _$sScG7isEmptySbvpMV 00000001fc3e0a0c S _$sScM15unownedExecutorScevpMV 00000001fc3e0a0c S _$sScS12ContinuationV11TerminationO9hashValueSivpMV 00000001fc3e0a0c S _$sScT11isCancelledSbvpMV 00000001fc3e0a0c S _$sScT5valuexvpMV 00000001fc3e0a0c S _$sScT6results6ResultOyxq_GvpMV 00000001fc3e0a0c S _$sScT9hashValueSivpMV 00000001fc3e0a0c S _$sScTss5NeverORs_rlE5valuexvpMV 00000001fc3e0a0c S _$sScg11isCancelledSbvpMV 00000001fc3e0a0c S _$sScg7isEmptySbvpMV 00000001fc3e0a0c S _$sSct11isCancelledSbvpMV 00000001fc3e0a0c S _$sSct8priorityScPvpMV 00000001fc3e0a0c S _$sSct9hashValueSivpMV 00000001fc3e0a0c S _$ss19AsyncFilterSequenceV10isIncludedySb7ElementQzYacvpMV 00000001fc3e0a0c S _$ss19AsyncFilterSequenceV8IteratorV10isIncludedySb7ElementQzYacvpMV 00000001fc3e0a0c S _$ss22AsyncDropWhileSequenceV9predicateySb7ElementQzYacvpMV 00000001fc3e0a0c S _$ss23AsyncCompactMapSequenceV8IteratorV9transformyq_Sg7ElementQzYacvpMV 00000001fc3e0a0c S _$ss23AsyncCompactMapSequenceV9transformyq_Sg7ElementQzYacvpMV 00000001fc3e0a0c S _$ss24AsyncPrefixWhileSequenceV8IteratorV9predicateySb7ElementQzYacvpMV 00000001fc3e0a0c S _$ss24AsyncPrefixWhileSequenceV9predicateySb7ElementQzYacvpMV 00000001fc3e0a0c S _$ss27AsyncThrowingFilterSequenceV10isIncludedySb7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss27AsyncThrowingFilterSequenceV8IteratorV10isIncludedySb7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss30AsyncThrowingDropWhileSequenceV8IteratorV9predicateySb7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss30AsyncThrowingDropWhileSequenceV9predicateySb7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss31AsyncThrowingCompactMapSequenceV8IteratorV9transformyq_Sg7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss31AsyncThrowingCompactMapSequenceV9transformyq_Sg7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss32AsyncThrowingPrefixWhileSequenceV8IteratorV9predicateySb7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss32AsyncThrowingPrefixWhileSequenceV9predicateySb7ElementQzYaKcvpMV 00000001fc3e0a0c S _$ss9TaskLocalC11descriptionSSvpMV 00000001fc3e0a0c S _$ss9TaskLocalC12wrappedValuexvpMV 15.2(19C57) arm64e The addresses of the following symbols are all “00000001ff0589a4” nm libswift_Concurrency2.dylib | grep "1ff0589a4" 00000001ff0589a4 S _$sScG11isCancelledSbvpMV 00000001ff0589a4 S _$sScG7isEmptySbvpMV 00000001ff0589a4 S _$sScM15unownedExecutorScevpMV 00000001ff0589a4 S _$sScS12ContinuationV11TerminationO9hashValueSivpMV 00000001ff0589a4 S _$sScT11isCancelledSbvpMV 00000001ff0589a4 S _$sScT5valuexvpMV 00000001ff0589a4 S _$sScT6results6ResultOyxq_GvpMV 00000001ff0589a4 S _$sScT9hashValueSivpMV 00000001ff0589a4 S _$sScTss5NeverORs_rlE5valuexvpMV 00000001ff0589a4 S _$sScg11isCancelledSbvpMV 00000001ff0589a4 S _$sScg7isEmptySbvpMV 00000001ff0589a4 S _$sSct11isCancelledSbvpMV 00000001ff0589a4 S _$sSct8priorityScPvpMV 00000001ff0589a4 S _$sSct9hashValueSivpMV 00000001ff0589a4 S _$ss19AsyncFilterSequenceV10isIncludedySb7ElementQzYacvpMV 00000001ff0589a4 S _$ss19AsyncFilterSequenceV8IteratorV10isIncludedySb7ElementQzYacvpMV 00000001ff0589a4 S _$ss22AsyncDropWhileSequenceV9predicateySb7ElementQzYacvpMV 00000001ff0589a4 S _$ss23AsyncCompactMapSequenceV8IteratorV9transformyq_Sg7ElementQzYacvpMV 00000001ff0589a4 S _$ss23AsyncCompactMapSequenceV9transformyq_Sg7ElementQzYacvpMV 00000001ff0589a4 S _$ss24AsyncPrefixWhileSequenceV8IteratorV9predicateySb7ElementQzYacvpMV 00000001ff0589a4 S _$ss24AsyncPrefixWhileSequenceV9predicateySb7ElementQzYacvpMV 00000001ff0589a4 S _$ss27AsyncThrowingFilterSequenceV10isIncludedySb7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss27AsyncThrowingFilterSequenceV8IteratorV10isIncludedySb7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss30AsyncThrowingDropWhileSequenceV8IteratorV9predicateySb7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss30AsyncThrowingDropWhileSequenceV9predicateySb7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss31AsyncThrowingCompactMapSequenceV8IteratorV9transformyq_Sg7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss31AsyncThrowingCompactMapSequenceV9transformyq_Sg7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss32AsyncThrowingPrefixWhileSequenceV8IteratorV9predicateySb7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss32AsyncThrowingPrefixWhileSequenceV9predicateySb7ElementQzYaKcvpMV 00000001ff0589a4 S _$ss9TaskLocalC11descriptionSSvpMV 00000001ff0589a4 S _$ss9TaskLocalC12wrappedValuexvpMV
Posted
by tamwai.
Last updated
.
Post not yet marked as solved
1 Replies
487 Views
On the mac, I found that NSSetUncaughtExceptionHandler can not catch the exception without a dispatch block, but if the crash code in a dispatch block, the crash handler can do. As the below code, the exception produced by method 'crash' can not been caught, but exception produced by method 'dispatchCrash' can been caught. (void)didClickBtn { //  [self crash];   [self dispatchCrash]; } (void)dispatchCrash {   dispatch_async(dispatch_get_main_queue(), ^{     NSArray *testArray = [NSArray arrayWithObjects:@"test",@"test1", nil];     NSLog(@"%@", testArray[10]);   }); } (void)crash {     NSArray *testArray = [NSArray arrayWithObjects:@"test",@"test1", nil];   NSLog(@"%@", testArray[10]); }
Posted
by tamwai.
Last updated
.