digitalmars.D.bugs - [Issue 15391] New: Deadlock in std.net.curl unittest
- via Digitalmars-d-bugs (62/62) Nov 30 2015 https://issues.dlang.org/show_bug.cgi?id=15391
https://issues.dlang.org/show_bug.cgi?id=15391 Issue ID: 15391 Summary: Deadlock in std.net.curl unittest Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: thomas.mader gmail.com I tried to run the unittests of phobos 2.069.1 but got the following deadlock in test_runner while running the std.net.curl unittest: (gdb) thread apply all bt Thread 2 (Thread 0x7ffff1ce5700 (LWP 19261)): from target:/nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/libpthread.so.0 at std/socket.d:2855 std.net.curl.TestServer.loop(shared(std.socket.TcpSocket)) ( listener=0x7ffff7ef1700) at std/net/curl.d:213 std.concurrency._spawn!(void(shared(std.socket.TcpSocket)) function*, shared(std.socket.TcpSocket))._spawn(bool, void(shared(std.socket.TcpSocket)) function*, shared(std.socket.TcpSocket)).exec() (this=0x7ffff7ef2100) at std/concurrency.d:517 at src/core/thread.d:1351 src/core/thread.d:347 from target:/nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/libpthread.so.0 from target:/nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/libc.so.6 Thread 1 (Thread 0x7ffff7ff25c0 (LWP 19260)): from target:/nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/libpthread.so.0 rethrow=true) at src/core/thread.d:741 int(char[][]) function*).runAll() (this=0x7fffffffd990) at src/rt/dmain2.d:476 int(char[][]) function*).tryExec(scope void() delegate) (this=0x7fffffffd990, dg=...) at src/rt/dmain2.d:447 mainFunc=0x4017b0 <D main>) at src/rt/dmain2.d:480 from target:/nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/libc.so.6 --
Nov 30 2015