Hi,

One of my ports - mail/dspam-devel stays at 3.4 because newer versions
crash on FreeBSD (they work on Linux and Solaris).
Can someone make some sense from the output bellow ?

I'm willing to make a port and help with all needed setup information -
a 5-10 minutes job if someone has the time for it.

 (gdb) run --daemon --debug
 Starting program: 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam 
--daemon --debug
 76309: [2/9/2005 17:39:59] Daemon process starting
 76309: [2/9/2005 17:39:59] spawning daemon listener
 76309: [2/9/2005 17:39:59] Binding to :24
 76309: [2/9/2005 17:41:45] connection id 10 from 127.0.0.1.
 76309: [2/9/2005 17:41:46] No QuarantineAgent option found. Using quarantine.
 76309: [2/9/2005 17:41:46] using database handle id 1
 76309: [2/9/2005 17:41:46] DSPAM Instance Startup
 76309: [2/9/2005 17:41:46] input args: --user itetcu --classify
 76309: [2/9/2005 17:41:46] pass-thru args: /usr/libexec/mail.local -d %u
 76309: [2/9/2005 17:41:46] processing user itetcu
 76309: [2/9/2005 17:41:46] uid = 0, euid = 0, gid = 0, egid = 0
 76309: [2/9/2005 17:41:46] Loading preferences for user itetcu
 76309: [2/9/2005 17:41:46] Loading preferences from dspam.conf
 76309: [2/9/2005 17:41:46] using /var/db/dspam/opt-in/itetcu.dspam as path
 76309: [2/9/2005 17:41:46] using /var/db/dspam/opt-out/itetcu.nodspam as path
 76309: [2/9/2005 17:41:46] sedation level set to: 4
 76309: [2/9/2005 17:41:47] Loading 133 BNR patterns

 Program received signal SIGBUS, Bus error.
 [Switching to Thread 3 (LWP 100353)]
 0x08060958 in bnr_finalize (BTX=0x80d91c0) at bnr.c:313
 313         node_list = c_bnr_list_next(BTX->stream, &c_list);
 (gdb) bt
 #0  0x08060958 in bnr_finalize (BTX=0x80d91c0) at bnr.c:313
 #1  0x0805b682 in _ds_operate (CTX=0x80a6080,
     headers=0x80a7000 "From [EMAIL PROTECTED]  Wed Feb  9 17: 23:17 2005",
     body=0x80aa800 "The") at libdspam.c:1213
 #2  0x0805bbef in dspam_process (CTX=0x80a6080,
     message=0x80a2000 "From [EMAIL PROTECTED]  Wed Feb  9 17:23:17 
2005\nReturn-Path: <[EMAIL PROTECTED]>\nX-Original-To: [EMAIL PROTECTED]: 
[EMAIL PROTECTED]"...) at libdspam.c:525
 #3  0x0804f588 in process_message (ATX=0x80a0000, PTX=0x80a6100, 
message=0x80971d0,
     username=0x8097190 "itetcu") at dspam.c:396
 #4  0x08050bd7 in process_users (ATX=0x80a0000, message=0x80971b0) at 
dspam.c:1408
 #5  0x080540e0 in process_connection (ptr=0x808d200) at daemon.c:404
 #6  0x2823603b in pthread_create () from /usr/lib/libpthread.so.1
 #7  0x282fe427 in _ctx_start () from /lib/libc.so.5
 (gdb) l *0x08060958
 0x8060958 is in bnr_finalize (bnr.c:313).
 308               }
 309             }
 310           }
 311         }
 312
 313         node_list = c_bnr_list_next(BTX->stream, &c_list);
 314       }
 315
 316       return 0;
 317     }


  # valgrind --leak-resolution=high --leak-check=yes --tool=memcheck 
--show-reachable=yes --error-limit=no --show-below-main=yes 
./work/dspam-cvs-devel.20050208.1530/src/dspam --daemon --debug
 ==76774== Memcheck, a memory error detector for x86-linux.
 ==76774== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward.
 ==76774== Using valgrind-2.1.0, a program supervision framework for x86-linux.
 ==76774== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward.
 ==76774== Estimated CPU clock rate is 2016 MHz
 ==76774== For more details, rerun with: -v
 ==76774==
 76774: [2/9/2005 18:4:36] Daemon process starting
 76774: [2/9/2005 18:4:36] spawning daemon listener
 76774: [2/9/2005 18:4:36] Binding to :24
 76774: [2/9/2005 18:4:52] connection id 7 from 127.0.0.1.
 76774: [2/9/2005 18:4:53] No QuarantineAgent option found. Using quarantine.
 76774: [2/9/2005 18:4:53] using database handle id 1
 76774: [2/9/2005 18:4:53] DSPAM Instance Startup
 76774: [2/9/2005 18:4:53] input args: --user itetcu --classify
 76774: [2/9/2005 18:4:53] pass-thru args: /usr/libexec/mail.local -d %u
 76774: [2/9/2005 18:4:53] processing user itetcu
 76774: [2/9/2005 18:4:53] uid = 0, euid = 0, gid = 0, egid = 0
 76774: [2/9/2005 18:4:53] Loading preferences for user itetcu
 76774: [2/9/2005 18:4:53] Loading preferences from dspam.conf
 76774: [2/9/2005 18:4:53] using /var/db/dspam/opt-in/itetcu.dspam as path
 76774: [2/9/2005 18:4:53] using /var/db/dspam/opt-out/itetcu.nodspam as path
 76774: [2/9/2005 18:4:53] sedation level set to: 4
 76774: [2/9/2005 18:4:54] Loading 133 BNR patterns
 ==76774==
 ==76774== Process terminating with default action of signal 10 (SIGBUS): 
