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
moved from Incoming to Software Bugs
changed notes
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
changed state Open to Suspended
moved from Software Bugs to Build
moved from Build to Software Bugs
changed state Suspended to Test
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
changed state Test to Release
changed notes changed state Release to Closed
moved from Software Bugs to Archive.Software Bugs
Pth issue Fixed in HEAD Fixed in re21