Core Dump upon startup (SEGV) - v2.2.10

Don Levey dovecot at the-leveys.us
Fri Nov 14 00:59:23 UTC 2014


123456789012345678901234567890123456789012345678901234567890123456789012
I appear to have taken a mostly-working installation and mucked it up.  
In my recent messages I mentioned how I was having difficuilty in making 
my wife's email readable in Squirrelmail; this was solved with directory 
permissions.  However, my usual email client is Thunderbird; I was 
holding off on using that as there appeared to be authentication issues.  
Today was my opportunity to start debugging those; it occurred to me that 
I might have issues with PKI and tried to make/install working 
certificates.

When this didn't work, I though to just scrub the installation and start 
over. On my CentOS 7 system I erased and reinstalled from RPM. With what 
should have been working certificates, I ran through the config files, 
and then restarted to the following error:

[root at dungeon dovecot]# systemctl -l status dovecot.service
dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; disabled)
   Active: failed (Result: core-dump) since Thu 2014-11-13 19:05:52 EST; 30min ago
  Process: 23700 ExecStart=/usr/sbin/dovecot -F (code=dumped, signal=SEGV)
  Process: 23695 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
 Main PID: 23700 (code=dumped, signal=SEGV)

Nov 13 19:05:52 dungeon.the-leveys.us systemd[1]: Started Dovecot IMAP/POP3 email server.
Nov 13 19:05:52 dungeon.the-leveys.us systemd[1]: dovecot.service: main process exited, code=dumped, status=11/SEGV
Nov 13 19:05:52 dungeon.the-leveys.us systemd[1]: Unit dovecot.service entered failed state.

I can't run dovecot -n:
[root at dungeon dovecot]# dovecot -n
# 2.2.10: /etc/dovecot/dovecot.conf
Segmentation fault (core dumped)

The log file shows:
Nov 13 18:48:46 anvil: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Nov 13 18:48:46 master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Nov 13 18:48:46 log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)


Here's what I get from the gdb command specified:
[root at dungeon log]# gdb /usr/libexec/dovecot/imap /var/core/6538 
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/libexec/dovecot/imap...Reading symbols from /usr/lib/debug/usr/libexec/dovecot/imap.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 6538]
Core was generated by `/usr/bin/doveconf -f service=master -c /etc/dovecot/dovecot.conf -m master -p -'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f1f3dd1db5b in ?? ()
(gdb) 

I tried talking to IMAP directly as per the website, but was unable to make it crash 
(and I don't know enough IMAP to do anything more than the exmaple commands).

I don't know what else to include...
Thank you, 
 -Don


More information about the dovecot mailing list