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

OpenSSL 3.3 broken #168

Closed
Connor-GH opened this issue Oct 4, 2024 · 3 comments
Closed

OpenSSL 3.3 broken #168

Connor-GH opened this issue Oct 4, 2024 · 3 comments

Comments

@Connor-GH
Copy link

same as #161, but 3.3.

something goes wrong here: https://github.com/ikod/dlang-requests/blob/master/source/requests/ssl_adapter.d#L205-L214

here is a log:

[email protected]/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 3) for init
----------------
??:? void requests.ssl_adapter._sharedStaticCtor_L64_C1() [0x55bb72d6b56e]
??:? void requests.ssl_adapter.__modsharedctor() [0x55bb72d6b5a0]
??:? void rt.minfo.runModuleFuncs!(rt.minfo.ModuleGroup.runCtors().__lambda2).runModuleFuncs(const(immutable(object.ModuleInfo)*)[]) [0x7f435aec6bf6]
??:? void rt.minfo.ModuleGroup.runCtors() [0x7f435aec66b7]
??:? int rt.minfo.rt_moduleCtor().__foreachbody1(ref rt.sections_elf_shared.DSO) [0x7f435aec6a49]
??:? int rt.sections_elf_shared.DSO.opApply(scope int delegate(ref rt.sections_elf_shared.DSO)) [0x7f435aec8353]
??:? rt_moduleCtor [0x7f435aec6a18]
??:? rt_init [0x7f435aebdf85]
??:? void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll() [0x7f435aebe52b]
??:? void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x7f435aebe4c9]
??:? _d_run_main2 [0x7f435aebe432]
??:? _d_run_main [0x7f435aebe21b]
??:? main [0x55bb72a293a7]
??:? [0x7f435a85e31f]
??:? __libc_start_main [0x7f435a85e3d8]
??:? _start [0x55bb72a115d4]
Error: signal 11:
serve-d(backtrace_handler+0x30)[0x55bb72b737dc]
/usr/lib64/libc.so.6(+0x3c480)[0x7f435a874480]
serve-d(_D7dsymbol8semantic19_staticDtor_L141_C1FZv+0x33)[0x55bb7302dff3]
serve-d(_D7dsymbol8semantic9__moddtorFZv+0x9)[0x55bb7302e281]
/usr/lib64/libphobos2.so.0.106(_D2rt5minfo__T17runModuleFuncsRevSQBgQBg11ModuleGroup11runTlsDtorsMFZ9__lambda1ZQCoMFAxPyS6object10ModuleInfoZv+0x46)[0x7f435aec6d1e]
/usr/lib64/libphobos2.so.0.106(_D2rt5minfo11ModuleGroup11runTlsDtorsMFZv+0x21)[0x7f435aec6709]
/usr/lib64/libphobos2.so.0.106(_d_dso_registry+0x3ba)[0x7f435aec93aa]
serve-d(+0x1ab5bfe)[0x55bb72cfcbfe]
@ikod
Copy link
Owner

ikod commented Oct 5, 2024

Thanks, will check

@ikod
Copy link
Owner

ikod commented Oct 5, 2024

@Connor-GH can you please check with 2.1.3?
2.1.1 seems had this problem, but it were fixed later

@Connor-GH
Copy link
Author

It indeed does work. This problem comes from serve-d, which has an outdated dependency. Sorry.

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