Issue 5518 - Assertion error in io.c:234: ber_flush2
Summary: Assertion error in io.c:234: ber_flush2
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.7
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-19 08:47 UTC by zulcss@ubuntu.com
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description zulcss@ubuntu.com 2008-05-19 08:47:52 UTC
Full_Name: Chuck Short
Version: 2.4.7
OS: Ubuntu
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (82.142.121.161)


We are getting assertion errors in libraries/liblber/io.c. The original bug
report is located at the following:

http://bugs.launchpad.net/bugs/215904

Thanks
chuck

Comment 1 Howard Chu 2008-05-20 09:53:23 UTC
zulcss@ubuntu.com wrote:
> Full_Name: Chuck Short
> Version: 2.4.7
> OS: Ubuntu
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (82.142.121.161)
>
>
> We are getting assertion errors in libraries/liblber/io.c. The original bug
> report is located at the following:
>
> http://bugs.launchpad.net/bugs/215904

I've requested some more information on the above bug report.

Looking back over ITS, it seems this has been a long-standing problem with 
nss-ldap.

http://www.openldap.org/its/index.cgi/Incoming?id=3874;expression=liblber
http://www.openldap.org/its/index.cgi/Incoming?id=4014;expression=liblber
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124549
http://www.openldap.org/its/index.cgi/Incoming?id=4445;expression=liblber

Unfortunately the information in the other reports is a bit confusing; e.g. 
the redhat bug indicates that a kernel update fixed the issue. That doesn't 
really make any sense. Hopefully we can get some consistent info to track it 
down this time.
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 paul@mad-scientist.us 2008-05-23 04:04:19 UTC
Hi all; I just posted a new bug 5525 that describes exactly how this
happens and where the bug is.  I came to this conclusion while trying to
find a crasher in Evolution Exchange: I ran it under valgrind to find
the use of freed memory.

Hopefully this will provide us with a quick fix!

Comment 3 Howard Chu 2008-05-23 07:05:47 UTC
paul@mad-scientist.us wrote:
> Hi all; I just posted a new bug 5525 that describes exactly how this
> happens and where the bug is.  I came to this conclusion while trying to
> find a crasher in Evolution Exchange: I ran it under valgrind to find
> the use of freed memory.
>
> Hopefully this will provide us with a quick fix!

Thanks for tracking this down Paul. I think you've nailed it for us, we should 
be able to patch this pretty soon.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 4 Howard Chu 2008-05-23 08:26:47 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 5 Howard Chu 2008-05-23 08:55:58 UTC
Howard Chu wrote:
> paul@mad-scientist.us wrote:
>> Hi all; I just posted a new bug 5525 that describes exactly how this
>> happens and where the bug is.  I came to this conclusion while trying to
>> find a crasher in Evolution Exchange: I ran it under valgrind to find
>> the use of freed memory.
>>
>> Hopefully this will provide us with a quick fix!
>
> Thanks for tracking this down Paul. I think you've nailed it for us, we should
> be able to patch this pretty soon.
>
I replied to #5525 that a patch for this is now in HEAD. Please test.
I've now closed #5525 as a dup of this bug.
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 6 Howard Chu 2008-05-23 13:31:06 UTC
changed notes
Comment 7 Howard Chu 2008-06-10 20:00:39 UTC
changed notes
changed state Test to Closed
Comment 8 OpenLDAP project 2014-08-01 21:04:15 UTC
fixed in HEAD/RE24
see ITS#5525