Thread overview
[Issue 18519] freebsd 11 + phobos + curl, timing out
Feb 25, 2018
Martin Nowak
Feb 27, 2018
Seb
Feb 28, 2018
Rainer Schuetze
Mar 11, 2018
Seb
Jan 02, 2019
Iain Buclaw
February 25, 2018
https://issues.dlang.org/show_bug.cgi?id=18519

Martin Nowak <code@dawg.eu> changed:

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

--- Comment #1 from Martin Nowak <code@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.

--
February 27, 2018
https://issues.dlang.org/show_bug.cgi?id=18519

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12@gmail.com

--- Comment #2 from Seb <greensunny12@gmail.com> ---
See also https://github.com/dlang/phobos/pull/6232 (a PR to temporarily disable
the curl tests).

--
February 28, 2018
https://issues.dlang.org/show_bug.cgi?id=18519

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #3 from Rainer Schuetze <r.sagitario@gmx.de> ---
Windows is also affected if libcurl.dll is missing. See https://github.com/dlang/phobos/pull/6234

--
March 11, 2018
https://issues.dlang.org/show_bug.cgi?id=18519

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/b8e5bca94b661c1d1ffb9ec6f7e37b9fa7a0d09d fix issue 18519 freebsd 11 + phobos + curl, timing out

stop the TestServer waiting in accept() before thread_joinall

https://github.com/dlang/phobos/commit/35e9807bbec392658ecdc8b4ed93d1f6c02f2845 Merge pull request #6234 from rainers/curl_freeze

fix issue 18519 freebsd 11 + phobos + curl, timing out merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>

--
March 11, 2018
https://issues.dlang.org/show_bug.cgi?id=18519

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Seb <greensunny12@gmail.com> ---
REOPENED as I just tested the PR with https://github.com/dlang/phobos/pull/6264 and the problem still seems to be existent.

--
January 02, 2019
https://issues.dlang.org/show_bug.cgi?id=18519

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #6 from Iain Buclaw <ibuclaw@gdcproject.org> ---
This isn't restricted to FreeBSD 11.  Any platform that doesn't have curl libraries available will hang in the same way.


(Running the test runner on Linux64 with MODEL=32)

--
January 04, 2019
https://issues.dlang.org/show_bug.cgi?id=18519

--- Comment #7 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/8d51519f3f11a5f9b538cd690521b61e9fbbf5df fix Issue 18519: missing curl + phobos = std.net.curl unittest timing out

Disable the std.net.curl tests in the makefile, not the module.

https://github.com/dlang/phobos/commit/8d14c379c248de2b3183ed169c4e01ea5fa57cd6 Merge pull request #6824 from ibuclaw/issue18519

 fix Issue 18519: missing curl + phobos = std.net.curl unittest timing out
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>

--
January 04, 2019
https://issues.dlang.org/show_bug.cgi?id=18519

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--