pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

python2.7 SEGV in X509_verify_cert



After upgrading my amd64 7.0_STABLE box to pkgsrc-2016Q4, I find various python
apps SEGV, noteably certbot and cloudprint. This is easily replicated by:

echo "import requests\nrequests.get('https://www.google.com/')\n" | python

I see earlier threads regarding certbot don't appear to have a resolution,
has anyone had any luck figuring this out?

Backtrace is the same:

Core was generated by `python2.7'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7ff7e15f90 in ?? ()
(gdb) bt
#0  0x00007f7ff7e15f90 in ?? ()
#1  0x00007f7ff2ef09fe in ?? () from /usr/lib/libcrypto.so.8
#2  0x00007f7ff2ef18dc in X509_verify_cert () from /usr/lib/libcrypto.so.8
#3  0x00007f7ff343ef3c in ssl_verify_cert_chain () from /usr/lib/libssl.so.10
#4  0x00007f7ff3439cc2 in ssl3_get_server_certificate () from /usr/lib/libssl.so.10
#5  0x00007f7ff343e455 in ssl3_connect () from /usr/lib/libssl.so.10
#6  0x00007f7ff343fcb6 in ssl23_connect () from /usr/lib/libssl.so.10
#7  0x00007f7feea579da in _cffi_f_SSL_do_handshake () from /usr/pkg/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so
#8  0x00007f7ff78d2c9b in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
#9  0x00007f7ff78d2978 in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
#10 0x00007f7ff78d48e8 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0
#11 0x00007f7ff78d26bb in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
#12 0x00007f7ff78d48e8 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0
#13 0x00007f7ff78d26bb in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
#14 0x00007f7ff78d48e8 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0
#15 0x00007f7ff78d26bb in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
...

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index