Thread overview
[Bug] Crash DMD Compiler
Feb 10, 2004
berupon
Feb 11, 2004
J C Calvarese
Feb 12, 2004
berupon
February 10, 2004
I'm using WindowsXP. Digital Mars D Compiler v0.79
If below error is already reported. Please ignore.

struct TestS
{

}

static void test ()
{
Object m;
m[] = error;
TestS s;
s[] = error;
}

---
Does anyone know [known bug lists]?
I cannot find it from http://www.digitalmars.com/d/
..
Is it here?


February 11, 2004
berupon wrote:
> I'm using WindowsXP. Digital Mars D Compiler v0.79
> If below error is already reported. Please ignore.
> 
> struct TestS
> {
> 
> }
> 
> static void test ()
> {
> Object m;
> m[] = error;
> TestS s;
> s[] = error;
> }

Or a slightly different version that also crashes the compiler...

Object e;

void test ()
{
  Object m;
  m[] = e;
}

void main() {}


I guess the compiler is angry about trying to use [] on an Object. Probably not legal, but it should generate an error message other than "dmd.exe has encountered a problem and needs to close...".

> 
> ---
> Does anyone know [known bug lists]?

There is no list. If such a list existed, the Enemies of D would likely try to use it to foil our plans (of turning the world into, well, the worlD).

> I cannot find it from http://www.digitalmars.com/d/
> ..
> Is it here?

This newsgroup is the correct place to post bugs. I don't think that anyone has posted this particular bug, but are a various ways to make the compiler crash right now and you've found one of them. Now that Walter knows about it, he can work on fixing it.

-- 
Justin
http://jcc_7.tripod.com/d/
February 12, 2004
J C Calvarese wrote:

> > 
> > ---
> > Does anyone know [known bug lists]?
> 
> There is no list. If such a list existed, the Enemies of D would likely try to use it to foil our plans (of turning the world into, well, the worlD).
> 

Hehe. I also think capitalize on D language is good thing for our programming life. :)

I wished if I could get the map of minefield. But after reading below Walter's post. I realized that I should not ask him such an extra task.

http://www.digitalmars.com/drn-bin/wwwnews?D/23404

> > I cannot find it from http://www.digitalmars.com/d/
> > ..
> > Is it here?
> 
> This newsgroup is the correct place to post bugs. I don't think that anyone has posted this particular bug, but are a various ways to make the compiler crash right now and you've found one of them. Now that Walter knows about it, he can work on fixing it.
> 

Thank you for answering my questions. Mr. J C Calvarese.