Bug 1629893 - libprelude-4.1.0-6.fc30 FTBFS: valgrind tests fail
Summary: libprelude-4.1.0-6.fc30 FTBFS: valgrind tests fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libprelude
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Andrejak
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-17 15:07 UTC by Petr Pisar
Modified: 2020-11-04 08:40 UTC (History)
4 users (show)

Fixed In Version: libprelude-4.1.0-8.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 08:40:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2018-09-17 15:07:31 UTC
libprelude-4.1.0-6.fc30 fails to build in F30 because valgrind tests fail like this:

make[5]: Entering directory '/builddir/build/BUILD/libprelude-4.1.0/tests'
/bin/sh ../libtool --mode=execute                               \
/usr/bin/valgrind -q                                          \
--tool=memcheck --leak-check=full --trace-children=yes  \
--leak-resolution=high --num-callers=20                 \
idmef-criteria 2>&1 | tee valgrind.log				
==21176== Invalid read of size 1
==21176==    at 0x509C741: check_free (in /usr/lib64/libdl-2.28.9000.so)
==21176==    by 0x509CC35: __dlerror_main_freeres (in /usr/lib64/libdl-2.28.9000.so)
==21176==    by 0x4BB4F49: __libc_freeres (in /usr/lib64/libc-2.28.9000.so)
==21176==    by 0x482E1DE: _vgnU_freeres (vg_preloaded.c:77)
==21176==    by 0x4A81DC9: __run_exit_handlers (in /usr/lib64/libc-2.28.9000.so)
==21176==    by 0x4A81DFF: exit (in /usr/lib64/libc-2.28.9000.so)
==21176==    by 0x109CF3: main (idmef-criteria.c:182)
==21176==  Address 0x7265207861746e79 is not stack'd, malloc'd or (recently) free'd
==21176== 
==21176== 
==21176== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==21176==  General Protection Fault
==21176==    at 0x509C741: check_free (in /usr/lib64/libdl-2.28.9000.so)
==21176==    by 0x509CC35: __dlerror_main_freeres (in /usr/lib64/libdl-2.28.9000.so)
==21176==    by 0x4BB4F49: __libc_freeres (in /usr/lib64/libc-2.28.9000.so)
==21176==    by 0x482E1DE: _vgnU_freeres (vg_preloaded.c:77)
==21176==    by 0x4A81DC9: __run_exit_handlers (in /usr/lib64/libc-2.28.9000.so)
==21176==    by 0x4A81DFF: exit (in /usr/lib64/libc-2.28.9000.so)
==21176==    by 0x109CF3: main (idmef-criteria.c:182)
make[5]: Leaving directory '/builddir/build/BUILD/libprelude-4.1.0/tests'
make[5]: *** [Makefile:2229: idmef-criteria.valgrind] Error 1
Valgrind error for test idmef-criteria

A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/5137728>.

This is probably triggered by changes in glibc.

Comment 1 Ben Cotton 2019-08-13 17:09:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 19:44:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Thomas Andrejak 2019-12-09 22:13:37 UTC
Fixed in fedora 31 and rawhide.

Comment 4 Ben Cotton 2020-11-03 15:02:36 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Petr Pisar 2020-11-04 08:40:24 UTC
I can see you "fixed" by disabling all tests:

# Enable test again after fixing #1629893
#%check
#make check


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