[Date Prev][Date Next]
Assertion failed -- possible to get this from a query?
- To: openldap-software@OpenLDAP.org
- Subject: Assertion failed -- possible to get this from a query?
- From: David Stults <firstname.lastname@example.org>
- Date: Mon, 07 Jan 2002 23:15:14 -0800
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.7) Gecko/20011221
Quite suddenly this evening my slapd (2.0.18) aborted, and when I
restarted it, it would run for between 1 second and about 20 seconds
before aborting again. In debug mode, I see this error:
schema_init.c:622: failed assertion `!ldap_utf8_isspace(
And by watching the query log, I noticed that the last query before it
dies (as best I can tell, considering how many queries per second are
executed), is always from one particular mail server. What I'm asking
is this -- can a malformed query cause the above error to occur? The
optimistic part of my personality insists that slapd should not be
crashable with a malformed query. The realistic side of my personality
isn't so sure ;-).
If anyone can shed some light on what I'm seeing, and on whether or not
it could be do to a messed up query, I'd appreciate it. Also, if anyone
here is bright enough to tell me what's actually failing (I read the
source code a bit, but I wasn't able to come up with a concrete answer)
when this error occurs, that would be great to. I'll be taking that
particular question to the development list, I think.