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

Re: chain-overlay question

Markus Krause wrote:
> Zitat von Pierangelo Masarati <ando@sys-net.it>:
>> Markus Krause wrote:
>>>> That's another issue.  You may send a stack backtrace after this crash.
>>> here are the last 70 lines which i think are written by strace after i
>>> used ldappasswd (just tell me if you want to see more of it, i just
>>> thought that 2600+ lines are to much for the list and of no use):
>>> --- tail -70 strace slapd -d 65535
>> I mean: stack backtrace from a debugger, e.g. gdb.
> ok, the final lines are:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1255220320 (LWP 2118)]
> 0xb7afbe8b in strlen () from /lib/libc.so.6
> (gdb) bt
> #0  0xb7afbe8b in strlen () from /lib/libc.so.6
> #1  0xb7ad0828 in vfprintf () from /lib/libc.so.6
> #2  0x801450a2 in __PRETTY_FUNCTION__.10283 () from /usr/lib/openldap/slapd
> #3  0x00000015 in ?? ()
> #4  0x00000000 in ?? ()

This backtrace is nearly useless because it resulted from a stripped
binary.  I say "nearly" because it's sort of telling me you're likely
using Solaris or similar, which core dumps when *printf'ing a NULL
(Linux prints a literal "(null)"), but unfortunately it's not telling
where this happens.  In any case, you should be able to easily reproduce
the issue with a non-stripped binary (e.g. the one that's in the build

Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it