[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: SASL causes segmentation fault (ITS#3172)
--On Monday, June 07, 2004 8:49 PM +0000 Kurt Zeilenga
<openldap-its@OpenLDAP.org> wrote:
> What were the other threads doing? Are you sure it was this
> thread which caused the segfault?
initial segfault shows:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 5 (LWP 1)]
0xff2ffb80 in sb_debug_write (sbiod=0x342390, buf=0x10c2d58, len=4657)
at sockbuf.c:846
846 ret = LBER_SBIOD_WRITE_NEXT( sbiod, buf, len );
info threads
9 Thread 4 (LWP 3) 0xfee1d394 in _poll () from /usr/lib/libc.so.1
8 Thread 3 0xfed4d9b8 in _reap_wait () from
/usr/lib/libthread.so.1
7 Thread 2 (LWP 2) 0xfee1eb58 in _signotifywait () from
/usr/lib/libc.so.1
6 LWP 3 0xfee1d394 in _poll () from /usr/lib/libc.so.1
* 5 Thread 5 (LWP 1) 0xff2ffb80 in sb_debug_write (sbiod=0x342390,
buf=0x10c2d58, len=4657) at sockbuf.c:846
4 LWP 4 0xfed591fc in private___lwp_cond_wait ()
from /usr/lib/libthread.so.1
3 LWP 2 0xfee1eb58 in _signotifywait () from
/usr/lib/libc.so.1
2 Thread 1 0xfed4da10 in _reap_wait_cancel ()
from /usr/lib/libthread.so.1
1 LWP 1 0xff2ffb80 in sb_debug_write (sbiod=0x342390,
buf=0x10c2d58, len=4657) at sockbuf.c:846
(gdb) thr apply all bt
Thread 9 (Thread 4 (LWP 3)):
#0 0xfee1d394 in _poll () from /usr/lib/libc.so.1
#1 0xfedcd2d0 in select () from /usr/lib/libc.so.1
#2 0xfed5aa30 in select () from /usr/lib/libthread.so.1
#3 0xfed5b024 in _thread_start () from /usr/lib/libthread.so.1
Thread 8 (Thread 3 ):
#0 0xfed4d9b8 in _reap_wait () from /usr/lib/libthread.so.1
#1 0xfed4d718 in _reaper () from /usr/lib/libthread.so.1
#2 0xfed5b024 in _thread_start () from /usr/lib/libthread.so.1
Thread 7 (Thread 2 (LWP 2)):
#0 0xfee1eb58 in _signotifywait () from /usr/lib/libc.so.1
#1 0xfed4e958 in _dynamiclwps () from /usr/lib/libthread.so.1
#2 0xfed51c34 in thr_yield () from /usr/lib/libthread.so.1
#3 0x00000008 in ?? ()
Thread 6 (LWP 3 ):
#0 0xfee1d394 in _poll () from /usr/lib/libc.so.1
#1 0xfedcd2d0 in select () from /usr/lib/libc.so.1
#2 0xfed5aa30 in select () from /usr/lib/libthread.so.1
#3 0xfed5b024 in _thread_start () from /usr/lib/libthread.so.1
Thread 5 (Thread 5 (LWP 1)):
#0 0xff2ffb80 in sb_debug_write (sbiod=0x342390, buf=0x10c2d58, len=4657)
at sockbuf.c:846
#1 0xff2fea3c in ber_int_sb_write (sb=0x342390, buf=0x10c2d58, len=4657)
at sockbuf.c:433
#2 0xff2f8a7c in ber_flush (sb=0x342390, ber=0x10c2d58, freeit=4657)
at io.c:243
Thread 4 (LWP 4 ):
#0 0xfed591fc in private___lwp_cond_wait () from /usr/lib/libthread.so.1
#1 0xfed48ccc in _age () from /usr/lib/libthread.so.1
#2 0xfed4a360 in _lwp_start () from /usr/lib/libthread.so.1
#3 0xfed51c34 in thr_yield () from /usr/lib/libthread.so.1
Thread 3 (LWP 2 ):
#0 0xfee1eb58 in _signotifywait () from /usr/lib/libc.so.1
#1 0xfed4e958 in _dynamiclwps () from /usr/lib/libthread.so.1
#2 0xfed51c34 in thr_yield () from /usr/lib/libthread.so.1
#3 0x00000008 in ?? ()
Thread 2 (Thread 1 ):
#0 0xfed4da10 in _reap_wait_cancel () from /usr/lib/libthread.so.1
#1 0xfed4fca4 in _thrp_join () from /usr/lib/libthread.so.1
#2 0xff33e7dc in ldap_pvt_thread_join (thread=1954904, thread_return=0x0)
at thr_posix.c:165
Thread 1 (LWP 1 ):
#0 0xff2ffb80 in sb_debug_write (sbiod=0x342390, buf=0x10c2d58, len=4657)
at sockbuf.c:846
#1 0xff2fea3c in ber_int_sb_write (sb=0x342390, buf=0x10c2d58, len=4657)
at sockbuf.c:433
#2 0xff2f8a7c in ber_flush (sb=0x342390, ber=0x10c2d58, freeit=4657)
at io.c:243
0xff2ffb80 846 ret = LBER_SBIOD_WRITE_NEXT( sbiod, buf,
len );
(gdb) bt
#0 0xff2ffb80 in sb_debug_write (sbiod=0x342390, buf=0x10c2d58, len=4657)
at sockbuf.c:846
#1 0xff2fea3c in ber_int_sb_write (sb=0x342390, buf=0x10c2d58, len=4657)
at sockbuf.c:433
#2 0xff2f8a7c in ber_flush (sb=0x342390, ber=0x10c2d58, freeit=4657)
at io.c:243
(gdb)
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html