Re: Debugging silent exit of threads in Phobos calls (bugzilla issue submitted)

2018-06-02 Thread Kagamin via Digitalmars-d-learn

On Saturday, 2 June 2018 at 09:52:59 UTC, Russel Winder wrote:
I get ldc2 from the Debian/Fedora repositories and dmd from 
d-apt (no Fedora equivalent) I really want to avoid fiddling 
with files that are installed via packaging. Though I guess any 
changes can be fixed by a reinstallation of the package.


Editing in place would be the easiest and shouldn't be a problem, 
but at least ldc is relocatable: import folder is specified in 
config, so you can have it anywhere.


Re: Debugging silent exit of threads in Phobos calls (bugzilla issue submitted)

2018-06-02 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2018-06-01 at 14:02 -0400, Steven Schveighoffer via
Digitalmars-d-learn wrote:
> 
[…]
> Perfect, put this into a bugzilla entry. Most definitely it's a bug
> in 
> phobos, it's clear from the assert(false, ...) which is NEVER meant
> to 
> happen.

Bug report submitted.

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

Hopefully it is easy to fix and 2.081 can be released quickly as my
only way forward is to hack the code to avoid the problem which then
essentially destroys the abstractions. OK so it would be a retrievable
hack, but one has to draw the line somewhere.

Also I have to stop having fun with Me-TV_D and get back on to
organising ACCU 2019.

It is time D people submitted sessions to ACCU: ACCU 2018 had lots of
Rust sessions to counterbalance the C++ stuff and it went down well.

> BTW, yes I was saying edit the global phobos sources :) I do this
> all 
> the time to try and debug something. You just have to remember to put
> it 
> back the way it was. In this case, you would just be printing
> something 
> before crashing, so it actually could stay there.
> 
> One "nice" aspect of pretty much everything being a template.

I get ldc2 from the Debian/Fedora repositories and dmd from d-apt (no
Fedora equivalent) I really want to avoid fiddling with files that are
installed via packaging. Though I guess any changes can be fixed by a
reinstallation of the package.

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


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