Bug#365409: [Pkg-openldap-devel] Bug#365409: slapd: segfaults on entry modify

Steinar H. Gunderson sgunderson at bigfoot.com
Mon Jun 5 17:06:11 UTC 2006


On Mon, Jun 05, 2006 at 02:01:02PM +0200, Steinar H. Gunderson wrote:
> Compiling the file in question (mods.c) with -O0 makes the problem go away.
> Likewise, compiling it with gcc-4.1 (with -O2) makes the problem go away. I'm
> unable to point at anything directly wrong in the code, but I'm not familiar
> with arm assembler. I'll try building the entire package with gcc-4.1, but
> that will take another eight hours. (Perhaps I should try bisecting the list
> of available -f flags, but I'm not sure how useful that would be...)

I also tried compiling the entire package, unmodified, with /usr/bin/gcc
pointing to gcc-4.1. It compiled without a hitch, and ldapmodify works
without segfaulting slapd.

At this point, I throw up my hands and call it a compiler bug (very
comforting, no? :-) ); as GCC 4.1 will be the default in Debian from
tomorrow, this problem will probably be solved by issuing a binNMU for arm.

/* Steinar */
-- 
Homepage: http://www.sesse.net/




More information about the Pkg-openldap-devel mailing list