[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tpop3d-discuss] SIGBUS
From: |
Paul Makepeace |
Subject: |
Re: [tpop3d-discuss] SIGBUS |
Date: |
Tue, 12 Aug 2003 20:43:18 +0100 |
User-agent: |
Mutt/1.5.4i |
On Tue, Aug 05, 2003 at 06:15:14PM +0100, Paul Makepeace wrote:
> Aug 5 13:35:48 mythix tpop3d[3223]: quit: signal 7 post_fork = 1
> Aug 5 13:35:48 mythix tpop3d[17561]: net_loop: child process 3223 killed by
> signal 7 (shouldn't happen)
Error turned out to exhibit when the mailspool was a multiple of
PAGESIZE.
Try this,
--- mailspool.c 29 Jul 2003 13:16:05 -0000 1.45
+++ mailspool.c 12 Aug 2003 19:39:52 -0000
@@ -259,3 +259,4 @@
- len += PAGESIZE - (len % PAGESIZE);
+ if (len % PAGESIZE)
+ len += PAGESIZE - (len % PAGESIZE);
if (!filemem) {
Paul
--
Paul Makepeace ....................................... http://paulm.com/
"If athletes get athletes foot, then I'll show oyu mine!"
-- http://paulm.com/toys/surrealism/