Valgrind

Thomas Kuehne thomas-dloop at kuehne.cn
Mon Apr 17 05:37:41 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Kuehne schrieb am 2006-04-14:
>
> Valgrind (http://www.valgrind.org/) - a suite of tools for
> debugging and profiling programs under Linux - now supports
> D code compiled with debug symbols.
>
> Inital support was added in revision 5823 and is likely to be
> included in valgrind-3.2.0.
>
> download:
> http://www.valgrind.org/downloads/repository.html

update:

Basic demangling of D symbols is now supported.

Sample:
| Conditional jump or move depends on uninitialised value(s)
|    at 0x8055315: uint gcx.Gcx.fullcollect(void *) (gcx.d:59)
|    by 0x8054EED: uint gcx.Gcx.fullcollectshell() (gcx.d:1382)
|    by 0x8053FFC: void * gcx.GC.mallocNoSync(uint) (gcx.d:272)
|    by 0x8053F1E: void * gcx.GC.malloc(uint) (gcx.d:224)
|    by 0x80540E0: void * gcx.GC.calloc(uint, uint) (gcx.d:320)
|    by 0x80539EC: _d_arraysetlength (gc.d:403)
|    by 0x8049E25: void dstress.run.m.memory_management_04.C.func() (memory_management_04.d:15)
|    by 0x8049E5A: _Dmain (memory_management_04.d:24)
|    by 0x804AC5A: main (internal/dmain2.d:92)

See:
http://bugs.kde.org/show_bug.cgi?id=125728

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEQ5nH3w+/yD4P9tIRAmjSAJ40KAx0H3r95/3xCLqiEaZtZ6vCcACeNwz8
Csg/G/HD9YVQRE9y/ffEX7A=
=uBck
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-announce mailing list