OK, got it (my fault, as always, put the LimitCORE in the wrong line). Here is the stack trace:> On 14. Jan 2019, at 10:33, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > > Difficult to figure out without a coredump + gdb > > > > I have also battled quite a lot to make sure dovecot can core dump on my Archlinux servers. > > I remember that the key point was putting fs.suid_dumpable=2 in /etc/sysctl.d/ conf files, LimitCORE=infinity in /etc/systemd/system/multi-user.target.wants/dovecot.service, and rebooting the server. > > My own coredumps are on /var/lib/systemd/coredump/ > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190114/1d13c991/attachment-0002.html> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bt.txt URL: <https://dovecot.org/pipermail/dovecot/attachments/20190114/1d13c991/attachment-0001.txt> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190114/1d13c991/attachment-0003.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4127 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20190114/1d13c991/attachment-0001.p7s>
Op 14-1-2019 om 10:55 schreef Paul Hecker via dovecot:> OK, got it (my fault, as always, put the LimitCORE in the wrong line). > Here is the stack trace: >If you want to get rid of those "??" stack trace elements, you'll need to install debug symbols for the xapian library. It depends on your system how to do that (usually some separate package). Regards, Stephan.> > >> On 14. Jan 2019, at 10:33, Joan Moreau via dovecot >> <dovecot at dovecot.org <mailto:dovecot at dovecot.org>> wrote: >> >> Difficult to figure out without a coredump + gdb >> >> >> I have also battled quite a lot to make sure dovecot can core dump on >> my Archlinux servers. >> >> I remember that the key point was putting*fs.suid_dumpable=2* in >> /etc/sysctl.d/ conf files, *LimitCORE=infinity* >> in?/etc/systemd/system/multi-user.target.wants/dovecot.service,? and >> rebooting the server. >> >> My own coredumps are on /var/lib/systemd/coredump/ >> >> >
Thank you. Here is the stack trace with all debug symbols: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bt.txt URL: <https://dovecot.org/pipermail/dovecot/attachments/20190114/76bcc796/attachment-0001.txt> -------------- next part --------------> On 14. Jan 2019, at 11:07, Stephan Bosch <stephan at rename-it.nl> wrote: > > > Op 14-1-2019 om 10:55 schreef Paul Hecker via dovecot: >> OK, got it (my fault, as always, put the LimitCORE in the wrong line). Here is the stack trace: >> > If you want to get rid of those "??" stack trace elements, you'll need to install debug symbols for the xapian library. It depends on your system how to do that (usually some separate package). > > > Regards, > > Stephan. > > >> >> >>> On 14. Jan 2019, at 10:33, Joan Moreau via dovecot <dovecot at dovecot.org <mailto:dovecot at dovecot.org>> wrote: >>> >>> Difficult to figure out without a coredump + gdb >>> >>> >>> I have also battled quite a lot to make sure dovecot can core dump on my Archlinux servers. >>> >>> I remember that the key point was putting*fs.suid_dumpable=2* in /etc/sysctl.d/ conf files, *LimitCORE=infinity* in /etc/systemd/system/multi-user.target.wants/dovecot.service, and rebooting the server. >>> >>> My own coredumps are on /var/lib/systemd/coredump/ >>> >>> >>-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4127 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20190114/76bcc796/attachment-0001.p7s>