[Dbmail-dev] 2.1.4: lmtpd
Just deleting the line lmtp.c.479 ends problem and causes nothing visually strange in truss of dbmail-lmtpd -n and valgrind of dbmail-lmtpd -n etc. and lmtpd delivers mail always as far as I can see... Mike - Original Message - From: Aaron Stone [EMAIL PROTECTED] To: DBMAIL Developers Mailinglist dbmail-dev@dbmail.org Sent: Thursday, March 02, 2006 4:56 PM Subject: Re: [Dbmail-dev] 2.1.4: lmtpd Crap. The dm_free(tmpaddr) on line 479 got put back in! Aaron On Fri, 2006-03-03 at 00:31 +0300, Oleg Lapshin wrote: Hello. I downloaded an run dbmail-2.1.4 and what I get (with TRACE_STDERR=5 in config): $ dbmail-lmtpd -n dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_physmessage LIMIT 1 OFFSET 0] dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_headervalue LIMIT 1 OFFSET 0] serverchild.c,manage_start_cli_server: client info init complete, calling client handler 220 fox DBMail LMTP service ready to rock mail from: [EMAIL PROTECTED] lmtp(): incoming buffer: [mail from: [EMAIL PROTECTED]] lmtp(): command issued :cmd [mail], value [from: [EMAIL PROTECTED]] lmtp(): command looked up as commandtype 4 misc.c, find_bounded: Found [EMAIL PROTECTED] of length [13] between '' and '' so next skip [20] 250 Sender [EMAIL PROTECTED] OK *** glibc detected *** double free or corruption (fasttop): 0x08067660 *** Aborted valgrind log in attach ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev
[Dbmail-dev] 2.1.4: lmtpd
Hello. I downloaded an run dbmail-2.1.4 and what I get (with TRACE_STDERR=5 in config): $ dbmail-lmtpd -n dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_physmessage LIMIT 1 OFFSET 0] dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_headervalue LIMIT 1 OFFSET 0] serverchild.c,manage_start_cli_server: client info init complete, calling client handler 220 fox DBMail LMTP service ready to rock mail from: [EMAIL PROTECTED] lmtp(): incoming buffer: [mail from: [EMAIL PROTECTED]] lmtp(): command issued :cmd [mail], value [from: [EMAIL PROTECTED]] lmtp(): command looked up as commandtype 4 misc.c, find_bounded: Found [EMAIL PROTECTED] of length [13] between '' and '' so next skip [20] 250 Sender [EMAIL PROTECTED] OK *** glibc detected *** double free or corruption (fasttop): 0x08067660 *** Aborted valgrind log in attach -- Oleg Lapshin dbmail-2.1.4-valgrind.log.gz Description: GNU Zip compressed data
Re: [Dbmail-dev] 2.1.4: lmtpd
250 Sender [EMAIL PROTECTED] OK *** glibc detected *** double free or corruption (fasttop): 0x08067660 *** Aborted Removing line 479 from lmtp.c: if (goodtogo) { /* Sure fine go ahead. */ dm_list_nodeadd(from, tmpaddr, strlen(tmpaddr)+1); - dm_free(tmpaddr); ci_write((FILE *) stream, 250 Sender %s OK\r\n, (char *) (dm_list_getstart(from)-data)); solve the problem Don't know, correct this or no May be dm_free(tmpaddr); must be in other line? -- Oleg Lapshin
Re: [Dbmail-dev] 2.1.4: lmtpd
Crap. The dm_free(tmpaddr) on line 479 got put back in! Aaron On Fri, 2006-03-03 at 00:31 +0300, Oleg Lapshin wrote: Hello. I downloaded an run dbmail-2.1.4 and what I get (with TRACE_STDERR=5 in config): $ dbmail-lmtpd -n dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_physmessage LIMIT 1 OFFSET 0] dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_headervalue LIMIT 1 OFFSET 0] serverchild.c,manage_start_cli_server: client info init complete, calling client handler 220 fox DBMail LMTP service ready to rock mail from: [EMAIL PROTECTED] lmtp(): incoming buffer: [mail from: [EMAIL PROTECTED]] lmtp(): command issued :cmd [mail], value [from: [EMAIL PROTECTED]] lmtp(): command looked up as commandtype 4 misc.c, find_bounded: Found [EMAIL PROTECTED] of length [13] between '' and '' so next skip [20] 250 Sender [EMAIL PROTECTED] OK *** glibc detected *** double free or corruption (fasttop): 0x08067660 *** Aborted valgrind log in attach ___ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev