switchkiller / pam-face-authentication

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

Ubuntu 10.10: Segmentation fault #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install pam-face-authentication from PPA
2. Launch qt-facetrainer
3. Click Next
4. After seconds to a few minutes the program crashes with "Segmentation fault" 
shown in the console.

What is the expected output? What do you see instead?
The program crashes after a random time interval.

What version of the product are you using? On what operating system?
pam-face-authentication 0.3-2ubuntu1
Ubuntu 10.10 Maverick Meerkat, amd64

Please provide any additional information below.
==============
dmesg:
==============
qt-facetrainer[22118]: segfault at 2c ip 000000000041bdfc sp 00007fffa98356a0 
error 4 in qt-facetrainer[400000+60000]

==============
gdb backtrace:
==============
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qt-facetrainer...(no debugging symbols 
found)...done.
(gdb) start
Temporary breakpoint 1 at 0x40b9a0
Starting program: /usr/bin/qt-facetrainer 
[Thread debugging using libthread_db enabled]

Temporary breakpoint 1, 0x000000000040b9a0 in main ()
(gdb) continue
Continuing.
[New Thread 0x7fffe8910700 (LWP 22151)]
OpenCV Error: Unknown error code -25 (Bad input roi) in cvInitImageHeader, file 
/build/buildd/opencv-2.1.0/src/cxcore/cxarray.cpp, line 2912
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.

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:2912: error: (-25) Bad input roi in function cvInitImageHeader

Program received signal SIGABRT, Aborted.
0x00007ffff5313ba5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff5313ba5 in raise () from /lib/libc.so.6
#1  0x00007ffff53176b0 in abort () from /lib/libc.so.6
#2  0x00007ffff5bb76bd in __gnu_cxx::__verbose_terminate_handler() () from 
/usr/lib/libstdc++.so.6
#3  0x00007ffff5bb5906 in ?? () from /usr/lib/libstdc++.so.6
#4  0x00007ffff5bb5933 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x00007ffff5bb5a86 in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#6  0x00007ffff6dbff3d in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#7  0x00007ffff6dc3ebb in QCoreApplication::exec() () from 
/usr/lib/libQtCore.so.4
#8  0x000000000040bda2 in main ()
(gdb) 

Original issue reported on code.google.com by helge...@gmail.com on 2 Feb 2011 at 1:54

GoogleCodeExporter commented 9 years ago
It appears the crash always happens at ip 000000000041bdfc, according to dmesg.

Here's another gdb output:

GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qt-facetrainer...(no debugging symbols 
found)...done.
(gdb) start
Temporary breakpoint 1 at 0x40b9a0
Starting program: /usr/bin/qt-facetrainer 
[Thread debugging using libthread_db enabled]

Temporary breakpoint 1, 0x000000000040b9a0 in main ()
(gdb) continue
Continuing.
[New Thread 0x7fffe8910700 (LWP 22822)]

Program received signal SIGSEGV, Segmentation fault.
0x000000000041bdfc in webcamImagePaint::paintCyclops(_IplImage*, CvPoint, 
CvPoint) ()
(gdb) bt
#0  0x000000000041bdfc in webcamImagePaint::paintCyclops(_IplImage*, CvPoint, 
CvPoint) ()
#1  0x000000000040c453 in faceTrainer::timerEvent(QTimerEvent*) ()
#2  0x00007ffff6dd28f9 in QObject::event(QEvent*) () from 
/usr/lib/libQtCore.so.4
#3  0x00007ffff73016df in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#4  0x00007ffff76e941b in QMainWindow::event(QEvent*) () from 
/usr/lib/libQtGui.so.4
#5  0x00007ffff72abfdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib/libQtGui.so.4
#6  0x00007ffff72b1aed in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libQtGui.so.4
#7  0x00007ffff6dc0cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib/libQtCore.so.4
#8  0x00007ffff6df06f2 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007ffff6ded4a4 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007ffff4758342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#11 0x00007ffff475c2a8 in ?? () from /lib/libglib-2.0.so.0
#12 0x00007ffff475c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#13 0x00007ffff6ded193 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
#14 0x00007ffff735ea4e in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007ffff6dbfa02 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#16 0x00007ffff6dbfdec in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#17 0x00007ffff6dc3ebb in QCoreApplication::exec() () from 
/usr/lib/libQtCore.so.4
#18 0x000000000040bda2 in main ()
(gdb) 

Original comment by helge...@gmail.com on 2 Feb 2011 at 2:11

GoogleCodeExporter commented 9 years ago
These are being marked as duplicates of 106. Please see/track that bug for 
Issues

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