[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7224) Core dump while trying to run slapd
Same place when I am trying to slapadd.
[root@qa-perf13 ~]# gdb /usr/local/sendmail/smd/sbin/slapadd
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-42.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/sendmail/smd-5.0/sbin/slapadd...done.
(gdb) core /var/core/core.slapadd.3064.11
[New Thread 3064]
Reading symbols from /lib64/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols
found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
warning: no loadable sections found in added symbol-file system-supplied
DSO at 0x7fff4d324000
Core was generated by `/usr/local/sendmail/smd/sbin/slapadd -l
newldif.new.new.6 -w -c'.
Program terminated with signal 11, Segmentation fault.
#0 oc_delete_names (oc=0x1bbbf6f0) at oc.c:403
403 oc.c: No such file or directory.
in oc.c
(gdb) where
#0 oc_delete_names (oc=0x1bbbf6f0) at oc.c:403
#1 0x0000000000461aa7 in oc_destroy () at oc.c:470
#2 0x000000000045128e in schema_destroy () at schema_init.c:6846
#3 0x0000000000486ecd in slap_tool_destroy () at slapcommon.c:942
#4 0x0000000000485f73 in slapadd (argc=<value optimized out>,
argv=<value optimized out>) at slapadd.c:493
#5 0x0000000000404f32 in main (argc=5, argv=0x7fff4d2c1cf8) at main.c:410
(gdb) p * names
Cannot access memory at address 0x0
(gdb) p names
$1 = (char **) 0x0
(gdb) p *oc
$2 = {soc_oclass = {oc_oid = 0x1bbbf370 "1.3.6.1.4.1.6152.10.3.2.16",
oc_names = 0x0, oc_desc = 0x0, oc_obsolete = 0, oc_sup_oids = 0x0,
oc_kind = 1, oc_at_oids_must = 0x0, oc_at_oids_may = 0x0, oc_extensions
= 0x0}, soc_cname = {
bv_len = 26, bv_val = 0x1bbbf370 "1.3.6.1.4.1.6152.10.3.2.16"},
soc_sups = 0x1bbbf3a0, soc_required = 0x1bbbf3c0, soc_allowed = 0x0,
soc_check = 0, soc_oidmacro = 0x0, soc_flags = 0, soc_next = {stqe_next
= 0x1bbc0fd0}}
(gdb) p oc
$3 = (ObjectClass *) 0x1bbbf6f0