felx / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

failed test on make fate ( tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1 #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
make fate

What is the expected output? What do you see instead?
completed without problem

What version of the product are you using? On what operating system?
0.7.1, Fedora 20 64bit

Please provide any additional information below:
While running make fate, it stopped at here:
TEST    lavfi-crop_vflip
TEST    lavfi-null
TEST    lavfi-pixdesc
--- ./tests/ref/lavfi/pixdesc   2014-05-21 11:49:03.000000000 +0800
+++ tests/data/fate/lavfi-pixdesc       2014-06-29 12:13:24.305027480 +0800
@@ -50,9 +50,4 @@
 yuv444p16le         7da7888562a097ce9a4aed051d6381a9
 yuv444p9be          b6267a9c2a55a11880f790c4121514da
 yuv444p9le          9672fc303590049f3e86d3e8eede080e
-yuva420p            4c8f30633998898d8efaae2c8806abd3
-yuvj420p            64f041ca328c5d8caa06314a4b7d9c20
-yuvj422p            484217664cd92c729d9682db709cdf36
-yuvj440p            049f4c258f11d55f9d0b0958f239f022
-yuvj444p            42513e04226221b4a7e254ff104b9e06
-yuyv422             006d630cd7ea79bfaa208169e82000d5
+yuva420p
\ No newline at end of file
make: *** [fate-lavfi-pixdesc] Error 139

- Full commandline run (with -v 3) and everything the program printed
without
the repeating parts.
- Upload your sample somewhere and supply url

1. my ffmbc compile options:
./configure --enable-nonfree --enable-gpl --enable-libx264 --enable-libvpx 
--enable-ffplay --enable-static --disable-shared --enable-libvorbis 
--enable-vaapi --enable-hwaccel=h263_vaapi --enable-hwaccel=vc1_vaapi 
--enable-hwaccel=mpeg2_vaapi --enable-hwaccel=h264_vaapi 
--enable-hwaccel=mpeg4_vaapi --enable-hwaccel=wmv3_vaapi --enable-x11grab 
--enable-libfaac --enable-runtime-cpudetect --enable-x11grab 
--enable-libfreetype --enable-libopenjpeg --enable-libschroedinger 
--enable-vdpau --enable-librtmp --enable-libmp3lame

2.
Attached is the corresponding gdb result.

Original issue reported on code.google.com by mpatd...@gmail.com on 29 Jun 2014 at 4:19

Attachments:

GoogleCodeExporter commented 8 years ago
I cannot reproduce it here gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 
Can you please narrow the configure line ?

Original comment by baptiste...@gmail.com on 30 Jun 2014 at 7:23

GoogleCodeExporter commented 8 years ago
Tried again with this configure option, but still have problem.

# ./configure --enable-nonfree --enable-gpl

ldd ./ffmbc
        linux-vdso.so.1 =>  (0x00007fffe9ffe000)
        libva.so.1 => /usr/local/lib/libva.so.1 (0x00007f597ff90000)
        libasound.so.2 => /lib64/libasound.so.2 (0x0000003f71800000)
        libSDL-1.2.so.0 => /lib64/libSDL-1.2.so.0 (0x0000003f72000000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003f54200000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003f53a00000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x000000399c400000)
        libz.so.1 => /lib64/libz.so.1 (0x0000003f54600000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003f53600000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003f53e00000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003f55600000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003f52e00000)

Attached is the gdb result.

Original comment by mpatd...@gmail.com on 1 Jul 2014 at 8:08

Attachments:

GoogleCodeExporter commented 8 years ago
1. RHEL 6.5 64bit passed the make fate:

# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
--enable-bootstrap --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-gnu-unique-object 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib 
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)

2. FreeBSD 9.2 64bit passed make fate
# gcc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]

3. For my fedora 20 64bit
It recently provided gcc 4.8.3 which replaced 4.8.2.
I tried with gcc 4.8.2, still have problem.

