Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700902 - media-libs/libvpx-1.7.0 - Test fails on PPC, ByteAlignmentTest.SwitchByteAlignment, ExternalFrameBufferTest.MinFrameBuffers tests and segfaults VP9/AltRefAqSegmentTest.TestNoMisMatchAltRefAQ0/1
Summary: media-libs/libvpx-1.7.0 - Test fails on PPC, ByteAlignmentTest.SwitchByteAlig...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: media-video herd
URL: https://bugs.chromium.org/p/webm/issu...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: unaligned-access
  Show dependency tree
 
Reported: 2019-11-21 21:51 UTC by ernsteiswuerfel
Modified: 2021-06-12 18:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (libvpx-1.7.0:20191121-212105.log,545.27 KB, text/plain)
2019-11-21 21:51 UTC, ernsteiswuerfel
Details
emerge --info (file_700902.txt,5.87 KB, text/plain)
2019-11-21 21:53 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel 2019-11-21 21:51:36 UTC
Created attachment 597110 [details]
build.log

[...]
Note: This is test shard 1 of 10.
[==========] Running 457 tests from 34 test cases.
[----------] Global test environment set-up.
[----------] 1 test from ByteAlignmentTest
[ RUN      ] ByteAlignmentTest.SwitchByteAlignment
/var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/test/byte_alignment_test.cc:165: Failure
      Expected: VPX_CODEC_OK
      Which is: 0
To be equal to: DecodeOneFrame(byte_alignments[i])
      Which is: 7
[  FAILED  ] ByteAlignmentTest.SwitchByteAlignment (2017 ms)
[----------] 1 test from ByteAlignmentTest (2020 ms total)

[----------] 1 test from ExternalFrameBufferTest
[ RUN      ] ExternalFrameBufferTest.MinFrameBuffers
/var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/test/external_frame_buffer_test.cc:427: Failure
      Expected: VPX_CODEC_OK
      Which is: 0
To be equal to: DecodeRemainingFrames()
      Which is: 7
[  FAILED  ] ExternalFrameBufferTest.MinFrameBuffers (1853 ms)
[----------] 1 test from ExternalFrameBufferTest (1855 ms total)

[----------] 1 test from VP9FrameSizeTestsLarge
[ RUN      ] VP9FrameSizeTestsLarge.TestInvalidSizes
[       OK ] VP9FrameSizeTestsLarge.TestInvalidSizes (0 ms)
[----------] 1 test from VP9FrameSizeTestsLarge (0 ms total)

[----------] 1 test from VP9/ActiveMapTest
[ RUN      ] VP9/ActiveMapTest.Test/0
[       OK ] VP9/ActiveMapTest.Test/0 (25674 ms)
[----------] 1 test from VP9/ActiveMapTest (25675 ms total)

[----------] 3 tests from VP9/AltRefAqSegmentTest
[ RUN      ] VP9/AltRefAqSegmentTest.TestNoMisMatchAltRefAQ0/1
/bin/sh: line 1:  2565 Segmentation fault      (core dumped) ./test_libvpx
make[1]: *** [/var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/libs.mk:553: test_shard.0] Error 139
make: *** [Makefile:17: .DEFAULT] Error 2
 * ERROR: media-libs/libvpx-1.7.0::gentoo failed (test phase):
 *   emake failed

When built with debugsyms the segfault gives this coredump:
[...]
Reading symbols from /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0-.ppc/test_libvpx...
[New LWP 2565]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./test_libvpx'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  get_filter_level (mi=<optimized out>, lfi_n=<optimized out>) at /var/tmp/portage/media-libs/libvpx-1.7.0/work/libvpx-1.7.0/vp9/common/vp9_loopfilter.c:658
658	  const int filter_level = get_filter_level(lfi_n, mi);
Comment 1 ernsteiswuerfel 2019-11-21 21:53:10 UTC
Created attachment 597112 [details]
emerge --info
Comment 2 ernsteiswuerfel 2019-12-03 00:15:46 UTC
Out of curiosity I run the full testsuite (built v1.8.1 from upstream git) and reported the bug upstream.

[...]
[----------] Global test environment tear-down
[==========] 1196 tests from 84 test cases ran. (16615848 ms total)
[  PASSED  ] 585 tests.
[  FAILED  ] 611 tests, listed below:
[  FAILED  ] ByteAlignmentTest.SwitchByteAlignment
[  FAILED  ] VP9DecodeMultiThreadedTest.NoTilesNonFrameParallel
[  FAILED  ] Alignments/ByteAlignmentTest.TestAlignment/3, where GetParam() = 12-byte object <00-00 00-80 00-00 00-00 01-00 00-00>
[  FAILED  ] VP9/ExternalFrameBufferMD5Test.ExtFBMD5Match/7, where GetParam() = (0xdece94, 0xc9e6cc pointing to "vp90-2-00-quantizer-07.webm")
[...]
Comment 3 Rolf Eike Beer 2021-06-12 18:30:06 UTC
The alignment test also shows that this doesn't handle alignment properly as seen on sparc:

[ RUN      ] ByteAlignmentTest.SwitchByteAlignment
make[1]: *** [/var/tmp/portage/media-libs/libvpx-1.10.0/work/libvpx-1.10.0/libs.mk:707: test_shard.0] Bus error