I got following error prompt on the console when Outlook Express tried to retrieve emails:
(process:8443): GLib-CRITICAL **: file gstrfuncs.c: line 2152 (g_strsplit): assertion `string != NULL' failed Then I run valgrind got following: [/var/log]# cat maillog.debug | valgrind --tool=memcheck -v /usr/local/dbmail/2.1/sbin/dbmail-imapd -n 2> debug.txt * OK dbmail imap (protocol version 4r1) server 2.1 ready to run Nov BAD command not recognized See maillog.debug and debug.txt in attachments. I'm running CentOS 4.2, pgsql 8.1. DBmail is svn checkout version 1915 (delete line 214 in dm_imaputil.c which reads g_free(result) as mentioned before cuz I got the same error). Thanks, Kevin
maillog.debug
Description: Binary data
==8532== Memcheck, a memory error detector for x86-linux. ==8532== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==8532== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==8532== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==8532== Valgrind library directory: /usr/lib/valgrind ==8532== Command line ==8532== /usr/local/dbmail/2.1/sbin/dbmail-imapd ==8532== -n ==8532== Startup, with flags: ==8532== --tool=memcheck ==8532== -v ==8532== Contents of /proc/version: ==8532== Linux version 2.6.9-22.0.1.EL ([EMAIL PROTECTED]) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 Thu Oct 27 12:26:11 CDT 2005 ==8532== Reading syms from /usr/local/dbmail/2.1/sbin/dbmail-imapd (0x8048000) ==8532== object doesn't have a symbol table ==8532== object doesn't have any debug info ==8532== Reading syms from /lib/ld-2.3.4.so (0x1B8E4000) ==8532== object doesn't have any debug info ==8532== Reading syms from /usr/lib/valgrind/stage2 (0xB0000000) ==8532== Reading syms from /lib/ld-2.3.4.so (0xB1000000) ==8532== object doesn't have any debug info ==8532== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB7C9B000) ==8532== Reading syms from /lib/tls/libc-2.3.4.so (0xB7EC4000) ==8532== object doesn't have any debug info ==8532== Reading syms from /lib/libdl-2.3.4.so (0xB7FEF000) ==8532== object doesn't have any debug info ==8532== Reading suppressions file: /usr/lib/valgrind/default.supp ==8532== REDIRECT soname:libc.so.6(__GI___errno_location) to soname:libpthread.so.0(__errno_location) ==8532== REDIRECT soname:libc.so.6(__errno_location) to soname:libpthread.so.0(__errno_location) ==8532== REDIRECT soname:libc.so.6(__GI___h_errno_location) to soname:libpthread.so.0(__h_errno_location) ==8532== REDIRECT soname:libc.so.6(__h_errno_location) to soname:libpthread.so.0(__h_errno_location) ==8532== REDIRECT soname:libc.so.6(__GI___res_state) to soname:libpthread.so.0(__res_state) ==8532== REDIRECT soname:libc.so.6(__res_state) to soname:libpthread.so.0(__res_state) ==8532== REDIRECT soname:libc.so.6(stpcpy) to *vgpreload_memcheck.so*(stpcpy) ==8532== REDIRECT soname:libc.so.6(strnlen) to *vgpreload_memcheck.so*(strnlen) ==8532== REDIRECT soname:ld-linux.so.2(stpcpy) to *vgpreload_memcheck.so*(stpcpy) ==8532== REDIRECT soname:ld-linux.so.2(strchr) to *vgpreload_memcheck.so*(strchr) ==8532== ==8532== Reading syms from /usr/lib/valgrind/vg_inject.so (0x1B8FC000) ==8532== Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x1B901000) ==8532== TRANSLATE: 0x1B8F5F00 redirected to 0x1B90420C ==8532== Reading syms from /usr/local/dbmail/2.1/lib/dbmail/libsqldbmail.so.0.0.0 (0x1B908000) ==8532== object doesn't have a symbol table ==8532== object doesn't have any debug info ==8532== Reading syms from /lib/libcrypt-2.3.4.so (0xCAF000) ==8532== object doesn't have any debug info ==8532== Reading syms from /usr/local/pgsql/8.1.0/lib/libpq.so.4.1 (0x1B91C000) ==8532== object doesn't have a symbol table ==8532== object doesn't have any debug info ==8532== Reading syms from /usr/lib/libgmime-2.0.so.2.1.9 (0x653000) ==8532== object doesn't have a symbol table ==8532== object doesn't have any debug info ==8532== Reading syms from /usr/lib/libz.so.1.2.1.2 (0x789000) ==8532== object doesn't have a symbol table ==8532== object doesn't have any debug info ==8532== Reading syms from /lib/libnsl-2.3.4.so (0x79B000) ==8532== object doesn't have any debug info ==8532== Reading syms from /usr/lib/libgobject-2.0.so.0.400.7 (0x89C000) ==8532== object doesn't have a symbol table ==8532== object doesn't have any debug info ==8532== Reading syms from /usr/lib/libglib-2.0.so.0.400.7 (0x7EE000) ==8532== object doesn't have a symbol table ==8532== object doesn't have any debug info ==8532== Reading syms from /lib/tls/libc-2.3.4.so (0x521000) ==8532== object doesn't have any debug info ==8532== Reading syms from /lib/libresolv-2.3.4.so (0x86B000) ==8532== object doesn't have any debug info ==8532== TRANSLATE: 0x584F00 redirected to 0x1B904A04 ==8532== TRANSLATE: 0x585540 redirected to 0x1B905432 ==8532== TRANSLATE: 0x584C20 redirected to 0x1B905380 ==8532== TRANSLATE: 0x582E30 redirected to 0x1B904F30 ==8532== TRANSLATE: 0x1B8E47A0 redirected to 0x52BFF040 ==8532== TRANSLATE: 0x58B240 redirected to 0x1B904800 ==8532== Reading syms from /lib/libnss_files-2.3.4.so (0x1BA3B000) ==8532== object doesn't have any debug info ==8532== discard syms at 0x1BA3B000-0x1BA46000 in /lib/libnss_files-2.3.4.so due to munmap() ==8532== ==8532== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 2) --8532-- --8532-- supp: 2 _dl_relocate_object/dl_open_worker --8532-- supp: 23 dl_relocate_object/dl_main ==8532== malloc/free: in use at exit: 23543 bytes in 373 blocks. ==8532== malloc/free: 1236 allocs, 863 frees, 1588383 bytes allocated. ==8532== --8532-- TT/TC: 0 tc sectors discarded. --8532-- 9782 tt_fast misses. --8532-- translate: new 8693 (140164 -> 1861772; ratio 132:10) --8532-- discard 140 (1819 -> 25548; ratio 140:10). --8532-- chainings: 6415 chainings, 3 unchainings. --8532-- dispatch: 350000 jumps (bb entries); of them 87332 (24%) unchained. --8532-- 273/12239 major/minor sched events. --8532-- reg-alloc: 1562 t-req-spill, 343870+10812 orig+spill uis, --8532-- 45079 total-reg-rank --8532-- sanity: 274 cheap, 11 expensive checks. --8532-- ccalls: 34470 C calls, 57% saves+restores avoided (116574 bytes) --8532-- 46559 args, avg 0.89 setup instrs each (9726 bytes) --8532-- 0% clear the stack (102966 bytes) --8532-- 12324 retvals, 33% of reg-reg movs avoided (7990 bytes)