Issue 724 - slapd core dumped
Summary: slapd core dumped
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-11 02:28 UTC by manabu@iij.ad.jp
Modified: 2014-08-01 21:06 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 manabu@iij.ad.jp 2000-09-11 02:28:20 UTC
Full_Name: Manabu Kondo
Version: 2.0.1
OS: BSD/OS 4.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (202.232.15.23)


Slapd was core dumped when I configured '--with-threads=pth'.
pth version is 1.1.6.
And other configure option is
    --enable-crypt=yes
    --with-ldbm-api=berkeley

Here's 'bt' by gdb.

---from
<snip>
Core was generated by `slapd'.
Program terminated with signal 11, Segmentation fault.
#0  0x48163d9d in __pth_ring_append ()
(gdb) bt
#0  0x48163d9d in __pth_ring_append ()
#1  0x481679a2 in pth_mutex_acquire ()
#2  0x807b27f in ldap_pvt_thread_mutex_lock (mutex=0x8155f70) at thr_pth.c:130
#3  0x808466c in tls_locking_cb (mode=9, type=2, file=0x81432ac "err.c",
    line=208) at tls.c:73
#4  0x80e79b0 in CRYPTO_lock ()
#5  0x8080cd8 in ldap_int_initialize (gopts=0x814c860, dbglvl=0x814bc24)
    at init.c:447
#6  0x80811bf in ldap_set_option (ld=0x0, option=20481, invalue=0x814bc24)
    at options.c:322
#7  0x804ab5f in main (argc=7, argv=0x804795c) at main.c:278
#8  0x804a8c7 in __start ()
(gdb)
---end

-- 
Manabu Kondo / manabu@iij.ad.jp

Comment 1 Kurt Zeilenga 2000-09-11 15:54:03 UTC
moved from Incoming to Software Bugs
Comment 2 Kurt Zeilenga 2000-09-11 15:57:08 UTC
changed notes
Comment 3 Kurt Zeilenga 2000-09-11 19:17:16 UTC
Just a note that I've seen this on other platforms including
FreeBSD 3.5.  Haven't had a chance to investigate...

Kurt

At 02:28 AM 9/11/00 +0000, manabu@iij.ad.jp wrote:
>Full_Name: Manabu Kondo
>Version: 2.0.1
>OS: BSD/OS 4.1
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (202.232.15.23)
>
>
>Slapd was core dumped when I configured '--with-threads=pth'.
>pth version is 1.1.6.
>And other configure option is
>    --enable-crypt=yes
>    --with-ldbm-api=berkeley
>
>Here's 'bt' by gdb.
>
>---from
><snip>
>Core was generated by `slapd'.
>Program terminated with signal 11, Segmentation fault.
>#0  0x48163d9d in __pth_ring_append ()
>(gdb) bt
>#0  0x48163d9d in __pth_ring_append ()
>#1  0x481679a2 in pth_mutex_acquire ()
>#2  0x807b27f in ldap_pvt_thread_mutex_lock (mutex=0x8155f70) at thr_pth.c:130
>#3  0x808466c in tls_locking_cb (mode=9, type=2, file=0x81432ac "err.c",
>    line=208) at tls.c:73
>#4  0x80e79b0 in CRYPTO_lock ()
>#5  0x8080cd8 in ldap_int_initialize (gopts=0x814c860, dbglvl=0x814bc24)
>    at init.c:447
>#6  0x80811bf in ldap_set_option (ld=0x0, option=20481, invalue=0x814bc24)
>    at options.c:322
>#7  0x804ab5f in main (argc=7, argv=0x804795c) at main.c:278
>#8  0x804a8c7 in __start ()
>(gdb)
>---end
>
>-- 
>Manabu Kondo / manabu@iij.ad.jp

Comment 4 Kurt Zeilenga 2001-05-06 06:41:56 UTC
changed state Open to Suspended
Comment 5 Kurt Zeilenga 2001-09-18 20:39:18 UTC
moved from Software Bugs to Build
Comment 6 Kurt Zeilenga 2002-06-06 22:28:35 UTC
moved from Build to Software Bugs
Comment 7 Howard Chu 2002-09-20 18:48:43 UTC
changed state Suspended to Test
Comment 8 Howard Chu 2002-09-21 01:51:02 UTC
This is now fixed in CVS. The default thread stack size in GNU Pth is only
64KB, and needs to be set to 2MB.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

Comment 9 Kurt Zeilenga 2002-09-22 09:40:26 UTC
changed state Test to Release
Comment 10 Kurt Zeilenga 2002-10-04 17:35:03 UTC
changed notes
Comment 11 Kurt Zeilenga 2002-10-11 16:29:40 UTC
changed notes
changed state Release to Closed
Comment 12 Howard Chu 2003-12-12 22:57:08 UTC
moved from Software Bugs to Archive.Software Bugs
Comment 13 OpenLDAP project 2014-08-01 21:06:23 UTC
Pth issue
Fixed in HEAD
Fixed in re21