SripaulJeevendiran / pam-face-authentication

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

qt-facetrainer - No training in Ubuntu 11.10 #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I
When i run qt-facetrainer and click in NEXT button occurs the message

mmap: Argumento inválido
munmap: Argumento inválido
munmap: Argumento inválido
munmap: Argumento inválido
munmap: Argumento inválido
Unable to stop the stream.: Descritor de arquivo inválido
munmap: Argumento inválido
munmap: Argumento inválido
munmap: Argumento inválido
munmap: Argumento inválido

After this i click in the capture button and the qt-facetrainer close and the 
message is showed.

OpenCV Error: Null pointer (NULL array pointer is passed) in cvGetMat, file 
/build/buildd/opencv-2.1.0/src/cxcore/cxarray.cpp, line 2376
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/buildd/opencv-2.1.0/src/cxcore/cxarray.cpp:2376: error: (-27) NULL array pointer is passed in function cvGetMat

What is the expected output? What do you see instead?
I expected that application run success

What version of the product are you using? On what operating system?
pam-face-authentication-0.3

Please provide any additional information below.
i run the application as root, but same problem occurs.

Help-me please.

Original issue reported on code.google.com by sacoutin...@gmail.com on 28 Oct 2011 at 7:26

GoogleCodeExporter commented 9 years ago
Sorry

in English is

mmap: Invalid argument
munmap: Invalid argument
munmap: Invalid argument
munmap: Invalid argument
munmap: Invalid argument
Unable to stop the stream.: Bad file descriptor
munmap: Invalid argument
munmap: Invalid argument
munmap: Invalid argument
munmap: Invalid argument

Original comment by sacoutin...@gmail.com on 28 Oct 2011 at 7:32

GoogleCodeExporter commented 9 years ago
I get the exact same problem, built from the source code but crashes when I hit 
capture, these messages are already there before I hit capture though.

Original comment by dreamcas...@gmail.com on 31 Oct 2011 at 12:09

GoogleCodeExporter commented 9 years ago
Hi guys,
this should fix the problem:

--- pam-face-authentication-read-only/trunk/qtbranch/src/detector.cpp   (revision 
340)
+++ pam-face-authentication-read-only/trunk/qtbranch/src/detector.cpp   (working 
copy)

@@ -31,7 +31,7 @@
 //------------------------------------------------------------------------------
 detector::detector() : messageIndex(-1), clippedFace(0), boolClipFace_(0), 
   totalFaceClipNum_(0), clipFaceCounter_(0), prevlengthEye_(0), inAngle_(0),
-  lengthEye_(0), widthEyeWindow_(0), heightEyeWindow_(0) 
+  lengthEye_(0), widthEyeWindow_(0), heightEyeWindow_(0), 
finishedClipFaceFlag_(0)
 {
 }

@@ -339,8 +339,8 @@

Original comment by ljud...@gmail.com on 16 Jan 2012 at 11:08

GoogleCodeExporter commented 9 years ago
You're absolutely right. The variable wasn't initialized. I fixed that in SVN 
trunk/qtbranch/src/detector.cpp now.

Original comment by feichtne...@gmail.com on 19 Jan 2012 at 6:37

GoogleCodeExporter commented 9 years ago
In wich file i should copy this:--- 
pam-face-authentication-read-only/trunk/qtbranch/src/detector.cpp   (revision 340)
+++ pam-face-authentication-read-only/trunk/qtbranch/src/detector.cpp   (working 
copy)

@@ -31,7 +31,7 @@
 //------------------------------------------------------------------------------
 detector::detector() : messageIndex(-1), clippedFace(0), boolClipFace_(0), 
   totalFaceClipNum_(0), clipFaceCounter_(0), prevlengthEye_(0), inAngle_(0),
-  lengthEye_(0), widthEyeWindow_(0), heightEyeWindow_(0) 
+  lengthEye_(0), widthEyeWindow_(0), heightEyeWindow_(0), 
finishedClipFaceFlag_(0)
 {
 }

@@ -339,8 +339,8 @@
?

Original comment by riccardo...@live.com on 10 Feb 2012 at 6:55