[Issue 18519] freebsd 11 + phobos + curl, timing out

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 25 22:19:27 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18519

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
My guess would be that we throw an exception when failing to load libcurl
(https://github.com/dlang/phobos/blob/6128ed629f6a180413b3965386004c39fb577d5a/std/net/curl.d#L4147),
this get's escalated up to main which then tries to join outstanding threads.
Could easily be the case that OwnerTerminated isn't send when the main thread
terminates exceptionally, so the test-server thread might hang indefinitely
https://github.com/dlang/phobos/blob/6128ed629f6a180413b3965386004c39fb577d5a/std/net/curl.d#L198.
Just an educated guess, still needs to be properly investigated.

--


More information about the Digitalmars-d-bugs mailing list