cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_perform() occasionally not failing immediately from progress callback (test 1513)

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Fri, 11 Jul 2014 17:05:44 +0200

Fabian Keil <freebsd-listen_at_fabiankeil.de> wrote:

> Ray Satiro <raysatiro_at_yahoo.com> wrote:
>
> > On 7/10/2014 10:02 AM, Fabian Keil wrote:
> > > Recently I noticed that test 1513 is unreliably on FreeBSD 11-CURRENT,
> > > occasionally failing
> >
> > What commit are you using? Some changes were recently made here:
> > https://github.com/bagder/curl/commit/907520c
> > If the commit is earlier would you mind testing with the commit above,
> > or if you're after the commit above would you mind testing with an
> > earlier commit? Thanks
>
> I've been using yesterdays HEAD and already started bisecting
> a bit but I ran into autogoo-related build issues I didn't have
> time to debug and thus I stopped before finding a known good
> commit.

I continued bisecting and as it turned out the problem is already
reproducible with the commit that introduced test1513 (62da1e7458c):

fk_at_r500 ~/git/curl/tests $./runtests.pl -n $(jot -b 1513 1000)
********* System characteristics ********
* curl 7.34.1-DEV (amd64-unknown-freebsd11.0)
* libcurl/7.34.1-DEV OpenSSL/1.0.1g zlib/1.2.8 libidn/1.28
* Features: Debug TrackMemory IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
* Host: r500.local
* System: FreeBSD r500.local 11.0-CURRENT FreeBSD 11.0-CURRENT #648 r268138+89caf14(fk): Fri Jul 4 18:30:09 CEST 2014 fk_at_r500.local:/usr/obj/usr/src/sys/ZOEY amd64
* Server SSL: ON libcurl SSL: ON
* debug build: ON track memory: ON
* valgrind: OFF HTTP IPv6 ON
* FTP IPv6 ON Libtool lib: OFF
* Shared build: yes
* SSL library: OpenSSL
* Ports:
* HTTP/8990 FTP/8992 FTP2/8995 RTSP/9007 FTPS/8993 HTTPS/8991
* TFTP/8997 HTTP-IPv6/8994 RTSP-IPv6/9008 FTP-IPv6/8996
* GOPHER/9009 GOPHER-IPv6/9009
* SSH/8999 SOCKS/9000 POP3/9001 IMAP/9003 SMTP/9005
* POP3-IPv6/9002 IMAP-IPv6/9004 SMTP-IPv6/9006
* HTTPTLS/9011 HTTPTLS-IPv6/9012
* HTTP-PIPE/9014
*****************************************
test 1513...[return failure immediately from progress callback]
------em-- OK (1 out of 1000, remaining: 01:06)
[...]
test 1513...[return failure immediately from progress callback]
------em-- OK (570 out of 1000, remaining: 00:28)
test 1513...[return failure immediately from progress callback]

lib1513 returned 7, when expecting 42
 exit FAILED

 - abort tests
TESTDONE: 570 tests out of 571 reported OK: 99%
TESTFAIL: These test cases failed: 1513
TESTDONE: 571 tests were considered during 38 seconds.

Fabian

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-07-11