December 28, 2007 [Issue 1079] gdb on linux: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 ------- Comment #9 from stephan@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. -- |
February 21, 2008 [Issue 1079] gdb on linux: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 ------- Comment #10 from someanon@yahoo.com 2008-02-20 22:44 ------- Also have this problem with v2.011 on Linux. when setting breakpoint: without -gc: Die: DW_TAG_<unknown> (abbrev = 21, offset = 3690) has children: FALSE attributes: DW_AT_byte_size (DW_FORM_data1) constant: 8 DW_AT_containing_type (DW_FORM_ref4) constant ref: 1553 (adjusted) DW_AT_type (DW_FORM_ref4) constant ref: 3674 (adjusted) Dwarf Error: Cannot find type of die with -gc: Dwarf Error: Cannot find DIE at 0x1369b7 referenced from DIE at 0x19b [in module -- |
February 21, 2008 [Issue 1079] gdb on linux: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 ------- Comment #11 from someanon@yahoo.com 2008-02-20 22:46 ------- BTW, using http://ftp.gnu.org/gnu/gdb/gdb-6.5.tar.bz2 with http://www.dsource.org/projects/gdb-patches d-gdb6.5.patch -- |
October 12, 2009 [Issue 1079] gdb: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 Leandro Lucarella <llucax@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |llucax@gmail.com Resolution| |FIXED Summary|gdb on linux: Dwarf Error: |gdb: Dwarf Error: Cannot |Cannot find DIE at 0xb705 |find DIE at 0xb705 |referenced from DIE at |referenced from DIE at |0x250 |0x250 --- Comment #12 from Leandro Lucarella <llucax@gmail.com> 2009-10-12 14:11:44 PDT --- This seems to be working in DMD 1.049 and 2.034. I'm trying to organize GDB-related bugs, so I will close this one. Please let me know if I shouldn't be closing bugs and feel free to reopen it if still having this problem. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 12, 2009 [Issue 1079] gdb: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 Leandro Lucarella <llucax@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Version|1.009 |2.034 Resolution|FIXED | --- Comment #13 from Leandro Lucarella <llucax@gmail.com> 2009-10-12 16:21:06 PDT --- Seems to be still happening with DMD 2.034 (DMD 1.049 works fine). See bug 3368 for details. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 12, 2009 [Issue 1079] gdb: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 Leandro Lucarella <llucax@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |echochamber@gmail.com --- Comment #14 from Leandro Lucarella <llucax@gmail.com> 2009-10-12 16:21:55 PDT --- *** Issue 3368 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 21, 2010 [Issue 1079] gdb: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 --- Comment #15 from Bernard Helyer <blood.of.life@gmail.com> 2010-01-20 20:53:25 PST --- This seems to have something to do with arrays (or manifests itself when they are present): [test]$ cat nolist.d void main() { int i = 0; i++; assert(i == 1); i++; assert(i == 2); i++; assert(i == 3); } That debugs fine, while [test]$ cat list.d void main() { int[] i = new int[1]; i[0]++; assert(i[0] == 1); i[0]++; assert(i[0] == 2); i[0]++; assert(i[0] == 3); } debugging these: [test]$ dgdb -q nolist (gdb) break _Dmain Breakpoint 1 at 0x80490aa: file nolist.d, line 1. (gdb) run Starting program: /home/bernard/src/dmd2/src/test/nolist [Thread debugging using libthread_db enabled] [New Thread 0xb75c46d0 (LWP 27012)] [Switching to Thread 0xb75c46d0 (LWP 27012)] Breakpoint 1, D main () at nolist.d:3 3 int i = 0; Current language: auto; currently d (gdb) quit The program is running. Exit anyway? (y or n) y [test]$ dgdb -q list (gdb) break _Dmain Die: DW_TAG_<unknown> (abbrev = 4, offset = 460) has children: FALSE attributes: DW_AT_byte_size (DW_FORM_data1) constant: 8 DW_AT_type (DW_FORM_ref4) constant ref: 453 (adjusted) Dwarf Error: Cannot find type of die [in module /home/bernard/src/dmd2/src/test/list] (gdb) quit [test]$ gdb -q list (gdb) break _Dmain Die: DW_TAG_<unknown> (abbrev = 4, offset = 460) has children: FALSE attributes: DW_AT_byte_size (DW_FORM_data1) constant: 8 DW_AT_type (DW_FORM_ref4) constant ref: 453 (adjusted) Dwarf Error: Cannot find type of die [in module /home/bernard/src/dmd2/src/test/list] Where `dgdb` is a patch GDB 6.8 and `gdb` is the normal GDB that ships with Jaunty. The `nolist` binary is debuggable with the stock GDB, too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 21, 2010 [Issue 1079] gdb: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 --- Comment #16 from Bernard Helyer <blood.of.life@gmail.com> 2010-01-20 20:55:48 PST --- Oh! The above were simply compiled like so: dmd -g list.d dmd -g nolist.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 21, 2010 [Issue 1079] gdb: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 --- Comment #17 from Bernard Helyer <blood.of.life@gmail.com> 2010-01-20 21:17:42 PST --- Compiling with `-gc` allows gdb to debug it (but not interact with AA or DAs, of course). This is with a patched gdb, though. Perhaps the bug lies in the patches? I have definitely had failures on larger projects with `-gc`, though, so I suspect dmd still has problems with its DWARF output regardless. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 19, 2010 [Issue 1079] gdb: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1079 Robert Clipsham <robert@octarineparrot.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robert@octarineparrot.com --- Comment #18 from Robert Clipsham <robert@octarineparrot.com> 2010-03-19 16:34:02 PDT --- http://d.puremagic.com/issues/show_bug.cgi?id=3987 Is related to this bug, if not a duplicate. I'd also like to note that all the DW_TAG_<unknown> errors when using -g rather than -gc are non-bugs, as that is expected until gdb supports D's extensions to DWARF. If you get them when using -gc it is a dmd issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation