On Fri, 2018-06-01 at 09:31 -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> 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.

Tried to catch Exception but that failed to work, fortunately
remembered to catch Throwable and it turned out to be a 

receive threw an exception 
core.exception.AssertError@/usr/include/dmd/phobos/std/variant.d(323):

It seems that the type frontend_manager.FrontendAppeared is not the
same as frontend_manager.FrontendAppeared. :-( Who knew.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

Attachment: signature.asc
Description: This is a digitally signed message part

              • Re:... Ali Çehreli via Digitalmars-d-learn
              • Re:... Russel Winder via Digitalmars-d-learn
              • Re:... Russel Winder via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... Russel Winder via Digitalmars-d-learn
              • Re:... Kagamin via Digitalmars-d-learn
              • Re:... Steven Schveighoffer via Digitalmars-d-learn
              • Re:... Russel Winder via Digitalmars-d-learn
            • Re: Deb... ketmar via Digitalmars-d-learn
              • Re:... Russel Winder via Digitalmars-d-learn
    • Re: Debugging silent exi... Russel Winder via Digitalmars-d-learn
  • Re: Debugging silent exit of ... Ali Çehreli via Digitalmars-d-learn

Reply via email to