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

Re: 2.3.23 crashes on start up



Pierangelo Masarati <ando@sys-net.it> writes:

> On Thu, 2006-05-25 at 23:17 +0200, Dieter Kluenter wrote:
>
>> The last lines of debugging ouput are
>> 
>> ,----[ debugging output ]
>> | => test_filter
>> |     PRESENT
>> | => access_allowed: search access to "cn=config" "objectClass" requested
>> | <= root access granted
>> | <= test_filter 6
>> | slapd: ldif.c:416: r_enum_tree: Assertion `itmp.bv_val[ 0 ] != '-'' failed.
>> `----
>
> Can you look at the contents of the stack?  I'd be interested in itmp,
> bvl->bv and in general to a bt full.
>
> In any case, I'm fixing the use of strchr() in there, as it could read
> past the end of the berval.

OK, here is the results from backtrace

,----[ gdb output ]
| (gdb) run -h "ldap:/// ldapi:///" -u ldap -g ldap
| 
| Starting program: /usr/local/libexec/slapd -h "ldap:/// ldapi:///" -u ldap -g ldap
| [Thread debugging using libthread_db enabled]
| [New Thread 46912514563232 (LWP 6697)]
| slapd: ldif.c:416: r_enum_tree: Assertion `itmp.bv_val[ 0 ] != '-'' failed.
| 
| Program received signal SIGABRT, Aborted.
| [Switching to Thread 46912514563232 (LWP 6697)]
| 0x00002aaaaba48e79 in raise () from /lib64/tls/libc.so.6
| (gdb) bt full
| #0  0x00002aaaaba48e79 in raise () from /lib64/tls/libc.so.6
| No symbol table info available.
| #1  0x00002aaaaba4a48f in abort () from /lib64/tls/libc.so.6
| No symbol table info available.
| #2  0x00002aaaaba42960 in __assert_fail () from /lib64/tls/libc.so.6
| No symbol table info available.
| #3  0x000000000049275b in ldif_back_initialize ()
| No symbol table info available.
| #4  0x00000000004927de in ldif_back_initialize ()
| No symbol table info available.
| #5  0x000000000049369f in ldif_back_initialize ()
| No symbol table info available.
| #6  0x000000000041dcc6 in read_config ()
| No symbol table info available.
| #7  0x0000000000414b3d in main ()
| No symbol table info available.
`----

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6