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 1796353 - createrepo segfaults
Summary: createrepo segfaults
Keywords:
Status: CLOSED DUPLICATE of bug 1795052
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-30 09:05 UTC by Richard W.M. Jones
Modified: 2020-01-30 09:11 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-30 09:11:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2020-01-30 09:05:58 UTC
Description of problem:

+ createrepo repo
GLib: Critical: g_async_queue_lock: assertion 'queue' failed
GLib: Critical: g_async_queue_push_unlocked: assertion 'queue' failed
GLib: Critical: _g_async_queue_get_mutex: assertion 'queue' failed
/var/tmp/rpm-tmp.pJW7CO: line 45: 249304 Segmentation fault      (core dumped) createrepo repo

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

createrepo_c 0.15.5-1.fc32

How reproducible:

Happened at least once.

Steps to Reproduce:
1. Run createrepo.

Comment 1 Richard W.M. Jones 2020-01-30 09:10:17 UTC
Actually this bug seems to be in glib2, not in createrepo itself.

glib2 2.63.3-1.fc32 => WORKS
glib2 2.63.4-1.fc32 => BUGGY

A trivial reproducer is:

$ mkdir /var/tmp/test
$ cd /var/tmp/test
$ koji download-build libnbd-1.3.1-4.fc32 --arch=x86_64
$ createrepo .
Directory walk started
Directory walk done - 6 packages
Temporary output repo path: ./.repodata/
Preparing sqlite DBs
Pool started (with 5 workers)
Pool finished
GLib: Critical: g_async_queue_lock: assertion 'queue' failed
GLib: Critical: g_async_queue_push_unlocked: assertion 'queue' failed
GLib: Critical: _g_async_queue_get_mutex: assertion 'queue' failed
Segmentation fault (core dumped)

I can't get a stack trace because this causes all sorts of other programs to
segfault too ...

Comment 2 Richard W.M. Jones 2020-01-30 09:11:49 UTC
Seems likely to be a duplicate of bug 1795052.

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


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