Getting IMSP segfaults when accessing LDAP

Rob Tanner rtanner+cyrus at linfield.edu
Wed Apr 21 17:47:45 EDT 2004


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_port=htons(53), 
sin_addr=inet_addr("10.171.255.5")}, [16]) = 145
close(6)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {SIG_DFL}, {0x804adb8, [SEGV], SA_RESTORER|SA_RESTART, 
0xb7281c08}, 8) = 0
getpid()                                = 27947
kill(27947, SIGSEGV)                    = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

-- Rob


--On Wednesday, April 21, 2004 05:33:08 PM -0400 Rob Siemborski 
<rjs3 at andrew.cmu.edu> wrote:

> 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 "warning: assignment makes pointer
>> from integer without a cast" errors when compiling abook_ldap.c.  The
>> compile nevertheless succeeds.  But when the server tries to access LDAP
>> to to a search, the process terminates with a segmention fault.  I don't
>> find any special instructions in notes/Build-instructions for LDAP, and I
>> followed the instructions in notes/Setup-instructions to the letter.  Is
>> there something else I need to do?
>>
>> Also, I did not include the strace (that's how I know it dies on a seg
>> fault) because it's quite long, but I can post it if it would be helpful.
>
> If you can post the backtrace from the coredump, that'd be most helpful
> actually.
>
> -Rob
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
>




Rob Tanner
Linfield College
McMinnville, Oregon
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list