Cryptic bug for DMD v2.087.x

Seb seb at wilzba.ch
Wed Aug 14 09:17:59 UTC 2019


On Wednesday, 14 August 2019 at 08:56:27 UTC, Peter Jacobs wrote:
> On Wednesday, 14 August 2019 at 07:13:43 UTC, Seb wrote:
>>
>> Did you follow the advice the tool gives you?
>>
>>> try using --no-redirect for details
>>
>> This means that the tester (DMD + grep) exited with a 0 exit 
>> code (i.e. no failure).
>>
>> See also: 
>> https://github.com/CyberShadow/DustMite/wiki/Reducing-a-segmentation-fault
>
> Yes, there are the results of two attempts in that previous 
> note. The second with --no-redirect.

Ah sorry. I didn't realize this (phone screens are pretty small).

Can you post the exact command that you run?

>  I also checked, before running dustmite, that the script 
> itself resulted in an exit code of 1.  It is likely that I am 
> misunderstanding something, however, it seems to me that 
> dustmite itself is failing.

BTW in my second post I mixed things up. The tester needs to exit 
successfully (0) (e.g grep does this iff it finds a match).
 From Dustmite's documentation:

> Formulate a condition command, which should exit with a status 
> code of 0 when DustMite is on the right track, and anything 
> else otherwise.


More information about the Digitalmars-d mailing list