[Issue 17957] D shared library throws asserts when called from C detached pthread but not terminated with dlclose
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 8 22:13:49 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=17957
Stanislav Blinov <stanislav.blinov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stanislav.blinov at gmail.com
--- Comment #4 from Stanislav Blinov <stanislav.blinov at gmail.com> ---
With 2.098, I observer no mentioned asserts. However, this does lead to an
abort IFF the shared library isn't dlclosed.
main()
run_lib()
can confirm this is fun
main() done
Aborting from src/rt/sections_elf_shared.d(523) _handleToDSO not in sync with
_loadedDSOs.[1] 75008 abort (core dumped) ./main
--
More information about the Digitalmars-d-bugs
mailing list