Re: [vchkpw] CentOS 5 64 bit vchkpw segfault - vpopmail 5.4.9 - softlimit related

2008-10-23 Thread Tom Collins

On Oct 22, 2008, at 9:42 AM, Paul Oehler wrote:
Thanks for the suggestion Ken.  I finally got around to testing  
this, and unfortunatly the vchkpw segfaults continue even after  
recompiling without any compiler optimization flags.


The error in the messages log looks like this:

kernel: vchkpw[7073]: segfault at ffb8 rip  
0047e84c rsp 78eaf898 error 6


Anybody have any tips on how to debug this further?



Grep the changelog of the latest vpopmail for 64.  I think we made  
some changes after 5.4.9 that fixed segfaults on some 64-bit platforms.


I also recall a compiler option like -fPIC getting used at some point.

Sorry I don't have time to research further.  Hope this is enough  
info to point you in the right direction.


-Tom



!DSPAM:490094d232311638721458!



Re: [vchkpw] CentOS 5 64 bit vchkpw segfault - vpopmail 5.4.9 - softlimit related

2008-10-22 Thread Paul Oehler

Paul Oehler wrote:

Hi,

We're seeing vchkpw segfault seemingly at random during pop3
authentication, but only on CentOS 5 x86_64.  The result is pop3
authentication failing randomly.  CentOS 5 32 bit and CentOS 4 64
and 32 bit do not exhibit this behavior, with the same vpopmail code
base (5.4.9).  This is admittidly not the newest vpopmail version -
does this problem sound familiar to anyone and do you recall it
being fixed in one of the newer versions?

It appears to be related to the softlimit command that is used in
the invocation of pop3.  Attempting to raise the softlimit -m
parameter to very high values (as high as 51200) does not
prevent the segfault, however, removing the softlimit line entirely
does prevent the segfaults.  Also, copying the vchkpw binary
compiled on a 32 bit CentOS 5 OS to the 64 bit install also fixes
the problem.



You might want to try recompiling everything with out any compiler
optimization flags like -O or -O2.

We've seen some 64 bit systems have problems if -OX is enabled.
With the -O options removed and everything recompiled the problems
went away.


Thanks for the suggestion Ken.  I finally got around to testing this, and 
unfortunatly the vchkpw segfaults continue even after recompiling without 
any compiler optimization flags.


The error in the messages log looks like this:

kernel: vchkpw[7073]: segfault at ffb8 rip 0047e84c rsp 
78eaf898 error 6


Anybody have any tips on how to debug this further?

Paul 



!DSPAM:48ff580732314335212939!



Re: [vchkpw] CentOS 5 64 bit vchkpw segfault - vpopmail 5.4.9 - softlimit related

2008-10-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Oehler wrote:
 kernel: vchkpw[7073]: segfault at ffb8 rip 0047e84c
 rsp 78eaf898 error 6
 
 Anybody have any tips on how to debug this further?

There may be something wrong in one of the qmail configuration files that's 
making
vchkpw crash.  Unfortunately some of vpopmail's qmail interaction routines can 
still
get a little wonky if they encounter something unfamiliar.
- --
/*
Matt Brookings [EMAIL PROTECTED]   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI/1iR6QgvSNlBT3ARAhnfAJ9m1pK9cE3ivzoR9g1vMb/fX4cebACfbe01
UZVlfSANuHMhUzBE29D+6dc=
=MCNP
-END PGP SIGNATURE-


Re: [vchkpw] CentOS 5 64 bit vchkpw segfault - vpopmail 5.4.9 - softlimit related

2008-08-28 Thread Tom Collins

On Aug 27, 2008, at 8:35 AM, Paul Oehler wrote:

In the ChangeLog for 5.4.10 I see this:

Stephan Tesch
- md5.h: fix related to segfaults in vchkpw on Sparc64. [1144851]

What's the likelyhood that is related?



Very high.  I think 5.4.13 contained a more important fix for 64-bit  
when compiling Courier-IMAP against libvpopmail:


Compile libvpopmail with -fPIC option so amd64 users can compile  
courier-authlib against libvpopmail.a.


I recommend upgrading.

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



!DSPAM:48b6c3e632311686415078!



[vchkpw] CentOS 5 64 bit vchkpw segfault - vpopmail 5.4.9 - softlimit related

2008-08-27 Thread Paul Oehler

Hi,

We're seeing vchkpw segfault seemingly at random during pop3 authentication, 
but only on CentOS 5 x86_64.  The result is pop3 authentication failing 
randomly.  CentOS 5 32 bit and CentOS 4 64 and 32 bit do not exhibit this 
behavior, with the same vpopmail code base (5.4.9).  This is admittidly not 
the newest vpopmail version - does this problem sound familiar to anyone and 
do you recall it being fixed in one of the newer versions?


It appears to be related to the softlimit command that is used in the 
invocation of pop3.  Attempting to raise the softlimit -m parameter to very 
high values (as high as 51200) does not prevent the segfault, however, 
removing the softlimit line entirely does prevent the segfaults.  Also, 
copying the vchkpw binary compiled on a 32 bit CentOS 5 OS to the 64 bit 
install also fixes the problem.


I realize 5.4.9 is pretty old, but we don't require many of the new features 
in the newer vpopmail releases, and would prefer to not have to recompile 
qmail-smtpd if we can get away with it (where we're using chkuser).


In the ChangeLog for 5.4.10 I see this:

Stephan Tesch
- md5.h: fix related to segfaults in vchkpw on Sparc64. [1144851]

What's the likelyhood that is related?

Thanks,

Paul



!DSPAM:48b5743f32312110969750!



Re: [vchkpw] CentOS 5 64 bit vchkpw segfault - vpopmail 5.4.9 - softlimit related

2008-08-27 Thread Ken Jones

Paul Oehler wrote:

Hi,

We're seeing vchkpw segfault seemingly at random during pop3 
authentication, but only on CentOS 5 x86_64.  The result is pop3 
authentication failing randomly.  CentOS 5 32 bit and CentOS 4 64 and 32 
bit do not exhibit this behavior, with the same vpopmail code base 
(5.4.9).  This is admittidly not the newest vpopmail version - does this 
problem sound familiar to anyone and do you recall it being fixed in one 
of the newer versions?


It appears to be related to the softlimit command that is used in the 
invocation of pop3.  Attempting to raise the softlimit -m parameter to 
very high values (as high as 51200) does not prevent the segfault, 
however, removing the softlimit line entirely does prevent the 
segfaults.  Also, copying the vchkpw binary compiled on a 32 bit CentOS 
5 OS to the 64 bit install also fixes the problem.


I realize 5.4.9 is pretty old, but we don't require many of the new 
features in the newer vpopmail releases, and would prefer to not have to 
recompile qmail-smtpd if we can get away with it (where we're using 
chkuser).


In the ChangeLog for 5.4.10 I see this:

Stephan Tesch
- md5.h: fix related to segfaults in vchkpw on Sparc64. [1144851]

What's the likelyhood that is related?


You might want to try recompiling everything with out any compiler
optimization flags like -O or -O2.

We've seen some 64 bit systems have problems if -OX is enabled.
With the -O options removed and everything recompiled the problems went 
away.


Hope that helps,
Ken Jones