Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

2.2.14: lmtp segfaults

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


h.reindl at thelounge

Jan 23, 2010, 2:09 PM

Post #1 of 12 (1454 views)
Permalink
2.2.14: lmtp segfaults

dbmail-2.2.14 seems to have some problems in lmtp-daemon additionally
to wrong from/to in autoreplies

until now it dies not fully but there are too much segfaults for the few hours
running on Fedora 11: 2.6.30.10-105.2.4.fc11.x86_64 #1 SMP Tue Jan 19 22:46:59

dbmail-lmtpd[1684]: segfault at 0 ip 00007f4d3246ebc3 sp 00007fff3dd1c570 error 4 in
libdbmail.so.0.0.0[7f4d3245d000+4a000]

Jan 23 17:02:44 mail postfix/lmtp[10387]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=0.08,
delays=0.01/0/0/0.07, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
Jan 23 17:20:19 mail postfix/lmtp[10721]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=1055,
delays=1053/0.07/0/2.1, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
Jan 23 17:40:21 mail postfix/lmtp[11357]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=2257,
delays=2253/0.09/0/4.6, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
Jan 23 18:20:23 mail postfix/lmtp[12267]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=4659,
delays=4653/0.02/0/6.5, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
Jan 23 19:25:21 mail postfix/lmtp[13465]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=8557,
delays=8553/0.03/0/3.4, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
Jan 23 20:30:22 mail postfix/lmtp[14649]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=12458,
delays=12453/0.03/0/4.6, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
Jan 23 21:35:20 mail postfix/lmtp[16433]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=16356,
delays=16353/0.01/0/3.5, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)
Jan 23 22:39:59 mail postfix/lmtp[1828]: 634D0CC: to=<info [at] cynbookings>, relay=127.0.0.1[127.0.0.1]:24,
delay=20233, delays=20229/0.12/0/3.9, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while
sending end of data -- message may be sent more than once)
Jan 23 23:02:25 mail postfix/lmtp[2505]: 1EC7AC0: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=1.7,
delays=0.01/0/0/1.7, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
data -- message may be sent more than once)

--

Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/
Attachments: signature.asc (0.25 KB)


paul at nfg

Jan 25, 2010, 12:57 AM

Post #2 of 12 (1395 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Harald,

apparently there's something in those messages that is tripping up
lmtpd. If you could provide me with one or two of them, I can reproduce
this and fix it.

thanks,

Reindl Harald wrote:
> dbmail-2.2.14 seems to have some problems in lmtp-daemon additionally
> to wrong from/to in autoreplies
>
> until now it dies not fully but there are too much segfaults for the few hours
> running on Fedora 11: 2.6.30.10-105.2.4.fc11.x86_64 #1 SMP Tue Jan 19 22:46:59
>
> dbmail-lmtpd[1684]: segfault at 0 ip 00007f4d3246ebc3 sp 00007fff3dd1c570 error 4 in
> libdbmail.so.0.0.0[7f4d3245d000+4a000]
>
> Jan 23 17:02:44 mail postfix/lmtp[10387]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=0.08,
> delays=0.01/0/0/0.07, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
> Jan 23 17:20:19 mail postfix/lmtp[10721]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=1055,
> delays=1053/0.07/0/2.1, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
> Jan 23 17:40:21 mail postfix/lmtp[11357]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=2257,
> delays=2253/0.09/0/4.6, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
> Jan 23 18:20:23 mail postfix/lmtp[12267]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=4659,
> delays=4653/0.02/0/6.5, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
> Jan 23 19:25:21 mail postfix/lmtp[13465]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=8557,
> delays=8553/0.03/0/3.4, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
> Jan 23 20:30:22 mail postfix/lmtp[14649]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=12458,
> delays=12453/0.03/0/4.6, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
> Jan 23 21:35:20 mail postfix/lmtp[16433]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=16356,
> delays=16353/0.01/0/3.5, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
> Jan 23 22:39:59 mail postfix/lmtp[1828]: 634D0CC: to=<info [at] cynbookings>, relay=127.0.0.1[127.0.0.1]:24,
> delay=20233, delays=20229/0.12/0/3.9, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while
> sending end of data -- message may be sent more than once)
> Jan 23 23:02:25 mail postfix/lmtp[2505]: 1EC7AC0: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=1.7,
> delays=0.01/0/0/1.7, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
> data -- message may be sent more than once)
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


h.reindl at thelounge

Jan 25, 2010, 1:53 AM

Post #3 of 12 (1396 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Sorry - This are client mails which i had to deliver as fast as possible
It must be a bigger problem because both of our machines had the problem
The second one with nearly hundret segfaukts in five hours
After downgrading all worked fine again

