On Mon, 13 Nov 2006, Ermin Borovac wrote:
After attaching to imapd with tusc (system call tracer) it appears that child
(slave) process dies with SIGBUS.
You're right, it is SIGBUS, not ECHILD. I was looking at the wrong list
of codes.
Further troubleshooting led me to line 979 of src/osdep/unix.c.
if (!tstream->rdonly) ((UNIXLOCAL *) tstream->local)->dirty = T;
Slave process seems to die when it hits this line.
Thank you for your diagnosis.
I see no obvious reason for it to happen; nor can I reproduce it in any
obvious way. Before I look into it further, I want to make sure that this
isn't due to something introduced by a third party.
Are you certain about it being at line 979? That instruction isn't at
line 979 in any of the imap-2006 release versions.
It's at lines 969 and 1135 in imap-2006 and imap-2006a; lines 973 and 1139
in imap-2006b, imap-2006c, and imap-2006c1; and lines 994 and 1162 in the
current (6 November) development snapshot of imap-2006d.
Did your copy of imap-2006c1 come directly from UW, or did it come from a
third party? If it came from a third party, please try the UW
distribution
ftp://ftp.cac.washington.edu/mail/imap.tar.Z
and see if it happens there.
Also, please try the imap-2006d development snapshot:
ftp://ftp.cac.washington.edu/mail/imap-2006d.DEV.tar.Z
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw