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

RE: Bug in LDAP_CONTROL_PROXY_AUTHZ (ITS#2871)



(gdb) bt
#0  0xfee1e694 in _lwp_kill () from /usr/lib/libc.so.1
#1  0xfedccfe0 in raise () from /usr/lib/libc.so.1
#2  0xfedb5c80 in abort () from /usr/lib/libc.so.1
#3  __eprintf (string=0x923c8 "%s:%u: failed assertion `%s'\n", expression=0x923e8 "ch_malloc.c", line=38, filename=0x923f8 "0")    at ../../gcc/libgcc2.c:-1
#4  0x000369f4 in ch_malloc (size=1424779042) at ch_malloc.c:38
#5  0x0004139c in print_vals (fp=0xc74a0, type=0xfee41fd8, bv=0xfee41fc8) at repl.c:440
#6  0x00040fd0 in replog1 (ri=0x0, op=0x1644b0, change=0xfee41fa0, fp=0xc74a0, dn=0x1647dc, now=1074720817) at repl.c:402
#7  0x000408a8 in replog (be=0x10df78, op=0x1644b0, dn=0x1647dc, ndn=0x1647e4, change=0x1647d8) at repl.c:180
#8  0x00026174 in do_add (conn=0x119f28, op=0x1644b0) at add.c:313
#9  0x00020798 in connection_operation (ctx=0x1173f8, arg_v=0x1644b0) at connection.c:918
#10 0xff34bbf4 in ldap_int_thread_pool_wrapper (xpool=0xc82a0) at tpool.c:432

Hope this helps.

-Igor


On Wed, 21 Jan 2004, Howard Chu wrote:

> All the tests run cleanly for me. Try to get a gdb backtrace of the crash.
> Also probably need to know your configure options, platform, etc.
>
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support
>
> > -----Original Message-----
> > From: owner-openldap-bugs@OpenLDAP.org
> > [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of igor@ipass.net
> > Sent: Wednesday, January 21, 2004 9:24 AM
> > To: openldap-its@OpenLDAP.org
> > Subject: Re: Bug in LDAP_CONTROL_PROXY_AUTHZ (ITS#2871)
> >
> >
> >
> > >>>>> Starting test007-replication ...
> > running defines.sh
> > Cleaning up in ./test-db...
> > Cleaning up in ./test-repl...
> > Starting master slapd on TCP/IP port 9009...
> > Starting slave slapd on TCP/IP port 9010...
> > Using ldapsearch to check that master slapd is running...
> > Waiting 5 seconds for slapd to start...
> > Using ldapsearch to check that slave slapd is running...
> > Starting slurpd...
> > Using ldapadd to populate the master directory...
> > 23865 Abort
> > ldapadd failed (81)!
> > ./scripts/test007-replication: kill: no such process
> > >>>>> ./scripts/test007-replication failed (exit 81)
> > make[1]: *** [test-bdb] Error 81
> > make[1]: Leaving directory `/var/src/openldap-2.1.26/tests'
> > make: *** [test] Error 2
> >
> > tail master.log
> > bdb_idl_insert_key: 2 %o=university of michigan,c=us
> > <= bdb_dn2id_add: 0
> > => entry_encode(0x00000002): ou=People,o=University of Michigan,c=US
> > => index_entry_add( 2, "ou=People,o=University of Michigan,c=US" )
> > => key_change(ADD,2)
> > bdb_idl_insert_key: 2 [9bee355f]
> > <= key_change 0
> > => key_change(ADD,2)
> > bdb_idl_insert_key: 2 [0096defd]
> > <= key_change 0
> > <= index_entry_add( 2, "ou=People,o=University of
> > Michigan,c=US" ) success
> > conn=2 op=1 RESULT tag=105 err=0 text=
> > ch_malloc of 1424779042 bytes failed
> > ch_malloc.c:38: failed assertion `0'
> >
> > On Wed, 21 Jan 2004, Howard Chu wrote:
> >
> > > I've just backported this patch to RE21. Assuming there are
> > no issues with the
> > > patch, it should be in 2.1.26. Please test RE21...
> > >
> >
> > --
> > Igor
> >
> >
> >
>
>

-- 
Igor