Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636558 - media-libs/gstreamer-1.12.3: test failure on sparc (gst/gstmeta)
Summary: media-libs/gstreamer-1.12.3: test failure on sparc (gst/gstmeta)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: GStreamer package maintainers
Depends on:
Reported: 2017-11-04 22:30 UTC by Rolf Eike Beer
Modified: 2021-08-11 23:24 UTC (History)
1 user (show)

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

build.log (build.log,784.65 KB, text/plain)
2017-11-04 22:31 UTC, Rolf Eike Beer
build.log.xz (ppc, 1.16.2) (gstreamer-1.16.2:20200622-174419.log.xz,24.76 KB, application/x-xz)
2020-06-22 17:55 UTC, ernsteiswuerfel

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2017-11-04 22:30:20 UTC
Testsuite log:

   GStreamer 1.12.3: tests/check/test-suite.log

# TOTAL: 103
# PASS:  102
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: gst/gstmeta

Running suite(s): GstMeta
66%: Checks: 3, Failures: 0, Errors: 1
/var/tmp/portage/media-libs/gstreamer-1.12.3/work/gstreamer-1.12.3/tests/check/gst/gstmeta.c:237:E:general:test_meta_test:0: (after this point) Received signal 10 (Bus error)
FAIL gst/gstmeta (exit status: 1)

Portage 2.3.8 (python 2.7.14-final-0, default/linux/sparc/13.0, gcc-5.4.0, glibc-2.25-r8, 4.13.8 sparc64)
                         System Settings
System uname: Linux-4.13.8-sparc64-sun4v-with-gentoo-2.3
KiB Mem:    33133648 total,  10315248 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 04 Nov 2017 19:45:01 +0000
Head commit of repository gentoo: 519dfbcd97ff3b205959c9a85cfcab06d9d0e21b
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r8::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

CFLAGS="-O2 -mcpu=niagara2 -pipe"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=niagara2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
USE="acl berkdb big-endian bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre readline session sparc ssl tcpd unicode xattr zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 suncg6 sunffb sunleo tdfx dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

                        Package Settings

media-libs/gstreamer-1.12.3::gentoo was built with the following:
USE="caps introspection nls (-orc) -test (-unwind)"

Reproducible: Always
Comment 1 Rolf Eike Beer archtester 2017-11-04 22:31:46 UTC
Created attachment 502570 [details]
Comment 2 Mart Raudsepp gentoo-dev 2017-11-05 12:46:36 UTC
Can you attach the full log and the individual gstmeta test log somewhere in there too?
Comment 3 Rolf Eike Beer archtester 2017-11-05 14:22:34 UTC
Can you give me the file names (or a pattern) which files you are interested in?
Comment 4 Rolf Eike Beer archtester 2018-03-15 21:49:59 UTC
Same with 1.12.4.

gstmeta.log says:

Running suite(s): GstMeta
75%: Checks: 4, Failures: 0, Errors: 1
/var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4/tests/check/gst/gstmeta.c:237:E:general:test_meta_test:0: (after this point) Received signal 10 (Bus error)
FAIL gst/gstmeta (exit status: 1)

gdb says:

Program received signal SIGBUS, Bus error.
0xf7f01008 in _priv_gst_registry_chunks_load_plugin () from /var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4-.sparc32/gst/.libs/
(gdb) bt
#0  0xf7f01008 in _priv_gst_registry_chunks_load_plugin () from /var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4-.sparc32/gst/.libs/
#1  0xf7eee070 in exchange_packets () from /var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4-.sparc32/gst/.libs/
#2  0xf7eee994 in plugin_loader_free () from /var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4-.sparc32/gst/.libs/
#3  0xf7efde50 in gst_update_registry () from /var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4-.sparc32/gst/.libs/
#4  0xf7e7d1b4 in init_post () from /var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4-.sparc32/gst/.libs/
#5  0xf7d84594 in g_option_context_parse () from /usr/lib/
#6  0xf7f9f80c in gst_check_init () from /var/tmp/portage/media-libs/gstreamer-1.12.4/work/gstreamer-1.12.4-.sparc32/libs/gst/check/.libs/
#7  0x00010dd8 in main ()
Comment 5 Mart Raudsepp gentoo-dev 2018-03-15 22:16:20 UTC
Lets not block the other arches (SIGBUS suggests sparc specific indeed, maybe also for other arches that have it similar, like ia64 maybe). Any chance you could go upstream with this yourself, perhaps after trying if 1.13.91 fails too? This is the first package in the stack, so just trying that should work fine without having to do any other ebuilds. Just copying 1.12.4 ebuild to 1.13.91 version number should work for this for the duration of testing, I suspect.
Comment 6 Rolf Eike Beer archtester 2018-03-15 23:07:35 UTC
Test results of 1.13.91:

FAIL: gst/gstmeta
FAIL: gst/gstsystemclock
FAIL: gst/gstelement

I guess you already have a contact channel upstream that you could use for this bug…
Comment 7 Mart Raudsepp gentoo-dev 2018-03-16 11:58:12 UTC
It'd be just really (gstreamer (code) component). I just expect they'll want extra information or patch testing anyways, which I can't provide on sparc
Comment 8 Mart Raudsepp gentoo-dev 2018-06-16 20:42:46 UTC
I re-opened the upstream bug; let them know of any new information you might have on top of already existing; maybe even if just that it still happens with 1.14.1
Comment 9 ernsteiswuerfel archtester 2020-06-22 17:51:01 UTC
Same test fails on 1.16.2 on ppc too.

   GStreamer 1.16.2: tests/check/test-suite.log

# TOTAL: 107
# PASS:  106
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: gst/gstmeta

Running suite(s): GstMeta
90%: Checks: 10, Failures: 1, Errors: 0
/var/tmp/portage/media-libs/gstreamer-1.16.2/work/gstreamer-1.16.2/tests/check/gst/gstmeta.c:655:F:general:test_meta_seqnum:0: Assertion 'test_meta_compare_seqnum (meta1, meta2) < 0' failed
Check suite gst_buffermeta ran in 0.104s (tests failed: 1)
FAIL gst/gstmeta (exit status: 1)
Comment 10 ernsteiswuerfel archtester 2020-06-22 17:55:04 UTC
Created attachment 645760 [details]
build.log.xz (ppc, 1.16.2)