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

2006-06-05 Thread Steve Langasek
On Mon, Jun 05, 2006 at 07:06:11PM +0200, Steinar H. Gunderson wrote: > 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.

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

2006-06-05 Thread Steinar H. Gunderson
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 f

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

2006-06-05 Thread Steinar H. Gunderson
On Sun, Jun 04, 2006 at 07:36:11PM -0700, Steve Langasek wrote: >> Since this is a bug with OpenLDAP > Is that certain? It looks just as likely to be a compiler bug to me. After testing some more, it seems fairly likely to be a compiler bug. Compiling the file in question (mods.c) with -O0 makes

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

2006-06-05 Thread Steinar H. Gunderson
On Sun, Jun 04, 2006 at 07:57:20PM -0700, Quanah Gibson-Mount wrote: > If it isn't an OpenLDAP thing, then I guess no ITS. ;) I thought it wasn't > completely specific to the ARM platform. I haven't seen anybody being able to reproduce it except on arm, and certainly such brokenness should be de

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

2006-06-04 Thread Quanah Gibson-Mount
--On Sunday, June 04, 2006 7:36 PM -0700 Steve Langasek <[EMAIL PROTECTED]> wrote: On Sun, Jun 04, 2006 at 07:28:14PM -0700, Quanah Gibson-Mount wrote: > On Mon, Jun 05, 2006 at 12:42:57AM +0200, Steinar H. Gunderson wrote: >> OK, the problem doesn't show up at -O0, which supports the theo

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

2006-06-04 Thread Steve Langasek
On Sun, Jun 04, 2006 at 07:28:14PM -0700, Quanah Gibson-Mount wrote: > >On Mon, Jun 05, 2006 at 12:42:57AM +0200, Steinar H. Gunderson wrote: > >>OK, the problem doesn't show up at -O0, which supports the theory that > >>it's some kind of overflow issue. I'm starting a build with -O2 now -- > >>pe

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

2006-06-04 Thread Quanah Gibson-Mount
--On Monday, June 05, 2006 1:58 AM +0200 "Steinar H. Gunderson" <[EMAIL PROTECTED]> wrote: On Mon, Jun 05, 2006 at 12:42:57AM +0200, Steinar H. Gunderson wrote: OK, the problem doesn't show up at -O0, which supports the theory that it's some kind of overflow issue. I'm starting a build with

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

2006-06-04 Thread Steinar H. Gunderson
On Mon, Jun 05, 2006 at 12:42:57AM +0200, Steinar H. Gunderson wrote: > OK, the problem doesn't show up at -O0, which supports the theory that it's > some kind of overflow issue. I'm starting a build with -O2 now -- perhaps it > can be caught using valgrind on a slightly faster platform, though...

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

2006-06-04 Thread Steinar H. Gunderson
On Sun, Jun 04, 2006 at 10:19:44PM +0200, Steinar H. Gunderson wrote: > I'm currently compiling a noopt/nostrip-version, but at 133MHz ARM it's going > to take a while. OK, the problem doesn't show up at -O0, which supports the theory that it's some kind of overflow issue. I'm starting a build wit

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

2006-06-04 Thread Steinar H. Gunderson
On Sun, Jun 04, 2006 at 01:17:51PM -0700, Quanah Gibson-Mount wrote: > Is it possible to reproduce in 2.3.24? Or just the rather old 2.2.x > version? 2.3.24. I'm currently compiling a noopt/nostrip-version, but at 133MHz ARM it's going to take a while. /* Steinar */ -- Homepage: http://www.se

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

2006-06-04 Thread Quanah Gibson-Mount
--On Sunday, June 04, 2006 9:15 PM +0200 "Steinar H. Gunderson" <[EMAIL PROTECTED]> wrote: On Sun, Jun 04, 2006 at 08:43:47PM +0200, Steinar H. Gunderson wrote: I'm completely unable to reproduce this. Scrap that; I can reproduce it now. I just didn't see that slapd segfaulted... Debuggin