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

Memory access violation on multiprocessor NT 4.0 (ITS#871)

Full_Name: Jerzy Wirecki
Version: 2.0.6
OS: NT 4.0 sp5
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

When running slapd 2.0.6 linked with BerkeleyDB 3.1.17 on
multiprocessor NT 4.0, memory access violation is generated
in libdb31.dll. If, however, slapd is built with only
1 worker thread (macro SLAP_MAX_WORKER_THREADS in slap.h
set to 1), it runs OK.

This problem looks to me like threads synchronization issue;
when requests are serialized by slapd, everything is

I couldn't reproduce the problem on a single-processor system
(probably, because a single-processor system provides a less
stressful environment for testing threads synchronization).