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

FW: Application Error in slapd.exe on W2000



Has anyone experienced the same problems or is it only me?
I tested with the same ldif-file but with version 2.0.23 of OpenLDAP
and it works fine!


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Geert Van
Muylem
Sent: donderdag 25 juli 2002 21:36
To: LDAP Mailing List (E-mail)
Subject: FW: Application Error in slapd.exe on W2000


Hi to all,

IS it possible that there is a serious memory leak in the server.
I've enabled LDAP_MEMORY_TRACE and saw that the mem in-use is increasing
rapidely untill the server crashes...

Any one any idea?

Thanks,
Geert




-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Geert Van
Muylem
Sent: donderdag 25 juli 2002 9:40
To: 'Kervin L. Pierre'
Cc: 'LDAP Mailing List (E-mail)'
Subject: RE: Application Error in slapd.exe on W2000


Hi,

Running the debug version of the server gives me an exception
with the following call stack:

NTDLL! 77fa018c()
NTDLL! 77fb6454()
NTDLL! 77f9260c()
KERNEL32! 77e91495()
_CrtIsValidHeapPointer(const void * 0x01520180) line 1697
_free_dbg_lk(void * 0x01520180, int 1) line 1044 + 9 bytes
_free_dbg(void * 0x01520180, int 1) line 1001 + 13 bytes
free(void * 0x01520180) line 956 + 11 bytes
ber_memfree(void * 0x01520180) line 143 + 9 bytes
ch_free(void * 0x01520180) line 125 + 9 bytes
bdb_entry_return(slap_entry * 0x0172f4b8) line 227 + 12 bytes
bdb_cache_add_entry_rw(__db_env * 0x003e2798, bdb_cache * 0x00f75a8c,
slap_entry * 0x0172f4b8, int 0, unsigned int 3352, __db_lock_u * 0x0151fd6c)
line 601 + 9 bytes
bdb_id2entry_rw(slap_backend_db * 0x00f75990, __db_txn * 0x00000000,
unsigned long 716, slap_entry * * 0x0151fd60, int 0, unsigned int 3352,
__db_lock_u * 0x0151fd6c) line 128 + 36 bytes
bdb_dn2entry_rw(slap_backend_db * 0x00f75990, __db_txn * 0x00000000, berval
* 0x00fc227c, slap_entry * * 0x0151fd5c, slap_entry * * 0x0151fd60, int 0,
int 0, unsigned int 3352, __db_lock_u * 0x0151fd6c) line 59 + 31 bytes
bdb_referrals(slap_backend_db * 0x00f75990, slap_conn * 0x00f76fe8, slap_op
* 0x00fc3968, berval * 0x00fc2274, berval * 0x00fc227c, const char * *
0x0151fd9c) line 46 + 35 bytes
backend_check_referrals(slap_backend_db * 0x00f75990, slap_conn *
0x00f76fe8, slap_op * 0x00fc3968, berval * 0x00fc2274, berval * 0x00fc227c)
line 996 + 32 bytes
do_add(slap_conn * 0x00f76fe8, slap_op * 0x00fc3968) line 230 + 31 bytes
connection_operation(void * 0x00fbb1c8) line 952 + 16 bytes
ldap_int_thread_pool_wrapper(void * 0x009e59c0) line 401 + 13 bytes
_threadstartex(void * 0x00f435e0) line 212 + 13 bytes
KERNEL32! 77e8758a()

Any help is appreciated!

Geert

-----Original Message-----
From: Kervin L. Pierre [mailto:kervin@blueprint-tech.com]
Sent: donderdag 25 juli 2002 7:10
To: Geert.Van.Muylem@SKYNET.BE
Cc: LDAP Mailing List (E-mail)
Subject: Re: Application Error in slapd.exe on W2000



Do you have a debug build you can use?  Can you reproduce the error on a
  machine with a debugger?  You may need to run the debug build in MSVC
to get a stacktrace.

OpenLDAP no longer supports Cyrus 1.x builds, IIRC.  Please correct me
if I'm work someone.  OpenLDAP configure complains about all but recent
versions of SASL and some intermittant crashes I came across were
attributed to the SASL library, even if I only used '-x'.  If you don't
need the SASL, try building without it.

I have a similar config as you that seems to work ok.
berkeley 4.0.14, OpenSSL 0.9.6d, back-perl with active state perl 5.6.1.
Those binaries are here.
http://prdownloads.sf.net/acctsync/openldap-binaries-2.1.3-16JUL02.zip
See if those crash as well.  You need activestate perl binaries to run
these though, as they are linked against perl56.dll ( I need back-perl )

--Kervin



Geert Van Muylem wrote:
> Hi,
>
> I've build OpenLDAP 2.1.3 on a W2K system based on
> - Berkeley DB 4.0.14
> - Cyrus SASL 1.5.24
> - OpenSSL 0.9.6d (TLS enabled)
> - HS regex-lib
>
> I've tried to import a big ldif file:
> (ldapmodify -x -a -D "cn=Manager, c=BE" -w "password" -f x500-names.ldif)
>
> This gives me "sometimes" an application error in slapd.exe and
"sometimes"
> this works!!
>
> After a successfull import, I'm having the same error when performing the
> next search:
> ldapsearch -x -b "c=US" -D "cn=Manager,c=be" -w "password"
> (userCertificate=*)
>
> Leaving out the filter gives me back all entries
> ldapsearch -x -b "c=US" -D "cn=Manager,c=be" -w "password"
>
> Here's my slapd.conf
>
>
> Can someone please help me with this one?
> Thanks in advance!
>
> Geert
>
>
>