Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 11:38:01 -0700 (PDT)
From:      davidc@acns.ab.ca
To:        freebsd-gnats-submit@freebsd.org
Subject:   misc/14264: Combination of aio_read(), pthread_cond_wait(), and sched_yield() kills machine.
Message-ID:  <19991011183801.D429615539@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14264
>Category:       misc
>Synopsis:       Combination of aio_read(), pthread_cond_wait(), and sched_yield() kills machine.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 11 11:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chad David
>Release:        3.3-stable
>Organization:
ACNS Inc.
>Environment:
FreeBSD colnta.acns.ab.ca 3.3-STABLE FreeBSD 3.3-STABLE #0: 
Mon Oct 11 12:00:46 MDT 1999     
toor@colnta.acns.ab.ca:/usr/src/sys/compile/ACNS1  i386
>Description:
After a (incorrect) call to pthread_cond_wait(), calling sched_yield()
freezes the machine instantly.
>How-To-Repeat:
Compile and run the source 
(available from http://www.guild.ab.ca/killer.tar.gz )
Once running the app is listening on TCP port 8899, telnet
to the port and the machine will freeze.

If the pthread_cond_wait() call is fixed, or sched_yield() is
removed the problem goes away.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991011183801.D429615539>