Segmention fault on redhat 9 on ldap_simple_bind_s

jean-marc pouchoulon jean-marc.pouchoulon at ac-montpellier.fr
Mon Oct 6 13:02:57 CEST 2003


Thanks for yours previous answers, it works on debian,xp  without any
problem but on redhat 9 no.

What I can see using strace is
connect(4, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("X.X.X.X")}, 28) = 0
send(4, "]\242\1\0\0\1\0\0\0\0\0\0\00212\00261\003168\003192\7i"..., 44,
0) = 44
gettimeofday({1065437510, 248252}, NULL) = 0
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(4, FIONREAD, [436])               = 0
recvfrom(4, "]\242\205\200\0\1\0\1\0\t\0\t\00212\00261\003168\00319"...,
1024, 0, {sa_family=AF_INET, sin_port=htons(53
), sin_addr=inet_addr("X.X.X.X")}, [16]) = 436
close(4)                                = 0
brk(0)                                  = 0x81d1000
brk(0x81d5000)                          = 0x81d5000
brk(0)                                  = 0x81d5000
brk(0x81d6000)                          = 0x81d6000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++



Any ideas ?

Thanks .








More information about the python-ldap mailing list