Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 17:53:56 +0400
From:      "Alex Deiter" <tiamat@komi.mts.ru>
To:        <sparc64@freebsd.org>
Subject:   openldap/slapd: Program terminated with signal 4, Illegal instruction
Message-ID:  <00ae01c2f9e8$788d99f0$b901320a@komi.mts.ru>

next in thread | raw e-mail | index | archive | help
Hello!

Can anyone track down the cause of these core dump:

Apr  3 13:00:25 kernel: pid 95713 (slapd), uid 0: exited on signal 4 (core
dumped)
Apr  3 13:39:15 kernel: pid 44771 (slapd), uid 0: exited on signal 4 (core
dumped)
Apr  3 14:36:23 kernel: pid 1471 (slapd), uid 0: exited on signal 4 (core
dumped)

# gdb53 /usr/local/libexec/slapd ./slapd.core
GNU gdb 5.3 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc64-portbld-freebsd5.0"...
Core was generated by `slapd'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/local/lib/libdb41.so.1...done.
Loaded symbols for /usr/local/lib/libdb41.so.1
Reading symbols from /usr/local/lib/libsasl2.so.2...done.
Loaded symbols for /usr/local/lib/libsasl2.so.2
Reading symbols from /usr/lib/libssl.so.3...done.
Loaded symbols for /usr/lib/libssl.so.3
Reading symbols from /usr/lib/libcrypto.so.3...done.
Loaded symbols for /usr/lib/libcrypto.so.3
Reading symbols from /usr/lib/libfetch.so.3...done.
Loaded symbols for /usr/lib/libfetch.so.3
Reading symbols from /usr/lib/libcom_err.so.2...done.
Loaded symbols for /usr/lib/libcom_err.so.2
Reading symbols from /usr/lib/libcrypt.so.2...done.
Loaded symbols for /usr/lib/libcrypt.so.2
Reading symbols from /usr/lib/libwrap.so.3...done.
Loaded symbols for /usr/lib/libwrap.so.3
Reading symbols from /usr/lib/libc.so.5...done.
Loaded symbols for /usr/lib/libc.so.5
Reading symbols from /usr/local/lib/sasl2/libsasldb.so...done.
Loaded symbols for /usr/local/lib/sasl2/libsasldb.so
Reading symbols from /usr/local/lib/sasl2/libcrammd5.so...done.
Loaded symbols for /usr/local/lib/sasl2/libcrammd5.so
Reading symbols from /usr/local/lib/sasl2/libdigestmd5.so...done.
Loaded symbols for /usr/local/lib/sasl2/libdigestmd5.so
Reading symbols from /usr/local/lib/sasl2/libplain.so...done.
Loaded symbols for /usr/local/lib/sasl2/libplain.so
Reading symbols from /usr/local/lib/sasl2/libanonymous.so...done.
Loaded symbols for /usr/local/lib/sasl2/libanonymous.so
Reading symbols from /usr/local/lib/sasl2/liblogin.so...done.
Loaded symbols for /usr/local/lib/sasl2/liblogin.so
Reading symbols from /usr/local/lib/sasl2/libntlm.so...done.
Loaded symbols for /usr/local/lib/sasl2/libntlm.so
Reading symbols from /usr/libexec/ld-elf.so.1...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x00000000001607bc in uckdecomp (code=1057, num=0x7fdffffdbc8,
    decomp=0x7fdffffdbc0) at ucdata.c:871
871             if (code > _uckdcmp_nodes[m])
(gdb) bt
#0  0x00000000001607bc in uckdecomp (code=1057, num=0x7fdffffdbc8,
    decomp=0x7fdffffdbc0) at ucdata.c:871
#1  0x0000000000160948 in uccanoncompatdecomp (in=0x364a00, inlen=24,
    out=0x7fdffffdd88, outlen=0x7fdffffdd84, mode=1) at ucdata.c:915
#2  0x0000000000160c9c in uccompatdecomp (in=0x0, inlen=24,
out=0x7fdffffdd88,
    outlen=0x7fdffffdd84) at ucdata.c:980
#3  0x0000000000162264 in UTF8bvnormcmp (bv1=0x18, bv2=0x3682c0, flags=0)
    at ucstr.c:379
#4  0x0000000000132b14 in caseIgnoreMatch (matchp=0x7fdffffe00c, flags=1,
    syntax=0x2d0780, mr=0x2d6900, value=0x368300, assertedValue=0x3682c0)
    at schema_init.c:1780
#5  0x00000000001224c0 in value_match (match=0x7fdffffe00c, ad=0x2fbc40,
    mr=0x2d6900, flags=1, v1=0x362e00, v2=0x7fdffffe010, text=0x7fdffffe1c0)
    at value.c:354
#6  0x0000000000143a30 in modify_add_values (e=0x367000, mod=0x2fbac0,
    permissive=0, text=0x7fdffffe1c0, textbuf=0x7fdffffe220 "", textlen=256)
    at mods.c:410
#7  0x0000000000147d14 in bdb_modify_internal (be=0x2d2800, conn=0x36b7a0,
    op=0x35b600, tid=0x35b700, modlist=0x2fbac0, e=0x367000,
text=0x7fdffffe1c0,
    textbuf=0x7fdffffe220 "", textlen=256) at modify.c:59
#8  0x00000000001488b8 in bdb_modify (be=0x2d2800, conn=0x36b7a0,
op=0x35b600,
    dn=0x7fdffffe760, ndn=0x7fdffffe750, modlist=0x2fbac0) at modify.c:449
#9  0x000000000011fb3c in do_modify (conn=0x36b7a0, op=0x35b600) at
modify.c:424
#10 0x000000000010b350 in connection_operation (ctx=0x0, arg_v=0x2e2ef0)
    at connection.c:947
#11 0x0000000000168cf0 in ldap_pvt_thread_pool_submit (pool=0x2b0ac0,
    start_routine=0x10b1c0 <connection_operation>, arg=0x2e2ef0) at
thr_stub.c:159
#12 0x000000000010c2e4 in connection_op_activate (conn=0x36b7a0,
op=0x35b600)
    at connection.c:1625
#13 0x000000000010bebc in connection_input (conn=0x36b7a0) at
connection.c:1496
#14 0x000000000010b9c4 in connection_read (s=14) at connection.c:1265
#15 0x0000000000109044 in slapd_daemon_task (ptr=0xe) at daemon.c:1854
#16 0x0000000000168adc in ldap_pvt_thread_create (thread=0x7fdfffff7dc,
detach=0,
    start_routine=0x107700 <slapd_daemon_task>, arg=0x0) at thr_stub.c:48
#17 0x0000000000109304 in slapd_daemon () at daemon.c:1943
#18 0x0000000000105300 in main (argc=1091126904, argv=0x7fdfffffa50) at
main.c:557
#19 0x0000000000104824 in _start ()
(gdb)

i try it on today 5.0-CURRENT(gcc 3.2.2) and 5.0-RELEASE(gcc 3.2.1) with
identical result.

Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ae01c2f9e8$788d99f0$b901320a>