Ulrich von Zadow schrieb:
Marco Kuhn wrote:
hi,

Ulrich von Zadow schrieb:
Can you send a stack trace of that error as well?

the stack trace is in the attachment.
The make check failed at
../bin/bash: line 4:  9360 Segmentation fault      (core dumped) ${dir}$tst
make[3]: *** [check-TESTS] Fehler 1
make[2]: *** [check-am] Fehler 2
make[1]: *** [check-recursive] Fehler 1
make: *** [check-recursive] Fehler 1

The complete output of make check would have been better :-).

>From the gdb output:

warning: .dynamic section for "../python/.libs/avg.so" is not at the
expected address (wrong library or version mismatch?)

On a hunch: You can try a make clean and rebuild everything to see if
something got mixed up in the build process?

Regards,

  Uli

hi,

I have done "make clean" and rebuild everything,
but I got a SegFault too.

Best
MArco

--
www.hi-pi.de
skype:hipiexperiment

$ 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-15 12:25:56.635] 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-15 12:25:57.158] 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'
[07-11-15 12:26:06.882] LOGGER: Logging started 
.--------  testImage  --------
.--------  testError  --------
/bin/bash: line 4: 24693 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

Reply via email to