Description of problem: Hello, we are working with a project using cpputest as unit test library. We are using standard packages from EPEL for CentOS 8 (but same issue apply to Fedora, latest release). We are running some basic unit tests for a (yet small) application, but those tests won't run. The test runner won't reach the end of execution, and is stuck undefinedly. If you disable the Memory Leak detector component, however, everything runs fine. Please have a look at my discussion in the GitHub repository for the project, where more data is reported: https://github.com/cpputest/cpputest/issues/1541 It seems that the problems only arises when using dynamically-linked builds of cpputest. Version-Release number of selected component (if applicable): Name : cpputest-devel Version : 4.0 Release : 1.el8 Architecture : x86_64 Size : 911 k Source : cpputest-4.0-1.el8.src.rpm Repository : @System From repo : epel How reproducible: Write some basic unit tests using cpputest and then build them. They should produce executable(s) failing at memory leak detector (even though no memory is allocated) and never terminate Steps to Reproduce: 1. Write some unit tests (in separate files, also copy-paste from official manual) 2. Run them 3. Observe that program never exits Actual results: Unit tests does not terminate. Frontends managing results (eclipse, automake, ...) cannot report test suite results. Expected results: Unit tests should terminate after execution. Additional info: Please find attached here further investigation: https://github.com/cpputest/cpputest/issues/1541 Also, in Fedora/CentOS/EPEL, CMake for cpputest is patched not to produce static builds: however, this issue is not present in static version of library. We are discussing with author whether it is doable to enable dynamically build objects for cpputest too or if there are architectural constraints forcing him to use static builds.
Hello, Per our latest discussion in https://github.com/cpputest/cpputest/issues/1541, the original library author agreed upon the fact that his library is specifically designed to be statically linked , and this strage behavior is caused by the library being compiled as a dynamic object. I think here the culprit is the patch https://src.fedoraproject.org/rpms/cpputest/blob/epel8/f/cpputest-no-static-ext.patch that should be removed; this should fix the issue Fedora/EPEL side.
FEDORA-2024-e087523655 (cpputest-4.0-8.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-e087523655
FEDORA-EPEL-2024-804bd59138 (cpputest-4.0-8.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-804bd59138
FEDORA-2024-ff88f28778 (cpputest-4.0-8.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ff88f28778
FEDORA-2024-e087523655 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e087523655` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e087523655 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-804bd59138 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-804bd59138 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-ff88f28778 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ff88f28778` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ff88f28778 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-ff88f28778 (cpputest-4.0-8.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-804bd59138 (cpputest-4.0-8.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-e087523655 (cpputest-4.0-8.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.