[dovecot] Error: child 12625 (imap) killed with signal 12
Hi!
I have tried to install dovecot as my imap service on my FreeBSD server. At first all looked fine and worked flawless. But after a while i started to get errors. The imap process dies with signal 12 when the client tries to check the contens of the folder.
dovecot: Apr 07 09:55:17 Error: child 12625 (imap) killed with signal 12
Any ideas what may cause this problem?
MvH Johan Willard
On Mon, 2003-04-07 at 13:04, Johan Willard wrote:
I have tried to install dovecot as my imap service on my FreeBSD server. At first all looked fine and worked flawless. But after a while i started to get errors. The imap process dies with signal 12 when the client tries to check the contens of the folder.
dovecot: Apr 07 09:55:17 Error: child 12625 (imap) killed with signal 12
Any ideas what may cause this problem?
That's "non-existent system call invoked" signal. Strange, I've never seen that before. What's the point of it anyway, why not just return ENOSYS?
What version of FreeBSD are you using? I'm guessing it's the sendfile() call, try to comment out #define HAVE_FREEBSD_SENDFILE line from config.h.
And you are using Dovecot 0.99.8.1, right? There were several FreeBSD problems before.
On Mon, 7 Apr 2003, Timo Sirainen wrote:
On Mon, 2003-04-07 at 13:04, Johan Willard wrote:
I have tried to install dovecot as my imap service on my FreeBSD server. At first all looked fine and worked flawless. But after a while i started to get errors. The imap process dies with signal 12 when the client tries to check the contens of the folder.
dovecot: Apr 07 09:55:17 Error: child 12625 (imap) killed with signal 12
Any ideas what may cause this problem?
That's "non-existent system call invoked" signal. Strange, I've never seen that before. What's the point of it anyway, why not just return ENOSYS?
What version of FreeBSD are you using? I'm guessing it's the sendfile() call, try to comment out #define HAVE_FREEBSD_SENDFILE line from config.h.
I'm using FreeBSD 4.6-STABLE. If there's any time left over today i'll try to recompile without that option.
And you are using Dovecot 0.99.8.1, right? There were several FreeBSD problems before.
yes.
I was using the regular unix mailbox system when this error occured. T thougth this would be best for compability reasons. I tried to configure my system to use maildir instead. Now it looks like the problem have disappered.
I allso tested another mail client after i had sent the previous mail. When I encountered this problem I whas using outlook express 6. I tried with an old version of Netscape Messenger and it actually worked better. In the client everything looked fin. I was able to read my mail in all boxes. But the imap child still died.
It looks like the maildir system suits imap much better than mailbox, so i think i stick to it. The only problem now is that my favourite client, pine, dosn't support maildir :/ I've located a patch that I will try, and in worse case scenario, i'll have to connect to localhost via imap :(
MvH Johan Willard
On Tue, 8 Apr 2003, Johan Willard wrote:
It looks like the maildir system suits imap much better than mailbox, so i think i stick to it. The only problem now is that my favourite client, pine, dosn't support maildir :/ I've located a patch that I will try, and in worse case scenario, i'll have to connect to localhost via imap :(
I worked yesterday on tracing the history of the maildir patch for Pine and uw-imap originally written by Mattias Larsson. Have a look here: http://debian.jones.dk/official/uw-imap/changelog.maildir/
You may find a more recent version of your own patch there. If you have a different one than already there, please let me know where you found it.
- Jonas
--
- Debian GNU/Linux developer http://www.debian.org/
- Jonas Smedegaard +45 40843136 http://dr.jones.dk/
- Consulting for machines and humans: Spiff ApS I have no signatures :-(
On Tue, 8 Apr 2003, Jonas Smedegaard wrote:
On Tue, 8 Apr 2003, Johan Willard wrote:
It looks like the maildir system suits imap much better than mailbox, so i think i stick to it. The only problem now is that my favourite client, pine, dosn't support maildir :/ I've located a patch that I will try, and in worse case scenario, i'll have to connect to localhost via imap :(
I worked yesterday on tracing the history of the maildir patch for Pine and uw-imap originally written by Mattias Larsson. Have a look here: http://debian.jones.dk/official/uw-imap/changelog.maildir/
You may find a more recent version of your own patch there. If you have a different one than already there, please let me know where you found it.
Here's the patch for pine 4.50. Haven't tested it yet thou. http://hico.fphil.uniba.sk/pine-patches.html
- Jonas
--
- Debian GNU/Linux developer http://www.debian.org/
- Jonas Smedegaard +45 40843136 http://dr.jones.dk/
- Consulting for machines and humans: Spiff ApS I have no signatures :-(
MvH Johan Willard
On Tue, 8 Apr 2003, Johan Willard wrote:
On Tue, 8 Apr 2003, Jonas Smedegaard wrote:
On Tue, 8 Apr 2003, Johan Willard wrote:
It looks like the maildir system suits imap much better than mailbox, so i think i stick to it. The only problem now is that my favourite client, pine, dosn't support maildir :/ I've located a patch that I will try, and in worse case scenario, i'll have to connect to localhost via imap :(
I worked yesterday on tracing the history of the maildir patch for Pine and uw-imap originally written by Mattias Larsson. Have a look here: http://debian.jones.dk/official/uw-imap/changelog.maildir/
You may find a more recent version of your own patch there. If you have a different one than already there, please let me know where you found it.
Here's the patch for pine 4.50. Haven't tested it yet thou. http://hico.fphil.uniba.sk/pine-patches.html
Looks like an older version of the same patch as in Debian. Haven't investigated much yet, but I really recoomend looking into the other alternatives I have collected.
This mail is Cc'ed the maintainer of the patch you found as well.
- Jonas
--
- Debian GNU/Linux developer http://www.debian.org/
- Jonas Smedegaard +45 40843136 http://dr.jones.dk/
- Consulting for machines and humans: Spiff ApS I have no signatures :-(
On Tue, 2003-04-08 at 10:00, Johan Willard wrote:
dovecot: Apr 07 09:55:17 Error: child 12625 (imap) killed with signal 12 I was using the regular unix mailbox system when this error occured. T thougth this would be best for compability reasons. I tried to configure my system to use maildir instead. Now it looks like the problem have disappered.
It's probably because sendfile() was tried to be used to write to the mbox file. It may crash again if you try to unsubscribe some mailboxes (anything but the last one in .subscriptions file).
I just tried this with FreeBSD 4.8-PRERELEASE myself, sendfile() nicely returns error instead of crashing the whole program. Maybe the problem is something else, or maybe you've just configured the system differently.
I think I'll just disable trying to use sendfile() for writing to files, except under Linux where it works.
participants (3)
-
Johan Willard
-
Jonas Smedegaard
-
Timo Sirainen