Hi, thanks for your reply!
I now noticed that this error is not just happening in our setup but also on a fresh
installation on Debian.
The steps I did were:
1. Setup a new Debian 11
2. `apt install -y apache2 openjdk-17-jdk-headless 389-ds-base 389-ds-base-dev vim
systemd-coredump gdb`
3. Install 389-dirsrv with `dscreate from-file setup.inf` with the following `setup.inf`:
```
[general]
full_machine_name = vseth-test-bullseye-01
strict_host_checking = True
[slapd]
instance_name = auth-testenv
port = 389
root_password = <PASSWORD>
secure_port = 636
self_sign_cert = False
[backend-userroot]
suffix = dc=testoverlay,dc=vseth,dc=ethz,dc=ch
```
4. `sysctl -w fs.suid_dumpable=1`
5. `systemctl status dirsrv(a)auth-testenv.service`
6. Edit `/etc/systemd/coredump.conf` and add `LimitCORE=infinity`
7. `systemctl daemon-reload`
8. `systemctl restart dirsrv.target`
9. Trigger compacting `dsconf -D "cn=Directory Manager" ldap://127.0.0.1 -w
<PASSWORD> backend config set --compactdb-interval 300` -> Results in SEGV
10. List coredumps `coredumpctl list` and export `coredumpctl -o coredump-dirsrv dump
<#pid>`
11. Generate stacktrace `gdb -ex 'set confirm off' -ex 'set pagination
off' -ex 'thread apply all bt full' -ex 'quit' /usr/sbin/ns-slapd
coredump-dirsrv > stacktrace.`date +%s`.txt 2>&1`