Hello, I have somehow changed the setup:
The first process is a ldap to sql server withpout pcache the config file is here: http://purgatory.spnet.net/~karavelov/abort/slapd.conf
The second process is a pure cache that reads from the first process using unix domain socket. The config file is here: http://purgatory.spnet.net/~karavelov/abort/slapd-proxy.conf
The sql backend runs without problems. But the proxy process crashes once or twice a day on assertion:
The output of the process is here: http://purgatory.spnet.net/~karavelov/abort/log
It was running in valgrind, so here is its output: http://purgatory.spnet.net/~karavelov/abort/vg
The process has dumped a core. I have made a debugging session with it. Here it is: http://purgatory.spnet.net/~karavelov/abort/gdb
I am not sure what to look for. The process aborts on the same asserrtion even it is not run in valgrind.
No. Some overlay along the lines apparently mucks with e_private in the entry that back-ldap is sending. It's probably slapo-pcache. I need to debug this. You say it happens seldom. Can you recognize anything special in the operation that triggers the assertion failure? I mean: either in terms of special data, or in terms of special state of the cache? This could help narrow down some means to reproduce the issue.
Thanks, p.