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

Client timeout dumps core

2.4.7 on FreeBSD 4.10-STABLE

On setting the general client timeout with LDAP_OPT_TIMEOUT and performing 
a search on a simulated hung server ("nc -l 389"), I get a coredump:

assertion "r != NULL" failed: file "error.c", line 272


(gdb) bt
#0  0x28136748 in kill () from /usr/lib/libc.so.4
#1  0x2817803e in abort () from /usr/lib/libc.so.4
#2  0x28154033 in __assert () from /usr/lib/libc.so.4
#3  0x280bf519 in ldap_parse_result (ld=0x8050000, r=0x0, errcodep=0xbfbfdb2c, 
    matcheddnp=0x0, errmsgp=0x0, referralsp=0x0, serverctrls=0x0, freeit=0)
    at error.c:272
#4  0x280bf455 in ldap_result2error (ld=0x8050000, r=0x0, freeit=0)
    at error.c:222
#5  0x280c016d in ldap_search_s (ld=0x8050000, base=0x0, scope=2, 
    filter=0xbfbff450 "(uid=daveh)", attrs=0xbfbfdbd8, attrsonly=0, 
    res=0xbfbfdbe0) at search.c:392
#6  0x8049e9b in main (argc=0, argv=0xbfbff8b8) at lget.c:662

Known problem?  Should I file an ITS?

Dave Horsfall DTM VK2KFU  Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch)
Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU