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

Concurrency problems on Mac OS X?



Hi,

I am trying to get OpenLDAP 2.1.3 over BerkeleyDB 4.0 running on Mac OS X
(10.1.5) and am running into problems with test008-concurrency. Basically, I
get what I guess is the Darwin equivalent of a core dump (internal error?).
My output for test008 looks like:

>>>>> Starting test008-concurrency ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Waiting 5 seconds for slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to check that slapd is running...
Waiting 5 seconds for slapd to start...
Using tester for concurrent server access...
PID=1212 - Read(1000): entry="cn=James A Jones 1, ou=Alumni Association,
ou=People, o=University of Michigan, c=US".
PID=1209 - Read(1000): entry="ou=Alumni Association, ou=People, o=University
of Michigan, c=US".
PID=1203 - Read(1000): entry="cn=ITD Staff,ou=Groups,o=University of
Michigan,c=US".
PID=1211 - Search(500): base="o=University of Michigan,c=US",
filter="cn=Alumni Assoc Staff".
PID=1206 - Read(1000): entry="ou=Groups, o=University of Michigan, c=US".
PID=1208 - Search(500): base="o=University of Michigan,c=US",
filter="cn=Bjorn Jensen".
PID=1202 - Search(500): base="o=University of Michigan,c=US",
filter="cn=Bjorn Jensen".
PID=1204 - Add/Delete(50): entry="cn=James A Jones 3,ou=Alumni
Association,ou=People,o=University of Michigan,c=US".
PID=1207 - Add/Delete(50): entry="cn=James A Jones 4,ou=People,o=University
of Michigan,c=US".
ldap_add: Unknown error (80)
        additional info: internal error
 PID=1207 - Add/Delete done.
PID=1205 - Search(500): base="o=University of Michigan,c=US",
filter="cn=James A Jones 1".
PID=1199 - Search(500): base="o=University of Michigan,c=US",
filter="cn=Barbara Jensen".
PID=1200 - Read(1000): entry="cn=Barbara Jensen, ou=Information Technology
Division, ou=People, o=University of Michigan, c=US".
ldap_read: Can't contact LDAP server (81)
 PID=1212 - Read done.
ldap_read: Can't contact LDAP server (81)
 PID=1209 - Read done.
ldap_read: Can't contact LDAP server (81)
 PID=1203 - Read done.
ldap_search: Can't contact LDAP server (81)
 PID=1211 - Search done.
ldap_read: Can't contact LDAP server (81)
 PID=1206 - Read done.
ldap_search: Can't contact LDAP server (81)
 PID=1208 - Search done.
ldap_search: Can't contact LDAP server (81)
 PID=1202 - Search done.
ldap_add: Can't contact LDAP server (81)
 PID=1204 - Add/Delete done.
ldap_search: Can't contact LDAP server (81)
 PID=1199 - Search done.
ldap_bind: Can't contact LDAP server (81)
ldap_bind: Can't contact LDAP server (81)
ldap_search: Can't contact LDAP server (81)
 PID=1205 - Search done.
ldap_read: Can't contact LDAP server (81)
 PID=1200 - Read done.
stopping: child exited with status 1
slapd-tester failed (1)!
>>>>> ./scripts/test008-concurrency failed (exit 1)
make[1]: *** [test-bdb] Error 1
make: *** [test] Error 2
Exit 2


Looking in the bug list archives, I see that this might have been discussed
as a problem with how pthreads was implemented in Darwin, but this was a
full year ago; I imagine that the problem discussed back then would be fixed
by now.

Is there a workaround for this, or is this perhaps a different problem? I
can provide a back trace if it will help.

Thanks.
-- 
Jeff
// Diplomacy is the art of saying 'nice doggy'
// until you can find a rock.