Thread overview
dmd 0.102 crash (spooky)
Sep 23, 2004
Bastiaan Veelo
Sep 24, 2004
clayasaurus
Sep 25, 2004
Bastiaan Veelo
Sep 25, 2004
Tyro
September 23, 2004
Hi,

show the exact following code to dmd 0.102 on Linux and it drops dead instantly. Believe it or not. (Have not tried <0.102.) Swap the definition of Foo(T1) and Bar and it works fine.


class Foo()
{
}

class Bar : Foo!()
{
}

class Foo(T1)
{
}

void main()
{
}


Bastiaan.
September 24, 2004
on my linux machine (Mepis linux) I just get a segfault :)

Bastiaan Veelo wrote:
> Hi,
> 
> show the exact following code to dmd 0.102 on Linux and it drops dead instantly. Believe it or not. (Have not tried <0.102.) Swap the definition of Foo(T1) and Bar and it works fine.
> 
> 
> class Foo()
> {
> }
> 
> class Bar : Foo!()
> {
> }
> 
> class Foo(T1)
> {
> }
> 
> void main()
> {
> }
> 
> 
> Bastiaan.
September 25, 2004
clayasaurus wrote:
> on my linux machine (Mepis linux) I just get a segfault :)

:-) That is what I mean. But it seems to happen very early (during lexical analysis?) because it is not preceded by an error message and changing the order of definitions has a say.

How is Windows doing in this regard?

Bastiaan.
September 25, 2004
Bastiaan Veelo wrote:
> clayasaurus wrote:
> 
>> on my linux machine (Mepis linux) I just get a segfault :)
> 
> 
> :-) That is what I mean. But it seems to happen very early (during lexical analysis?) because it is not preceded by an error message and changing the order of definitions has a say.
> 
> How is Windows doing in this regard?

No better. Results in GPF on WinXP.

> Bastiaan.