Closed tompalsma closed 10 years ago
I'm seeing this as well. I use TestFlight and saw about a dozen occurrences of essentially this same stack trace for my app today. It does appear to be down in the Philips SDK and out of our control.
I've been seeing this on TestFlight. @tompalsma did you ever reproduce this yourself? I haven't been able to, but one thing I noticed is that dozens and dozens of threads are present, all looking like this (below) so it might be some operation-spawning process gone out of control.
0 Foundation 0x30ea5642 +[NSURLConnection sendSynchronousRequest:returningResponse:error:] 1 Lightbow 0x0005ae98 57-[PHBridgeSearching getIPScanOperationForAdress:andPath:]_block_invoke in PHBridgeSearching.m on Line 162 2 Foundation 0x30e5764e -[NSBlockOperation main] 3 Foundation 0x30e47874 -[NSOperationInternal _start:] 4 Foundation 0x30eeb744 __NSOQSchedule_f 5 libdispatch.dylib 0x3b19825e _dispatch_async_redirect_invoke 6 libdispatch.dylib 0x3b199688 _dispatch_root_queue_drain 7 libdispatch.dylib 0x3b1998dc _dispatch_worker_thread2 8 libsystem_pthread.dylib 0x3b2c4c16 _pthread_wqthread 9 libsystem_pthread.dylib 0x3b2c4adb start_wqthread
OS Version:7.1.1 Device name: iPhone Model:iPhone 5 CDMA+GSM Carrier: Telekom.de Timezone:MEZ Architecture:armv7s Connection State:Wifi Active
@tompalsma @lightbow: we have verified that this is a bug in our SDK, we will propably fix this issue in our upcoming release.
On PHBridgeSearching.m line 114 -[PHBridgeSearching addBridgeToResultsWithIp:andMac:]
CoreFoundation -[__NSDictionaryM setObject:forKey:] + 818
Fatal Exception: NSInvalidArgumentException *\ setObjectForKey: key cannot be nil
I got the following stacktrace from a user:
I think this happens in the startSearchWithCompletionHandler routine of PHBridgeSearching. The MAC and/or IP address are probably not nil-checked?