After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649930 - Test failed for mpeg2dec (segfault)
Test failed for mpeg2dec (segfault)
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.18
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 647970 665406 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-11 03:24 UTC by Funda Wang
Modified: 2011-12-02 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Funda Wang 2011-05-11 03:24:10 UTC
Hello,

I'm currently building plugins-ugly 0.10.18 in Mandriva cooker, all builds fine, but it failed on checking:

Running suite(s): mpeg2dec
33%: Checks: 3, Failures: 0, Errors: 2
elements/mpeg2dec.c:1386:E:general:test_decode_stream1:0: (after this point) Received signal 11 (Segmentation fault)
elements/mpeg2dec.c:1453:E:general:test_decode_stream2:0: (after this point) Received signal 11 (Segmentation fault)
FAIL: elements/mpeg2dec
Running suite(s): xingmux
100%: Checks: 1, Failures: 0, Errors: 0
PASS: elements/xingmux
==========================================================================

Detailed log here:
http://kenobi.mandriva.com/queue/failure/cooker/main/release/20110511023335.fwang.kenobi.22149/log/gstreamer0.10-plugins-ugly-0.10.18-1/build.0.20110511023419.log

And, environment here:
http://kenobi.mandriva.com/queue/failure/cooker/main/release/20110511023335.fwang.kenobi.22149/log/gstreamer0.10-plugins-ugly-0.10.18-1/rpm_qa.0.20110511023419.log
Comment 1 Sebastian Dröge (slomo) 2011-05-11 07:43:39 UTC
Could you run
make elements/mpeg2dec.gdb
from tests/check, let it crash and get a backtrace of the crash?
Comment 2 Götz Waschk 2011-05-11 18:34:25 UTC
It crashes on i586 only. Seems to be related to libmpeg2 and or gcc:
$ make ./elements/mpeg2dec.gdb                                  GNU gdb (GDB) 7.1-5 (Mandriva Linux release 2011.0)                             Copyright (C) 2010 Free Software Foundation, Inc.                               License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/goetz/gstreamer0.10-plugins-ugly/BUILD/gst-plugins-ugly-0.10.18/tests/check/elements/mpeg2dec...done.
(gdb) run
Starting program: /home/goetz/gstreamer0.10-plugins-ugly/BUILD/gst-plugins-ugly-0.10.18/tests/check/elements/mpeg2dec
[Thread debugging using libthread_db enabled]
Running suite(s): mpeg2dec

Program received signal SIGSEGV, Segmentation fault.
0xb75faad8 in sse2_idct (block=0x80af940, dest=0x80becb0 "", stride=176)
    at idct_mmx.c:950
950         SSE2_IDCT_2ROW (table04, xmm0, xmm4, *rounder0_128, *rounder4_128);
(gdb) bt
  • #0 sse2_idct
    at idct_mmx.c line 950
  • #1 mpeg2_idct_copy_sse2
    at idct_mmx.c line 1228
  • #2 slice_intra_DCT
  • #3 mpeg2_slice
  • #4 mpeg2_parse
    at decode.c line 188
  • #5 gst_mpeg2dec_chain
    at gstmpeg2dec.c line 1081
  • #6 gst_pad_chain_data_unchecked
    at gstpad.c line 4247
  • #7 gst_pad_push_data
    at gstpad.c line 4479
  • #8 gst_pad_push
    at gstpad.c line 4704
  • #9 test_decode_stream1
    at elements/mpeg2dec.c line 1392
  • #10 tcase_run_tfun_nofork
    at check_run.c line 314
  • #11 srunner_iterate_tcase_tfuns
    at check_run.c line 181
  • #12 srunner_run_tcase
    at check_run.c line 302
  • #13 srunner_iterate_suites
    at check_run.c line 150
  • #14 srunner_run_all
    at check_run.c line 561
  • #15 main
    at elements/mpeg2dec.c line 1574

Comment 3 Sebastian Dröge (slomo) 2011-05-12 08:02:30 UTC
And when downgrading only gst-plugins-ugly to previous release the problem disappears? This looks more like a problem in the mpeg2dec library.
Comment 4 Götz Waschk 2011-05-12 08:18:17 UTC
No, 0.10.17 fails in the same way now. It is a problem in mpeg2dec.
Comment 5 Edward Hervey 2011-05-16 18:52:16 UTC
*** Bug 647970 has been marked as a duplicate of this bug. ***
Comment 6 Fabio Durán Verdugo 2011-12-02 16:46:16 UTC
*** Bug 665406 has been marked as a duplicate of this bug. ***