TEST    lavfi-pixdesc
--- ./tests/ref/lavfi/pixdesc   2014-05-21 11:49:03.000000000 +0800
+++ tests/data/fate/lavfi-pixdesc       2014-07-02 17:47:10.629680688 +0800
@@ -50,9 +50,4 @@
 yuv444p16le         7da7888562a097ce9a4aed051d6381a9
 yuv444p9be          b6267a9c2a55a11880f790c4121514da
 yuv444p9le          9672fc303590049f3e86d3e8eede080e
-yuva420p            4c8f30633998898d8efaae2c8806abd3
-yuvj420p            64f041ca328c5d8caa06314a4b7d9c20
-yuvj422p            484217664cd92c729d9682db709cdf36
-yuvj440p            049f4c258f11d55f9d0b0958f239f022
-yuvj444p            42513e04226221b4a7e254ff104b9e06
-yuyv422             006d630cd7ea79bfaa208169e82000d5
+yuva420p
\ No newline at end of file
make: *** [fate-lavfi-pixdesc] Error 139

4. RHEL 7.0 ship with gcc 4.8.2
Result: it stopped in another place (have not reach the place that had segfault)

[root@rhel7-test FFmbc-0.7.1]# make fate
TEST    acodec-aref
TEST    acodec-ac3_fixed
TEST    acodec-adpcm_ima_qt
TEST    acodec-adpcm_ima_wav
TEST    acodec-adpcm_ms
TEST    acodec-adpcm_swf
TEST    acodec-adpcm_yam
TEST    acodec-alac
TEST    acodec-flac
TEST    acodec-g726
TEST    acodec-mp2
TEST    acodec-pcm
TEST    acodec-wmav1
TEST    acodec-wmav2
TEST    vsynth1-vref
TEST    vsynth1-asv1
TEST    vsynth1-asv2
TEST    vsynth1-dnxhd_1080i
TEST    vsynth1-dnxhd_720p
TEST    vsynth1-dnxhd_720p_10bit
TEST    vsynth1-dnxhd_720p_rd
TEST    vsynth1-dv
TEST    vsynth1-dv50
TEST    vsynth1-dvhd_1080i
TEST    vsynth1-dvhd_720p
TEST    vsynth1-error
TEST    vsynth1-ffv1
TEST    vsynth1-flashsv2
--- ./tests/ref/vsynth1/flashsv2        2014-05-21 11:49:03.000000000 +0800
+++ tests/data/fate/vsynth1-flashsv2    2014-07-02 18:34:28.693752975 +0800
@@ -1,4 +0,0 @@
-8d105780bb79915bc36f96f7a754f289 *./tests/data/vsynth1/flashsv2.flv
-9371095 ./tests/data/vsynth1/flashsv2.flv
-efa88d09115a2e947eff00ee435ba3f3 *./tests/data/flashsv2.vsynth1.out.yuv
-stddev:    3.47 PSNR: 37.31 MAXDIFF:   49 bytes:  7603200/  7603200
make: *** [fate-vsynth1-flashsv2] Error 1

Original comment by mpatd...@gmail.com on 2 Jul 2014 at 10:39

Attachments:

GoogleCodeExporter commented 8 years ago
For all the above test, FFmbc was compiled using:
# ./configure --enable-nonfree --enable-gpl

Original comment by mpatd...@gmail.com on 2 Jul 2014 at 10:41

GoogleCodeExporter commented 8 years ago
Thanks a lot. I guess gcc 4.8 has issues with the code. 
The flashsv issues could be related to zlib.
I'll leave the issue open, but I don't have access to gcc 4.8 yet, although 
ubuntu 14.04 ships it so
I will have access soon.

Original comment by baptiste...@gmail.com on 2 Jul 2014 at 8:04

GoogleCodeExporter commented 8 years ago
Fixed 0.7.2

Original comment by baptiste...@gmail.com on 22 Dec 2014 at 3:49