Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1222471 - test_repoconf segfaults on s390
Summary: test_repoconf segfaults on s390
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: rawhide
Hardware: s390
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2015-05-18 10:10 UTC by Dan Horák
Modified: 2015-06-11 18:37 UTC (History)
1 user (show)

Fixed In Version: librepo-1.7.16-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-27 13:44:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dan Horák 2015-05-18 10:10:08 UTC
one test segfaults on 32-bit s390

from build.log
...
test 1
    Start 1: test_main
1: Test command: /builddir/build/BUILD/librepo/tests/run_tests.sh
1: Test timeout computed to be: 9.99988e+06
1: Tests using directory: /tmp/librepog8fbJH
1: Running suite(s): cheksum
1:  gpg
1:  handle
1:  internal_mirrorlist
1:  metalink
1:  mirrorlist
1:  package_downloader
1:  repoconf
1: 
1: (process:29021): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
1: This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
1: The overwriting error message was: Value of option 20 is not set
1: 
1: (process:29023): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
1: This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
1: The overwriting error message was: Value of option 20 is not set
1:  repomd
1:  url_substitution
1:  util
1:  version
1: 95%: Checks: 43, Failures: 0, Errors: 2
1: /builddir/build/BUILD/librepo/tests/test_repoconf.c:56:E:Main:test_parse_repoconf_minimal:0: (after this point) Received signal 11 (Segmentation fault)
1: /builddir/build/BUILD/librepo/tests/test_repoconf.c:56:E:Main:test_write_repoconf:0: (after this point) Received signal 11 (Segmentation fault)
1/2 Test #1: test_main ........................***Failed    1.14 sec

Version-Release number of selected component (if applicable):
librepo-1.7.14-1.fc23 and newer


The test passes on all other arches (s390x, ppc64*, aarch64), so it might be a 32-bit big endian issue, or related to size_t being defined as unsigned long as opposed to the common unsigned int.

Comment 2 Fedora Update System 2015-05-29 12:36:13 UTC
librepo-1.7.16-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/librepo-1.7.16-1.fc22

Comment 3 Fedora Update System 2015-06-11 18:37:25 UTC
librepo-1.7.16-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.