Ulrich von Zadow schrieb:
Marco Kuhn wrote:
hi,
i did install libavg as it is described at the wiki
-libavg on Ubuntu feisty installation notes.
but when i try the test with
$ cd src/test
$ python Test.py
I got an [Segmentation fault (core dumped).
How can i solve the problem?
Hi Uli,
thanks for the fast reply,
You can do several things to help solve this. First of all, can you send
a complete cut-and-paste of the output of:
$ ulimit -c unlimited
$ python Test.py
...
(core dumped)
$ gdb python core
...
(gdb) bt
(gdb) quit
That will generate at stack trace from the core dump, which should tell
me a bit more. The name of the core file might be different, but it'll
start with 'core'.
the output of "gdb python core" is in the attachment -
libavg_gdb_python_core.txt
Also, what happens if you do a make check in the main libavg directory?
The make check failed at
make[3]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/test'
[/bin/bash: line 4: 8538 Segmentation fault (core dumped) ${dir}$tst
FAIL: Test.py
see attachment - libavg_make_check.txt
Does installing libavg from the ubuntu package via apt-get install work?
(Be careful not to mix up the two versions of libavg!)
ok, the first time i install libavg i think i used both, from svn and
the package python-libavg (0.6.0-6build1).
i realized that this could be the problem and removed the python-libavg
package. But i got the same problem
the current installed version is libavg-0.7.0.
Anyway, this might well be an issue with updated packages on
GutsyGibbon. I might have to install a new Ubuntu here to fix it, but
let's see if it's something else first.
perhaps thats helpful.
I'm not familiar with python, if I'm searching with slocate for libavg i
get following output
/var/cache/apt/archives/python-libavg_0.6.0-6build1_i386.deb
/usr/local/lib/python2.5/site-packages/libavg
/usr/local/lib/python2.5/site-packages/libavg/anim.pyc
/usr/local/lib/python2.5/site-packages/libavg/anim.pyo
/usr/local/lib/python2.5/site-packages/libavg/avg.so.0
/usr/local/lib/python2.5/site-packages/libavg/avg.so.0.0.0
/usr/local/lib/python2.5/site-packages/libavg/avg.la
/usr/local/lib/python2.5/site-packages/libavg/avg.so
/usr/local/lib/python2.5/site-packages/libavg/draggable.py
/usr/local/lib/python2.5/site-packages/libavg/draggable.pyc
/usr/local/lib/python2.5/site-packages/libavg/draggable.pyo
/usr/local/lib/python2.5/site-packages/libavg/__init__.pyc
/usr/local/lib/python2.5/site-packages/libavg/__init__.pyo
/usr/local/lib/python2.5/site-packages/libavg/anim.py
/usr/local/lib/python2.5/site-packages/libavg/__init__.py
and then the files where I unpack my libavg-0.7.0
/home/marco/programming/libavg-0.7.0
...
...
Thanks, hope that helps
best
marco
Regards,
Uli
$ gdb python core
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libutil.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libutil.so.1
Reading symbols from /lib/tls/i686/cmov/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/python2.5/lib-dynload/time.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.5/lib-dynload/time.so
Reading symbols from /usr/lib/python2.5/lib-dynload/syslog.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/python2.5/lib-dynload/syslog.so
Reading symbols from /usr/lib/python2.5/lib-dynload/math.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/python2.5/lib-dynload/math.so
Reading symbols from /usr/lib/python2.5/lib-dynload/binascii.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.5/lib-dynload/binascii.so
Reading symbols from /usr/lib/python2.5/lib-dynload/_random.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/python2.5/lib-dynload/_random.so
Reading symbols from /usr/lib/python2.5/lib-dynload/fcntl.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/python2.5/lib-dynload/fcntl.so
Reading symbols from
/home/marco/programming/libavg-0.7.0/src/python/.libs/avg.so...done.
Loaded symbols for ../python/.libs/avg.so
Reading symbols from /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1...done.
Loaded symbols for /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /usr/lib/libGL.so.1.2...done.
Loaded symbols for /usr/lib/libGL.so.1.2
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/lib/libXxf86vm.so.1
Reading symbols from /usr/lib/libavformat.so.1d...done.
Loaded symbols for /usr/lib/libavformat.so.1d
Reading symbols from /usr/lib/libavcodec.so.1d...done.
Loaded symbols for /usr/lib/libavcodec.so.1d
Reading symbols from /usr/lib/libavutil.so.1d...done.
Loaded symbols for /usr/lib/libavutil.so.1d
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libvorbisenc.so.2...done.
Loaded symbols for /usr/lib/libvorbisenc.so.2
Reading symbols from /usr/lib/libtheora.so.0...done.
Loaded symbols for /usr/lib/libtheora.so.0
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libraw1394.so.8...done.
Loaded symbols for /usr/lib/libraw1394.so.8
Reading symbols from /usr/lib/libdc1394_control.so.13...done.
Loaded symbols for /usr/lib/libdc1394_control.so.13
Reading symbols from /usr/lib/libgsm.so.1...done.
Loaded symbols for /usr/lib/libgsm.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libMagick++.so.9...done.
Loaded symbols for /usr/lib/libMagick++.so.9
Reading symbols from /usr/lib/libMagick.so.9...done.
Loaded symbols for /usr/lib/libMagick.so.9
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/libboost_python-gcc41-1_34_1.so.1.34.1...done.
Loaded symbols for /usr/lib/libboost_python-gcc41-1_34_1.so.1.34.1
Reading symbols from /lib/tls/i686/cmov/librt.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/librt.so.1
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /usr/lib/libdirectfb-0.9.so.25...done.
Loaded symbols for /usr/lib/libdirectfb-0.9.so.25
Reading symbols from /usr/lib/libfusion-0.9.so.25...done.
Loaded symbols for /usr/lib/libfusion-0.9.so.25
Reading symbols from /usr/lib/libdirect-0.9.so.25...done.
Loaded symbols for /usr/lib/libdirect-0.9.so.25
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libWand.so.9...done.
Loaded symbols for /usr/lib/libWand.so.9
Reading symbols from /usr/lib/liblcms.so.1...done.
Loaded symbols for /usr/lib/liblcms.so.1
Reading symbols from /usr/lib/libtiff.so.4...done.
Loaded symbols for /usr/lib/libtiff.so.4
Reading symbols from /usr/lib/libjasper.so.1...done.
Loaded symbols for /usr/lib/libjasper.so.1
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libXt.so.6...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /lib/libbz2.so.1.0...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Core was generated by `python Test.py'.
Program terminated with signal 11, Segmentation fault.
#0 0xb6b292e7 in std::uncaught_exception () from /usr/lib/libstdc++.so.6
(gdb) bt
#0 0xb6b292e7 in std::uncaught_exception () from /usr/lib/libstdc++.so.6
#1 0xb6afa555 in std::__ostream_insert<char, std::char_traits<char> > () from
/usr/lib/libstdc++.so.6
#2 0xb6afa7ac in std::operator<< <std::char_traits<char> > () from
/usr/lib/libstdc++.so.6
#3 0xb7b419eb in avg::Logger::trace (this=0x8227bc0, category=1024, [EMAIL
PROTECTED]) at Logger.cpp:143
#4 0xb7b41d2b in avg::Logger::get () at Logger.cpp:65
#5 0xb7a72e1b in
boost::python::objects::caller_py_function_impl<boost::python::detail::caller<avg::Logger*
(*)(),
boost::python::return_value_policy<boost::python::reference_existing_object,
boost::python::default_call_policies>, boost::mpl::vector1<avg::Logger*> >
>::operator() (this=0x8210a90, args=0xb7d6902c, kw=0x0)
at /usr/include/boost/python/detail/invoke.hpp:75
#6 0xb6a4ba36 in boost::python::objects::function::call () from
/usr/lib/libboost_python-gcc41-1_34_1.so.1.34.1
#7 0xb6a4db57 in
boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous
namespace)::bind_return, void>::invoke () from
/usr/lib/libboost_python-gcc41-1_34_1.so.1.34.1
#8 0xb7cc541a in boost::function0<void, std::allocator<boost::function_base>
>::operator() ()
from /usr/lib/libboost_thread-gcc41-mt-1_34_1.so.1.34.1
#9 0xb6a52ef0 in boost::python::detail::exception_handler::operator() ()
from /usr/lib/libboost_python-gcc41-1_34_1.so.1.34.1
#10 0xb7a69e82 in
boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool,
boost::python::detail::translate_exception<avg::Exception, void
(*)(avg::Exception const&)>, boost::_bi::list3<boost::arg<1> (*)(),
boost::arg<2> (*)(), boost::_bi::value<void (*)(avg::Exception const&)> > >,
bool, boost::python::detail::exception_handler const&, boost::function0<void,
std::allocator<boost::function_base> > const&>::invoke ([EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]) at
/usr/include/boost/python/detail/translate_exception.hpp:46
#11 0xb6a531dc in boost::function2<bool,
boost::python::detail::exception_handler const&, boost::function0<void,
std::allocator<boost::function_base> > const&,
std::allocator<boost::function_base> >::operator() ()
from /usr/lib/libboost_python-gcc41-1_34_1.so.1.34.1
---Type <return> to continue, or q <return> to quit---
$ make check
Making check in src
make[1]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src'
Making check in base
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/base'
make check-TESTS
make[3]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/base'
Running suite BaseTestSuite
Running QueueTest
TEST(q.empty())
TEST(q.size() == 1)
TEST(!q.empty())
TEST(q.size() == 3)
TEST(q.pop() == 1)
TEST(q.pop() == 2)
TEST(q.pop() == 3)
TEST(q.pop() == 4)
TEST(q.empty())
TEST(bExceptionThrown)
TEST(q.empty())
QueueTest succeeded.
Running WorkerThreadTest
TEST(NumFuncCalls == 3)
TEST(IntParam == 23)
TEST(StringParam == "foo")
WorkerThreadTest succeeded.
Running ObjectCounterTest
ObjectCounterTest succeeded.
Running PointTest
TEST(calcDist(pt1, pt2)-5 < 0.0001)
TEST(!almostEqual(pt1, pt2))
TEST(almostEqual(pt1, pt1))
PointTest succeeded.
BaseTestSuite succeeded.
PASS: testbase
==================
All 1 tests passed
==================
make[3]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/base'
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/base'
Making check in graphics
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/graphics'
make check-TESTS
make[3]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/graphics'
Running suite GraphicsTestSuite
Running BitmapTest
Testing B8G8R8A8
Testing size.
TEST(pBmp->getSize() == IntPoint(4,7))
Testing copy constructor.
TEST(Bmp1 == Bmp2)
Testing assignment operator.
TEST(Bmp1 == Bmp2)
Testing sub-bitmap constructor.
TEST(Bmp1 == Bmp2)
Testing R8G8B8A8
Testing size.
TEST(pBmp->getSize() == IntPoint(4,7))
Testing copy constructor.
TEST(Bmp1 == Bmp2)
Testing assignment operator.
TEST(Bmp1 == Bmp2)
Testing sub-bitmap constructor.
TEST(Bmp1 == Bmp2)
Testing R8G8B8X8
Testing size.
TEST(pBmp->getSize() == IntPoint(4,7))
Testing copy constructor.
TEST(Bmp1 == Bmp2)
Testing assignment operator.
TEST(Bmp1 == Bmp2)
Testing sub-bitmap constructor.
TEST(Bmp1 == Bmp2)
Testing getNumDifferentPixels.
TEST(pBmp->getNumDifferentPixels(BmpCopy4) == 0)
TEST(pBmp->getNumDifferentPixels(BmpCopy4) == 0)
TEST(!pBmp->getNumDifferentPixels(BmpCopy4) == 1)
Testing R8G8B8
Testing size.
TEST(pBmp->getSize() == IntPoint(4,7))
Testing copy constructor.
TEST(Bmp1 == Bmp2)
Testing assignment operator.
TEST(Bmp1 == Bmp2)
Testing sub-bitmap constructor.
TEST(Bmp1 == Bmp2)
Testing getNumDifferentPixels.
TEST(pBmp->getNumDifferentPixels(BmpCopy4) == 0)
TEST(pBmp->getNumDifferentPixels(BmpCopy4) == 0)
TEST(!pBmp->getNumDifferentPixels(BmpCopy4) == 1)
Testing I8
Testing size.
TEST(pBmp->getSize() == IntPoint(4,7))
Testing copy constructor.
TEST(Bmp1 == Bmp2)
Testing assignment operator.
TEST(Bmp1 == Bmp2)
Testing sub-bitmap constructor.
TEST(Bmp1 == Bmp2)
Testing getHistogram.
TEST((*pHist)[0] == 7)
TEST((*pHist)[1] == 7)
TEST((*pHist)[2] == 7)
TEST((*pHist)[3] == 7)
TEST(bOk)
Testing I16
Testing size.
TEST(pBmp->getSize() == IntPoint(4,7))
Testing copy constructor.
TEST(Bmp1 == Bmp2)
Testing assignment operator.
TEST(Bmp1 == Bmp2)
Testing sub-bitmap constructor.
TEST(Bmp1 == Bmp2)
Testing YCbCr422
Testing size.
TEST(pBmp->getSize() == IntPoint(4,10))
Testing copy constructor.
TEST(Bmp1 == Bmp2)
Testing assignment operator.
TEST(Bmp1 == Bmp2)
Testing sub-bitmap constructor.
TEST(Bmp1 == Bmp2)
Testing line drawing for R8G8B8A8
TEST(Bmp1 == Bmp2)
Testing line drawing for R8G8B8
TEST(Bmp1 == Bmp2)
Testing line drawing for I8
TEST(Bmp1 == Bmp2)
Testing OwnsBits.
TEST(Bmp1 == Bmp2)
Testing copyPixels - R8G8B8X8->R8G8B8->R8G8B8X8.
TEST(Bmp1 == Bmp2)
Testing copyPixels - R8G8B8A8->R8G8B8->R8G8B8A8.
TEST(Bmp1 == Bmp2)
Testing copyPixels - I8->I16->I8.
TEST(Bmp1 == Bmp2)
Testing save for R8G8B8A8
TEST(Bmp1 == Bmp2)
Testing save for R8G8B8X8
TEST(Bmp1 == Bmp2)
BitmapTest succeeded.
Running Filter3x3Test
TEST(pNewBmp->getSize() == IntPoint(2,2))
TEST(*(PixelT*)pLine0 == PixelT(1,0,0))
TEST(*(((PixelT*)pLine0)+1) == PixelT(4,0,0))
TEST(*(PixelT*)(pLine1) == PixelT(0,0,9))
TEST(*((PixelT*)(pLine1)+1) == PixelT(0,0,16))
TEST(pNewBmp->getSize() == IntPoint(2,2))
TEST(*(PixelT*)pLine0 == PixelT(1,0,0))
TEST(*(((PixelT*)pLine0)+1) == PixelT(4,0,0))
TEST(*(PixelT*)(pLine1) == PixelT(0,0,9))
TEST(*((PixelT*)(pLine1)+1) == PixelT(0,0,16))
Filter3x3Test succeeded.
Running FilterConvolTest
TEST(pNewBmp->getSize() == IntPoint(2,2))
TEST(*(PixelT*)pLine0 == PixelT(1,0,0))
TEST(*(((PixelT*)pLine0)+1) == PixelT(4,0,0))
TEST(*(PixelT*)(pLine1) == PixelT(0,0,9))
TEST(*((PixelT*)(pLine1)+1) == PixelT(0,0,16))
TEST(pNewBmp->getSize() == IntPoint(2,2))
TEST(*(PixelT*)pLine0 == PixelT(1,0,0))
TEST(*(((PixelT*)pLine0)+1) == PixelT(4,0,0))
TEST(*(PixelT*)(pLine1) == PixelT(0,0,9))
TEST(*((PixelT*)(pLine1)+1) == PixelT(0,0,16))
FilterConvolTest succeeded.
Running FilterColorizeTest
FilterColorizeTest succeeded.
Running FilterGrayscaleTest
FilterGrayscaleTest succeeded.
Running FilterFillTest
FilterFillTest succeeded.
Running FilterFlipTest
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
FilterFlipTest succeeded.
Running FilterFlipRGBTest
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
FilterFlipRGBTest succeeded.
Running FilterFlipUVTest
TEST(*pBmp == *pBmp2)
TEST(*pBmp == BmpBaseline)
FilterFlipUVTest succeeded.
Running FilterComboTest
FilterComboTest succeeded.
Running HistoryPreProcessor
TEST(Bmp1 == Bmp2)
TEST(Bmp1 == Bmp2)
HistoryPreProcessor succeeded.
Running FilterHighpassTest
TEST(*pDestBmp == *pBaselineBmp)
FilterHighpassTest succeeded.
Running FilterGaussTest
TEST(*pDestBmp == *pBaselineBmp)
TEST(*pDestBmp == *pBaselineBmp)
TEST(*pDestBmp == *pBaselineBmp)
TEST(*pDestBmp == *pBaselineBmp)
FilterGaussTest succeeded.
Running FilterBlurTest
TEST(*pDestBmp == *pBaselineBmp)
FilterBlurTest succeeded.
Running FilterBandpassTest
TEST(*pDestBmp == *pBaselineBmp)
FilterBandpassTest succeeded.
Running FilterFastBandpassTest
TEST(*pDestBmp == *pBaselineBmp)
FilterFastBandpassTest succeeded.
GraphicsTestSuite succeeded.
PASS: testgraphics
==================
All 1 tests passed
==================
make[3]: Verlasse Verzeichnis
'/home/marco/programming/libavg-0.7.0/src/graphics'
make[2]: Verlasse Verzeichnis
'/home/marco/programming/libavg-0.7.0/src/graphics'
Making check in imaging
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/imaging'
make check-TESTS
make[3]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/imaging'
Running suite ImagingTestSuite
Running DeDistortTest
TEST(almostEqual(IdentityDistort.transform_point(DPoint(0,0)),
DPoint(0,0)))
TEST(almostEqual(IdentityDistort.transform_point(DPoint(1,2)),
DPoint(1,2)))
TEST(almostEqual(IdentityDistort.transformBlobToScreen(DPoint(0,0)),
DPoint(0,0)))
TEST(almostEqual(IdentityDistort.transformBlobToScreen(DPoint(1,2)),
DPoint(1,2)))
TEST(almostEqual(IdentityDistort.inverse_transform_point(DPoint(0,0)),
DPoint(0,0)))
TEST(almostEqual(IdentityDistort.inverse_transform_point(DPoint(1,2)),
DPoint(1,2)))
TEST(almostEqual(IdentityDistort.transformScreenToBlob(DPoint(0,0)),
DPoint(0,0)))
TEST(almostEqual(IdentityDistort.transformScreenToBlob(DPoint(1,2)),
DPoint(1,2)))
TEST(IdentityDistort.getActiveBlobArea(DPoint(1280,720)) ==
DRect(0,0,1280,720))
TEST(almostEqual(Scaler.transform_point(DPoint(0,0)), DPoint(0,0)))
TEST(almostEqual(Scaler.transformBlobToScreen(DPoint(1,2)),
DPoint(2,4)))
TEST(almostEqual(Scaler.inverse_transform_point(DPoint(0,0)),
DPoint(0,0)))
TEST(almostEqual(Scaler.transformScreenToBlob(DPoint(1,2)),
DPoint(0.5,1)))
TEST(almostEqual(Shifter.transformBlobToScreen(DPoint(0,0)),
DPoint(1,1)))
TEST(almostEqual(Shifter.transformBlobToScreen(DPoint(1,2)),
DPoint(2,3)))
TEST(almostEqual(Shifter.transformScreenToBlob(DPoint(0,0)),
DPoint(-1,-1)))
TEST(almostEqual(Shifter.transformScreenToBlob(DPoint(1,2)),
DPoint(0,1)))
TEST(Shifter.getActiveBlobArea(DPoint(1,1)) == DRect(-1, -1, 0, 0))
TEST(almostEqual(Barreler.transform_point(DPoint(1,1)), DPoint(1,1)))
DeDistortTest succeeded.
Running SerializeTest
[07-11-14 11:37:31.596] LOGGER: Logging started
TEST(almostEqual(pTrafo->transform_point(DPoint(0,0)), DPoint(0,0)))
TEST(almostEqual(pTrafo->transformBlobToScreen(DPoint(1,2)),
DPoint(2,4)))
SerializeTest succeeded.
ImagingTestSuite succeeded.
PASS: testimaging
==================
All 1 tests passed
==================
make[3]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/imaging'
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/imaging'
Making check in lmfit
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/lmfit'
make[2]: Für das Ziel »check« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/lmfit'
Making check in video
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/video'
make check-TESTS
make[3]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/video'
Running suite VideoTestSuite
Running DecoderTest(Sync decoder, Sync demuxer)
Testing mpeg1-48x48.mpg
[07-11-14 11:37:32.157] LOGGER: Logging started
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi (seek)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
DecoderTest(Sync decoder, Sync demuxer) succeeded.
Running DecoderTest(Sync decoder, Threaded demuxer)
Testing mpeg1-48x48.mpg
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi (seek)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
DecoderTest(Sync decoder, Threaded demuxer) succeeded.
Running DecoderTest(Threaded decoder, Sync demuxer)
Testing mpeg1-48x48.mpg
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi (seek)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
DecoderTest(Threaded decoder, Sync demuxer) succeeded.
Running DecoderTest(Threaded decoder, Threaded demuxer)
Testing mpeg1-48x48.mpg
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi
TEST(FrameSize == IntPoint(48, 48))
TEST(pDecoder->getPixelFormat() == B8G8R8X8)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
TEST(NumFrames == ExpectedNumFrames)
TEST(DiffPixels == 0)
Testing mjpeg-48x48.avi (seek)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
TEST(DiffPixels == 0)
DecoderTest(Threaded decoder, Threaded demuxer) succeeded.
VideoTestSuite succeeded.
PASS: testvideo
==================
All 1 tests passed
==================
make[3]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/video'
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/video'
Making check in player
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/player'
make check-TESTS
make[3]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/player'
Running suite CalibratorTestSuite
Running CalibratorTest
TEST(calcDist(pTrafo->transformBlobToScreen( DPoint(1.00,1.00) ) ,
DPoint(1.00,1.00))<0.4)
TEST(checkTransform(pTrafo, DPoint(0,0), DPoint(0,0)))
TEST(checkTransform(pTrafo, DPoint(640, 480), DPoint(640, 480)))
TEST(calcDist( pTrafo->transformBlobToScreen( DPoint(1.00,1.00) ),
DPoint(2.00,1.50)) <0.4)
TEST(checkTransform(pTrafo, DPoint(0,0), DPoint(0,0)))
TEST(checkTransform(pTrafo, DPoint(640, 480), DPoint(640, 480)))
TEST(checkBlobToScreen(pTrafo, DPoint(0,0), DPoint(0,0)))
TEST(checkBlobToScreen(pTrafo, DPoint(640, 480), DPoint(1280, 720)))
CalibratorTest succeeded.
CalibratorTestSuite succeeded.
PASS: testcalibrator
==================
All 1 tests passed
==================
make[3]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/player'
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/player'
Making check in conradrelais
make[2]: Betrete Verzeichnis
'/home/marco/programming/libavg-0.7.0/src/conradrelais'
make[2]: Für das Ziel »check« ist nichts zu tun.
make[2]: Verlasse Verzeichnis
'/home/marco/programming/libavg-0.7.0/src/conradrelais'
Making check in parport
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/parport'
make[2]: Für das Ziel »check« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/parport'
Making check in python
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/python'
make[2]: Für das Ziel »check« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/python'
Making check in test
make[2]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/test'
make check-TESTS
make[3]: Betrete Verzeichnis '/home/marco/programming/libavg-0.7.0/src/test'
[/bin/bash: line 4: 8538 Segmentation fault (core dumped) ${dir}$tst
FAIL: Test.py
=================================
1 of 1 tests failed
Please report to [EMAIL PROTECTED]
=================================
make[3]: *** [check-TESTS] Fehler 1
make[3]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/test'
make[2]: *** [check-am] Fehler 2
make[2]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src/test'
make[1]: *** [check-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/marco/programming/libavg-0.7.0/src'
make: *** [check-recursive] Fehler 1
_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users