Debugging silent exit of threads in Phobos calls
Steven Schveighoffer
schveiguy at yahoo.com
Fri Jun 1 13:31:42 UTC 2018
On 6/1/18 7:12 AM, Russel Winder wrote:
> So I had a play and gdb seems to be useless for trying to find out why
> calls to std.concurrency.receive exit silently.
>
> Obviously std.concurrency.receive should never terminate a thread, and
> it should never terminate a thread silently, but given that it clearly
> does (using dmd 2.080 from d-apt on Debian Sid) how is one to find out
> useful information as to why it is exiting silently.
I remember something like a receive thread that throws terminates
silently. Do a try/catch to see if it's that.
-Steve
More information about the Digitalmars-d-learn
mailing list