Bug 1500940 - dnf install - invalid pointer in free() causing basically a core dump on long command line
Summary: dnf install - invalid pointer in free() causing basically a core dump on long...
Keywords:
Status: CLOSED DUPLICATE of bug 1498207
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 26
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-11 19:27 UTC by Michael D. Parker
Modified: 2017-10-12 07:27 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-10-12 07:27:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
DNF Session output and listing of packages (49.39 KB, text/plain)
2017-10-11 19:27 UTC, Michael D. Parker
no flags Details

Description Michael D. Parker 2017-10-11 19:27:55 UTC
Created attachment 1337398 [details]
DNF Session output and listing of packages

Description of problem:
When using dnf install `cat file` with a large number of package names (about 450 items give or take), the program coredumps with an invalid pointer


Version-Release number of selected component (if applicable):
System is fully patched/updated to the current release as of 10/11/2017 @ 1200 PDT
dnf - 2.7.3
kernel - Linux pnf 4.13.5-200.fc26.x86_64 #1 SMP Thu Oct 5 16:53:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
python3 - 3.6.2


How reproducible:
VERY

Steps to Reproduce:
1. get a list of a number of files to install and put into file (something like python3\* -- see attachment).  Note this fails on other long package selections not only python3
2. dnf install `cat filename`
3. NOTE: Keeping selection size under about 400 packages seems to keep dnf happy.

Actual results:


Expected results:
Should provide errors or conflicts (if any) or proceed to user verification of package selection.


Additional info:
See attachment for a test file used and the session output from dnf.

Comment 1 Igor Gnatenko 2017-10-12 07:27:22 UTC

*** This bug has been marked as a duplicate of bug 1498207 ***


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