Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Rob Tanner
Rob, I've included just the tail end of the strace confirming the segmentaion fault, but there was no corresponding core dump. Do I have to do something special to cause it to dump core? recvfrom(6, "\221,\205\200\0\1\0\1\0\2\0\2\0011\003255\003171\00210"..., 1024, 0, {sa_family=AF_INET, sin_

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Rob Siemborski
On Wed, 21 Apr 2004, Rob Tanner wrote: > I installed Cyrus IMSP server version 1.7b on a RH AS3 server and configured > it with LDAP to use our LDAP server as the backend for the global > addressbook. I am using the dfault distro libs for LDAP, and imsp builds > okay except I get a bunch of "war

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Rob Siemborski
On Thu, 22 Apr 2004, Moritz Both wrote: > It looks llike it may be related to re-entrace in the sasl libraries. > See this: [snip] > The problem was that pam_ldap was compiled with sasl, and the sasl > libraries are not reentrant. Thus a double free bug was triggered. Yup, it looks like this is

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Wil Cooley
On Wed, 2004-04-21 at 20:54, Rob Tanner wrote: > Craig, > > I did a bit of googling, and I found a lot of complaints about RH not > dumping core, but no one seems to know had to turn that limitation off. > Have you any ideas? > > If nothing else, at least I've paid my bucks to RedHat so I shoul

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Rob Tanner
Rob, Took a while to figure out what to set so that core could get dumped. I think this is what you're asking for: (gdb) bt #0 0xb7473127 in _sasl_ipfromstring (addr=0x1 bounds>, out=0x0, outlen=0) at common.c:1658 #1 0xb7472140 in sasl_setprop (conn=0x806dfa8, propnum=1, value=0x1) at commo

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Rob Tanner
Craig, I did a bit of googling, and I found a lot of complaints about RH not dumping core, but no one seems to know had to turn that limitation off. Have you any ideas? If nothing else, at least I've paid my bucks to RedHat so I should be able to ask them. -- Rob --On Friday, April 23, 2004

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Craig Ringer
On Thu, 2004-04-22 at 11:54, Rob Tanner wrote: > Craig, > > I did a bit of googling, and I found a lot of complaints about RH not > dumping core, but no one seems to know had to turn that limitation off. > Have you any ideas? > > If nothing else, at least I've paid my bucks to RedHat so I shou

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Craig Ringer
On Wed, 2004-04-21 at 21:47, Rob Tanner wrote: > Rob, > > I've included just the tail end of the strace confirming the segmentaion > fault, but there was no corresponding core dump. Do I have to do something > special to cause it to dump core? Some versions of RH seem to set a core file size

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Rob Tanner
--On Thursday, April 22, 2004 11:21:38 AM -0400 Rob Siemborski <[EMAIL PROTECTED]> wrote: On Thu, 22 Apr 2004, Moritz Both wrote: It looks llike it may be related to re-entrace in the sasl libraries. See this: [snip] The problem was that pam_ldap was compiled with sasl, and the sasl libraries ar

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Rob Siemborski
On Thu, 22 Apr 2004, Moritz Both wrote: > It looks llike it may be related to re-entrace in the sasl libraries. > See this: [snip] > The problem was that pam_ldap was compiled with sasl, and the sasl > libraries are not reentrant. Thus a double free bug was triggered. Yup, it looks like this is l

Re: Getting IMSP segfaults when accessing LDAP

2004-04-22 Thread Moritz Both
It looks llike it may be related to re-entrace in the sasl libraries. See this: http://bugs.debian.org/145766 I had seg faults on debian woody when I tried this: Cyrus imap -> sasl -> pam -> pam_ldap The problem was that pam_ldap was compiled with sasl, and the sasl libraries are not reentran

Re: Getting IMSP segfaults when accessing LDAP

2004-04-21 Thread Craig Ringer
On Thu, 2004-04-22 at 11:54, Rob Tanner wrote: > Craig, > > I did a bit of googling, and I found a lot of complaints about RH not > dumping core, but no one seems to know had to turn that limitation off. > Have you any ideas? > > If nothing else, at least I've paid my bucks to RedHat so I shoul

Re: Getting IMSP segfaults when accessing LDAP

2004-04-21 Thread Rob Tanner
Rob, Took a while to figure out what to set so that core could get dumped. I think this is what you're asking for: (gdb) bt #0 0xb7473127 in _sasl_ipfromstring (addr=0x1 bounds>, out=0x0, outlen=0) at common.c:1658 #1 0xb7472140 in sasl_setprop (conn=0x806dfa8, propnum=1, value=0x1) at commo

Re: Getting IMSP segfaults when accessing LDAP

2004-04-21 Thread Rob Tanner
Craig, I did a bit of googling, and I found a lot of complaints about RH not dumping core, but no one seems to know had to turn that limitation off. Have you any ideas? If nothing else, at least I've paid my bucks to RedHat so I should be able to ask them. -- Rob --On Friday, April 23, 2004

Re: Getting IMSP segfaults when accessing LDAP

2004-04-21 Thread Craig Ringer
On Wed, 2004-04-21 at 21:47, Rob Tanner wrote: > Rob, > > I've included just the tail end of the strace confirming the segmentaion > fault, but there was no corresponding core dump. Do I have to do something > special to cause it to dump core? Some versions of RH seem to set a core file size l

Re: Getting IMSP segfaults when accessing LDAP

2004-04-21 Thread Rob Tanner
Rob, I've included just the tail end of the strace confirming the segmentaion fault, but there was no corresponding core dump. Do I have to do something special to cause it to dump core? recvfrom(6, "\221,\205\200\0\1\0\1\0\2\0\2\0011\003255\003171\00210"..., 1024, 0, {sa_family=AF_INET, sin_

Re: Getting IMSP segfaults when accessing LDAP

2004-04-21 Thread Rob Siemborski
On Wed, 21 Apr 2004, Rob Tanner wrote: > I installed Cyrus IMSP server version 1.7b on a RH AS3 server and configured > it with LDAP to use our LDAP server as the backend for the global > addressbook. I am using the dfault distro libs for LDAP, and imsp builds > okay except I get a bunch of "warn

Getting IMSP segfaults when accessing LDAP

2004-04-21 Thread Rob Tanner
Hi, I installed Cyrus IMSP server version 1.7b on a RH AS3 server and configured it with LDAP to use our LDAP server as the backend for the global addressbook. I am using the dfault distro libs for LDAP, and imsp builds okay except I get a bunch of "warning: assignment makes pointer from integer