FS#42001 - [xbmc] curl 7.38.0-1 breaks package ability to remote scrape for tv/movie database updates.
Attached to Project:
Community Packages
Opened by Lee (adr3nal1n) - Wednesday, 17 September 2014, 15:10 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 23 September 2014, 20:39 GMT
Opened by Lee (adr3nal1n) - Wednesday, 17 September 2014, 15:10 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 23 September 2014, 20:39 GMT
|
Details
Description:
[curl] 7.38.0-1 breaks [xbmc] package ability to remote scrape for tv/movie database updates. Additional info: * package version(s) * config and/or log files etc. Other arch user encountered same issue here http://forum.xbmc.org/showthread.php?tid=204501 Steps to reproduce: Scan for new content in xbmc fails with curl version 7.38.0-1. Rollback curl to version 7.37.1-1 and scan for new content in xbmc works. |
This task depends upon
Closed by Ike Devolder (BlackEagle)
Tuesday, 23 September 2014, 20:39 GMT
Reason for closing: Fixed
Additional comments about closing: thanks for all the input
will be fixed with curl-7.38.0-2
Tuesday, 23 September 2014, 20:39 GMT
Reason for closing: Fixed
Additional comments about closing: thanks for all the input
will be fixed with curl-7.38.0-2
22:10:10 T:139816785536768 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
22:10:10 T:139816785536768 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
22:10:12 T:139816785536768 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
22:10:12 T:139816785536768 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
22:10:13 T:139815748105984 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
22:10:13 T:139815748105984 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
CurlFile::Open(0x7f7aa8f65c40) http://feeds.xbmc.org/updated_xbmc_addons
19:37:24 T:140164797458176 ERROR: CCurlFile::FillBuffer - Failed: Timeout
but if I click the url from the log it loads fine, either for repos or feeds
Fine: https://sourceforge.net/p/curl/bugs/1426/
EDIT: Still broken with ipv6 disable for me
Hello,
Like graysky I am an Arch Linux & XBMC user with the same issue.
Like him as well, I do not know what XBMC tries to do with libcurl... but I have bisected curl to find the 'bad' commit.
This is what I found:
cacdc27f52ba7b0bf08aa57886bfbd18bc82ebfb is the first bad commit
commit cacdc27f52ba7b0bf08aa57886bfbd18bc82ebfb
Author: Daniel Stenberg daniel@haxx.se
Date: Mon Aug 25 11:34:14 2014 +0200
low-speed-limit: avoid timeout flood
Introducing Curl_expire_latest(). To be used when we the code flow only
wants to get called at a later time that is "no later than X" so that
something can be checked (and another timeout be added).
The low-speed logic for example could easily be made to set very many
expire timeouts if it would be called faster or sooner than what it had
set its own timer and this goes for a few other timers too that aren't
explictiy checked for timer expiration in the code.
If there's no condition the code that says if(time-passed >= TIME), then
Curl_expire_latest() is preferred to Curl_expire().
If there exists such a condition, it is on the other hand important that
Curl_expire() is used and not the other.
Bug: http://curl.haxx.se/mail/lib-2014-06/0235.html
Reported-by: Florian Weimer
Now just looking at the name of "Curl_expire_latest()" and the fact that XBMC logs complain about expiring, I would assume this is the correct place to look at.
(Now I don't know what is 'wrong' here, XBMC or curl...)
Please ask if you need more information.
John
curl-7.38.0-2 in [testing] has this backport.