Hi,
I am playing with generics around. I have implemented two simple Lists. A array based TList and a double linked TLinkedList. I have also written a test program to test these.
Here comes the interesting part. The test program runs flawlessy, but compiled with -gh for heaptrace or -gv for valgrind, the test program crashes always at a certain point.
I thought that it was possible that I did some horrendous things with my memory, but running "valgrind --tool=memcheck" on a clean (read no -gh or -gv) executable results in absolutely no problems reported by valgrind. Could be FPC at fault? Both files are attached, "DataContainers.pp" being the two lists and "DataContainers_Test.pp" the test program.
FPC 2.2.0 on Linux 2.6.23
valgrind-3.2.3
thanks in advance
bartek
