Bug 1284162

Summary: Fatal Internal Error in libarchive: Out of memory when creating mtree files
Product: [Fedora] Fedora Reporter: Ting-Wei Lan <lantw44>
Component: libarchiveAssignee: Pavel Raiskup <praiskup>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libarchive-3.1.2-14.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-25 00:24:56 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 Ting-Wei Lan 2015-11-21 10:16:14 UTC
Description of problem:
Running 'makepkg' on Fedora always fail.

Version-Release number of selected component (if applicable):
libarchive-3.1.2-13.fc23.x86_64

How reproducible:
It is always reproducible when running makepkg, and it can usually be reproduced when using bsdtar on other files.

Steps to Reproduce:
1. bsdtar -cf - --format=mtree /etc/systemd/system

Actual results:
bsdtar: Removing leading '/' from member names
Fatal Internal Error in libarchive: Out of memory

Expected results:
mtree output is successfully generated and printed to stdout.

Additional info:
This bug is already fixed upstream:
https://github.com/libarchive/libarchive/issues/411

The patch included in the bug report can fix this problem.

Comment 1 Fedora Update System 2015-12-21 05:53:03 UTC
libarchive-3.1.2-14.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-4941f9754f

Comment 2 Fedora Update System 2015-12-23 00:11:10 UTC
libarchive-3.1.2-14.fc23 has been pushed to the Fedora 23 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-2015-4941f9754f

Comment 3 Fedora Update System 2015-12-25 00:24:54 UTC
libarchive-3.1.2-14.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.