[Issue 1079] gdb on linux: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 28 04:16:33 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1079





------- Comment #9 from stephan at kochen.nl  2007-12-28 06:16 -------
I looked at the problem again this morning, and it looks like it's triggered by
delegate parameters. This is the smallest testcase I could come up with:

void problem(void delegate(Object) dg) { dg(null); }
void main() {
    problem(delegate void(Object o) {
        auto s = o.toString();
    });
}

There's an intentional crasher again, so simply compiling and running this in
GDB should trigger the bug immediately. I tested this with DMD 1.024, Tango
0.99.4 and the GDB 6.7.1 that is in Ubuntu Hardy right now.


-- 



More information about the Digitalmars-d-bugs mailing list