No error message in DMD 2.078.2

Jonathan M Davis newsgroup.d at jmdavisprog.com
Tue Feb 13 06:00:05 UTC 2018


On Tuesday, February 13, 2018 05:51:05 Domain via Digitalmars-d-learn wrote:
> module main;
>
> void main ()
> {
>      writeln("Hello");
> }
>
> Of course, this won't compile, but error message is confused:
>
> C:\Git\hello\source>dmd app.d
> app.d(5): Error:
> object.Error@(0): Access Violation
> ----------------
> 0x0065445A
> 0x006548FE
> 0x0064DBD3
> 0x004B0B90
> 0x004B8A02
> 0x00594813
> 0x005797E2
> 0x77E40608 in RtlAllocateHeap
> 0x77E3EB5E in RtlAllocateHeap
> 0x77E2DD5A in RtlRandom
> 0x004E0F98
> 0x005B6D16
> 0x0047BFCA
> 0x005DD152

Report it on bugzilla: https://issues.dlang.org

My guess would be that the printf that's printing the error message is being
given a null string or something along those lines, so it segfaults.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list