[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5355) back-meta calls back-ldap directly
On Sun, Jun 29, 2008 at 11:29:58PM -0700, Steve Langasek wrote:
> Are you seeing this as well, or is this somehow specific to Debian? (It
> doesn't seem like it should be related to libltdl in any way, and we don't
> have any other patches that touch the meta backend; and I saw this segfault
> both with the version of the patch I sent, and the one extracted from CVS.)
> Unfortunately, running these tests under gdb seems to be pretty awkward. :/
Well, here's the backtrace:
0x00007f9d6a45ef60 in meta_back_db_config (be=0xa7bbb0,
fname=0x9f1040 "/home/devel/openldap/build-area/openldap2.3-2.4.10/debian/build/tests/testrun/slapd.3.conf", lineno=65, argc=6, argv=0xa3d230)
at /home/devel/openldap/build-area/openldap2.3-2.4.10/servers/slapd/back-meta/config.c:1162
1162 return mi->mi_ldap_extra->idassert_parse_cf( fname, lineno, argc, argv, &mi->mi_targets[ mi->mi_ntargets - 1 ]->mt_idassert );
#0 0x00007f9d6a45ef60 in meta_back_db_config (be=0xa7bbb0,
fname=0x9f1040 "/home/devel/openldap/build-area/openldap2.3-2.4.10/debian/build/tests/testrun/slapd.3.conf", lineno=65, argc=6, argv=0xa3d230)
at /home/devel/openldap/build-area/openldap2.3-2.4.10/servers/slapd/back-meta/config.c:1162
#1 0x000000000042ab13 in read_config_file (fname=<value optimized out>,
depth=<value optimized out>, cf=0x0, cft=0x71e0e0)
at /home/devel/openldap/build-area/openldap2.3-2.4.10/servers/slapd/config.c:786
#2 0x000000000042692d in read_config (
fname=0x9f1040 "/home/devel/openldap/build-area/openldap2.3-2.4.10/debian/build/tests/testrun/slapd.3.conf", dir=0x0)
at /home/devel/openldap/build-area/openldap2.3-2.4.10/servers/slapd/bconfig.c:3461
#3 0x0000000000419f3b in main (argc=8, argv=0x7fff77dc3e88)
at /home/devel/openldap/build-area/openldap2.3-2.4.10/servers/slapd/main.c:754
$1 = (ldap_extra_t *) 0x0
So meta_back_db_config() seems to be getting called before
meta_back_db_open() ?
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org