robinduckett / pam-face-authentication

Automatically exported from code.google.com/p/pam-face-authentication
0 stars 0 forks source link

segfault with qt-facetrainer when clicking capture #106

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run qt-facetrainer
2. click next
3. click capture
4. be sad

What is the expected output? What do you see instead?
Capturing my shiny face would be expected. :-)

What version of the product are you using? On what operating system?
up to date Arch Linux, and the svn version of PFA from the AUR. OpenCV is 
2.3.1-1

Please provide any additional information below.
I run it in GDB, so that there is somewhat more clue. Here is all the output:
(gdb) run
Starting program: /usr/bin/qt-facetrainer 
[Thread debugging using libthread_db enabled]
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
select timeout
OpenCV Error: Bad argument (Unknown array type) in cvarrToMat, file 
/build/src/OpenCV-2.3.1/modules/core/src/matrix.cpp, line 646
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'cv::Exception'
  what():  /build/src/OpenCV-2.3.1/modules/core/src/matrix.cpp:646: error: (-5) Unknown array type in function cvarrToMat

Program received signal SIGABRT, Aborted.
0xb7fde424 in __kernel_vsyscall ()

Original issue reported on code.google.com by erdo...@gmail.com on 25 Oct 2011 at 1:12

GoogleCodeExporter commented 8 years ago
After the program quit, new, but empty directories appear under 
~/.pam-face-authentication/faces

Original comment by erdo...@gmail.com on 25 Oct 2011 at 1:27

GoogleCodeExporter commented 8 years ago
This might be a problem with OpenCV. We actually should adapt the program to 
the new OpenCV C++ bindings. Currently the old IplImage style is used and I 
suppose some OpenCV internal conversion fails (as we aren't using cvarrToMat() 
at all)

Original comment by feichtne...@gmail.com on 25 Oct 2011 at 2:00

GoogleCodeExporter commented 8 years ago
thx for the fast answer :)

Original comment by erdo...@gmail.com on 26 Oct 2011 at 12:08

GoogleCodeExporter commented 8 years ago
We are currently working to resolve a few issues in this area that may be the 
cause. please track the repositories, or this bug report for resolutions.

Original comment by armadefu...@gmail.com on 8 Mar 2013 at 9:09