Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on PolarSSL 1.3.4 (Ubuntu 14.04) #92

Closed
edsiper opened this issue Apr 23, 2014 · 2 comments
Closed

Crash on PolarSSL 1.3.4 (Ubuntu 14.04) #92

edsiper opened this issue Apr 23, 2014 · 2 comments

Comments

@edsiper
Copy link

edsiper commented Apr 23, 2014

Testing Monkey server under a low concurrency and without load specific certs, sometimes the program crashes:

(gdb) bt
#0 0x00007f308525cf79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f3085260388 in __GI_abort () at abort.c:89
#2 0x00000000004073bd in mk_signal_handler ()
#3
#4 0x00007f3084badf2b in ?? () from /usr/lib/libpolarssl.so.5
#5 0x00007f3084baeec3 in ?? () from /usr/lib/libpolarssl.so.5
#6 0x00007f3084bb0ace in mpi_exp_mod () from /usr/lib/libpolarssl.so.5
#7 0x00007f3084bcf8c0 in rsa_private () from /usr/lib/libpolarssl.so.5
#8 0x00007f3084bd06ae in rsa_rsassa_pkcs1_v15_sign () from /usr/lib/libpolarssl.so.5
#9 0x00007f3084bdbddd in ?? () from /usr/lib/libpolarssl.so.5
#10 0x00007f3084bde5d8 in ssl_handshake_server_step () from /usr/lib/libpolarssl.so.5
#11 0x00007f3084be6b80 in ssl_handshake () from /usr/lib/libpolarssl.so.5
#12 0x00007f3084be7aca in ssl_read () from /usr/lib/libpolarssl.so.5
#13 0x00007f3084e16ef4 in _mkp_network_io_read () from /home/edsiper/coding/monkey/plugins/polarssl/monkey-polarssl.so
#14 0x0000000000404ca2 in mk_handler_read ()
#15 0x000000000040a400 in mk_conn_read ()
#16 0x00000000004089ca in mk_epoll_init ()
#17 0x00000000004093b9 in mk_sched_launch_worker_loop ()
#18 0x00007f30855f4182 in start_thread (arg=0x7f308439a700) at pthread_create.c:312
#19 0x00007f308532130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

For some reason debug-symbol packages for PolarSSL is not available in Ubuntu, i could not find it.

@pjbakker
Copy link
Contributor

This looks like PolarSSL not being compiled with pthread support!

@pjbakker
Copy link
Contributor

pjbakker commented May 2, 2014

PolarSSL 1.3.7 was just released and includes run-time capability checking with version_check_feature().

@pjbakker pjbakker closed this as completed May 2, 2014
gilles-peskine-arm pushed a commit to gilles-peskine-arm/mbedtls that referenced this issue Dec 18, 2018
gilles-peskine-arm pushed a commit to gilles-peskine-arm/mbedtls that referenced this issue Sep 3, 2019
…merge-development

Merge development into API spec branch
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Feb 1, 2021
Add rsa_pss_rsae_sha256 to supported sigalgos list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants