[Dovecot] Dovecot v2.0.beta5 (1b45f9641924): Auth Crashes
Hi,
not sure which change caused it, but one of the latest adds between those two snapshots breaks userdb lookup:
Jun 1 21:53:30 spectre dovecot: master: Dovecot v2.0.beta5 (1b45f9641924) starting up Jun 1 21:53:30 spectre dovecot: master: Warning: Killed with signal 15 (by pid=6898 uid=0 […] Jun 1 21:53:40 spectre dovecot: master: Dovecot v2.0.beta5 (55b8480849b0) starting up Jun 1 21:53:40 spectre dovecot: master: Warning: Killed with signal 15 (by pid=8577 uid=0 code=kill)
Jun 1 21:52:30 spectre postfix/lmtp[6787]: F151B408D: to=tlx@leuxner.net, relay=spectre.leuxner.net[private/dovecot-lmtp], delay=0.09, delays=0.06/0/0/0.04, dsn=4.3.0, status=deferred (host spectre.leuxner.net[private/dovecot-lmtp] said: 451 4.3.0 tlx@leuxner.net Internal error occurred. Refer to server log for more information. (in reply to RCPT TO command))
==> /var/log/dovecot.log <== Jun 1 21:52:30 spectre dovecot: lmtp(6788): Connect from local Jun 1 21:52:30 spectre dovecot: master: Error: service(auth): child 6797 killed with signal 11 (core not dumped) Jun 1 21:52:30 spectre dovecot: lmtp(6788): Error: userdb lookup(tlx@leuxner.net): Disconnected unexpectedly Jun 1 21:52:30 spectre dovecot: master: Error: service(auth): command startup failed, throttling Jun 1 21:52:30 spectre dovecot: lmtp(6788): Disconnect from local: Client quit
==> /var/log/mail.log <== Jun 1 21:52:58 spectre postfix/qmgr[3246]: 5619A4086: from=users-return-95390-lists=leuxner.net@httpd.apache.org, size=6226, nrcpt=1 (queue active)
==> /var/log/dovecot.log <== Jun 1 21:52:58 spectre dovecot: lmtp(6788): Connect from local
Reverting to changeset 55b8480849b0 restores functionality.
Regards Thomas
On ti, 2010-06-01 at 22:02 +0200, Thomas Leuxner wrote:
Jun 1 21:52:30 spectre dovecot: master: Error: service(auth): child 6797 killed with signal 11 (core not dumped)
Could you get gdb backtrace? http://dovecot.org/bugreport.html#coredumps
On 06/01/2010 10:02 PM Thomas Leuxner wrote:
==> /var/log/dovecot.log <== Jun 1 21:52:30 spectre dovecot: lmtp(6788): Connect from local Jun 1 21:52:30 spectre dovecot: master: Error: service(auth): child 6797 killed with signal 11 (core not dumped) Jun 1 21:52:30 spectre dovecot: lmtp(6788): Error: userdb lookup(tlx@leuxner.net): Disconnected unexpectedly Jun 1 21:52:30 spectre dovecot: master: Error: service(auth): command startup failed, throttling Jun 1 21:52:30 spectre dovecot: lmtp(6788): Disconnect from local: Client quit … Reverting to changeset 55b8480849b0 restores functionality.
Try this: http://hg.dovecot.org/dovecot-2.0/rev/dc94f9240ec1
Regards, Pascal
The trapper recommends today: beeffeed.1015302@localdomain.org
Am 02.06.2010 um 02:35 schrieb Pascal Volk:
Try this: http://hg.dovecot.org/dovecot-2.0/rev/dc94f9240ec1
I can confirm that above patch mitigates the situation. Would it still help if I'd debug the crash or has the source been tracked down?
Thomas
On 06/02/2010 07:14 PM Thomas Leuxner wrote:
I can confirm that above patch mitigates the situation. Would it still help if I'd debug the crash or has the source been tracked down?
huh, didn't it solve your problem completely? Crashes the auth process still when your lmtp performs a userdb lookup?
The 'fix', which made auth crashing, was intended to solve another issue. But the other issue should be also fixed with that commit: http://hg.dovecot.org/dovecot-2.0/rev/1e890076c4e9
Regards, Pascal
The trapper recommends today: deadbeef.1015319@localdomain.org
Am 02.06.2010 um 19:39 schrieb Pascal Volk:
huh, didn't it solve your problem completely? Crashes the auth process still when your lmtp performs a userdb lookup?
No it doesn't crash anymore, but it sounded like the commit you listed was reverting a partial fix, hence I considered it a rollback leaving stuff unfixed that it should have fixed originally. The one you listed now sounds like a revisit do fix it completely, but I have yet to try that. Anyway
Removed the crash I was talking about.
Thomas
On 06/02/2010 07:39 PM Pascal Volk wrote:
The 'fix', which made auth crashing, was intended to solve another issue. But the other issue should be also fixed with that commit: http://hg.dovecot.org/dovecot-2.0/rev/1e890076c4e9
Hm, seems not be fixed. Now my installation is up to date (2.0.beta5 (3b25ca20f005)) again. But I'm still able to crash auth, see the attached backtrace.
Regards, Pascal
The trapper recommends today: beeffeed.1015407@localdomain.org
On to, 2010-06-03 at 07:50 +0200, Pascal Volk wrote:
On 06/02/2010 07:39 PM Pascal Volk wrote:
The 'fix', which made auth crashing, was intended to solve another issue. But the other issue should be also fixed with that commit: http://hg.dovecot.org/dovecot-2.0/rev/1e890076c4e9
Hm, seems not be fixed. Now my installation is up to date (2.0.beta5 (3b25ca20f005)) again. But I'm still able to crash auth, see the attached backtrace.
This really should fix it: http://hg.dovecot.org/dovecot-2.0/rev/b578861bfa40
On 06/04/2010 05:16 PM Timo Sirainen wrote:
This really should fix it: http://hg.dovecot.org/dovecot-2.0/rev/b578861bfa40
Sorry, didn't help yet, looks worse now -> dbl segfault. Backtraces are attached.
Regards, Pascal
The trapper recommends today: beeffeed.1015600@localdomain.org
On la, 2010-06-05 at 01:07 +0200, Pascal Volk wrote:
On 06/04/2010 05:16 PM Timo Sirainen wrote:
This really should fix it: http://hg.dovecot.org/dovecot-2.0/rev/b578861bfa40
Sorry, didn't help yet, looks worse now -> dbl segfault. Backtraces are attached.
http://hg.dovecot.org/dovecot-2.0/rev/2f084e625f09 and hopefully http://hg.dovecot.org/dovecot-2.0/rev/fd447208ccb9
On 06/07/2010 08:28 PM Timo Sirainen wrote:
http://hg.dovecot.org/dovecot-2.0/rev/2f084e625f09 and hopefully http://hg.dovecot.org/dovecot-2.0/rev/fd447208ccb9
The latest commits from today solved the problem.
Regards, Pascal
The trapper recommends today: beeffeed.1015922@localdomain.org
participants (3)
-
Pascal Volk
-
Thomas Leuxner
-
Timo Sirainen