lmtp segfault after upgrade

Aki Tuomi aki.tuomi at dovecot.fi
Tue May 2 10:11:54 EEST 2017



On 2017-05-02 10:02, Tom Sommer wrote:
>
> On 2017-05-01 19:34, Aki Tuomi wrote:
>>> On May 1, 2017 at 8:26 PM Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
>>>
>>>
>>>
>>> > On May 1, 2017 at 8:21 PM Tom Sommer <mail at tomsommer.dk> wrote:
>>> >
>>> >
>>> > I just upgraded our Director to 2.2.29.1 from 2.2.26, and now my 
>>> dmesg
>>> > and /var/log/messages are getting flooded by these errors:
>>> >
>>> > lmtp[45758]: segfault at 21 ip 00007fb412d3ad11 sp 00007ffe83ad2df0
>>> > error 4 in libdovecot.so.0.0.0[7fb412c95000+11c000]
>>> >
>>> > Any ideas?
>>> >
>>> > --
>>> > Tom
>>>
>>> Try get a core dump and run it thru gdb.
>>>
>>> Aki
>>
>> Also, dovecot should log some kind of trace and message into syslog or
>> whatever log_path points to.
>
> Only this:
>
> May 02 09:00:34 lmtp(17467): Fatal: master: service(lmtp): child 17467 
> killed with signal 11 (core dumps disabled)
>
> .. and lots of them.

Then try enable core dumps, and see what the core says.

sysctl kernel.core_pattern=/some/writable/dir
sysctl fs.suid_dumpable=2

and if you are using systemd, you also need to add

/etc/systemd/system/dovecot.service.d/coredump.conf

with

[Service]
LimitCORE=infinity

Aki


More information about the dovecot mailing list