https://bugs.openldap.org/show_bug.cgi?id=9561
Issue ID: 9561 Summary: Error doing 'make test': fails on 'test001-slapadd for mdb' test Product: OpenLDAP Version: 2.5.4 Hardware: x86_64 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: sydbarrett74@gmail.com Target Milestone: ---
FreeBSD 13.0 x86_64
I was attempting to build the latest version in the master git branch and when I issued the 'gmake test' command, I got the following errors:
Starting test001-slapadd for mdb...
running defines.sh Running slapadd to build slapd database... Fatal error 'mutex 0x801018040 own 0x0 is on list 0x5952414e49422d58 0x312e312e' at line 154 in file /usr/src/lib/libthr/thread/thr_mutex.c (errno = 0) Abort trap (core dumped) slapadd failed (134)!
test001-slapadd failed for mdb after 1 seconds
(exit 134) gmake[2]: *** [Makefile:301: mdb-yes] Error 134 gmake[2]: Leaving directory '/usr/home/bsduser/openldap/tests' gmake[1]: *** [Makefile:287: test] Error 2 gmake[1]: Leaving directory '/usr/home/bsduser/openldap/tests' gmake: *** [Makefile:299: test] Error 2
Please advise. TIA.
https://bugs.openldap.org/show_bug.cgi?id=9561
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |CONFIRMED
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- Thanks for the report, I'm able to reproduce the issue.
https://bugs.openldap.org/show_bug.cgi?id=9561
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- gdb ../servers/slapd/slapd
(gdb) set args -Ta -d 0 -f testrun/slapadd.conf -l data/test-ordered.ldif (gdb) run Starting program: /usr/home/build/git/openldap/servers/slapd/slapd -Ta -d 0 -f testrun/slapadd.conf -l data/test-ordered.ldif Fatal error 'mutex 0x801018060 own 0x0 is on list 0x5952414e49422d58 0x0' at line 154 in file /usr/src/lib/libthr/thread/thr_mutex.c (errno = 0)
Program received signal SIGABRT, Aborted. 0x00000008008f32ea in thr_kill () from /lib/libc.so.7
Thread 1 (LWP 100123 of process 17783): #0 0x00000008008f32ea in thr_kill () from /lib/libc.so.7 No symbol table info available. #1 0x0000000800868064 in raise () from /lib/libc.so.7 No symbol table info available. #2 0x000000080091cf29 in abort () from /lib/libc.so.7 No symbol table info available. #3 0x000000080079ccea in ?? () from /lib/libthr.so.3 No symbol table info available. #4 0x00000008007a1714 in ?? () from /lib/libthr.so.3 No symbol table info available. #5 0x00000008007a1653 in pthread_mutex_destroy () from /lib/libthr.so.3 No symbol table info available. #6 0x0000000000391a3a in ldap_pvt_thread_mutex_destroy (mutex=0x1871b) at thr_posix.c:307 No locals. #7 0x00000000002d2ba2 in slap_destroy () at init.c:282 rc = 0 #8 0x0000000000312f08 in slap_tool_destroy () at slapcommon.c:934 rc = 0 #9 0x0000000000310fd9 in slapadd (argc=<optimized out>, argv=<optimized out>) at slapadd.c:523 textbuf = '\000' <repeats 255 times> erec = {e = 0x80174e448, lineno = 412, nextline = 411} bvtext = {bv_len = 256, bv_val = 0x7fffffffe6b0 ""} stat_buf = {st_dev = 140737488348416, st_ino = 30064771079, st_nlink = 140737488348712, st_mode = 59096, st_padding0 = -1, st_uid = 32767, st_gid = 31, st_padding1 = 0, st_rdev = 34363686920, st_atim = {tv_sec = 0, tv_nsec = 34363703352}, st_mtim = {tv_sec = 140737488348864, tv_nsec = 34363586408}, st_ctim = {tv_sec = 34376589716, tv_nsec = 2110432}, st_birthtim = {tv_sec = 179915312, tv_nsec = 2936815564}, st_size = 34363703352, st_blocks = 1, st_blksize = 16850944, st_flags = 8, st_gen = 1, st_spare = {34376589716, 0, 140737488348816, 34367753436, 1, 34376589312, 140737488348864, 34367750100, 34369733824, 34369733824}} rc = 0 prev = 0x80174e448 textlen = 256 thr = <optimized out> ldifrc = <optimized out> id = <optimized out> #10 0x000000000028b38e in main (argc=8, argv=0x7fffffffe980) at main.c:797 waitfds = {32767, 8} rc = 1 no_detach = <optimized out> firstopt = <optimized out> slapd_args_file_unlink = 0 slapd_pid_file_unlink = 0 scp_entry = <optimized out> scp = <optimized out> serverMode = 1 configdir = <optimized out> configfile = <optimized out> g_argv = 0x7fffffffe980 g_argc = 8 syslogUser = <optimized out> sandbox = <optimized out> groupname = <optimized out> username = <optimized out> urls = <optimized out> serverName = 0x7fffffffecd3 "slapd" i = <optimized out> l = <optimized out> serverNamePrefix = <optimized out> pid = <optimized out>
https://bugs.openldap.org/show_bug.cgi?id=9561
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 4de23145 by Howard Chu at 2021-06-03T21:28:36+01:00 ITS#9561 slapd init.c: fix copy/paste error
https://bugs.openldap.org/show_bug.cgi?id=9561
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.5
https://bugs.openldap.org/show_bug.cgi?id=9561
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED