Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in FFmpegWriter_Test_Webm #43

Closed
ghisvail opened this issue Dec 16, 2016 · 6 comments
Closed

Failure in FFmpegWriter_Test_Webm #43

ghisvail opened this issue Dec 16, 2016 · 6 comments

Comments

@ghisvail
Copy link
Contributor

Upon trying to refresh the packaging for Debian, the build fails with the following errors at the testing stage. The log is the following:

----------------------------
     RUNNING ALL TESTS
----------------------------
[AudioData @ 0x7fbcd0ff8640] invalid NULL pointer for src[0]
[AudioData @ 0x7fbccdff2640] invalid NULL pointer for src[0]
[AudioData @ 0x7fbccfff6640] invalid NULL pointer for src[0]
[AudioData @ 0x7fbcceff4640] invalid NULL pointer for src[0]
[AudioData @ 0x7fbcd07f7640] invalid NULL pointer for src[0]
[AudioData @ 0x7fbcd07f7640] invalid NULL pointer for src[0]
[AudioData @ 0x7fbcd07f7460] invalid NULL pointer for src[0]
[libvpx @ 0x5571a64cd2c0] v1.6.0
[webm @ 0x5571a66c5380] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
[webm @ 0x5571a66c5380] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[webm @ 0x5571a66c5380] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
[webm @ 0x5571a66c5380] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[AudioData @ 0x7fbcd07f7460] invalid NULL pointer for src[0]
[AudioData @ 0x7ffd84397b20] invalid NULL pointer for src[0]
/home/gvaillan/workspace/debian/packages/libopenshot/tests/FFmpegWriter_Tests.cpp:76: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
/home/gvaillan/workspace/debian/packages/libopenshot/tests/FFmpegWriter_Tests.cpp:77: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
/home/gvaillan/workspace/debian/packages/libopenshot/tests/FFmpegWriter_Tests.cpp:78: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
[AudioData @ 0x7fbc67ffe460] invalid NULL pointer for src[0]
[AudioData @ 0x7fbc657f9460] invalid NULL pointer for src[0]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
FAILURE: 1 out of 74 tests failed (3 failures).
Test time: 6.03 seconds.
----------------------------

I am guessing the 3 failures reported correspond to:

FFmpegWriter_Tests.cpp:76: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
FFmpegWriter_Tests.cpp:77: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
FFmpegWriter_Tests.cpp:78: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11

Which I am not quite sure what to expect from. Are these tests safe to disable for now?

@ghisvail
Copy link
Contributor Author

Looks like there is a problem with these asserts in tests/FFmpegWriter_Tests.cpp:

CHECK_EQUAL(23, (int)pixels[pixel_index]);
CHECK_EQUAL(23, (int)pixels[pixel_index + 1]);
CHECK_EQUAL(23, (int)pixels[pixel_index + 2]);
CHECK_EQUAL(255, (int)pixels[pixel_index + 3]);

I have disabled them until this is reviewed.

@ghisvail
Copy link
Contributor Author

Any news?

@sbraz
Copy link
Contributor

sbraz commented Jan 27, 2017

ping @jonoomph

@jonoomph
Copy link
Member

jonoomph commented Apr 3, 2017

Sorry, I am not seeing this same failure.

@jonoomph
Copy link
Member

jonoomph commented Apr 3, 2017

Can you reproduce this on the newest version? If so, please reopen. Thx!

@jonoomph jonoomph closed this as completed Apr 3, 2017
@sbraz
Copy link
Contributor

sbraz commented Apr 11, 2017

I can reproduce with 0.1.4 but I can't reopen the issue, can you do it please?

>>> Test phase: media-libs/libopenshot-0.1.4
make -j13 test
Scanning dependencies of target test
----------------------------
     RUNNING ALL TESTS
----------------------------
[AudioData @ 0x7fff55405d40] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e71ff2640] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e707ef820] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e71ff2820] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e6efec820] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e6d7e9820] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e70ff0820] invalid NULL pointer for src[0]
[libvpx @ 0xb423a0] v1.6.1
[webm @ 0xb41a80] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
[webm @ 0xb41a80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[webm @ 0xb41a80] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
[webm @ 0xb41a80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[AudioData @ 0x7f0e71ff2820] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e6dfea820] invalid NULL pointer for src[0]
/var/tmp/portage/media-libs/libopenshot-0.1.4/work/libopenshot-0.1.4/tests/FFmpegWriter_Tests.cpp:76:1: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
/var/tmp/portage/media-libs/libopenshot-0.1.4/work/libopenshot-0.1.4/tests/FFmpegWriter_Tests.cpp:77:1: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
/var/tmp/portage/media-libs/libopenshot-0.1.4/work/libopenshot-0.1.4/tests/FFmpegWriter_Tests.cpp:78:1: error: Failure in FFmpegWriter_Test_Webm: Expected 23 but was 11
[AudioData @ 0x7f0e057f9640] invalid NULL pointer for src[0]
[AudioData @ 0x7f0e057f9640] invalid NULL pointer for src[0]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
FAILURE: 1 out of 79 tests failed (3 failures).
Test time: 4.51 seconds.
----------------------------
make[3]: *** [tests/CMakeFiles/test.dir/build.make:57: tests/CMakeFiles/test] Error 3
make[2]: *** [CMakeFiles/Makefile2:332: tests/CMakeFiles/test.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:339: tests/CMakeFiles/test.dir/rule] Error 2
make: *** [Makefile:249: test] Error 2
 * ERROR: media-libs/libopenshot-0.1.4::local failed (test phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/libopenshot-0.1.4::local'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libopenshot-0.1.4::local'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libopenshot-0.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libopenshot-0.1.4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libopenshot-0.1.4/work/libopenshot-0.1.4_build'
 * S: '/var/tmp/portage/media-libs/libopenshot-0.1.4/work/libopenshot-0.1.4'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants