Paul, I saw your fix for lmtpd today (01-11-2008), but it still dying. The strange is that with valgrind it doesn't crash/die. I use:
/usr/bin/valgrind.bin --tool=memcheck --leak-check=full --show-reachable=yes --trace-children=yes --suppressions=/usr/local/src/postfix/git/dbmail/contrib/dbmail.supp --log-file=/tmp/lmtpd_zdb /usr/local/sbin/dbmail-lmtpd -f /etc/dbmail.conf -p /var/run/dbmail-lmtpd.pid Anything should be changed? Attached there's a valgrind, see if has any useful info > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Jorge Bastos > Sent: sexta-feira, 31 de Outubro de 2008 14:56 > To: 'DBMail mailinglist' > Subject: RE: [Dbmail] RE: Help on new ZDB system > > Perfect. > About the logs, tell me is that help's you, for you to finish this > lmtpd > issue, to after it go to imapd that dies too. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf Of Paul J Stevens > > Sent: sexta-feira, 31 de Outubro de 2008 14:57 > > To: DBMail mailinglist > > Subject: Re: [Dbmail] RE: Help on new ZDB system > > > > Jorge Bastos wrote: > > > Paul, see if the attached logs help in anything. > > > I have two question, when running on valgrind, something doesn't > work > > as > > > before, what's the best setup to run the zdb system under valgrind? > > > Is there a option for git to use like I did before with svn, I > used: > > > > > > Svn up dbmail > > > > git pull > > > > in the dbmail directory should update your code. > > > > -- > > ________________________________________________________________ > > Paul Stevens paul at nfg.nl > > NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 > > The Netherlands________________________________http://www.nfg.nl > > _______________________________________________ > > DBmail mailing list > > [email protected] > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > _______________________________________________ > DBmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail
==14737== ==14737== Invalid read of size 1 ==14737== at 0x42B675D: dbmail_imap_astring_as_string (dm_misc.c:1277) ==14737== by 0x42BA5B3: imap_get_envelope (dm_misc.c:1913) ==14737== by 0x428C2C5: dbmail_message_cache_envelope (dbmail-message.c:1741) ==14737== by 0x429022A: dbmail_message_cache_headers (dbmail-message.c:1382) ==14737== by 0x4293DF8: dbmail_message_store (dbmail-message.c:1285) ==14737== by 0x4293EAE: insert_messages (dbmail-message.c:2491) ==14737== by 0x80494A0: lmtp (lmtp.c:394) ==14737== by 0x8049AEE: lmtp_cb_read (lmtp.c:74) ==14737== by 0x42C0438: socket_read_cb (clientsession.c:121) ==14737== by 0x42469E1: event_base_loop (in /usr/lib/libevent-1.3e.so.1.0.3) ==14737== by 0x4246C78: event_loop (in /usr/lib/libevent-1.3e.so.1.0.3) ==14737== by 0x4246C9D: event_dispatch (in /usr/lib/libevent-1.3e.so.1.0.3) ==14737== Address 0xb62d59f is 1 bytes before a block of size 1 alloc'd ==14737== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==14737== by 0x415F583: g_malloc (in /usr/lib/libglib-2.0.so.0.1600.6) ==14737== by 0x4178F08: g_strdup (in /usr/lib/libglib-2.0.so.0.1600.6) ==14737== by 0x4095ABC: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x42BA5A9: imap_get_envelope (dm_misc.c:1912) ==14737== by 0x428C2C5: dbmail_message_cache_envelope (dbmail-message.c:1741) ==14737== by 0x429022A: dbmail_message_cache_headers (dbmail-message.c:1382) ==14737== by 0x4293DF8: dbmail_message_store (dbmail-message.c:1285) ==14737== by 0x4293EAE: insert_messages (dbmail-message.c:2491) ==14737== by 0x80494A0: lmtp (lmtp.c:394) ==14737== by 0x8049AEE: lmtp_cb_read (lmtp.c:74) ==14737== by 0x42C0438: socket_read_cb (clientsession.c:121) ==14737== ==14737== Invalid read of size 4 ==14737== at 0x40156A8: (within /lib/ld-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x401154D: (within /lib/ld-2.7.so) ==14737== by 0x44236F1: (within /lib/libc-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x44237F0: (within /lib/libc-2.7.so) ==14737== by 0x4423915: __libc_dlopen_mode (in /lib/libc-2.7.so) ==14737== by 0x4344339: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== by 0x433CA70: (within /lib/libc-2.7.so) ==14737== by 0x433B353: (within /lib/libc-2.7.so) ==14737== Address 0xc101858 is 48 bytes inside a block of size 49 alloc'd ==14737== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==14737== by 0x434442B: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== by 0x433CA70: (within /lib/libc-2.7.so) ==14737== by 0x433B353: (within /lib/libc-2.7.so) ==14737== by 0x433AF1E: iconv_open (in /lib/libc-2.7.so) ==14737== by 0x4079BE9: g_mime_iconv_open (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093585: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093BD1: g_mime_utils_header_decode_text (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D028: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D2B7: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== ==14737== Invalid read of size 4 ==14737== at 0x40156A8: (within /lib/ld-2.7.so) ==14737== by 0x4007D51: (within /lib/ld-2.7.so) ==14737== by 0x4011B46: (within /lib/ld-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x401154D: (within /lib/ld-2.7.so) ==14737== by 0x44236F1: (within /lib/libc-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x44237F0: (within /lib/libc-2.7.so) ==14737== by 0x4423915: __libc_dlopen_mode (in /lib/libc-2.7.so) ==14737== by 0x4344339: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== Address 0xc101858 is 48 bytes inside a block of size 49 alloc'd ==14737== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==14737== by 0x434442B: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== by 0x433CA70: (within /lib/libc-2.7.so) ==14737== by 0x433B353: (within /lib/libc-2.7.so) ==14737== by 0x433AF1E: iconv_open (in /lib/libc-2.7.so) ==14737== by 0x4079BE9: g_mime_iconv_open (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093585: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093BD1: g_mime_utils_header_decode_text (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D028: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D2B7: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== ==14737== Invalid read of size 4 ==14737== at 0x4015820: (within /lib/ld-2.7.so) ==14737== by 0x4007D51: (within /lib/ld-2.7.so) ==14737== by 0x4011B46: (within /lib/ld-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x401154D: (within /lib/ld-2.7.so) ==14737== by 0x44236F1: (within /lib/libc-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x44237F0: (within /lib/libc-2.7.so) ==14737== by 0x4423915: __libc_dlopen_mode (in /lib/libc-2.7.so) ==14737== by 0x4344339: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== Address 0xc101858 is 48 bytes inside a block of size 49 alloc'd ==14737== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==14737== by 0x434442B: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== by 0x433CA70: (within /lib/libc-2.7.so) ==14737== by 0x433B353: (within /lib/libc-2.7.so) ==14737== by 0x433AF1E: iconv_open (in /lib/libc-2.7.so) ==14737== by 0x4079BE9: g_mime_iconv_open (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093585: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093BD1: g_mime_utils_header_decode_text (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D028: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D2B7: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== ==14737== Invalid read of size 4 ==14737== at 0x4015820: (within /lib/ld-2.7.so) ==14737== by 0x4005FB2: (within /lib/ld-2.7.so) ==14737== by 0x4007E0C: (within /lib/ld-2.7.so) ==14737== by 0x4011B46: (within /lib/ld-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x401154D: (within /lib/ld-2.7.so) ==14737== by 0x44236F1: (within /lib/libc-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x44237F0: (within /lib/libc-2.7.so) ==14737== by 0x4423915: __libc_dlopen_mode (in /lib/libc-2.7.so) ==14737== by 0x4344339: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== Address 0xc101858 is 48 bytes inside a block of size 49 alloc'd ==14737== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==14737== by 0x434442B: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== by 0x433CA70: (within /lib/libc-2.7.so) ==14737== by 0x433B353: (within /lib/libc-2.7.so) ==14737== by 0x433AF1E: iconv_open (in /lib/libc-2.7.so) ==14737== by 0x4079BE9: g_mime_iconv_open (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093585: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x4093BD1: g_mime_utils_header_decode_text (in /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D028: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== by 0x407D2B7: (within /usr/lib/libgmime-2.0.so.2.2.22) ==14737== ==14737== Invalid read of size 4 ==14737== at 0x4015820: (within /lib/ld-2.7.so) ==14737== by 0x400DD19: (within /lib/ld-2.7.so) ==14737== by 0x4009E1D: (within /lib/ld-2.7.so) ==14737== by 0x4423760: (within /lib/libc-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x44237F0: (within /lib/libc-2.7.so) ==14737== by 0x44238A5: __libc_dlsym (in /lib/libc-2.7.so) ==14737== by 0x4344390: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so) ==14737== by 0x4343D64: (within /lib/libc-2.7.so) ==14737== by 0x433CA70: (within /lib/libc-2.7.so) ==14737== by 0x433B353: (within /lib/libc-2.7.so) ==14737== Address 0xc1018e8 is 24 bytes inside a block of size 25 alloc'd ==14737== at 0x4022AB8: malloc (vg_replace_malloc.c:207) ==14737== by 0x40072F4: (within /lib/ld-2.7.so) ==14737== by 0x4007D51: (within /lib/ld-2.7.so) ==14737== by 0x4011B46: (within /lib/ld-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x401154D: (within /lib/ld-2.7.so) ==14737== by 0x44236F1: (within /lib/libc-2.7.so) ==14737== by 0x400DA15: (within /lib/ld-2.7.so) ==14737== by 0x44237F0: (within /lib/libc-2.7.so) ==14737== by 0x4423915: __libc_dlopen_mode (in /lib/libc-2.7.so) ==14737== by 0x4344339: (within /lib/libc-2.7.so) ==14737== by 0x4343B6A: (within /lib/libc-2.7.so)
_______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
