-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi and thank you for your work!
I'm trying to get a list of connected devices with [DeckLinkDevice devices] but it crashes, due to a dispatch_once error. I get this crash log:
**2016-05-01 22:46:45.392 StreamKnot[2939:76500] An uncaught exception was raised
2016-05-01 22:46:45.393 StreamKnot[2939:76500] * -[__NSArrayM insertObject:atIndex:]: object cannot be nil
2016-05-01 22:46:45.393 StreamKnot[2939:76500] (
0 CoreFoundation 0x00007fff8c72f4f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff8830973c objc_exception_throw + 48
2 CoreFoundation 0x00007fff8c645ae0 checkForCloseTag + 0
3 DeckLink 0x0000000100145daf +[DeckLinkDevice(Devices) devicesWithIODirection:] + 559
4 DeckLink 0x0000000100145b75 +[DeckLinkDevice(Devices) devices] + 37
and the error concerns the following lines in once.h (dispatch)
void
_dispatch_once(dispatch_once_t *predicate, dispatch_block_t block)
{
if (DISPATCH_EXPECT(*predicate, ~0l) != ~0l) {
dispatch_once(predicate, block);
}
}
Do you have any clue on what's happening?
Thanks!
Ben