--On Wednesday, August 9, 2023 9:19 AM -0400 Brendan Kearney <bpk...@gmail.com> wrote:

Quanah,

i am using prebuilt packages from fedora (38, fully updated), and 2.6.6
is not available yet, so i will have to wait for it. 

I didn't see anything in the stack trace indicating a core dump.

One option would be to start slapd on one of the systems from within gdb, and get a backtrace that way. I.e., something like:

gdb /path/to/slapd
set args <args for slapd to execute with>
run

For example, I get the args my slapd process is running with from the process stack:

/opt/symas/lib/slapd -d 0 -h ldap:/// ldaps:/// ldapi:///


Then stop slapd:

systemctl stop slapd

Start gdb:

gdb /opt/symas/lib/slapd

(gdb) set args -d 0 -h 'ldap:/// ldaps:/// ldapi:///'
(gdb) run

Then wait for it to hit the issue, and then:

(gdb) thr apply all bt full


You may also want to set it to log to a file, so something like:
gdb /path/to/slapd
(gdb) set pagination off
(gdb) set logging file /somewhere/gdb.txt
(gdb) set logging on
(gdb) set args ...
(gdb) run
(gdb) thr apply all bt full
(gdb) set logging off
(gdb) quit

Regards,
Quanah

Reply via email to