Bug 1519994 - pkg-config --path pkgconf segfaults
Summary: pkg-config --path pkgconf segfaults
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pkgconf
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-01 21:11 UTC by Ricardo Garcia
Modified: 2017-12-12 13:43 UTC (History)
2 users (show)

Fixed In Version: pkgconf-1.3.12-1.fc27 pkgconf-1.3.12-1.fc26
Clone Of:
Environment:
Last Closed: 2017-12-12 11:26:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/pkgconf pkgconf issues 158 0 None None None 2020-05-01 15:02:34 UTC

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.


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