Skip to content

Conversation

@anikaiful
Copy link

A segfault happened due MySQL/SSL mix in WSL2 environment:

Backtrace:
/home/anikaiful/unified/Binaries/NWNX_Core.so(_ZN7NWNXLib8Platform13GetStackTraceB5cxx11Eh+0x64) [0x7fe30f3c6004]
/home/anikaiful/unified/Binaries/NWNX_Core.so(nwnx_signal_handler+0xd6) [0x7fe30f36d6c6]
/lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x7fe30edc3320]
/lib/x86_64-linux-gnu/libssl.so.3(+0x2e742) [0x7fe30c256742]
/lib/x86_64-linux-gnu/libssl.so.3(SSL_CTX_set0_tmp_dh_pkey+0x33) [0x7fe30c265ed3]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x9672d) [0x7fe2fd3a372d]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x37a7e) [0x7fe2fd344a7e]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x38700) [0x7fe2fd345700]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(+0x40efc) [0x7fe2fd34defc]
/lib/x86_64-linux-gnu/libmysqlclient.so.21(mysql_real_connect+0x109) [0x7fe2fd34a479]

And thus I introduced:
export NWNX_SQL_SSL_DISABLED=true

Less secure, but with that flag my nwnx:ee doesn't catch fire... :-S

… in WSL environment for a reason or other and thus the option to disable SSL if crashing occurs.
… in WSL environment for a reason or other and thus the option to disable SSL if crashing occurs.
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

Successfully merging this pull request may close these issues.

1 participant