[Date Prev][Date Next] [Chronological] [Thread] [Top]

openldap segfaults when adding entries when replication is enabled and -march=opteron CFLAG is used.




I'm sorry if this is a double post, but I never saw my frist post reach the group.

Problem: record addition fails with a segfault on an Gentoo linux opteron system
I have both Opteron and x86 (Pentium3) systems which I am prototyping openldap on for production use.  The same versions of everything and the same compile options with the exception of the CFLAGS for the systems differ in the -march options, which are -march=pentium3 and -march=opteron respectively.  The configurations on the servers are also the same with the exception of the hostnames where replication is concerned.  The data is the same as well, with data being imported using slapadd.

Additional: The record is added before the segfault, but nothing is written to the replication log
When I turn off replication, everything works fine (add, delete, modify)
Everything works fine on x86.

When I perform any operation on the opteron systems other than adding new records everything goes fine, but when I add new records I get a segfault.  I've included full debuging output as well as the configs for both servers at this url:
http://www.skyleach.com/openldap_error.html.

Matt Gregory
eBusiness R&D
CTI, Inc.
cell: 865-850-3638
work: 865-218-2767
home: 865-988-5210
ioem: matt.gregory@ctimi.com
ooem: matthew.gregory@skyleach.com
AIM: SkyLeach
MSNM: matt.gregory@ctimi.com
public OpenPGP compliant key: http://www.skyleach.com/matthew/matt_pub_key.html
OpenPGP information: http://www.openpgp.org