Debugging heap corruption

Leandro Lucarella llucax at gmail.com
Sun Jul 29 05:57:31 PDT 2007


Vladimir Panteleev, el 29 de julio a las 10:03 me escribiste:
> Someone has also suggested GDB/Vargrind, however I haven't attempted this combination out of reasoning that since D's GC handles all the allocation and manages the memory, Valgrind wouldn't be able to hook the memory allocation routines and take over memory management from D's GC. If I reasoned wrongly, please let me know.

Valgrind override both libc and system calls, and D's GC have to use them,
so my wild guess is *yes*, valgrind should help.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
 .------------------------------------------------------------------------,
  \  GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05 /
   '--------------------------------------------------------------------'
La esperanza es una amiga que nos presta la ilusión.



More information about the Digitalmars-d mailing list