[MacPorts] #24648: HaarClassifierCascade crashes
#24648: HaarClassifierCascade crashes ------------------------------+--------------------------------------------- Reporter: wiking@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: opencv ------------------------------+--------------------------------------------- I'm trying to run the simple facedetect.cpp sample of OpenCV, but seems there's something wrong as it crashes right away. gdb output: {{{ Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000020 [Switching to process 15967] 0x0000000101213200 in omp_get_thread_num () (gdb) bt #0 0x0000000101213200 in omp_get_thread_num () #1 0x0000000100f373bb in cvHaarDetectObjects.omp_fn.1 () #2 0x00007fff857fd8b6 in _pthread_start () #3 0x00007fff857fd769 in thread_start () (gdb) info threads * 4 port# 0x2503 0x0000000101213200 in omp_get_thread_num () 3 port# 0x1b03 0x00007fff857de30a in __workq_kernreturn () 2 port# 0x1703 0x00007fff857dd4ea in kevent () 1 port# 0x903 0x0000000100f35147 in cvRunHaarClassifierCascade () }}} -- Ticket URL: <http://trac.macports.org/ticket/24648> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24648: HaarClassifierCascade crashes ------------------------------+--------------------------------------------- Reporter: wiking@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: opencv ------------------------------+--------------------------------------------- Comment(by wiking@…): I've tested the same sample with OpenCV version 2.1.0 (see Portfile and patches in ticket:24503) and it works fine with it! Thus upgrading to 2.1.0 would be great.... -- Ticket URL: <http://trac.macports.org/ticket/24648#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24648: HaarClassifierCascade crashes ------------------------------+--------------------------------------------- Reporter: wiking@… | Owner: stante@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: opencv ------------------------------+--------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => stante@… Comment: Please remember to cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/24648#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24648: HaarClassifierCascade crashes -------------------------------+-------------------------------------------- Reporter: wiking@… | Owner: stante@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: opencv | -------------------------------+-------------------------------------------- Changes (by raphael@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:1 wiking@…]:
I've tested the same sample with OpenCV version 2.1.0 (see Portfile and patches in ticket:24503) and it works fine with it! Thus upgrading to 2.1.0 would be great....
OpenCV has been updated to version 2.1.0 in r70430. So, your problem should be solved. -- Ticket URL: <http://trac.macports.org/ticket/24648#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts