Bug#1020319: openldap: FTBFS on sparc64 due to unaligned access in testsuite
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Mon Sep 19 23:16:39 BST 2022
Source: openldap
Version: 2.5.13+dfsg-1
Severity: normal
Tags: ftbfs upstream
User: debian-sparc at lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc at lists.debian.org
Hi!
openldap FTBFS on sparc64 due to an unaligned access in the testsuite:
>>>>> Test succeeded
>>>>> test000-rootdse completed OK for mdb after 1 seconds.
>>>>> Starting test001-slapadd for mdb...
running defines.sh
Running slapadd to build slapd database...
Bus error
slapadd failed (138)!
>>>>> test001-slapadd failed for mdb after 0 seconds
(exit 138)
Building openldap from git and running the slapd through GDB yields the
following backtrace:
(gdb) bt
#0 0x00000100000cc36c in mdb_node_add (mc=0x100004316e8, indx=<optimized out>, key=0x7feffffe570, data=0x7feffffe560, pgno=0, flags=0)
at ./../../../libraries/liblmdb/mdb.c:7358
#1 0x00000100000d0894 in mdb_cursor_put (mc=0x100004316e8, key=0x7feffffe570, data=0x7feffffe560, flags=16) at ./../../../libraries/liblmdb/mdb.c:6960
#2 0x00000100000d1224 in mdb_cursor_put (mc=0x10000431560, key=0x7feffffe6b0, data=0x7feffffe6c0, flags=36) at ./../../../libraries/liblmdb/mdb.c:7007
#3 0x00000100000f0d24 in mdb_dn2id_add (op=0x7feffffea28, mcp=0x10000431560, mcd=0x100004267a0, pid=<optimized out>, nsubs=<optimized out>,
upsub=<optimized out>, e=0x1000044c6b8) at dn2id.c:141
...
(gdb)
Since this issue is present in the upstream code, I have reported it there [1].
Thanks,
Adrian
> [1] https://bugs.openldap.org/show_bug.cgi?id=9916
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the Pkg-openldap-devel
mailing list