[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-26 Thread tongxiaoge
tongxiaoge added the comment: We make SSL3 disappear to newly built dependencies, the test_ssl success. Refer to the modification of OpenSSL on fedoras (address: https://src.fedoraproject.org/rpms/openssl/tree/f34 ) ``` rm -f $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/*.dist +# Next step of

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread Christian Heimes
Christian Heimes added the comment: You are using a OpenSSL build with custom, additional patches and your code is crashing somewhere in OpenSSL. It is likely that your patches are causing issue. I'm not going to provide free service for custom builds. -- assignee: christian.heimes

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : -- nosy: -christian.heimes, sxt1001, thatiparthy, vstinner Added file: https://bugs.python.org/file50512/python3.spec ___ Python tracker ___

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
tongxiaoge added the comment: I want to know whether this is an OpenSSL problem or a python 3 problem, and how to fix it? Thanks. (The OpenSSL source package is large and has not been uploaded successfully. We can download it from the OpenSSL official website) -- status: closed ->

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : Added file: https://bugs.python.org/file50511/openssl-1.1.1-build.patch ___ Python tracker ___ ___ Python-bugs-list

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : -- keywords: +patch Added file: https://bugs.python.org/file50510/openssl-1.1.1-fips.patch ___ Python tracker ___

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : Added file: https://bugs.python.org/file50509/openssl.spec ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
Change by tongxiaoge : Added file: https://bugs.python.org/file50508/Makefile.certificate ___ Python tracker ___ ___ Python-bugs-list

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
tongxiaoge added the comment: Other information: ``` (gdb) f 2 #2 SSL_CTX_new (meth=0xe222cc30) at ssl/ssl_lib.c:3046 warning: Source file is more recent than executable. 3046ret->session_timeout = meth->get_timeout(); (gdb) l 3041ret->max_proto_version = 0; 3042

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-12-23 Thread tongxiaoge
tongxiaoge added the comment: Today, I upgraded my version of Python3 to 3.9.9. When running test_ ssl,It has a segment error again. The version of OpenSSL I use is 1.1.1l, here is part of the stack information (the complete one is too long): ``` (gdb) bt #0 0x9e563830 in raise ()

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-09-22 Thread tongxiaoge
tongxiaoge added the comment: I installed OpenSSL version 1.1.1l and tested it again. The problem disappeared. It should be the reason why the OpenSSL version I used before is too low. The current issue is closed -- stage: -> resolved status: open -> closed

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-09-16 Thread tongxiaoge
tongxiaoge added the comment: I'm sorry I haven't replied for a long time. I found that the OpenSSL version I use is 1.1.1f, which is probably caused by this. Today, I tried to upgrade Python 3 to 3.8.12, and the same problem occurred. I'll try again after upgrading the OpenSSL version

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-08-09 Thread STINNER Victor
STINNER Victor added the comment: tongxiaoge: Without more information, we cannot help you. See Christian's questions. -- ___ Python tracker ___

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-07-19 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) added the comment: ran on 3.9.6 branch with OpenSSL 1.1.1k 25 Mar 2021. I see this warning in the console. Please also see the attached log for full details.

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-07-11 Thread Christian Heimes
Christian Heimes added the comment: Python 3.9.5 and OpenSSL 1.1.1f are both outdated. Can you reproduce the problem with 3.9.6 and 1.1.1k? Can you tel us more about your system (distribution, CPU arch, compiler) and provide a C stacktrace with debug symbols? -- nosy:

[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault

2021-07-11 Thread tongxiaoge
New submission from tongxiaoge : I have reproduced this problem in the latest versions of Python 3.8.11 and 3.9.6. Python 3.8.5 does not have this problem, other versions are not tested. The failure log is as follows: [ 613s] 0:02:27 load avg: 4.66 Re-running failed tests in verbose mode [