| Summary: | stunnel segfaults during curl tests | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Pascal Terjan <pterjan> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | guillomovitch, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | stunnel | CVE: | |
| Status comment: | |||
|
Description
Pascal Terjan
2017-09-01 20:08:10 CEST
Ah I got something better: Running as client: /usr/bin/valgrind --tool=memcheck --quiet --leak-check=yes --suppressions=./valgrind.supp --num-callers=16 --log-file=log/valgrind323 ../src/curl --output log/curl323.out --include --trace-ascii log/trace323 --trace-time --insecure --tlsauthtype SRP --tlsuser jsmith --tlspassword badpass https://127.0.0.1:8991/want/323 >log/stdout323 2>log/stderr323 Causes: [New Thread 0x7ffff7fe5700 (LWP 26130)] 2017.09.01 19:16:52 LOG5[2]: Service [curltest] accepted connection from 127.0.0.1:59904 2017.09.01 19:16:52 LOG3[2]: SSL_accept: 1417A0C1: error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher 2017.09.01 19:16:52 LOG5[2]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket Thread 5 "stunnel" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff7fe5700 (LWP 26130)] 0x00007ffff78891b6 in CRYPTO_atomic_add () from /lib64/libcrypto.so.1.1 (gdb) bt full #0 0x00007ffff78891b6 in CRYPTO_atomic_add () from /lib64/libcrypto.so.1.1 No symbol table info available. #1 0x00007ffff774d94d in asn1_do_lock () from /lib64/libcrypto.so.1.1 No symbol table info available. #2 0x00007ffff774a7e0 in asn1_item_embed_free () from /lib64/libcrypto.so.1.1 No symbol table info available. #3 0x00007ffff774a975 in ASN1_item_free () from /lib64/libcrypto.so.1.1 No symbol table info available. #4 0x00007ffff7ba25ec in SSL_SESSION_free () from /lib64/libssl.so.1.1 No symbol table info available. #5 0x00007ffff7b9dda2 in SSL_free () from /lib64/libssl.so.1.1 No symbol table info available. #6 0x000055555555f6a9 in client_run (c=c@entry=0x5555558004d0) at client.c:194 err = <optimized out> rst = <optimized out> num_clients_copy = <optimized out> #7 0x00005555555615ea in client_main (c=c@entry=0x5555558004d0) at client.c:138 No locals. #8 0x0000555555561610 in client_thread (arg=0x5555558004d0) at client.c:97 c = 0x5555558004d0 #9 0x00007ffff709566d in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #10 0x00007ffff6dd0e4d in clone () from /lib64/libc.so.6 No symbol table info available. stunnel 5.41 has: Fixed crashes with the OpenSSL 1.1.0 branch. I'll try with 5.42. Assigning to all packagers collectively, since there is no registered maintainer for this package. CC'ing guillomovitch who committed most often to it. CC:
(none) =>
guillomovitch, marja11 I have failed to build 5.42, autoconf doesn't seem to like something I hacked stunnel 5.42 into building, and it no longer crashes during curl tests Closing Resolution:
(none) =>
FIXED |