Comment #0 by ellery-newcomer — 2010-03-16T12:24:31Z
struct A{
struct{
B b;
C c;
}
}
struct B{
int i;
}
struct C{
int j;
}
and DMD bombs out. Seems to be a forward referencing problem, as the AnonDeclaration's scope never gets set.
Comment #1 by ellery-newcomer — 2010-03-16T17:35:57Z
Okay, for some reason my test case doesn't seem to be working. I'm sure it was earlier, but I deleted the file, etc.
I can still get the segfault with my original (humongous) code, as well as a few others if the structs are rearranged a little. But I'm not whittling it down again.
Here it is if anyone cares:
http://personal.utulsa.edu/~ellery-newcomer/dxl.zip
unzip it and run dmd @kmd.
the problem file is src/dxl/read/biff/FilePassRecord.d
Comment #2 by clugdbug — 2010-08-25T12:41:29Z
This is probably the same as bug 4543, which has a reduced test case.
Comment #3 by clugdbug — 2010-08-26T07:40:22Z
(In reply to comment #1)
> Okay, for some reason my test case doesn't seem to be working. I'm sure it was
> earlier, but I deleted the file, etc.
>
> Here it is if anyone cares:
>
> http://personal.utulsa.edu/~ellery-newcomer/dxl.zip
>
> unzip it and run dmd @kmd.
There is no kmd file. Also this code seems to use Tango (dunno which version!). So it's not a usable test case. But I'm pretty sure this is the same as 4543.
Reopen if you think it is not the same, and have some kind of usable test case.
*** This issue has been marked as a duplicate of issue 4543 ***
Comment #4 by ellery-newcomer — 2010-08-26T14:25:04Z
(In reply to comment #3)
>
> There is no kmd file. Also this code seems to use Tango (dunno which version!).
> So it's not a usable test case. But I'm pretty sure this is the same as 4543.
> Reopen if you think it is not the same, and have some kind of usable test case.
>
> *** This issue has been marked as a duplicate of issue 4543 ***
I have little to no recollection of filing this isssue (and I agree it's pretty bad), but I don't think issue 4543 sounds like what this one was. I'll try digging things up this weekend. Sorry to waste your time, Don.
Comment #5 by ellery-newcomer — 2010-08-28T21:12:59Z
(In reply to comment #4)
> (In reply to comment #3)
> >
> > There is no kmd file. Also this code seems to use Tango (dunno which version!).
> > So it's not a usable test case. But I'm pretty sure this is the same as 4543.
> > Reopen if you think it is not the same, and have some kind of usable test case.
> >
> > *** This issue has been marked as a duplicate of issue 4543 ***
>
> I have little to no recollection of filing this isssue (and I agree it's pretty
> bad), but I don't think issue 4543 sounds like what this one was. I'll try
> digging things up this weekend. Sorry to waste your time, Don.
Rats. It looks like dxl.zip has been overwritten since I reported this. I guess we'll never know..