Bug 1083659 - Crash DNF
Summary: Crash DNF
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: librepo
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1084727 1085449 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-02 16:20 UTC by Matěj Cepl
Modified: 2018-04-11 11:34 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-14 09:08:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
backtrace (40.38 KB, text/plain)
2014-04-02 16:20 UTC, Matěj Cepl
no flags Details
sosreport (16.76 MB, application/x-xz)
2014-04-02 16:23 UTC, Matěj Cepl
no flags Details
whole directory /var/tmp/abrt/ccpp-2014-04-02-15:02:01-511 (230.00 KB, application/x-gzip)
2014-04-02 16:57 UTC, Matěj Cepl
no flags Details
File: backtrace (34.34 KB, text/plain)
2014-04-06 16:56 UTC, Alexander Lipatov
no flags Details

Description Matěj Cepl 2014-04-02 16:20:32 UTC
Created attachment 881886 [details]
backtrace

Description of problem:
wycliff:~# dnf install qt-devel-private
Repository InstallMedia has no mirror or baseurl set.
Failed to synchronize cache for repo 'rpmfusion-free-updates': Cannot prepare internal mirrorlist: No URLs in mirrorlist, disabling.
Segmentation fault (core dumped)                ] ---  B/s |   0  B     --:-- ETA
wycliff:~# logout


Version-Release number of selected component (if applicable):
dnf-0.4.19-2.el7

How reproducible:
Happened once

Comment 1 Matěj Cepl 2014-04-02 16:23:15 UTC
Created attachment 881887 [details]
sosreport

Comment 2 Matěj Cepl 2014-04-02 16:57:44 UTC
Created attachment 881903 [details]
whole directory /var/tmp/abrt/ccpp-2014-04-02-15:02:01-511

Comment 3 Ales Kozumplik 2014-04-03 05:28:59 UTC
Tomas will you agree this seems like a librepo sigsegv? (see the 'backtrace' attachment).

Comment 4 Tomas Mlcoch 2014-04-05 12:05:41 UTC
Ales: Yes, it's definitely a librepo issue.

Matej: Hi, thanks for the report. Which version of Librepo are you using? I am expecting the one that is built for epel7 i.e. librepo-1.7.0-1, am I right?

Comment 5 Tomas Mlcoch 2014-04-05 13:42:56 UTC
Fixed in HEAD: https://github.com/Tojaj/librepo/commit/8037746264831a6868375c863f09e1a0f133b380

Will be built and pushed to updates soon.

Comment 6 Matěj Cepl 2014-04-05 23:12:15 UTC
(In reply to Tomas Mlcoch from comment #4)
> Matej: Hi, thanks for the report. Which version of Librepo are you using? I
> am expecting the one that is built for epel7 i.e. librepo-1.7.0-1, am I
> right?

librepo-1.7.0-1.el7.x86_64

Comment 7 Ales Kozumplik 2014-04-06 07:38:16 UTC
*** Bug 1084727 has been marked as a duplicate of this bug. ***

Comment 8 Alexander Lipatov 2014-04-06 16:56:37 UTC
Another user experienced a similar problem:

I just run: sudo dnf clean all; suso dnf update - and it crashes during downloading repo metadata

reporter:       libreport-2.2.0
backtrace_rating: 4
cmdline:        /usr/bin/python /bin/dnf update
crash_function: check_transfer_statuses
executable:     /usr/bin/python2.7
kernel:         3.13.7-200.fc20.x86_64
package:        dnf-0.4.19-1.fc20
reason:         python2.7 killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            0

Comment 9 Alexander Lipatov 2014-04-06 16:56:40 UTC
Created attachment 883321 [details]
File: backtrace

Comment 10 Tomas Mlcoch 2014-04-07 08:39:55 UTC
Hi Alexander,
your backtrace shows that you met exactly the same problem.

I just built librepo-1.7.1 that fixes the bug for rawhide and epel7, it should be shipped soon.

Comment 11 Alexander Lipatov 2014-04-07 09:14:24 UTC
Another user experienced a similar problem:

Updated librepo to: librepo                                      x86_64                             1.7.0-1.fc20
manually via rpm -Uhv
and dnf 0.4.19-1.fc20 is still crashing

reporter:       libreport-2.2.0
backtrace_rating: 4
cmdline:        /usr/bin/python /bin/dnf update
crash_function: check_transfer_statuses
executable:     /usr/bin/python2.7
kernel:         3.13.8-200.fc20.x86_64
package:        dnf-0.4.19-1.fc20
reason:         python2.7 killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            0

Comment 12 Matěj Cepl 2014-04-08 11:32:56 UTC
(In reply to Tomas Mlcoch from comment #10)
> Hi Alexander,
> your backtrace shows that you met exactly the same problem.
> 
> I just built librepo-1.7.1 that fixes the bug for rawhide and epel7, it
> should be shipped soon.

Yes, when I upgrade from
http://koji.fedoraproject.org/koji/buildinfo?buildID=509604
I can do

dnf clean expire-cache
dnf update

without crash

Comment 13 Ales Kozumplik 2014-04-08 19:31:16 UTC
*** Bug 1085449 has been marked as a duplicate of this bug. ***

Comment 14 Tomas Mlcoch 2014-04-14 09:08:00 UTC
Resolved
The fix is deployed on the EPEL7 mirrors


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