Benton Haynes
2007-Jun-18 00:15 UTC
[Dovecot] ?? Error: child 1064 (imap) killed with signal 4
After noticing a commit to the HG repository, http://hg.dovecot.org/dovecot-1.0/rev/f88b1e225be5 about, " We didn't update last_output timestamp with long fetches, causing Dovecot to idle-disconnect the client." I chekced out the latest from the DOVECOT-1.0 repo, and built again. Unfortunately, this problem still exists. Login simply disconnects. Any help, anyone? -- Ben
Timo Sirainen
2007-Jun-18 08:54 UTC
[Dovecot] ?? Error: child 1064 (imap) killed with signal 4
On Sun, 2007-06-17 at 17:15 -0700, Benton Haynes wrote:> Unfortunately, this problem still exists. Login simply disconnects.Like Gunter said, signal 4 is SIGILL. It happens only if the CPU executes invalid instructions. The problem isn't with Dovecot, it's with your compiler, libraries or something else. You could try running imap manually with gdb: gdb /usr/local/libexec/dovecot/imap r Does it crash immediately? If not, give it "1 select inbox" command and I suppose then it at least should. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070618/ec733ad2/attachment-0002.bin>
Benton Haynes
2007-Jun-18 13:58 UTC
[Dovecot] ?? Error: child 1064 (imap) killed with signal 4
Hi Timo, Thanks for the instruction as to how to debug this.> You could try running imap manually with gdb:> gdb /usr/local/libexec/dovecot/imap > rI've not used gdb before. Reading MAN page, and some instructions online, I tried to launch as you had instructed, but it died off. gdb --quiet /usr/local/libexec/dovecot/imap Reading symbols for shared libraries ..... done (gdb) r Starting program: /usr/local/libexec/dovecot/imap Reading symbols for shared libraries .++ done imap(root): Error: Ambiguous mail location setting, don't know what to do with it: /var/mail/root (try prefixing it with mbox: or maildir:) imap(root): Fatal: Failed to create storage with data: /var/mail/root Program exited with code 0131. (gdb) q Next, I instead tried to launch imap manually from the command line, with the goal of then 'attach'-ing the PID in gdb, but it also fails. /usr/local/libexec/dovecot/imap imap(root): Error: Ambiguous mail location setting, don't know what to do with it: /var/mail/root (try prefixing it with mbox: or maildir:) imap(root): Fatal: Failed to create storage with data: /var/mail/root Since dovecot starts ok when I do /usr/local/sbin/dovecot -c /etc/dovecot/dovecot.conf I thought it might need the configuration file, too. But, the same error happens. /usr/local/libexec/dovecot/imap -c /etc/dovecot/dovecot.conf imap(root): Error: Ambiguous mail location setting, don't know what to do with it: /var/mail/root (try prefixing it with mbox: or maildir:) imap(root): Fatal: Failed to create storage with data: /var/mail/root Any further pointers? Thanks for being patient. -- Ben