Bug 14264

Summary: Combination of aio_read(), pthread_cond_wait(), and sched_yield() kills machine.
Product: Base System Reporter: davidc <davidc>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description davidc 1999-10-11 19:40:00 UTC
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.
Comment 1 Jason Evans 1999-12-28 16:20:44 UTC
I cannot reproduce this problem on a 3.3-STABLE machine from 17
November.  Can you:

1) Still produce the problem on a recent -stable box?

2) Distill the program that causes the behavior down to something
   a bit smaller?

I can deal with the size of the program, but since it doesn't cause
a crash for me, I can't even guess as to what the problem might have
been.

Jason
Comment 2 Jason Evans freebsd_committer freebsd_triage 2000-06-07 20:42:12 UTC
State Changed
From-To: open->closed

I'm unable to reproduce the problem, and the originator has not provided 
additional information that would allow the validity of this PR to be 
evaluated.