ptloader segfaulting while looking up LDAP groups

Ben Poliakoff benp at reed.edu
Wed Aug 9 12:53:47 EDT 2006


* Igor Brezac <igor at ipass.net> [20060809 07:39]:
> 
> 
> On Tue, 8 Aug 2006, Ben Poliakoff wrote:
> 
> >ptloader is segfaulting on multiple servers in my test environment when
> >the user that is connecting for IMAP service is found in more than one
> >group.
> >
> >I have a core file, but it doesn't seem that useful since a number of
> >the libraries that ptloader links to don't currently have debugging
> >symbols...
> 
> Can you provide backtrace?
> 

Yes, here's a backtrace...

Core was generated by `ptloader'.
Program terminated with signal 11, Segmentation fault.
...
#0  0x00002b180d157c00 in strlen () from /lib/libc.so.6
(gdb) bt
#0  0x00002b180d157c00 in strlen () from /lib/libc.so.6
#1  0x00000000004079f7 in ptsmodule_make_authstate_filter (canon_id=0x0,
    size=0, reply=0x6e, dsize=0x1, newstate=0x7fff9e958860) at
ldap.c:1070
#2  0x0000000000407de6 in myauthstate (identifier=0x0, size=4,
    reply=0x7fff9e9588d8, dsize=0x7fff9e9588e4) at ldap.c:1217
#3  0x000000000040590a in ptsmodule_make_authstate (
    identifier=0x7fff9e9588f0 "benp", size=4, reply=0x7fff9e9588d8,
    dsize=0x7fff9e9588e4) at ptloader.c:120
#4  0x0000000000405b60 in service_main_fd (c=7, argc=4, argv=0x5db69c,
    envp=0x0) at ptloader.c:235
#5  0x000000000040821a in main (argc=6099056, argv=0x7fff9e959258,
    envp=0x7fff9e959268) at service-thread.c:304

Ben


More information about the Info-cyrus mailing list