I recently took over support for some UW imap machines and was trying to
trace a segfault problem I was having on some new machines installed
during my arrival. The following was in /var/log/messages:
May 22 14:58:56 webmail-imap6 kernel: imapd[23612]: segfault at
0000000000000000 rip 0000000000000000 rsp 00007fffff8f56a8 error 14
May 24 01:24:35 webmail-imap6 kernel: imapd[14726]: segfault at
0000000000000000 rip 0000003bd615f206 rsp 00007fffffe947f0 error 6
This kind of thing would occur every day or two and generally many of
the running processes would die all at once. After updating my machine
with fedora patches, just in case, the problem persisted. For other
reasons, I came to make an edit to change the syslog channel and when
re-compiling noticed these errors:
env_unix.c: In function ‘mm_blocknotify’:
env_unix.c:1654: warning: cast to pointer from integer of different size
env_unix.c:1657: warning: cast from pointer to integer of different size
env_unix.c:1657: warning: cast from pointer to integer of different size
Doing a make clean and then re-compiling I found lots of these errors in
many different source files. I then proceeded to re-compile in 32 bit mode:
make lnp EXTRACFLAGS="-m32"
Except for the errors mentioned in the FAQ that I could ignore, it was a
clean compile. After watching /var/log/messages for 5 days and seeing no
segfault errors I believe this is the cause of the problem. So I'm
assuming that even though I couldn't find any mention of it or just
missed it, you must compile in 32bit mode or you will have problems?
David
--
David Severance
Network and Academic Computing Services
(949) 824-7552
[EMAIL PROTECTED]
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw