includeos / IncludeOS

A minimal, resource efficient unikernel for cloud services
https://www.includeos.org
Apache License 2.0
4.9k stars 359 forks source link

openssl::create_client hangs when OS not built for Debug #2133

Closed AndreasAakesson closed 5 years ago

AndreasAakesson commented 5 years ago

Running on MacOS 10.14.3 with qemu, latest dev (b9b2e2af56810ada6eabc3330d6a7e7e779743be). I'm using the boot command v0.15 (not the one with hvf acel).

Calling openssl::create_client after initialized when OS is built as usual makes it hang. With some printing it lead me to: tls_private_key_for_ctx(ctx) calling RSA_generate_key_ex which calls our rng_absorb in infinity (counted 5k calls).

When I build the OS with CMAKE_BUILD_TYPE=Debug the problem goes away.

AndreasAakesson commented 5 years ago

2134