==3968== Memcheck, a memory error detector.
==3968== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==3968== Using LibVEX rev 1367, a library for dynamic binary translation.
==3968== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==3968== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==3968== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==3968== 
==3968== My PID = 3968, parent PID = 6992.  Prog and args are:
==3968==    project1
--3968-- 
--3968-- Valgrind library directory: /usr/local/lib/valgrind
--3968-- Command line
--3968--    project1
--3968-- Startup, with flags:
--3968--    --leak-check=full
--3968--    -v
--3968--    --show-reachable=yes
--3968--    --leak-resolution=high
--3968--    --log-file=valgrind.log
--3968-- Contents of /proc/version:
--3968--   Linux version 2.6.11.4-21.10-smp (geeko@buildhost) (gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)) #1 SMP Tue Nov 29 14:32:49 UTC 2005
--3968-- Reading syms from /tmp/fpctest/project1 (0x8048000)
--3968-- Reading syms from /lib/ld-2.3.4.so (0x1B8E4000)
--3968-- Reading syms from /usr/local/lib/valgrind/stage2 (0xB0000000)
--3968-- Reading suppressions file: /usr/local/lib/valgrind/default.supp
==3968== 
--3968-- Reading syms from /usr/local/lib/valgrind/vg_preload_core.so (0x1B8FC000)
--3968-- Reading syms from /usr/local/lib/valgrind/vgpreload_memcheck.so (0x1B8FF000)
--3968-- REDIR: 0x1B8F6B60 (index) redirected to 0x1B902170 (index)
--3968-- REDIR: 0x1B8F6D00 (strlen) redirected to 0x1B9023B0 (strlen)
--3968-- Reading syms from /lib/tls/libpthread.so.0 (0x1B91E000)
--3968-- Reading syms from /lib/libdl.so.2 (0x1B930000)
--3968-- Reading syms from /lib/libcrypt.so.1 (0x1B934000)
--3968-- Reading syms from /lib/tls/libc.so.6 (0x1B966000)
--3968-- REDIR: 0x1B8E47A0 (_dl_sysinfo_int80) redirected to 0xB0022343 (???)
--3968-- REDIR: 0x1B9CDC90 (rindex) redirected to 0x1B902050 (rindex)
--3968-- REDIR: 0x1B9CA520 (malloc) redirected to 0x1B90082A (malloc)
--3968-- REDIR: 0x1B9C8640 (free) redirected to 0x1B901353 (free)
--3968-- REDIR: 0x1B9CB3C0 (calloc) redirected to 0x1B901B0F (calloc)
--3968-- REDIR: 0x1B9CD1D0 (index) redirected to 0x1B902140 (index)
--3968-- REDIR: 0x1B8F70D0 (stpcpy) redirected to 0x1B902940 (stpcpy)
--3968-- Reading syms from /lib/libgcc_s.so.1 (0x1CFE5000)
--3968--    object doesn't have a symbol table
--3968-- REDIR: 0x1B9CD8D0 (strlen) redirected to 0x1B902390 (strlen)
==3968== 
==3968== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 24 from 3)
--3968-- 
--3968-- supp:    3 index-not-intercepted-early-enough-HACK-3
--3968-- supp:   19 dl_relocate_object
--3968-- supp:    2 strlen/*dl_map_object*(Cond)
==3968== malloc/free: in use at exit: 2896 bytes in 37 blocks.
==3968== malloc/free: 316 allocs, 279 frees, 28779 bytes allocated.
==3968== 
==3968== searching for pointers to 37 not-freed blocks.
==3968== checked 63642440 bytes.
==3968== 
==3968== 16 bytes in 1 blocks are still reachable in loss record 1 of 8
==3968==    at 0x1B901B95: calloc (vg_replace_malloc.c:279)
==3968==    by 0x1B931239: _dlerror_run (in /lib/libdl.so.2)
==3968==    by 0x1B930D30: dlopen@@GLIBC_2.1 (in /lib/libdl.so.2)
==3968==    by 0x8060C82: (within /tmp/fpctest/project1)
==3968==    by 0x8061BDA: (within /tmp/fpctest/project1)
==3968==    by 0x805A1BB: SYSTEM_SETTHREADMANAGER$TTHREADMANAGER$$BOOLEAN (in /tmp/fpctest/project1)
==3968==    by 0x8061D6C: CTHREADS_SETCTHREADMANAGER (in /tmp/fpctest/project1)
==3968==    by 0x8061DF1: CTHREADS_init (in /tmp/fpctest/project1)
==3968==    by 0x8056C4C: fpc_initializeunits (in /tmp/fpctest/project1)
==3968==    by 0x8048B29: main (project1.pas:30)
==3968==    by 0x8048A3C: (within /tmp/fpctest/project1)
==3968== 
==3968== 
==3968== 19 bytes in 1 blocks are still reachable in loss record 2 of 8
==3968==    at 0x1B9008A9: malloc (vg_replace_malloc.c:149)
==3968==    by 0x1B8ECDF0: _dl_new_object (in /lib/ld-2.3.4.so)
==3968==    by 0x1B8E942D: _dl_map_object_from_fd (in /lib/ld-2.3.4.so)
==3968==    by 0x1B8EB050: _dl_map_object (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA5223D: dl_open_worker (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA51BDF: _dl_open (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53D4C: do_dlopen (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA53BD4: dlerror_run (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53CFA: __libc_dlopen_mode (in /lib/tls/libc.so.6)
==3968==    by 0x1B929F47: pthread_cancel_init (in /lib/tls/libpthread.so.0)
==3968== 
==3968== 
==3968== 19 bytes in 1 blocks are still reachable in loss record 3 of 8
==3968==    at 0x1B9008A9: malloc (vg_replace_malloc.c:149)
==3968==    by 0x1B8EB4D1: _dl_map_object (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA5223D: dl_open_worker (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA51BDF: _dl_open (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53D4C: do_dlopen (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA53BD4: dlerror_run (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53CFA: __libc_dlopen_mode (in /lib/tls/libc.so.6)
==3968==    by 0x1B929F47: pthread_cancel_init (in /lib/tls/libpthread.so.0)
==3968==    by 0x1B92A05C: _Unwind_ForcedUnwind (in /lib/tls/libpthread.so.0)
==3968==    by 0x1B927DD0: __pthread_unwind (in /lib/tls/libpthread.so.0)
==3968== 
==3968== 
==3968== 28 bytes in 1 blocks are still reachable in loss record 4 of 8
==3968==    at 0x1B9008A9: malloc (vg_replace_malloc.c:149)
==3968==    by 0x1B8F0575: _dl_map_object_deps (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA52294: dl_open_worker (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA51BDF: _dl_open (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53D4C: do_dlopen (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA53BD4: dlerror_run (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53CFA: __libc_dlopen_mode (in /lib/tls/libc.so.6)
==3968==    by 0x1B929F47: pthread_cancel_init (in /lib/tls/libpthread.so.0)
==3968==    by 0x1B92A05C: _Unwind_ForcedUnwind (in /lib/tls/libpthread.so.0)
==3968==    by 0x1B927DD0: __pthread_unwind (in /lib/tls/libpthread.so.0)
==3968== 
==3968== 
==3968== 28 bytes in 1 blocks are still reachable in loss record 5 of 8
==3968==    at 0x1B9008A9: malloc (vg_replace_malloc.c:149)
==3968==    by 0x1B8F0575: _dl_map_object_deps (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA52294: dl_open_worker (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA51BDF: _dl_open (in /lib/tls/libc.so.6)
==3968==    by 0x1B930DA7: dlopen_doit (in /lib/libdl.so.2)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1B9311B4: _dlerror_run (in /lib/libdl.so.2)
==3968==    by 0x1B930D30: dlopen@@GLIBC_2.1 (in /lib/libdl.so.2)
==3968==    by 0x8060C82: (within /tmp/fpctest/project1)
==3968==    by 0x8061BDA: (within /tmp/fpctest/project1)
==3968==    by 0x805A1BB: SYSTEM_SETTHREADMANAGER$TTHREADMANAGER$$BOOLEAN (in /tmp/fpctest/project1)
==3968== 
==3968== 
==3968== 144 bytes in 1 blocks are still reachable in loss record 6 of 8
==3968==    at 0x1B901B95: calloc (vg_replace_malloc.c:279)
==3968==    by 0x1B8F27CF: _dl_check_map_versions (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA522E3: dl_open_worker (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA51BDF: _dl_open (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53D4C: do_dlopen (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA53BD4: dlerror_run (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53CFA: __libc_dlopen_mode (in /lib/tls/libc.so.6)
==3968==    by 0x1B929F47: pthread_cancel_init (in /lib/tls/libpthread.so.0)
==3968==    by 0x1B92A05C: _Unwind_ForcedUnwind (in /lib/tls/libpthread.so.0)
==3968==    by 0x1B927DD0: __pthread_unwind (in /lib/tls/libpthread.so.0)
==3968== 
==3968== 
==3968== 602 bytes in 1 blocks are still reachable in loss record 7 of 8
==3968==    at 0x1B901B95: calloc (vg_replace_malloc.c:279)
==3968==    by 0x1B8ECB60: _dl_new_object (in /lib/ld-2.3.4.so)
==3968==    by 0x1B8E942D: _dl_map_object_from_fd (in /lib/ld-2.3.4.so)
==3968==    by 0x1B8EB050: _dl_map_object (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA5223D: dl_open_worker (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA51BDF: _dl_open (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53D4C: do_dlopen (in /lib/tls/libc.so.6)
==3968==    by 0x1B8F1185: _dl_catch_error (in /lib/ld-2.3.4.so)
==3968==    by 0x1BA53BD4: dlerror_run (in /lib/tls/libc.so.6)
==3968==    by 0x1BA53CFA: __libc_dlopen_mode (in /lib/tls/libc.so.6)
==3968==    by 0x1B929F47: pthread_cancel_init (in /lib/tls/libpthread.so.0)
==3968== 
==3968== 
==3968== 2040 bytes in 30 blocks are possibly lost in loss record 8 of 8
==3968==    at 0x1B901B95: calloc (vg_replace_malloc.c:279)
==3968==    by 0x1B8F3AE8: allocate_dtv (in /lib/ld-2.3.4.so)
==3968==    by 0x1B8F3BBB: _dl_allocate_tls (in /lib/ld-2.3.4.so)
==3968==    by 0x1B923584: pthread_create@@GLIBC_2.1 (in /lib/tls/libpthread.so.0)
==3968==    by 0x8061495: (within /tmp/fpctest/project1)
==3968==    by 0x8059F79: SYSTEM_BEGINTHREAD$POINTER$LONGWORD$TTHREADFUNC$POINTER$LONGWORD$LONGINT$$LONGINT (in /tmp/fpctest/project1)
==3968==    by 0x8059F34: SYSTEM_BEGINTHREAD$TTHREADFUNC$POINTER$LONGINT$LONGWORD$$LONGINT (in /tmp/fpctest/project1)
==3968==    by 0x806BBAC: CLASSES_TTHREAD_$__CREATE$BOOLEAN$LONGWORD$$TTHREAD (in /tmp/fpctest/project1)
==3968==    by 0x8048B9B: main (project1.pas:35)
==3968==    by 0x8048A3C: (within /tmp/fpctest/project1)
==3968== 
==3968== LEAK SUMMARY:
==3968==    definitely lost: 0 bytes in 0 blocks.
==3968==      possibly lost: 2040 bytes in 30 blocks.
==3968==    still reachable: 856 bytes in 7 blocks.
==3968==         suppressed: 0 bytes in 0 blocks.
--3968--  memcheck: sanity checks: 1 cheap, 1 expensive
--3968--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--3968--  memcheck: auxmaps: 0 searches, 0 comparisons
--3968--  memcheck: secondaries: 49 issued (3136k, 3M)
--3968--  memcheck: secondaries: 956 accessible and distinguished (61184k, 59M)
--3968--     tt/tc: 7843 tt lookups requiring 8252 probes
--3968--     tt/tc: 7843 fast-cache updates, 4 flushes
--3968-- translate: new        3735 (79583 -> 1322913; ratio 166:10) [0 scs]
--3968-- translate: dumped     0 (0 -> ??)
--3968-- translate: discarded  8 (235 -> ??)
--3968-- scheduler: 213888 jumps (bb entries).
--3968-- scheduler: 1/5314 major/minor sched events.
--3968--    sanity: 2 cheap, 1 expensive checks.
--3968--    exectx: 4999 lists, 93 contexts (avg 0 per list)
--3968--    exectx: 619 searches, 527 full compares (851 per 1000)
--3968--    exectx: 0 cmp2, 90 cmp4, 50 cmpAll
