cURL / Mailing Lists / curl-library / Single Mail


Re: test513 failure on s390

From: Kamil Dudka <>
Date: Fri, 4 Dec 2009 01:12:43 +0100

On Thursday 03 of December 2009 23:04:19 Daniel Stenberg wrote:
> No, I too have a hard time to see how this happens... These cases tend to
> be very hard without actually being able to login and run and debug these
> things hands-on. They can in fact still be tricky even then!

I am able to get over the bug using a silly patch:

--- a/tests/libtest/lib513.c
+++ b/tests/libtest/lib513.c
@@ -12,12 +12,15 @@

 #include "memdebug.h"

+#include <unistd.h>
 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void
+ sleep(2);

The patch above makes it possible to run the same test in a loop without
a single failure. It might imply a synchronization problem, but no idea
where. Client? Server? Perl? Socket implementation on s390?

Any idea?

List admin:
Received on 2009-12-04