mutzy
Aspiring developer
Profile
Posts: 798
Reg: Nov 03, 2010
Medford, MA
9,430
10/25/17 07:18 AM (3 weeks ago)

Another SIGBART error

I finally have time to update my apps to the new BT and hopefully with iOS 11. As expected there are issues right off the bat, can't even get it to load in the simulator. First there were some linker issues which I figured out through trial and error. Now, similar to the last post, I'm getting a SIGBART error.

-------------------------------
2017-10-25 10:09:55.661535-0400 erres[5765:78415] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x0000000106a941cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000105b6df41 objc_exception_throw + 48
2 CoreFoundation 0x0000000106ad3e8c _CFThrowFormattedException + 194
3 CoreFoundation 0x00000001069c36f1 -[__NSArrayM insertObject:atIndex:] + 1233
4 erres 0x000000010070afc8 -[BT_device init] + 4056
5 erres 0x00000001006d1e20 -[BT_loading viewDidAppear:] + 2752
6 UIKit 0x0000000103576343 -[UIViewController _setViewAppearState:isAnimating:] + 699
7 UIKit 0x00000001035791ed __64-[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:]_block_invoke + 42
8 UIKit 0x00000001035774e1 -[UIViewController _executeAfterAppearanceBlock] + 86
9 UIKit 0x00000001033d73c5 _runAfterCACommitDeferredBlocks + 634
10 UIKit 0x00000001033c5819 _cleanUpAfterCAFlushAndRunDeferredBlocks + 280
11 UIKit 0x00000001033e6ca8 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 155
12 CoreFoundation 0x0000000106a3720c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
13 CoreFoundation 0x0000000106a1ba3b __CFRunLoopDoBlocks + 203
14 CoreFoundation 0x0000000106a1b214 __CFRunLoopRun + 1300
15 CoreFoundation 0x0000000106a1aa89 CFRunLoopRunSpecific + 409
16 GraphicsServices 0x000000010bab59c6 GSEventRunModal + 62
17 UIKit 0x00000001033cb23c UIApplicationMain + 159
18 erres 0x0000000100721494 main + 68
19 libdyld.dylib 0x0000000107d70d81 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
-------------------------------------------------

Any ideas? Kaybee? David?? Chris???


Josh
 
tompos
Veteran developer
Profile
Posts: 77
Reg: Oct 19, 2013
Würzburg
6,870
like
10/26/17 03:41 AM (3 weeks ago)
Hi Josh,

I made the transition to Xcode 9, iOS11 two weeks ago... and I had a crash during the first run on the simulator. Unfortunately, I did not copy the error messages... I cleaned (Product -> Clean), rebuilt the project and everything went fine from there on.

Can you post some lines from the console before that error happened.. so we can see where that error showed up?

Thomas
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.