Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 1999 09:42:33 -0700 (PDT)
From:      Kip Macy <kip@lyris.com>
To:        hackers@freebsd.org, stable@freebsd.org
Subject:   seg fault in mutex_queue_enq
Message-ID:  <Pine.SOL.4.05.9907140939120.21228-100000@luna>

next in thread | raw e-mail | index | archive | help
Can someone familiar with the new threads code tell me what is causing the
following segmentation fault. Thanks.

				-Kip 


Program terminated with signal 11, Segmentation fault.
#0  0x82fb15d in mutex_queue_enq (mutex=0x83c3a54, pthread=0x8594e00)
    at /usr/src/lib/libc_r/uthread/uthread_mutex.c:1281
1281
PTHREAD_PRIOQ_INSERT_HEAD(pthread);
(gdb) bt
#0  0x82fb15d in mutex_queue_enq (mutex=0x83c3a54, pthread=0x8594e00)
    at /usr/src/lib/libc_r/uthread/uthread_mutex.c:1281
#1  0x82f9edd in pthread_mutex_lock (mutex=0x83c3ad4)
    at /usr/src/lib/libc_r/uthread/uthread_mutex.c:387
#2  0x8308199 in localtime_r (timep=0x8da164c, p_tm=0x8da1620)
    at /usr/src/lib/libc_r/../libc/stdtime/localtime.c:1091
#3  0x8273e49 in os_time::now () at time.cpp:241
#4  0x8154ea3 in lyr_time_now () at lyrdate.cpp:105
#5  0x8154487 in DateTimeStampEasyRead () at lyrdate.cpp:53
#6  0x80df9de in lyris_InMail::appendTransact (this=0x8da2e0c, 
    Setting=@0x8da2818) at inmail.cpp:798
#7  0x80cb47f in lyris_OneIncoming::AppendToInMailTransact
(this=0x8da2d20, 
    Message=@0x8da2818) at incoming.cpp:592
#8  0x808b376 in lyris_OneIncoming::do_command_Subscribe (this=0x8da2d20, 
    DefaultEmailAddress=@0x8da2aec, aRealName=@0x8da2afc,
aList=@0x8da2d44, 
    TheseOptions=@0x8da29ac) at inclserv.cpp:916
#9  0x80c4fa5 in lyris_OneIncoming::command_Subscribe (this=0x8da2d20, 
    DefaultEmailAddress=@0x8da2aec, DefaultRealName=@0x8da2afc, 
    aList=@0x8da2d44, PossiblePasswords=@0x8da29ac) at inclsrv2.cpp:44
#10 0x8083b71 in lyris_OneIncoming::process_listserv (this=0x8da2d20)
    at inclserv.cpp:273
#11 0x80c9007 in lyris_OneIncoming::go (this=0x8da2d20) at
incoming.cpp:346
#12 0x80cb0f0 in DoProcessOneIncomingMessage (MessageID=@0x8da2fb0)
    at incoming.cpp:566
#13 0x80cad5e in ProcessOneIncomingMessage (arg=0x92bacc0) at
incoming.cpp:541
#14 0x8285836 in _internal_thread_wrapper (parameter=0x92bace0)
    at thread.cpp:263
#15 0x82f158e in _thread_start ()
    at /usr/src/lib/libc_r/uthread/uthread_create.c:250
#16 0x0 in ?? ()
Current language:  auto; currently c
(gdb) 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.05.9907140939120.21228-100000>