Am 25.01.2010 09:57, schrieb Paul J Stevens:
> Harald,
>
> apparently there's something in those messages that is tripping up
> lmtpd. If you could provide me with one or two of them, I can reproduce
> this and fix it.
>
> thanks,
>
> Reindl Harald wrote:
>> dbmail-2.2.14 seems to have some problems in lmtp-daemon additionally
>> to wrong from/to in autoreplies
>>
>> until now it dies not fully but there are too much segfaults for the few hours
>> running on Fedora 11: 2.6.30.10-105.2.4.fc11.x86_64 #1 SMP Tue Jan 19 22:46:59
>>
>> dbmail-lmtpd[1684]: segfault at 0 ip 00007f4d3246ebc3 sp 00007fff3dd1c570 error 4 in
>> libdbmail.so.0.0.0[7f4d3245d000+4a000]
>>
>> Jan 23 17:02:44 mail postfix/lmtp[10387]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=0.08,
>> delays=0.01/0/0/0.07, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>> Jan 23 17:20:19 mail postfix/lmtp[10721]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=1055,
>> delays=1053/0.07/0/2.1, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>> Jan 23 17:40:21 mail postfix/lmtp[11357]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=2257,
>> delays=2253/0.09/0/4.6, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>> Jan 23 18:20:23 mail postfix/lmtp[12267]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=4659,
>> delays=4653/0.02/0/6.5, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>> Jan 23 19:25:21 mail postfix/lmtp[13465]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=8557,
>> delays=8553/0.03/0/3.4, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>> Jan 23 20:30:22 mail postfix/lmtp[14649]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=12458,
>> delays=12453/0.03/0/4.6, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>> Jan 23 21:35:20 mail postfix/lmtp[16433]: 634D0CC: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=16356,
>> delays=16353/0.01/0/3.5, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>> Jan 23 22:39:59 mail postfix/lmtp[1828]: 634D0CC: to=<info [at] cynbookings>, relay=127.0.0.1[127.0.0.1]:24,
>> delay=20233, delays=20229/0.12/0/3.9, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while
>> sending end of data -- message may be sent more than once)
>> Jan 23 23:02:25 mail postfix/lmtp[2505]: 1EC7AC0: to=<****>, relay=127.0.0.1[127.0.0.1]:24, delay=1.7,
>> delays=0.01/0/0/1.7, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of
>> data -- message may be sent more than once)
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> DBmail mailing list
>> DBmail [at] dbmail
>> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
>
>

--

Mit besten Grüßen, Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/
Attachments: signature.asc (0.25 KB)


paul at nfg

Jan 25, 2010, 3:14 AM

Post #4 of 12 (1395 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Reindl Harald wrote:
> Sorry - This are client mails which i had to deliver as fast as possible
> It must be a bigger problem because both of our machines had the problem
> The second one with nearly hundret segfaukts in five hours
> After downgrading all worked fine again

Downgrade to what version?


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


h.reindl at thelounge

Jan 25, 2010, 4:10 AM

Post #5 of 12 (1395 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

2.2.13, the same package as before even after a new "rpmbuild -bb"

Am 25.01.2010 12:14, schrieb Paul J Stevens:
> Reindl Harald wrote:
>> Sorry - This are client mails which i had to deliver as fast as possible
>> It must be a bigger problem because both of our machines had the problem
>> The second one with nearly hundret segfaukts in five hours
>> After downgrading all worked fine again
>
> Downgrade to what version?
>
>

--

Mit besten Grüßen, Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/
Attachments: signature.asc (0.25 KB)


paul at nfg

Jan 25, 2010, 4:11 AM

Post #6 of 12 (1393 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Ok, that narrows down the changes that may have introduced this problem.
I'm on it.

Reindl Harald wrote:
> 2.2.13, the same package as before even after a new "rpmbuild -bb"
>
> Am 25.01.2010 12:14, schrieb Paul J Stevens:
>> Reindl Harald wrote:
>>> Sorry - This are client mails which i had to deliver as fast as possible
>>> It must be a bigger problem because both of our machines had the problem
>>> The second one with nearly hundret segfaukts in five hours
>>> After downgrading all worked fine again
>> Downgrade to what version?
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


bj80421 at gmail

Jan 31, 2010, 3:24 PM

Post #7 of 12 (1375 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

On 01/25/2010 05:11 AM, Paul J Stevens wrote:
> Ok, that narrows down the changes that may have introduced this problem.
> I'm on it.

