[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5235) ppolicy leads to segfault



Full_Name: Dieter Kluenter
Version: HEAD
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (84.142.231.219)


I am testing ppolicy overlay with HEAD. When starting slapd it segfaults with: 
....
ber_scanf fmt ({mm}) ber:
ber_dump: buf=0xa015009c ptr=0xa01500bc end=0xa01500e5 len=41
  0000:  00 27 04 14 65 6e 74 72  79 45 78 70 69 72 65 54   .'..entryExpireT  
  0010:  69 6d 65 73 74 61 6d 70  04 0f 32 30 30 37 31 31   imestamp..200711  
  0020:  31 35 32 31 31 31 32 33  5a                        15211123Z         
end get_filter 0
end get_filter_list
end get_filter 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa0a51b90 (LWP 5703)]
0xb7a67139 in free () from /lib/libc.so.6

this is gdb backtrace

(gdb) bt
#0  0xb7a67139 in free () from /lib/libc.so.6
#1  0xb7ec128a in ber_memfree_x (p=0x2001, ctx=0x0) at memory.c:152
#2  0x0808f556 in ch_free ()
#3  0xb76f458c in ppolicy_restrict (op=0xa0a50d54, rs=0xa0a51148)
    at ppolicy.c:1245
#4  0x080d564e in overlay_op_walk ()
#5  0x080d5bee in ?? ()
#6  0xa0a50d54 in ?? ()
#7  0xa0a51148 in ?? ()
#8  0x00000002 in ?? ()
#9  0x082695b0 in ?? ()
#10 0x08270c50 in ?? ()
#11 0xa0a50be8 in ?? ()
#12 0xa0a50cec in ?? ()
#13 0xa0a50ce8 in ?? ()
#14 0x00000002 in ?? ()
#15 0xa0a51148 in ?? ()
#16 0x08270c50 in ?? ()
#17 0x000003f2 in ?? ()
#18 0x00000000 in ?? ()

-Dieter