[Bug 1163609] Re: pycurl FTBFS due to segfault in test suite
Barry Warsaw
1163609 at bugs.launchpad.net
Tue Apr 2 22:04:54 UTC 2013
Likely related to
http://sourceforge.net/p/pycurl/bugs/26/
duplicated at
http://sourceforge.net/p/pycurl/bugs/27/
but as upstream is effectively abandoned, I'd be surprised to see this
fixed. I can't find anything useful at
https://github.com/Lispython/pycurl/
which PyPI claims to be the new home of the pycurl2 fork.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pycurl in Ubuntu.
https://bugs.launchpad.net/bugs/1163609
Title:
pycurl FTBFS due to segfault in test suite
Status in “pycurl” package in Ubuntu:
New
Bug description:
pycurl FTBFS in Raring:
https://launchpadlibrarian.net/135742128/buildlog_ubuntu-raring-
amd64.pycurl_7.19.0-5ubuntu6_FAILEDTOBUILD.txt.gz
The problem is that the test suite runs test_internals.py, and this
segfaults. This is easily reproducible outside the build environment
using the following code:
$ python
>>> from pycurl import CurlMulti
>>> m = CurlMulti()
>>> del m
Segmentation fault (core dumped)
Tracing through with gdb, the problem appears that calling
curl_multi_cleanup() on a CURLM* previously returned by
curl_multi_init() is what crashes. The cleanup is called from
util_multi_close() in pycurl.c via do_multi_dealloc() but afaict, the
CURLM* handle is valid. Or at least, it's unchanged from what
curl_multi_init() returns. The above code is taken directly from
test_internals.py with the extraneous stuff boiled out.
# remove an invalid but closed handle
if 1:
m = CurlMulti()
c = Curl()
c.close()
m.remove_handle(c)
del m, c
'c' isn't needed to reproduce the crash.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/1163609/+subscriptions
More information about the foundations-bugs
mailing list