[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: assertion failure in liblber sockbuf.c
On Thu, Feb 14, 2002 at 03:50:01PM -0800, Kurt D. Zeilenga wrote:
> At 05:55 AM 2002-02-13, Ian wrote:
>
> >The second time I connect with the same dn, I get when calling
> >ldap_simple_bind_s (I can see the "LDAP Options set" message, pwd is
> >also *not* NULL):
> >
> >useragent: sockbuf.c:76: ber_sockbuf_ctrl: Assertion `( ( sb
> >)->sb_opts.lbo_valid == 0x3 )' failed.
> >./run: line 37: 9701 Aborted ./useragent/useragent
> >-ORBInitRef
> >NameService=corbaloc:iiop:$host:$port/NameService
> >
> >I only found one reference in the archives to a similar msg, but it
> >was about the assertion in line 75.
>
> I would suspect that the line number difference is irrelevant.
No, there's 2 assertions right there, one on line 75, and one on line
76. The one on line 75 checks something for 0x0. This one is
different... obviously :)
> >Does anybody have a clue as to what may be the problem?
>
> I'm not a C++ programmer, but I'd suspect you are not managing
> access to the session handle properly. The assert implies you
> are calling the LDAP function with an invalid or trashed
> session handle.
OK, thanks for the clue :) Seems I have some buffer overrun somewhere
too, may have something to do with it.
Ian.