Upgraded cyrus 2.5.6: lmtpd segfaults

Ken Murchison murch at andrew.cmu.edu
Mon Nov 2 16:28:39 EST 2015


On 11/02/2015 04:25 PM, Stefan G. Weichinger wrote:
> Am 2015-11-02 um 21:45 schrieb Ken Murchison:
>> On 11/02/2015 03:34 PM, Stefan G. Weichinger wrote:
>>> Am 2015-11-02 um 21:26 schrieb Ken Murchison:
>>>
>>>> Can you get a backtrace from a lmtpd  core dump?
>>> if you tell me what to do ;)
>>> I am not that experienced in doing that, sorry.
>> Is lmtpd dumping core anywhere?  You can look in the directory that you
>> started master from.
> can't find any core dump, sorry.
>
> Is this the way to go ->
>
> # systemctl stop cyrus-imapd.service
> # gdb /usr/lib/cyrus/master
>
> (gdb) run
> Starting program: /usr/lib64/cyrus/master
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
>
> ( it keeps this way now )

You shouldn't have to run master in gdb.

Do something like this:

cd /tmp
ulimit -c unlimited
/usr/lib64/cyrus/master &

Hopefully any lmtpd cores will end up in /tmp



-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University



More information about the Info-cyrus mailing list