Description of problem: PackageKit segfaults with the following libdnf upstream commit: https://github.com/rpm-software-management/libdnf/commit/7f1134f97277f1887d3b4b1e31cb13ee7dcbd2e4 Note that the root cause probably lies in the preceding commit: https://github.com/rpm-software-management/libdnf/commit/b74c32ce949f55314566b1e8230be968838811ff How reproducible: always Steps to Reproduce: 1. # /usr/libexec/packagekitd
(In reply to Michal Domonkos from comment #0) > Description of problem: > > PackageKit segfaults with the following libdnf upstream commit: > https://github.com/rpm-software-management/libdnf/commit/ > 7f1134f97277f1887d3b4b1e31cb13ee7dcbd2e4 Correction; it's this commit: https://github.com/rpm-software-management/libdnf/commit/cd12c3fe45d2a316437e95d6c48f2c9fad5e86ce
(In reply to Michal Domonkos from comment #0) > Note that the root cause probably lies in the preceding commit: > https://github.com/rpm-software-management/libdnf/commit/ > b74c32ce949f55314566b1e8230be968838811ff This one was also the wrong commit; what I meant was (sorry): https://github.com/rpm-software-management/libdnf/commit/ 7f1134f97277f1887d3b4b1e31cb13ee7dcbd2e4
Root cause: When running with PackageKit, the "environ" external variable is NULL for some reason, and we crash here as a result: void ConfigMain::addVarsFromEnv() To fix the crash, we could just add a NULL test, however that wouldn't resolve the problem itself. Jarek is looking into this.
I made fix PR: https://github.com/rpm-software-management/libdnf/pull/815
*** Bug 1761948 has been marked as a duplicate of this bug. ***
FEDORA-2019-7cafbe66ba has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7cafbe66ba
FEDORA-2019-94393775ec has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-94393775ec
dnf-4.2.15-1.fc30, dnf-plugins-core-4.0.11-1.fc30, dnf-plugins-extras-4.0.8-1.fc30, libdnf-0.37.2-2.fc30, librepo-1.11.0-1.fc30, microdnf-3.0.2-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7cafbe66ba
dnf-4.2.15-1.fc31, dnf-plugins-core-4.0.11-1.fc31, dnf-plugins-extras-4.0.8-1.fc31, libdnf-0.37.2-2.fc31, librepo-1.11.0-1.fc31, microdnf-3.0.2-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-94393775ec
dnf-4.2.15-3.fc30, dnf-plugins-core-4.0.11-1.fc30, dnf-plugins-extras-4.0.8-1.fc30, libdnf-0.37.2-2.fc30, librepo-1.11.0-1.fc30, microdnf-3.0.2-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7cafbe66ba
dnf-4.2.15-2.fc31, dnf-plugins-core-4.0.11-1.fc31, dnf-plugins-extras-4.0.8-1.fc31, libdnf-0.37.2-2.fc31, librepo-1.11.0-1.fc31, microdnf-3.0.2-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-94393775ec
dnf-4.2.15-2.fc31, dnf-plugins-core-4.0.11-1.fc31, dnf-plugins-extras-4.0.8-1.fc31, libdnf-0.37.2-2.fc31, librepo-1.11.0-1.fc31, microdnf-3.0.2-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
dnf-4.2.15-3.fc30, dnf-plugins-core-4.0.11-1.fc30, dnf-plugins-extras-4.0.8-1.fc30, libdnf-0.37.2-2.fc30, librepo-1.11.0-1.fc30, microdnf-3.0.2-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.