Issue 4110 - openldap 2.2.28 crash when running with sql backend
Summary: openldap 2.2.28 crash when running with sql backend
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: historical (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 18:38 UTC by dcmwai@pl.jaring.my
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments
openldap-2.3.11-back-sql.1.patch (1.42 KB, patch)
2005-11-07 22:45 UTC, ando@openldap.org
Details

Note You need to log in before you can comment on or make changes to this issue.
Description dcmwai@pl.jaring.my 2005-10-25 18:38:42 UTC
Full_Name: Chan Min Wai
Version: 2.2.28
OS: gentoo
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (219.95.246.229)


I'm using openldap 2.2.28 + unixodbc 2.2.11-r1 with postgresql 8.0.3

I'm trying to work using the page showing below.
http://docs.opengroupware.org/Members/mkbrown/Misc/back-sql/back-sql-howto/view
I was trying to put my opengroupware contact on ldap so that other program can
query it.

the 1st time I run everything was fine until the 1st users logout then openldap
will Crash with a segment fault...

bdb_search_candidates: id=0 first=55 last=0
bdb_search: no candidates
send_ldap_result: conn=0 op=4 p=3
*** glibc detected *** double free or corruption (fasttop): 0x08193a68 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1235027024 (LWP 1211)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7b7c3a1 in raise () from /lib/tls/libc.so.6
#2  0xb7b7db37 in abort () from /lib/tls/libc.so.6
#3  0xb7baf5fe in __fsetlocking () from /lib/tls/libc.so.6
#4  0xb7bb92c6 in mallopt () from /lib/tls/libc.so.6
#5  0xb7bb7fcd in mallopt () from /lib/tls/libc.so.6
#6  0xb7bb6d3b in free () from /lib/tls/libc.so.6

Comment 1 ando@openldap.org 2005-11-07 22:45:23 UTC
On Tue, 2005-10-25 at 18:38 +0000, dcmwai@pl.jaring.my wrote:
> Full_Name: Chan Min Wai
> Version: 2.2.28
> OS: gentoo
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (219.95.246.229)
> 
> 
> I'm using openldap 2.2.28 + unixodbc 2.2.11-r1 with postgresql 8.0.3

back-sql is not actively maintained in OpenLDAP 2.2, which is feature
frozen.  back-sql has undergone large improvements in OpenLDAP 2.3; I
suggest you try using that.  A few fixes are required in 2.3.11, which
will be in the next release; they mostly refer to add & delete of the
root entry of the database, but in general I'd consider back-sql from
2.3.12, when it will be out, the most recommendable version.  In the
meanwhile, you should be able to work fine with 2.3.11 and the attached
patch (add/delete will still have few issues that are fixed in HEAD).

Unless the problem you're indicating can be easily worked around, I
don't think this issue will be considered.

p.



Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------

Comment 2 ando@openldap.org 2005-11-09 09:21:00 UTC
changed notes
changed state Open to Feedback
Comment 3 ando@openldap.org 2005-11-09 09:21:21 UTC
changed notes
changed state Feedback to Suspended
Comment 4 ando@openldap.org 2005-11-09 09:21:53 UTC
changed notes
Comment 5 ando@openldap.org 2005-11-09 09:22:16 UTC
changed notes
Comment 6 Kurt Zeilenga 2005-11-30 06:40:42 UTC
moved from Incoming to Historical
Comment 7 Howard Chu 2007-12-15 01:45:03 UTC
changed notes
changed state Suspended to Closed
Comment 8 Howard Chu 2009-02-17 06:47:15 UTC
moved from Historical to Archive.Historical
Comment 9 OpenLDAP project 2014-08-01 21:05:33 UTC
re22 slapd-sql not maintained
try 2.3(.12)