Have you committed a patch for this yet? If so, which one fixes this issue?

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Feb 1, 2010, 12:15 AM

Post #8 of 12 (1369 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Bernard Johnson wrote:
> On 01/25/2010 05:11 AM, Paul J Stevens wrote:
>> Ok, that narrows down the changes that may have introduced this problem.
>> I'm on it.
>
> Have you committed a patch for this yet? If so, which one fixes this issue?

Does this problem bite you? If so, please sent me a message that
triggers it.

I havent (yet) been able to reproduce this myself on my main production
systems (running 2.2.14).


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


bj80421 at gmail

Feb 1, 2010, 11:04 PM

Post #9 of 12 (1375 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

On 02/01/2010 01:15 AM, Paul J Stevens wrote:
> Does this problem bite you? If so, please sent me a message that
> triggers it.

Not at this time. I was researching pushing an updated dbmail into
Fedora but this caught my attention and looked like a good enough reason
to hold back and wait for a patch.


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

Feb 2, 2010, 1:07 AM

Post #10 of 12 (1367 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Bernard Johnson wrote:
> On 02/01/2010 01:15 AM, Paul J Stevens wrote:
>> Does this problem bite you? If so, please sent me a message that
>> triggers it.
>
> Not at this time. I was researching pushing an updated dbmail into
> Fedora but this caught my attention and looked like a good enough reason
> to hold back and wait for a patch.

I see.

I used the testlmtp.py script from the master branch together with an
export of a spam box to put some pressure on lmtpd.

I've managed to track down two segfaults in the delivery chain. One was
indeed introduced by the recent revival of native autoreply. (thanks
Harald).


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


h.reindl at thelounge

Feb 2, 2010, 2:02 AM

Post #11 of 12 (1369 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Hi paul

Do i understand right that you don't need sample mails anymore
This would be really gladful because i can reproduce this only
on our live-machine and if it happens take the file from
/var/spool/postfix, but i would not prefer this because someone
could kill me while playing with customer-services :-)

Anyways, if you really need samples i would do this at weekend
followed by a downgrady after copy the spool-files

Regards
Harry

Am 02.02.2010 10:07, schrieb Paul J Stevens:
> Bernard Johnson wrote:
>> On 02/01/2010 01:15 AM, Paul J Stevens wrote:
>>> Does this problem bite you? If so, please sent me a message that
>>> triggers it.
>>
>> Not at this time. I was researching pushing an updated dbmail into
>> Fedora but this caught my attention and looked like a good enough reason
>> to hold back and wait for a patch.
>
> I see.
>
> I used the testlmtp.py script from the master branch together with an
> export of a spam box to put some pressure on lmtpd.
>
> I've managed to track down two segfaults in the delivery chain. One was
> indeed introduced by the recent revival of native autoreply. (thanks
> Harald).
>
>

--

Mit besten Grüßen, Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/
Attachments: signature.asc (0.25 KB)


paul at nfg

Feb 2, 2010, 2:29 AM

Post #12 of 12 (1364 views)
Permalink
Re: 2.2.14: lmtp segfaults [In reply to]

Harry,

Correct. For now I don't need any samples. Like I said, I've setup a
stress-test lab for dbmail22 using the tools from dbmail2.3. It's just a
matter of feeding dbmail-lmtp lots of different garbage and see if and
where it bails out.

Reindl Harald wrote:
> Hi paul
>
> Do i understand right that you don't need sample mails anymore
> This would be really gladful because i can reproduce this only
> on our live-machine and if it happens take the file from
> /var/spool/postfix, but i would not prefer this because someone
> could kill me while playing with customer-services :-)
>
> Anyways, if you really need samples i would do this at weekend
> followed by a downgrady after copy the spool-files


Don't worry. However, should some messages get hung up in the queue
after I release 2.2.15, you can easily pull them out using mailq and
postcat -q <QUEUE_ID>.





>
> Regards
> Harry
>
> Am 02.02.2010 10:07, schrieb Paul J Stevens:
>> Bernard Johnson wrote:
>>> On 02/01/2010 01:15 AM, Paul J Stevens wrote:
>>>> Does this problem bite you? If so, please sent me a message that
>>>> triggers it.
>>> Not at this time. I was researching pushing an updated dbmail into
>>> Fedora but this caught my attention and looked like a good enough reason
>>> to hold back and wait for a patch.
>> I see.
>>
>> I used the testlmtp.py script from the master branch together with an
>> export of a spam box to put some pressure on lmtpd.
>>
>> I've managed to track down two segfaults in the delivery chain. One was
>> indeed introduced by the recent revival of native autoreply. (thanks
>> Harald).
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.