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 1172572

Summary: XBMC issues due to Curl
Product: [Fedora] Fedora Reporter: John Brines <john.brines>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: frollic, john.brines, kdudka, paul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: curl-7.29.0-27.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-13 09:46:26 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 John Brines 2014-12-10 11:43:54 UTC
Description of problem:

Unable to update XBMC addons, if I downgrade Curl and Libcurl it works fine


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


How reproducible:

Upgrade to the current version.


Steps to Reproduce:
1. Make sure Fedora is up to date
2. Install XBMC and then try and view the addons.
3. Downgrade curl and libcurl

Actual results:


Expected results:


Additional info:

15:18:34 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:34 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:36 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:36 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:38 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:38 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:40 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:40 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:42 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:42 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:42 T:139894838609664   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:42 T:139894838609664   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:42 T:139894838609664   ERROR: Open - failed to open source <http://mirrors.xbmc.org/addons/gotham/addons.xml.md5>
15:18:44 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:44 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:46 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:46 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:48 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:48 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:50 T:139895504410368   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:50 T:139895504410368   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:52 T:139894838609664   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:18:52 T:139894838609664   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:18:52 T:139894838609664   ERROR: Open - failed to open source <http://mirrors.xbmc.org/addons/frodo/addons.xml.md5>

Comment 1 Kamil Dudka 2014-12-10 12:06:52 UTC
Please state the exact NVRs of working/non-working (lib)curl packages:

$ rpm -qa curl libcurl

How can one install XBMC on Fedora and make it trigger this bug?

Comment 2 John Brines 2014-12-10 12:43:23 UTC
I will get the NVRs tonight.

To install XBMC - sudo yum install xbmc

run xbmc, then follow this for addons - http://kodi.wiki/view/Quick_start_guide#XBMC.2FKodi_add-ons

Comment 3 Kamil Dudka 2014-12-10 13:09:29 UTC
(In reply to John Brines from comment #2)
> To install XBMC - sudo yum install xbmc

It does not seem to be included in the official Fedora 20 yum repository.

[kdudka@f20 ~]$ sudo yum install xbmc
Loaded plugins: langpacks, refresh-packagekit
No package xbmc available.
Error: Nothing to do

Comment 4 Kamil Dudka 2014-12-10 13:12:57 UTC
... and there is no (lib)curl 7.38 in Fedora 20.

Comment 5 John Brines 2014-12-10 13:39:43 UTC
I got my information rom here - http://gamblisfx.com/how-to-install-xbmc-on-fedora-20/

I may have got the version wrong but I know it is the latest version of Curl.

Comment 6 Kamil Dudka 2014-12-10 14:00:44 UTC
(In reply to John Brines from comment #5)
> I got my information rom here -
> http://gamblisfx.com/how-to-install-xbmc-on-fedora-20/

The page says it is distributed via the RPM Fusion yum repository.

> I may have got the version wrong but I know it is the latest version of Curl.

Latest upstream version of curl is 7.39.0 but Fedora 20 uses curl-7.32.0-16.fc20.

Comment 7 John Brines 2014-12-10 14:51:32 UTC
Hi There,

All I did was yum install xbmc

Also see this post and you will see other are having the issue.

http://forum.kodi.tv/showthread.php?tid=204740&pid=1853266#pid1853266

John.

Comment 8 Kamil Dudka 2014-12-10 15:08:31 UTC
Please check whether it works with libcurl-7.32.0-15.fc20 from Koji:

http://koji.fedoraproject.org/koji/buildinfo?buildID=590401

This can be caused by the fix for bug #1166239.

Comment 9 Kamil Dudka 2014-12-10 15:14:15 UTC
This is actually already fixed upstream:

https://github.com/bagder/curl/commit/d9762a7c

I will backport it for Fedora...

Comment 10 Fedora Update System 2014-12-10 16:11:03 UTC
curl-7.37.0-11.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/curl-7.37.0-11.fc21

Comment 11 Fedora Update System 2014-12-10 16:12:18 UTC
curl-7.32.0-17.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/curl-7.32.0-17.fc20

Comment 12 Fedora Update System 2014-12-10 16:12:30 UTC
curl-7.29.0-27.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/curl-7.29.0-27.fc19

Comment 13 Kamil Dudka 2014-12-10 16:16:08 UTC
(In reply to Kamil Dudka from comment #8)
> Please check whether it works with libcurl-7.32.0-15.fc20 from Koji:

Better to test curl-7.32.0-17.fc20, which contains both the fixes now.

Comment 14 John Brines 2014-12-11 08:06:21 UTC
I did a yum updare and it updated curl and libcurl and now it is working but curl isn't at the version that is above (curl-7.32.0-17.fc20), how do I get the latest version?

libcurl-7.32.0-16.fc20.x86_64
curl-7.32.0-16.fc20.x86_64

Comment 16 John Brines 2014-12-11 08:47:33 UTC
That worked, tanks do much for your help, this is a very efficient service.

John.

Comment 17 frollic nilsson 2014-12-11 09:27:00 UTC
Can this be back ported (or forward) to FC21 ? 

This bug is in curl/libcurl FC21 and FC22

I tried 

curl-7.37.0-9.fc21.x86_64
libcurl-7.37.0-9.fc21.x86_64

curl-7.39.0-1.fc22.x86_64
libcurl-7.39.0-1.fc22.x86_64

both appear to have the same bug.

Comment 18 Kamil Dudka 2014-12-11 10:06:28 UTC
(In reply to frollic nilsson from comment #17)
> Can this be back ported (or forward) to FC21 ?

There already is an update submitted for Fedora 21.  See comment #10.

> This bug is in curl/libcurl FC21 and FC22
> 
> I tried 
> 
> curl-7.37.0-9.fc21.x86_64
> libcurl-7.37.0-9.fc21.x86_64
> 
> curl-7.39.0-1.fc22.x86_64
> libcurl-7.39.0-1.fc22.x86_64
> 
> both appear to have the same bug.

libcurl-7.39.0-1.fc22 should be free of this bug as the fix is already contained in upstream curl-7.39.0.  Please retest.

Comment 19 frollic nilsson 2014-12-11 10:25:08 UTC
Thanks,

I missed the minor update posted, I went straight from -9.fc21 to the fc22.

Just upgraded my XBMC box from FC20 to 21, going to give it another go with -11.fc21. 

thank you for a fast response.

Comment 20 Fedora Update System 2014-12-12 04:06:37 UTC
Package curl-7.32.0-17.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing curl-7.32.0-17.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16538/curl-7.32.0-17.fc20
then log in and leave karma (feedback).

Comment 21 Fedora Update System 2014-12-13 09:46:26 UTC
curl-7.32.0-17.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2014-12-15 04:28:08 UTC
curl-7.37.0-11.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2015-01-03 18:59:32 UTC
curl-7.29.0-27.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.