Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1162102

Summary: [abrt] createrepo_c: cr_parse_repomd(): mergerepo_c killed by SIGTRAP
Product: [Fedora] Fedora Reporter: Mathieu Bridon <bochecha>
Component: createrepo_cAssignee: Tomas Mlcoch <tmlcoch>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: jzeleny, tmlcoch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/41723f1f7750d765484d405ddadd0b6549a3f72d
Whiteboard: abrt_hash:1bf5e58f5106db317036705050a5498fe70bc94f
Fixed In Version: createrepo_c-0.9.0-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-27 09:43:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Mathieu Bridon 2014-11-10 09:37:02 UTC
Description of problem:
1. Create a temporary, empty repository:

$ mkdir tmp
$ createrepo_c tmp

2. Try to merge that empty repo with the JPackage one:

$ mergerepo_c --all -k --simple-md-filenames -a x86_64 -o /tmp/repo -r http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/5.0/generic/free/ -r tmp/

The mergerepo_c command fails with core dumped.

Version-Release number of selected component:
createrepo_c-0.7.1-1.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        mergerepo_c --all -k --simple-md-filenames -a x86_64 -o /tmp/koji/tasks/2844/172844/repo -r http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/jpackage/5.0/generic/free/ -r tmp/
crash_function: cr_parse_repomd
executable:     /usr/bin/mergerepo_c
kernel:         3.17.1-304.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (3 frames)
 #2 cr_parse_repomd at /usr/src/debug/createrepo_c/src/locate_metadata.c:80
 #3 cr_get_remote_metadata at /usr/src/debug/createrepo_c/src/locate_metadata.c:256
 #4 cr_locate_metadata at /usr/src/debug/createrepo_c/src/locate_metadata.c:339

Comment 1 Mathieu Bridon 2014-11-10 09:37:05 UTC
Created attachment 955713 [details]
File: backtrace

Comment 2 Mathieu Bridon 2014-11-10 09:37:07 UTC
Created attachment 955714 [details]
File: cgroup

Comment 3 Mathieu Bridon 2014-11-10 09:37:08 UTC
Created attachment 955715 [details]
File: core_backtrace

Comment 4 Mathieu Bridon 2014-11-10 09:37:09 UTC
Created attachment 955716 [details]
File: dso_list

Comment 5 Mathieu Bridon 2014-11-10 09:37:11 UTC
Created attachment 955717 [details]
File: environ

Comment 6 Mathieu Bridon 2014-11-10 09:37:12 UTC
Created attachment 955718 [details]
File: limits

Comment 7 Mathieu Bridon 2014-11-10 09:37:13 UTC
Created attachment 955719 [details]
File: maps

Comment 8 Mathieu Bridon 2014-11-10 09:37:15 UTC
Created attachment 955720 [details]
File: open_fds

Comment 9 Mathieu Bridon 2014-11-10 09:37:16 UTC
Created attachment 955721 [details]
File: proc_pid_status

Comment 10 Mathieu Bridon 2014-11-10 09:37:17 UTC
Created attachment 955722 [details]
File: var_log_messages

Comment 11 Tomas Mlcoch 2014-11-10 15:38:02 UTC
Fixed build for rawhide is available:
http://koji.fedoraproject.org/koji/taskinfo?taskID=8090685
Could you please try it out?

Tomas

Comment 12 Fedora Update System 2014-11-10 15:56:55 UTC
createrepo_c-0.7.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/createrepo_c-0.7.3-1.fc21

Comment 13 Fedora Update System 2014-11-12 02:40:32 UTC
Package createrepo_c-0.7.3-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing createrepo_c-0.7.3-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14752/createrepo_c-0.7.3-1.fc21
then log in and leave karma (feedback).

Comment 14 Tomas Mlcoch 2014-11-27 09:43:26 UTC
Fixed version createrepo_c-0.7.4-1.fc21 is available in F21 updates.

Comment 15 Fedora Update System 2015-05-14 11:52:42 UTC
createrepo_c-0.8.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/createrepo_c-0.8.2-1.fc21

Comment 16 Fedora Update System 2015-05-28 11:07:53 UTC
createrepo_c-0.9.0-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/createrepo_c-0.9.0-1.fc21

Comment 17 Fedora Update System 2015-06-09 15:09:07 UTC
createrepo_c-0.9.0-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.