curl-library
pycurl/libcurl/libfaketime crash in clock_gettime
Date: Wed, 4 Apr 2012 17:11:17 +0300
Hi,
Granted this is hardly an outright bug in pycurl, however I would
rather like to track it down.
python time.time() and monotonic time(*), cmd line date, ls, etc all
work fine with libfaketime;
command line curl works fine with libfaketime
pycurl/libcurl stack works fine with real time
pycurl/libcurl stack crashed with libfaketime
crash with both NOSIGNAL=0 and NOSIGNAL=1, non-thread-safe and
thread-safe versions of libfaketime.
is fake time is used for testing libcurl and is known to work or is broken?
it's useful e.g. for testing certificate validity, accelerated timeout
tests, etc...
any good pointers for debugging this?
refs:
http://stackoverflow.com/questions/1205722/how-do-i-get-monotonic-time-durations-in-python
https://github.com/wolfcw/libfaketime
stack head:
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff7bd9a3d in clock_gettime ()
from /dima/libfaketime/src/libfaketime.so.1
#2 0x00007ffff4702a13 in ?? () from /usr/lib/libcurl.so.4
#3 0x00007ffff4703ca3 in ?? () from /usr/lib/libcurl.so.4
#4 0x00007ffff47246d7 in ?? () from /usr/lib/libcurl.so.4
#5 0x00007ffff4724f82 in ?? () from /usr/lib/libcurl.so.4
#6 0x00007ffff495b4f2 in ?? () from /usr/lib/python2.7/site-packages/pycurl.so
arch linux x86_64 python-pycurl 7.19.0-6, curl 7.24.0-2
Thanks, Dima
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-04