Bug 1519994

Summary: pkg-config --path pkgconf segfaults
Product: [Fedora] Fedora Reporter: Ricardo Garcia <clean.board9756>
Component: pkgconfAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: ignatenko, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pkgconf-1.3.12-1.fc27 pkgconf-1.3.12-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 11:26:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ricardo Garcia 2017-12-01 21:11:42 UTC
Description of problem:

When running pkg-config --path pkgconf, the program segfaults.

Version-Release number of selected component (if applicable):

pkgconf-1.3.10-1.fc27.x86_64
pkgconf-pkg-config-1.3.10-1.fc27.x86_64

How reproducible:

Always reproducible.

Steps to Reproduce:
1. Run pkg-config --path pkgconf.

Actual results:

Segfault.

Expected results:

Not segfaulting. :-)

Additional info:

The crash appears to happen in main.c:325 and pkg->filename is NULL. It's my first contact with these sources, but I'd guess it has something to do with the virtual packages at libpkgconf/pkg.c:865 not providing a value for the filename member. I may be off, though.

Comment 1 Fedora Update System 2017-12-10 12:46:23 UTC
pkgconf-1.3.12-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-143c830dc1

Comment 2 Fedora Update System 2017-12-10 12:46:36 UTC
pkgconf-1.3.12-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-98979580e4

Comment 3 Fedora Update System 2017-12-10 21:48:36 UTC
pkgconf-1.3.12-1.fc27 has been pushed to the Fedora 27 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-2017-143c830dc1

Comment 4 Fedora Update System 2017-12-11 00:19:07 UTC
pkgconf-1.3.12-1.fc26 has been pushed to the Fedora 26 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-2017-98979580e4

Comment 5 Fedora Update System 2017-12-12 11:26:44 UTC
pkgconf-1.3.12-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-12-12 13:43:53 UTC
pkgconf-1.3.12-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.