IMAP crashing on message move

2006-07-12 Thread Jaime
	When trying to move a message from my INBOX folder to another  
folder, I usually (4 out of 5?) find that the imapd process has  
crashed.  SquirrelMail is nice enough to tell me this:


ERROR: Connection dropped by IMAP server.
Query: COPY 18238,18255 mail/Trash

Looking in /var/log/messages, I find lines like this:

Jul 11 21:28:47 atlas kernel: pid 81702 (imapd), uid 1001: exited on  
signal 11


	This is using FreeBSD 6.1-Stable built from sources a few days ago  
and the ports for imap-uw, cclient, squirrelmail, php5-imap, etc.  
built from ports updated yesterday afternoon.  I've seen the above  
error in /var/log/messages for a few other UIDs, too.  So I know its  
not just me.


	This is a new server.  The old server was working OK with these same  
files in /home (I moved the data over using a tar czpf archive.tar.gz  
-C /home . command.) and FreeBSD 5.x and imap-uw, et. al. built from  
ports as well.  The most significant change that I can find is the  
move from php4 to php5, but that shouldn't cause the imapd process to  
fail, right?


Any thoughts, tips, advice, etc. is greatly appreciated.

Jaime
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP crashing on message move

2006-07-12 Thread Gábor Kövesdán

Jaime wrote:
When trying to move a message from my INBOX folder to another 
folder, I usually (4 out of 5?) find that the imapd process has 
crashed.  SquirrelMail is nice enough to tell me this:


ERROR: Connection dropped by IMAP server.
Query: COPY 18238,18255 mail/Trash

Looking in /var/log/messages, I find lines like this:

Jul 11 21:28:47 atlas kernel: pid 81702 (imapd), uid 1001: exited on 
signal 11


This is using FreeBSD 6.1-Stable built from sources a few days ago 
and the ports for imap-uw, cclient, squirrelmail, php5-imap, etc. 
built from ports updated yesterday afternoon.  I've seen the above 
error in /var/log/messages for a few other UIDs, too.  So I know its 
not just me.


This is a new server.  The old server was working OK with these 
same files in /home (I moved the data over using a tar czpf 
archive.tar.gz -C /home . command.) and FreeBSD 5.x and imap-uw, et. 
al. built from ports as well.  The most significant change that I can 
find is the move from php4 to php5, but that shouldn't cause the imapd 
process to fail, right?


Any thoughts, tips, advice, etc. is greatly appreciated.

Jaime
Are you using any CFLAGS in /etc/make.conf? Signal 11 is SIGSEGV aka 
segmentation violation, which is often caused by unsupported 
optimization flags. Btw, do you use the stock compiler or something from 
ports?
I suggest you to rebuild everything related with stock compiler and 
without any CFLAGS set. You can do this comfortably with portupgrade -f.


Regards,

Gabor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IMAP crashing on message move

2006-07-12 Thread jaime

On Wed, 12 Jul 2006, Gábor Kövesdán wrote:

Jaime wrote:

Looking in /var/log/messages, I find lines like this:

Jul 11 21:28:47 atlas kernel: pid 81702 (imapd), uid 1001: exited on signal 
11



Are you using any CFLAGS in /etc/make.conf?


	I don't remember changing anything in there.  Checking, I find 
this:


atlas:~more /etc/make.conf
# added by use.perl 2006-06-28 12:34:45
PERL_VER=5.8.8
PERL_VERSION=5.8.8
atlas:~more /etc/defaults/make.conf
/etc/defaults/make.conf: No such file or directory

Doesn't look like it to me.  Did I miss anything?



Btw, do you use the stock compiler or something from ports?


	I used whatever was in FreeBSD 6.1-STABLE early last week.  I 
generally don't like to screw around with optional stuff when I don't have 
to.  :)



I suggest you to rebuild everything related with stock compiler and without 
any CFLAGS set. You can do this comfortably with portupgrade -f.


Based on the above, do you still think that I need to do this?

Thanks,
Jaime___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: IMAP crashing on message move

2006-07-12 Thread Gábor Kövesdán

[EMAIL PROTECTED] wrote:

On Wed, 12 Jul 2006, Gábor Kövesdán wrote:

Jaime wrote:

Looking in /var/log/messages, I find lines like this:

Jul 11 21:28:47 atlas kernel: pid 81702 (imapd), uid 1001: exited on 
signal 11



Are you using any CFLAGS in /etc/make.conf?


I don't remember changing anything in there.  Checking, I find this:

atlas:~more /etc/make.conf
# added by use.perl 2006-06-28 12:34:45
PERL_VER=5.8.8
PERL_VERSION=5.8.8
atlas:~more /etc/defaults/make.conf
/etc/defaults/make.conf: No such file or directory

Doesn't look like it to me.  Did I miss anything?



Btw, do you use the stock compiler or something from ports?


I used whatever was in FreeBSD 6.1-STABLE early last week.  I 
generally don't like to screw around with optional stuff when I don't 
have to.  :)



I suggest you to rebuild everything related with stock compiler and 
without any CFLAGS set. You can do this comfortably with portupgrade -f.


Based on the above, do you still think that I need to do this?

Thanks,
Jaime
I'd give it a try at all. It can't hurt if you build the affected ports 
from scratch. If your ports tree isn't up-to-date run cvsup/csup first.


Gabor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]