dumping core
 ==76774==    at 0x8060958: bnr_finalize (bnr.c:313)
 ==76774==    by 0x805B681: _ds_operate (libdspam.c:1213)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==    by 0x804F587: process_message (dspam.c:396)
 ==76774==
 ==76774== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
 ==76774== malloc/free: in use at exit: 257198 bytes in 2418 blocks.
 ==76774== malloc/free: 3456 allocs, 1038 frees, 602362 bytes allocated.
 ==76774== For counts of detected errors, rerun with: -v
 ==76774== searching for pointers to 2418 not-freed blocks.
 ==76774== checked 3451268 bytes.
 ==76774==
 ==76774== 4 bytes in 1 blocks are still reachable in loss record 1 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805F25E: _ds_actualize_message (decode.c:78)
 ==76774==    by 0x804F48C: process_message (dspam.c:320)
 ==76774==    by 0x8050BD6: process_users (dspam.c:1408)
 ==76774==
 ==76774==
 ==76774== 7 bytes in 1 blocks are still reachable in loss record 2 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x80612C9: _mysql_drv_getpwnam (mysql_drv.c:1549)
 ==76774==    by 0x8063650: _mysql_drv_get_spamtotals (mysql_drv.c:179)
 ==76774==
 ==76774==
 ==76774== 7 bytes in 1 blocks are still reachable in loss record 3 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x8056A6B: dspam_create (libdspam.c:179)
 ==76774==    by 0x804D8E1: ctx_init (dspam.c:2001)
 ==76774==
 ==76774==
 ==76774== 7 bytes in 1 blocks are still reachable in loss record 4 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D87F: nt_add (nodetree.c:110)
 ==76774==    by 0x8055CE5: process_arguments (agent_shared.c:300)
 ==76774==    by 0x8053F60: process_connection (daemon.c:349)
 ==76774==
 ==76774==
 ==76774== 8 bytes in 1 blocks are still reachable in loss record 5 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D641: nt_node_create (nodetree.c:37)
 ==76774==    by 0x805D8A7: nt_add (nodetree.c:132)
 ==76774==    by 0x805F776: _ds_actualize_message (decode.c:200)
 ==76774==
 ==76774==
 ==76774== 8 bytes in 1 blocks are still reachable in loss record 6 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D641: nt_node_create (nodetree.c:37)
 ==76774==    by 0x805D8A7: nt_add (nodetree.c:132)
 ==76774==    by 0x805F2B5: _ds_actualize_message (decode.c:110)
 ==76774==
 ==76774==
 ==76774== 8 bytes in 1 blocks are still reachable in loss record 7 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805696F: dspam_create (libdspam.c:156)
 ==76774==    by 0x804D8E1: ctx_init (dspam.c:2001)
 ==76774==    by 0x804F3D4: process_message (dspam.c:277)
 ==76774==
 ==76774==
 ==76774== 8 bytes in 1 blocks are still reachable in loss record 8 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8050580: process_users (dspam.c:1215)
 ==76774==    by 0x80540DF: process_connection (daemon.c:404)
 ==76774==    by 0x3C1C6692: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==
 ==76774==
 ==76774== 8 bytes in 1 blocks are still reachable in loss record 9 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D641: nt_node_create (nodetree.c:37)
 ==76774==    by 0x805D8A7: nt_add (nodetree.c:132)
 ==76774==    by 0x8055CE5: process_arguments (agent_shared.c:300)
 ==76774==
 ==76774==
 ==76774== 8 bytes in 1 blocks are still reachable in loss record 10 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805696F: dspam_create (libdspam.c:156)
 ==76774==    by 0x80514E3: daemon_start (dspam.c:2964)
 ==76774==    by 0x8051B40: main (dspam.c:156)
 ==76774==
 ==76774==
 ==76774== 10 bytes in 2 blocks are still reachable in loss record 11 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x3C27D61E: _nsdbtaddsrc (in /lib/libc.so.5)
 ==76774==    by 0x3C27A48F: (within /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 12 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060AE9: bnr_hash_create (hash.c:60)
 ==76774==    by 0x806059A: bnr_init (bnr.c:65)
 ==76774==    by 0x805B1A8: _ds_operate (libdspam.c:1141)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 13 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060AE9: bnr_hash_create (hash.c:60)
 ==76774==    by 0x806059A: bnr_init (bnr.c:65)
 ==76774==    by 0x805B192: _ds_operate (libdspam.c:1140)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 14 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C92D: buffer_create (buffer.c:34)
 ==76774==    by 0x805BB5A: dspam_process (libdspam.c:481)
 ==76774==    by 0x804F587: process_message (dspam.c:396)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 15 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C92D: buffer_create (buffer.c:34)
 ==76774==    by 0x805BB4C: dspam_process (libdspam.c:480)
 ==76774==    by 0x804F587: process_message (dspam.c:396)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 16 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C92D: buffer_create (buffer.c:34)
 ==76774==    by 0x805DEC6: _ds_create_message_block (decode.c:308)
 ==76774==    by 0x805F28D: _ds_actualize_message (decode.c:99)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 17 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C92D: buffer_create (buffer.c:34)
 ==76774==    by 0x80506EA: process_users (dspam.c:1241)
 ==76774==    by 0x80540DF: process_connection (daemon.c:404)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 18 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C92D: buffer_create (buffer.c:34)
 ==76774==    by 0x80537AB: read_sock (daemon.c:484)
 ==76774==    by 0x805408C: process_connection (daemon.c:390)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 19 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C92D: buffer_create (buffer.c:34)
 ==76774==    by 0x8053C24: process_connection (daemon.c:248)
 ==76774==    by 0x3C1C6692: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 20 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C1C58D0: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x3C1C6F49: pthread_mutex_init (in 
/usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x3C1C6FA9: pthread_mutex_lock (in 
/usr/local/lib/valgrind/libpthread.so.1)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 21 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8065B4F: dspam_init_driver (mysql_drv.c:101)
 ==76774==    by 0x805151A: daemon_start (dspam.c:2980)
 ==76774==    by 0x8051B40: main (dspam.c:156)
 ==76774==
 ==76774==
 ==76774== 12 bytes in 1 blocks are still reachable in loss record 22 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C1C58D0: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x3C1C6F49: pthread_mutex_init (in 
/usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x805142A: daemon_start (dspam.c:2957)
 ==76774==
 ==76774==
 ==76774== 14 bytes in 1 blocks are still reachable in loss record 23 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x8056A5B: dspam_create (libdspam.c:169)
 ==76774==    by 0x804D8E1: ctx_init (dspam.c:2001)
 ==76774==
 ==76774==
 ==76774== 14 bytes in 1 blocks are still reachable in loss record 24 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x8056A5B: dspam_create (libdspam.c:169)
 ==76774==    by 0x80514E3: daemon_start (dspam.c:2964)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 25 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060F21: bnr_list_create (list.c:50)
 ==76774==    by 0x806058B: bnr_init (bnr.c:64)
 ==76774==    by 0x805B1A8: _ds_operate (libdspam.c:1141)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 26 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060F21: bnr_list_create (list.c:50)
 ==76774==    by 0x806058B: bnr_init (bnr.c:64)
 ==76774==    by 0x805B192: _ds_operate (libdspam.c:1140)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 2 blocks are still reachable in loss record 27 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D641: nt_node_create (nodetree.c:37)
 ==76774==    by 0x805D8A7: nt_add (nodetree.c:132)
 ==76774==    by 0x805C79A: ds_diction_touch (diction.c:183)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 28 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C0B9: ds_heap_create (heap.c:39)
 ==76774==    by 0x8059C71: _ds_operate (libdspam.c:685)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 29 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x805C34D: ds_diction_create (diction.c:68)
 ==76774==    by 0x8059C23: _ds_operate (libdspam.c:661)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 30 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x805C33E: ds_diction_create (diction.c:67)
 ==76774==    by 0x8059C23: _ds_operate (libdspam.c:661)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 31 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x805C34D: ds_diction_create (diction.c:68)
 ==76774==    by 0x8059C11: _ds_operate (libdspam.c:660)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 32 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x805C33E: ds_diction_create (diction.c:67)
 ==76774==    by 0x8059C11: _ds_operate (libdspam.c:660)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 33 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x805DEB4: _ds_create_message_block (decode.c:300)
 ==76774==    by 0x805F28D: _ds_actualize_message (decode.c:99)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 34 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x805F278: _ds_actualize_message (decode.c:88)
 ==76774==    by 0x804F48C: process_message (dspam.c:320)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 35 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x804D7C2: ctx_init (dspam.c:1820)
 ==76774==    by 0x804F3D4: process_message (dspam.c:277)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 36 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x804D7A5: ctx_init (dspam.c:1813)
 ==76774==    by 0x804F3D4: process_message (dspam.c:277)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 3 blocks are still reachable in loss record 37 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x805FAE0: _ds_pref_new (pref.c:136)
 ==76774==    by 0x805FBB3: _ds_pref_aggregate (pref.c:53)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 38 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x80555E2: initialize_atx (agent_shared.c:172)
 ==76774==    by 0x8053F36: process_connection (daemon.c:349)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 39 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C1C58D0: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x3C1C5A51: pthread_attr_init (in 
/usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x805286D: daemon_listen (daemon.c:95)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 3 blocks are still reachable in loss record 40 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x3C27B5AF: _nsyylex (in /lib/libc.so.5)
 ==76774==    by 0x3C27AA24: _nsyyparse (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 16 bytes in 1 blocks are still reachable in loss record 41 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D6F1: nt_create (nodetree.c:51)
 ==76774==    by 0x80555E2: initialize_atx (agent_shared.c:172)
 ==76774==    by 0x805192D: main (dspam.c:135)
 ==76774==
 ==76774==
 ==76774== 18 bytes in 3 blocks are still reachable in loss record 42 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C5D0: my_strdup (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x806950A: mysql_real_connect (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x80655A5: _mysql_drv_connect (mysql_drv.c:2690)
 ==76774==
 ==76774==
 ==76774== 18 bytes in 3 blocks are still reachable in loss record 43 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C5D0: my_strdup (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8068E5A: mysql_real_connect (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x80655A5: _mysql_drv_connect (mysql_drv.c:2690)
 ==76774==
 ==76774==
 ==76774== 21 bytes in 3 blocks are still reachable in loss record 44 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C5D0: my_strdup (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x80692C6: mysql_real_connect (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x80655A5: _mysql_drv_connect (mysql_drv.c:2690)
 ==76774==
 ==76774==
 ==76774== 24 bytes in 3 blocks are still reachable in loss record 45 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805FAC2: _ds_pref_new (pref.c:128)
 ==76774==    by 0x805FBB3: _ds_pref_aggregate (pref.c:53)
 ==76774==    by 0x8050883: process_users (dspam.c:1340)
 ==76774==
 ==76774==
 ==76774== 24 bytes in 3 blocks are still reachable in loss record 46 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8065B82: dspam_init_driver (mysql_drv.c:108)
 ==76774==    by 0x805151A: daemon_start (dspam.c:2980)
 ==76774==    by 0x8051B40: main (dspam.c:156)
 ==76774==
 ==76774==
 ==76774== 28 bytes in 1 blocks are still reachable in loss record 47 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C2EE: ds_diction_create (diction.c:45)
 ==76774==    by 0x8059C23: _ds_operate (libdspam.c:661)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==
 ==76774==
 ==76774== 28 bytes in 1 blocks are still reachable in loss record 48 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C2EE: ds_diction_create (diction.c:45)
 ==76774==    by 0x8059C11: _ds_operate (libdspam.c:660)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==
 ==76774==
 ==76774== 29 bytes in 1 blocks are still reachable in loss record 49 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8054B18: pop_buffer (client.c:338)
 ==76774==    by 0x805362B: daemon_getline (daemon.c:649)
 ==76774==    by 0x8053691: daemon_expect (daemon.c:582)
 ==76774==
 ==76774==
 ==76774== 32 bytes in 2 blocks are still reachable in loss record 50 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060EE4: bnr_list_node_create (list.c:36)
 ==76774==    by 0x8061078: bnr_list_insert (list.c:134)
 ==76774==    by 0x8060641: bnr_add (bnr.c:102)
 ==76774==
 ==76774==
 ==76774== 36 bytes in 1 blocks are still reachable in loss record 51 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805DEA2: _ds_create_message_block (decode.c:292)
 ==76774==    by 0x805F28D: _ds_actualize_message (decode.c:99)
 ==76774==    by 0x804F48C: process_message (dspam.c:320)
 ==76774==
 ==76774==
 ==76774== 36 bytes in 1 blocks are still reachable in loss record 52 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8052C3B: daemon_listen (daemon.c:199)
 ==76774==    by 0x80516D5: daemon_start (dspam.c:2999)
 ==76774==    by 0x8051B40: main (dspam.c:156)
 ==76774==
 ==76774==
 ==76774== 36 bytes in 3 blocks are still reachable in loss record 53 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C1C58D0: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x3C1C6F49: pthread_mutex_init (in 
/usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x8065BA5: dspam_init_driver (mysql_drv.c:111)
 ==76774==
 ==76774==
 ==76774== 40 bytes in 1 blocks are still reachable in loss record 54 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x805B35A: _ds_operate (libdspam.c:1160)
 ==76774==
 ==76774==
 ==76774== 40 bytes in 1 blocks are still reachable in loss record 55 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x8059F89: _ds_operate (libdspam.c:842)
 ==76774==
 ==76774==
 ==76774== 40 bytes in 1 blocks are still reachable in loss record 56 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C27AEA9: (within /lib/libc.so.5)
 ==76774==    by 0x3C27B066: _nsyy_create_buffer (in /lib/libc.so.5)
 ==76774==    by 0x3C27B456: _nsyylex (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 41 bytes in 3 blocks are still reachable in loss record 57 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x805FAD3: _ds_pref_new (pref.c:135)
 ==76774==    by 0x805FBB3: _ds_pref_aggregate (pref.c:53)
 ==76774==
 ==76774==
 ==76774== 48 bytes in 1 blocks are still reachable in loss record 58 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806055E: bnr_init (bnr.c:54)
 ==76774==    by 0x805B1A8: _ds_operate (libdspam.c:1141)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==
 ==76774==
 ==76774== 48 bytes in 1 blocks are still reachable in loss record 59 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806055E: bnr_init (bnr.c:54)
 ==76774==    by 0x805B192: _ds_operate (libdspam.c:1140)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==
 ==76774==
 ==76774== 60 bytes in 5 blocks are still reachable in loss record 60 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806033B: _ds_add_attribute (config_shared.c:62)
 ==76774==    by 0x80523C7: set_libdspam_attributes (config_api.c:72)
 ==76774==    by 0x804F3F0: process_message (dspam.c:286)
 ==76774==
 ==76774==
 ==76774== 60 bytes in 5 blocks are still reachable in loss record 61 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806033B: _ds_add_attribute (config_shared.c:62)
 ==76774==    by 0x80523C7: set_libdspam_attributes (config_api.c:72)
 ==76774==    by 0x80514F6: daemon_start (dspam.c:2973)
 ==76774==
 ==76774==
 ==76774== 64 bytes in 1 blocks are still reachable in loss record 62 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C416: my_malloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x806FADA: init_dynamic_array (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8070F7C: get_charset (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==
 ==76774==
 ==76774== 64 bytes in 1 blocks are still reachable in loss record 63 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C0409C4: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C27D28C: (within /lib/libc.so.5)
 ==76774==    by 0x3C27D5BA: _nsdbtaddsrc (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 72 bytes in 6 blocks are still reachable in loss record 64 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x80602E7: _ds_add_attribute (config_shared.c:72)
 ==76774==    by 0x80523C7: set_libdspam_attributes (config_api.c:72)
 ==76774==    by 0x804F3F0: process_message (dspam.c:286)
 ==76774==
 ==76774==
 ==76774== 72 bytes in 6 blocks are still reachable in loss record 65 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x80602E7: _ds_add_attribute (config_shared.c:72)
 ==76774==    by 0x80523C7: set_libdspam_attributes (config_api.c:72)
 ==76774==    by 0x80514F6: daemon_start (dspam.c:2973)
 ==76774==
 ==76774==
 ==76774== 96 bytes in 1 blocks are still reachable in loss record 66 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C0409C4: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C27D28C: (within /lib/libc.so.5)
 ==76774==    by 0x3C27D50E: _nsdbtput (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 121 bytes in 1 blocks are still reachable in loss record 67 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8051F8F: read_config (read_config.c:150)
 ==76774==    by 0x80518FA: main (dspam.c:121)
 ==76774==    by 0x804AF75: _start (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==
 ==76774==
 ==76774== 124 bytes in 1 blocks are still reachable in loss record 68 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805694F: dspam_create (libdspam.c:152)
 ==76774==    by 0x804D8E1: ctx_init (dspam.c:2001)
 ==76774==    by 0x804F3D4: process_message (dspam.c:277)
 ==76774==
 ==76774==
 ==76774== 124 bytes in 1 blocks are still reachable in loss record 69 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805694F: dspam_create (libdspam.c:152)
 ==76774==    by 0x80514E3: daemon_start (dspam.c:2964)
 ==76774==    by 0x8051B40: main (dspam.c:156)
 ==76774==
 ==76774==
 ==76774== 128 bytes in 1 blocks are still reachable in loss record 70 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805FB8A: _ds_pref_aggregate (pref.c:48)
 ==76774==    by 0x8050883: process_users (dspam.c:1340)
 ==76774==    by 0x80540DF: process_connection (daemon.c:404)
 ==76774==
 ==76774==
 ==76774== 160 bytes in 1 blocks are still reachable in loss record 71 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C0409C4: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C27D28C: (within /lib/libc.so.5)
 ==76774==    by 0x3C27D752: _nsdbtaddsrc (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 192 bytes in 22 blocks are still reachable in loss record 72 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x80602F8: _ds_add_attribute (config_shared.c:79)
 ==76774==    by 0x80523C7: set_libdspam_attributes (config_api.c:72)
 ==76774==
 ==76774==
 ==76774== 200 bytes in 1 blocks are definitely lost in loss record 73 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C1C58D0: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x3C1C82E1: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0x3C1C846D: pthread_key_create (in 
/usr/local/lib/valgrind/libpthread.so.1)
 ==76774==
 ==76774==
 ==76774== 256 bytes in 22 blocks are still reachable in loss record 74 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x8060305: _ds_add_attribute (config_shared.c:80)
 ==76774==    by 0x80523C7: set_libdspam_attributes (config_api.c:72)
 ==76774==
 ==76774==
 ==76774== 288 bytes in 3 blocks are still reachable in loss record 75 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C416: my_malloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x806EC58: my_multi_malloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8068E40: mysql_real_connect (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==
 ==76774==
 ==76774== 312 bytes in 26 blocks are still reachable in loss record 76 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x80602E7: _ds_add_attribute (config_shared.c:72)
 ==76774==    by 0x8051EEF: read_config (read_config.c:143)
 ==76774==    by 0x80518FA: main (dspam.c:121)
 ==76774==
 ==76774==
 ==76774== 320 bytes in 8 blocks are still reachable in loss record 77 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x805A28D: _ds_operate (libdspam.c:974)
 ==76774==
 ==76774==
 ==76774== 344 bytes in 43 blocks are still reachable in loss record 78 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D641: nt_node_create (nodetree.c:37)
 ==76774==    by 0x805D859: nt_add (nodetree.c:125)
 ==76774==    by 0x805F776: _ds_actualize_message (decode.c:200)
 ==76774==
 ==76774==
 ==76774== 348 bytes in 29 blocks are still reachable in loss record 79 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806033B: _ds_add_attribute (config_shared.c:62)
 ==76774==    by 0x8051EEF: read_config (read_config.c:143)
 ==76774==    by 0x80518FA: main (dspam.c:121)
 ==76774==
 ==76774==
 ==76774== 400 bytes in 1 blocks are still reachable in loss record 80 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C27A54E: (within /lib/libc.so.5)
 ==76774==    by 0x3C27AA0A: _nsyyparse (in /lib/libc.so.5)
 ==76774==    by 0x3C27DA68: _nsdispatch (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 420 bytes in 3 blocks are still reachable in loss record 81 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C416: my_malloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8072CF8: vio_new (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x806868A: mysql_real_connect (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==
 ==76774==
 ==76774== 512 bytes in 1 blocks are still reachable in loss record 82 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8056997: dspam_create (libdspam.c:162)
 ==76774==    by 0x804D8E1: ctx_init (dspam.c:2001)
 ==76774==    by 0x804F3D4: process_message (dspam.c:277)
 ==76774==
 ==76774==
 ==76774== 512 bytes in 1 blocks are still reachable in loss record 83 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8056997: dspam_create (libdspam.c:162)
 ==76774==    by 0x80514E3: daemon_start (dspam.c:2964)
 ==76774==    by 0x8051B40: main (dspam.c:156)
 ==76774==
 ==76774==
 ==76774== 534 bytes in 44 blocks are still reachable in loss record 84 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x805DC3F: _ds_create_header_field (decode.c:457)
 ==76774==    by 0x805F736: _ds_actualize_message (decode.c:194)
 ==76774==
 ==76774==
 ==76774== 582 bytes in 55 blocks are still reachable in loss record 85 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x8060305: _ds_add_attribute (config_shared.c:80)
 ==76774==    by 0x8051EEF: read_config (read_config.c:143)
 ==76774==
 ==76774==
 ==76774== 597 bytes in 55 blocks are still reachable in loss record 86 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x80602F8: _ds_add_attribute (config_shared.c:79)
 ==76774==    by 0x8051EEF: read_config (read_config.c:143)
 ==76774==
 ==76774==
 ==76774== 704 bytes in 44 blocks are still reachable in loss record 87 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805DBE3: _ds_create_header_field (decode.c:430)
 ==76774==    by 0x805F736: _ds_actualize_message (decode.c:194)
 ==76774==    by 0x804F48C: process_message (dspam.c:320)
 ==76774==
 ==76774==
 ==76774== 725 bytes in 1 blocks are still reachable in loss record 88 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805CA52: buffer_copy (buffer.c:99)
 ==76774==    by 0x80584F0: _ds_degenerate_message (libdspam.c:2487)
 ==76774==    by 0x805BBAC: dspam_process (libdspam.c:506)
 ==76774==
 ==76774==
 ==76774== 766 bytes in 1 blocks are still reachable in loss record 89 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805CB0A: buffer_cat (buffer.c:143)
 ==76774==    by 0x805F5DB: _ds_actualize_message (decode.c:271)
 ==76774==    by 0x804F48C: process_message (dspam.c:320)
 ==76774==
 ==76774==
 ==76774== 800 bytes in 1 blocks are still reachable in loss record 90 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C27A62F: (within /lib/libc.so.5)
 ==76774==    by 0x3C27AA0A: _nsyyparse (in /lib/libc.so.5)
 ==76774==    by 0x3C27DA68: _nsdispatch (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 984 bytes in 30 blocks are still reachable in loss record 91 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x805DC86: _ds_create_header_field (decode.c:494)
 ==76774==    by 0x805F736: _ds_actualize_message (decode.c:194)
 ==76774==
 ==76774==
 ==76774== 984 bytes in 30 blocks are still reachable in loss record 92 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x805DC77: _ds_create_header_field (decode.c:484)
 ==76774==    by 0x805F736: _ds_actualize_message (decode.c:194)
 ==76774==
 ==76774==
 ==76774== 1026 bytes in 1 blocks are still reachable in loss record 93 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C27AEA9: (within /lib/libc.so.5)
 ==76774==    by 0x3C27B077: _nsyy_create_buffer (in /lib/libc.so.5)
 ==76774==    by 0x3C27B456: _nsyylex (in /lib/libc.so.5)
 ==76774==
 ==76774==
 ==76774== 1115 bytes in 1 blocks are still reachable in loss record 94 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805CB0A: buffer_cat (buffer.c:143)
 ==76774==    by 0x8053620: daemon_getline (daemon.c:648)
 ==76774==    by 0x80537CC: read_sock (daemon.c:568)
 ==76774==
 ==76774==
 ==76774== 1212 bytes in 1 blocks are still reachable in loss record 95 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x80658B6: _ds_init_storage (mysql_drv.c:956)
 ==76774==    by 0x8056C87: dspam_attach (libdspam.c:319)
 ==76774==    by 0x805257A: attach_context (config_api.c:101)
 ==76774==
 ==76774==
 ==76774== 1528 bytes in 191 blocks are still reachable in loss record 96 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805D641: nt_node_create (nodetree.c:37)
 ==76774==    by 0x805D859: nt_add (nodetree.c:125)
 ==76774==    by 0x805C79A: ds_diction_touch (diction.c:183)
 ==76774==
 ==76774==
 ==76774== 1584 bytes in 132 blocks are still reachable in loss record 97 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060AAA: bnr_hash_node_create (hash.c:48)
 ==76774==    by 0x8060DE4: bnr_hash_hit (hash.c:198)
 ==76774==    by 0x80607B5: bnr_instantiate (bnr.c:143)
 ==76774==
 ==76774==
 ==76774== 1632 bytes in 3 blocks are still reachable in loss record 98 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C416: my_malloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8067043: mysql_init (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8065542: _mysql_drv_connect (mysql_drv.c:2670)
 ==76774==
 ==76774==
 ==76774== 2272 bytes in 14 blocks are still reachable in loss record 99 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805F559: _ds_actualize_message (decode.c:166)
 ==76774==    by 0x804F48C: process_message (dspam.c:320)
 ==76774==    by 0x8050BD6: process_users (dspam.c:1408)
 ==76774==
 ==76774==
 ==76774== 2333 bytes in 14 blocks are still reachable in loss record 100 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805F4D4: _ds_actualize_message (decode.c:154)
 ==76774==    by 0x804F48C: process_message (dspam.c:320)
 ==76774==    by 0x8050BD6: process_users (dspam.c:1408)
 ==76774==
 ==76774==
 ==76774== 2904 bytes in 132 blocks are still reachable in loss record 101 of 
120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x8060ABB: bnr_hash_node_create (hash.c:51)
 ==76774==    by 0x8060DE4: bnr_hash_hit (hash.c:198)
 ==76774==
 ==76774==
 ==76774== 3056 bytes in 191 blocks are still reachable in loss record 102 of 
120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060EE4: bnr_list_node_create (list.c:36)
 ==76774==    by 0x8061028: bnr_list_insert (list.c:125)
 ==76774==    by 0x8060641: bnr_add (bnr.c:102)
 ==76774==
 ==76774==
 ==76774== 3056 bytes in 1 blocks are still reachable in loss record 103 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8053F1A: process_connection (daemon.c:342)
 ==76774==    by 0x3C1C6692: (within /usr/local/lib/valgrind/libpthread.so.1)
 ==76774==    by 0xB8010B53: (within /usr/local/lib/valgrind/stage2)
 ==76774==
 ==76774==
 ==76774== 3120 bytes in 78 blocks are still reachable in loss record 104 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x8057A56: _ds_process_body_token (libdspam.c:2132)
 ==76774==
 ==76774==
 ==76774== 3640 bytes in 91 blocks are still reachable in loss record 105 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x8057ACA: _ds_process_body_token (libdspam.c:2144)
 ==76774==
 ==76774==
 ==76774== 4088 bytes in 1 blocks are still reachable in loss record 106 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8075DE3: my_once_alloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8070206: read_charset_index (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8070F88: get_charset (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==
 ==76774==
 ==76774== 4620 bytes in 1 blocks are still reachable in loss record 107 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C953: buffer_create (buffer.c:49)
 ==76774==    by 0x80506EA: process_users (dspam.c:1241)
 ==76774==    by 0x80540DF: process_connection (daemon.c:404)
 ==76774==
 ==76774==
 ==76774== 4708 bytes in 1 blocks are still reachable in loss record 108 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805CB0A: buffer_cat (buffer.c:143)
 ==76774==    by 0x8058431: _ds_degenerate_message (libdspam.c:2351)
 ==76774==    by 0x805BBAC: dspam_process (libdspam.c:506)
 ==76774==
 ==76774==
 ==76774== 4920 bytes in 123 blocks are still reachable in loss record 109 of 
120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x8057DDF: _ds_process_header_token (libdspam.c:2082)
 ==76774==
 ==76774==
 ==76774== 5280 bytes in 132 blocks are still reachable in loss record 110 of 
120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x8059BB8: _ds_instantiate_bnr (libdspam.c:3103)
 ==76774==
 ==76774==
 ==76774== 6074 bytes in 1 blocks are still reachable in loss record 111 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805CB0A: buffer_cat (buffer.c:143)
 ==76774==    by 0x8053937: read_sock (daemon.c:540)
 ==76774==    by 0x805408C: process_connection (daemon.c:390)
 ==76774==
 ==76774==
 ==76774== 6172 bytes in 1 blocks are still reachable in loss record 112 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060B24: bnr_hash_create (hash.c:68)
 ==76774==    by 0x806059A: bnr_init (bnr.c:65)
 ==76774==    by 0x805B1A8: _ds_operate (libdspam.c:1141)
 ==76774==
 ==76774==
 ==76774== 6172 bytes in 1 blocks are still reachable in loss record 113 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8060B24: bnr_hash_create (hash.c:68)
 ==76774==    by 0x806059A: bnr_init (bnr.c:65)
 ==76774==    by 0x805B192: _ds_operate (libdspam.c:1140)
 ==76774==
 ==76774==
 ==76774== 6720 bytes in 168 blocks are still reachable in loss record 114 of 
120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C642: ds_diction_term_create (diction.c:113)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==    by 0x8057CFE: _ds_process_header_token (libdspam.c:2068)
 ==76774==
 ==76774==
 ==76774== 10154 bytes in 602 blocks are still reachable in loss record 115 of 
120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x3C2896BF: strdup (in /lib/libc.so.5)
 ==76774==    by 0x805C666: ds_diction_term_create (diction.c:121)
 ==76774==    by 0x805C75F: ds_diction_touch (diction.c:163)
 ==76774==
 ==76774==
 ==76774== 12316 bytes in 1 blocks are still reachable in loss record 116 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C32B: ds_diction_create (diction.c:58)
 ==76774==    by 0x8059C23: _ds_operate (libdspam.c:661)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==
 ==76774==
 ==76774== 13308 bytes in 1 blocks are still reachable in loss record 117 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806243C: _ds_get_signature (mysql_drv.c:1123)
 ==76774==    by 0x804FAED: process_message (dspam.c:352)
 ==76774==    by 0x8050BD6: process_users (dspam.c:1408)
 ==76774==
 ==76774==
 ==76774== 16391 bytes in 1 blocks are still reachable in loss record 118 of 120
 ==76774==    at 0x3C040A43: realloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x8075137: my_realloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8074CA0: my_real_read (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8074E86: my_net_read (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==
 ==76774==
 ==76774== 16398 bytes in 2 blocks are still reachable in loss record 119 of 120
 ==76774==    at 0x3C040183: malloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x806C416: my_malloc (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x80742CB: my_net_init (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==    by 0x8068712: mysql_real_connect (in 
/usr/ports/mail/dspam-devel.my/work/dspam-cvs-devel.20050208.1530/src/dspam)
 ==76774==
 ==76774==
 ==76774== 98372 bytes in 1 blocks are still reachable in loss record 120 of 120
 ==76774==    at 0x3C04094B: calloc (in 
/usr/local/lib/valgrind/vgpreload_memcheck.so)
 ==76774==    by 0x805C32B: ds_diction_create (diction.c:58)
 ==76774==    by 0x8059C11: _ds_operate (libdspam.c:660)
 ==76774==    by 0x805BBEE: dspam_process (libdspam.c:525)
 ==76774==
 ==76774== LEAK SUMMARY:
 ==76774==    definitely lost: 200 bytes in 1 blocks.
 ==76774==    possibly lost:   0 bytes in 0 blocks.
 ==76774==    still reachable: 256998 bytes in 2417 blocks.
 ==76774==         suppressed: 0 bytes in 0 blocks.
 Bus error (core dumped)


-- 
IOnut
Unregistered ;) FreeBSD "user"


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to