[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd crashes due to assertion failure
- To: openldap-software@openldap.org
- Subject: Re: slapd crashes due to assertion failure
- From: John Morrissey <jwm@horde.net>
- Date: Sun, 6 Apr 2008 21:41:31 -0400
- Content-disposition: inline
- In-reply-to: <C2E987F8D4756AA3B4B572B1@[192.168.1.198]>
- References: <20080326145722.GA1524@boost.horde.net> <C2E987F8D4756AA3B4B572B1@[192.168.1.198]>
On Wed, Mar 26, 2008 at 12:06:45PM -0700, Quanah Gibson-Mount wrote:
> --On Wednesday, March 26, 2008 10:57 AM -0400 John Morrissey
> <jwm@horde.net> wrote:
> > I'm not sure if this gives enough to go on, but I've rebuilt with
> > optimization disabled and have a debugger attached for the next time it
> > fails.
>
> You may never hit it. I recall having this problem with certain buggy
> versions of gcc (which is pretty much any version of gcc) in how it
> optimizes the code. I never build OL with optimizations anymore, as gcc
> just cannot do the job right.
The unoptimized build crashed earlier today; I only have a partial backtrace
(below), but I can try to get a complete one next time if it would be more
useful.
The assertion 'c->c_writewaiter == 0' in connection_destroy() is what seems
to be failing.
#0 0xb7be3947 in raise () from /lib/tls/libc.so.6
#1 0xb7be50c9 in abort () from /lib/tls/libc.so.6
#2 0xb7bdd05f in __assert_fail () from /lib/tls/libc.so.6
#3 0x08071d03 in connection_destroy (c=0x9036b6a8)
at /var/jwm/o2/openldap/servers/slapd/connection.c:680
#4 0x080726ab in connection_close (c=0x9036b6a8)
at /var/jwm/o2/openldap/servers/slapd/connection.c:900
#5 0x080740bd in connection_resched (conn=0x9036b6a8)
at /var/jwm/o2/openldap/servers/slapd/connection.c:1722
#6 0x08073009 in connection_operation (ctx=0x903672b4, arg_v=0x8245118)
at /var/jwm/o2/openldap/servers/slapd/connection.c:1179
john
--
John Morrissey _o /\ ---- __o
jwm@horde.net _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__