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

23 views
Skip to first unread message

ff...@googlecode.com

unread,
Jun 29, 2014, 12:19:25 AM6/29/14
to ffmb...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 184 by mpatd...@gmail.com: failed test on make fate (
tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1
http://code.google.com/p/ffmbc/issues/detail?id=184

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.

Attachments:
gdb result.txt 3.9 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

ff...@googlecode.com

unread,
Jun 30, 2014, 3:23:37 PM6/30/14
to ffmb...@googlegroups.com

Comment #1 on issue 184 by baptiste...@gmail.com: failed test on make fate
( tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1
http://code.google.com/p/ffmbc/issues/detail?id=184

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

ff...@googlecode.com

unread,
Jul 1, 2014, 4:08:29 AM7/1/14
to ffmb...@googlegroups.com

Comment #2 on issue 184 by mpatd...@gmail.com: failed test on make fate (
tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1
http://code.google.com/p/ffmbc/issues/detail?id=184

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.

Attachments:
gdb-second-try.txt 3.7 KB

Baptiste Coudurier

unread,
Jul 1, 2014, 5:11:44 PM7/1/14
to ffmb...@googlegroups.com
That's strange, do you have another os/compiler to test on ?
OSX ?

Baptiste COUDURIER
Key fingerprint          8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                           http://www.ffmpeg.org


--

---You received this message because you are subscribed to the Google Groups "ffmbc-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ffmbc-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ff...@googlecode.com

unread,
Jul 2, 2014, 6:39:58 AM7/2/14
to ffmb...@googlegroups.com

Comment #3 on issue 184 by mpatd...@gmail.com: failed test on make fate (
tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1
http://code.google.com/p/ffmbc/issues/detail?id=184

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


Attachments:
gdb-fedora20-gcc-482.txt 2.8 KB

ff...@googlecode.com

unread,
Jul 2, 2014, 6:41:19 AM7/2/14
to ffmb...@googlegroups.com

Comment #4 on issue 184 by mpatd...@gmail.com: failed test on make fate (
tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1
http://code.google.com/p/ffmbc/issues/detail?id=184

For all the above test, FFmbc was compiled using:
# ./configure --enable-nonfree --enable-gpl

ff...@googlecode.com

unread,
Jul 2, 2014, 4:04:11 PM7/2/14
to ffmb...@googlegroups.com

Comment #5 on issue 184 by baptiste...@gmail.com: failed test on make fate
( tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1
http://code.google.com/p/ffmbc/issues/detail?id=184

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.

ff...@googlecode.com

unread,
Dec 21, 2014, 10:52:34 PM12/21/14
to ffmb...@googlegroups.com
Updates:
Status: Fixed

Comment #6 on issue 184 by baptiste...@gmail.com: failed test on make fate
( tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1
https://code.google.com/p/ffmbc/issues/detail?id=184

Fixed 0.7.2
Reply all
Reply to author
Forward
0 new messages