Hi everybody, we are currently experiencing a problem with an LC application that is simply trying to catch a picture from a webcam. The executable works properly if it’s not code signed. After I sign the application it crashes at the very first camera access attempt (when the application should get the access privileges to the device). I.E. the following causes the crash:
cameraControlCreate myCameraControlName put cameraControlGet(myCameraControlName, "devices") into cameraDevices The application returns me the a log after the crash (i am not able to attach it due to the list file size limitation). From line 35 of the log you can see some error related to com.apple.avfoundation. This is why I think it’s related to it. Can someone provide information about this or had the same problem? Is there a workaround or suggestion about it? Here follows an extract of the error log: 0 libsystem_kernel.dylib 0x00007fff620c71ee __open + 10 1 com.apple.CoreFoundation 0x00007fff36054ba3 _CFBundleGrokFileType + 239 2 com.apple.CoreFoundation 0x00007fff36054a6c _CFBundleGrokBinaryType + 64 3 com.apple.CoreFoundation 0x00007fff3612ccfd _CFBundleLoadExecutableAndReturnError + 405 4 com.apple.CoreFoundation 0x00007fff3608d8a1 CFBundleGetFunctionPointerForName + 27 5 com.apple.CoreMedia 0x00007fff3713147e FigRegistryItemGetFactory + 68 6 com.apple.CoreMediaIO 0x00007fff372698f1 CMIOUnitCreateFromDescription + 1351 7 com.apple.CoreMediaIO 0x00007fff37256aa9 CMIOUnitNodeInfo::Open() + 59 8 com.apple.CoreMediaIO 0x00007fff37245aca CMIOGraph::CreateNode(unsigned int, unsigned int, OpaqueCMIOUnit*, CMIOUnitDescription const&, void const*, int&) + 174 9 com.apple.CoreMediaIO 0x00007fff372458f7 CMIOGraphCreateNode + 333 10 com.apple.avfoundation 0x00007fff3212a1a1 -[AVCaptureDeviceInput addInputUnitsForInputPort:toGraph:ofCaptureSession:error:] + 609 11 com.apple.avfoundation 0x00007fff32129df2 -[AVCaptureSession _buildGraphUnitsForInputPort:error:] + 727 12 com.apple.avfoundation 0x00007fff320f8280 -[AVCaptureSession _buildAndRunGraph] + 659 13 com.apple.avfoundation 0x00007fff320fcb48 -[AVCaptureSession _setRunning:] + 247 14 com.apple.avfoundation 0x00007fff320fc9e7 -[AVCaptureSession startRunning] + 97 65 com.apple.AppKit 0x00007fff3385821a -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1899 66 com.apple.AppKit 0x00007fff33857867 -[NSWindow(NSEventRouting) sendEvent:] + 478 67 com.apple.AppKit 0x00007fff336f704f -[NSApplication(NSEvent) sendEvent:] + 331 74 com.apple.Foundation 0x00007fff383137aa __NSFireDelayedPerform + 411 75 com.apple.CoreFoundation 0x00007fff36086a60 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 76 com.apple.CoreFoundation 0x00007fff3608660c __CFRunLoopDoTimer + 851 77 com.apple.CoreFoundation 0x00007fff36086152 __CFRunLoopDoTimers + 330 78 com.apple.CoreFoundation 0x00007fff36067362 __CFRunLoopRun + 2130 79 com.apple.CoreFoundation 0x00007fff360668be CFRunLoopRunSpecific + 455 80 com.apple.HIToolbox 0x00007fff3535296b RunCurrentEventLoopInMode + 292 81 com.apple.HIToolbox 0x00007fff353525ad ReceiveNextEventCommon + 355 82 com.apple.HIToolbox 0x00007fff35352436 _BlockUntilNextEventMatchingListInModeWithFilter + 64 83 com.apple.AppKit 0x00007fff336ec987 _DPSNextEvent + 965 84 com.apple.AppKit 0x00007fff336eb71f -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 85 com.apple.AppKit 0x00007fff336e583c -[NSApplication run] + 699 87 libdyld.dylib 0x00007fff61f913d5 start + 1 Thank you _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode