我一直在使用OpenCV进行手势检测,而且几天前python随机开始崩溃。它在我开始运行应用程序后大约2分钟发生,我不知道为什么。有人可以帮忙吗?
2016-06-11 22:28:23.294 python[1991:273050] -[CaptureDelegate doFireTimer:]: unrecognized selector sent to instance 0x7fec7bd0aa90
2016-06-11 22:28:23.296 python[1991:273050] An uncaught exception was raised
2016-06-11 22:28:23.296 python[1991:273050] -[CaptureDelegate doFireTimer:]: unrecognized selector sent to instance 0x7fec7bd0aa90
2016-06-11 22:28:23.296 python[1991:273050] (
0 CoreFoundation 0x00007fff868574f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff8ff34f7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff868c11ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff867c7571 ___forwarding___ + 1009
4 CoreFoundation 0x00007fff867c70f8 _CF_forwarding_prep_0 + 120
5 Foundation 0x00007fff97405dec __NSFireTimer + 95
6 CoreFoundation 0x00007fff867d4b94 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
7 CoreFoundation 0x00007fff867d4823 __CFRunLoopDoTimer + 1075
8 CoreFoundation 0x00007fff867d437a __CFRunLoopDoTimers + 298
9 CoreFoundation 0x00007fff867cb871 __CFRunLoopRun + 1841
10 CoreFoundation 0x00007fff867caed8 CFRunLoopRunSpecific + 296
11 Foundation 0x00007fff97380ed9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
12 Foundation 0x00007fff97414fc3 -[NSRunLoop(NSRunLoop) runUntilDate:] + 108
13 libopencv_videoio.3.1.dylib 0x0000000101fc9d11 _ZN12CvCaptureCAM9grabFrameEd + 241
14 libopencv_videoio.3.1.dylib 0x0000000101fbda8f _ZN2cv12VideoCapture4grabEv + 31
15 libopencv_videoio.3.1.dylib 0x0000000101fbde13 _ZN2cv12VideoCapture4readERKNS_12_OutputArrayE + 19
16 cv2.cpython-35m-darwin.so 0x0000000100a9546f _ZL29pyopencv_cv_VideoCapture_readP7_objectS0_S0_ + 367
17 Python 0x00000001003fdfbe PyCFunction_Call + 60
18 Python 0x0000000100463ca9 PyEval_EvalFrameEx + 23725
19 Python 0x00000001004673fc _PyEval_EvalCodeWithName + 1949
20 Python 0x000000010045df93 PyEval_EvalCode + 75
21 Python 0x00000001004851ae run_mod + 58
22 Python 0x00000001004854cd PyRun_FileExFlags + 178
23 Python 0x0000000100484b5c PyRun_SimpleFileExFlags + 676
24 Python 0x0000000100499255 Py_Main + 3365
25 python 0x00000001003b7e3d python + 7741
26 libdyld.dylib 0x00007fff8f8cf5ad start + 1
)
2016-06-11 22:28:23.296 python[1991:273050] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CaptureDelegate doFireTimer:]: unrecognized selector sent to instance 0x7fec7bd0aa90'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff868574f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff8ff34f7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff868c11ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff867c7571 ___forwarding___ + 1009
4 CoreFoundation 0x00007fff867c70f8 _CF_forwarding_prep_0 + 120
5 Foundation 0x00007fff97405dec __NSFireTimer + 95
6 CoreFoundation 0x00007fff867d4b94 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
7 CoreFoundation 0x00007fff867d4823 __CFRunLoopDoTimer + 1075
8 CoreFoundation 0x00007fff867d437a __CFRunLoopDoTimers + 298
9 CoreFoundation 0x00007fff867cb871 __CFRunLoopRun + 1841
10 CoreFoundation 0x00007fff867caed8 CFRunLoopRunSpecific + 296
11 Foundation 0x00007fff97380ed9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
12 Foundation 0x00007fff97414fc3 -[NSRunLoop(NSRunLoop) runUntilDate:] + 108
13 libopencv_videoio.3.1.dylib 0x0000000101fc9d11 _ZN12CvCaptureCAM9grabFrameEd + 241
14 libopencv_videoio.3.1.dylib 0x0000000101fbda8f _ZN2cv12VideoCapture4grabEv + 31
15 libopencv_videoio.3.1.dylib 0x0000000101fbde13 _ZN2cv12VideoCapture4readERKNS_12_OutputArrayE + 19
16 cv2.cpython-35m-darwin.so 0x0000000100a9546f _ZL29pyopencv_cv_VideoCapture_readP7_objectS0_S0_ + 367
17 Python 0x00000001003fdfbe PyCFunction_Call + 60
18 Python 0x0000000100463ca9 PyEval_EvalFrameEx + 23725
19 Python 0x00000001004673fc _PyEval_EvalCodeWithName + 1949
20 Python 0x000000010045df93 PyEval_EvalCode + 75
21 Python 0x00000001004851ae run_mod + 58
22 Python 0x00000001004854cd PyRun_FileExFlags + 178
23 Python 0x0000000100484b5c PyRun_SimpleFileExFlags + 676
24 Python 0x0000000100499255 Py_Main + 3365
25 python 0x00000001003b7e3d python + 7741
26 libdyld.dylib 0x00007fff8f8cf5ad start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException