Bug 1090325

Summary: Core dump
Product: [Fedora] Fedora Reporter: Miroslav Suchý <msuchy>
Component: librepoAssignee: Tomas Mlcoch <tmlcoch>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: tmlcoch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-25 17:24:19 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 Miroslav Suchý 2014-04-23 06:47:47 UTC
Description of problem:
When I try "dnf upgrade" with flexibee yum repo, it core dump. And /lib64/librepo.so.0 is last in traceback.

Version-Release number of selected component (if applicable):
librepo-1.7.1-1.fc20.x86_64
python-2.7.5-11.fc20.x86_64
dnf-0.4.20-1.fc20.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. add flexibee.repo:
# cat /etc/yum.repos.d/flexibee.repo 
[flexibee]
name=FlexiBee Update 
baseurl=http://download.flexibee.eu/download/rpm-repository/default/
enabled=1
gpgcheck=0

2. dnf install flexibee


Actual results:
# dnf install flexibee
FlexiBee Update                                                                                                     35 kB/s | 5.0 kB     00:00    
Resolving dependencies
--> Starting dependency resolution
---> Package flexibee.noarch 2014.2.4-1 will be installed
---> Package postgresql-contrib.x86_64 9.3.4-1.fc20 will be installed
---> Package postgresql-pltcl.x86_64 9.3.4-1.fc20 will be installed
---> Package uuid.x86_64 1.6.2-21.fc20 will be installed
--> Finished dependency resolution
Dependencies resolved.

===================================================================================================================================================
 Package                                  Arch                         Version                                Repository                      Size
===================================================================================================================================================
Installing:
 flexibee                                 noarch                       2014.2.4-1                             flexibee                        88 M
 postgresql-contrib                       x86_64                       9.3.4-1.fc20                           updates                        587 k
 postgresql-pltcl                         x86_64                       9.3.4-1.fc20                           updates                         58 k
 uuid                                     x86_64                       1.6.2-21.fc20                          fedora                          53 k

Transaction Summary
===================================================================================================================================================
Install  4 Packages

Total download size: 89 M
Installed size: 99 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): postgresql-pltcl-9.3.4-1.fc20.x86_64.rpm                                                                    861 kB/s |  58 kB     00:00    
(2/4): postgresql-contrib-9.3.4-1.fc20.x86_64.rpm                                                                  6.3 MB/s | 587 kB     00:00    
(3/4): uuid-1.6.2-21.fc20.x86_64.rpm                                                                               720 kB/s |  53 kB     00:00    
Segmentation fault14.2.4-1.noarch.rpm                   0% [                                                     ] 4.1 MB/s | 698 kB     00:21 ETA


Core dump (http://miroslav.suchy.cz/fedora/core.2245.gz)
with backtrace:
#0  0x00007f009394c05a in lr_headercb () from /lib64/librepo.so.0
#1  0x000000335401522a in Curl_client_write () from /lib64/libcurl.so.4
#2  0x000000335401388d in Curl_http_readwrite_headers () from /lib64/libcurl.so.4
#3  0x0000003354028d98 in Curl_readwrite () from /lib64/libcurl.so.4
#4  0x0000003354032ed0 in multi_runsingle () from /lib64/libcurl.so.4
#5  0x0000003354033691 in curl_multi_perform () from /lib64/libcurl.so.4
#6  0x00007f009394db46 in lr_download () from /lib64/librepo.so.0
#7  0x00007f0093953baf in lr_download_packages () from /lib64/librepo.so.0
#8  0x00007f0093b65399 in py_download_packages () from /usr/lib64/python2.7/site-packages/librepo/_librepomodule.so
#9  0x0000003f278e0bd4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#10 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#11 0x0000003f278e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#12 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#13 0x0000003f278e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#14 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#15 0x0000003f278e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#16 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#17 0x0000003f278e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#18 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#19 0x0000003f278e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#20 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#21 0x0000003f278e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#22 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#23 0x0000003f278e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#24 0x0000003f278e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#25 0x0000003f278e22f2 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0
#26 0x0000003f278fb72f in ?? () from /lib64/libpython2.7.so.1.0
#27 0x0000003f278fc8ee in PyRun_FileExFlags () from /lib64/libpython2.7.so.1.0
#28 0x0000003f278fdb79 in PyRun_SimpleFileExFlags () from /lib64/libpython2.7.so.1.0
#29 0x0000003f2790eb9f in Py_Main () from /lib64/libpython2.7.so.1.0
#30 0x000000398da21d65 in __libc_start_main () from /lib64/libc.so.6
#31 0x0000000000400721 in _start ()


Expected results:
no errors

Comment 1 Tomas Mlcoch 2014-04-23 07:56:52 UTC
Hi Miroslav,
thanks for the report.
Can you please re-upload the core dump or change permissions on the server?
When I try to download the http://miroslav.suchy.cz/fedora/core.2245.gz I get 403 - Forbidden - You don't have permission to access /fedora/core.2245.gz on this server.

Comment 2 Miroslav Suchý 2014-04-23 08:16:52 UTC
Sorry.
  chmod a+r core.2245.gz
Try now.

Comment 3 Tomas Mlcoch 2014-04-23 08:20:05 UTC
Got it, thanks!

Comment 4 Tomas Mlcoch 2014-04-23 11:10:39 UTC
librepo-1.7.2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/librepo-1.7.2-1.fc20

Comment 5 Tomas Mlcoch 2014-04-25 17:24:19 UTC
librepo-1.7.2-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.