From owner-freebsd-bugs Mon Oct 11 11:40: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0DE0D15585 for ; Mon, 11 Oct 1999 11:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA45780; Mon, 11 Oct 1999 11:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id D429615539; Mon, 11 Oct 1999 11:38:01 -0700 (PDT) Message-Id: <19991011183801.D429615539@hub.freebsd.org> Date: Mon, 11 Oct 1999 11:38:01 -0700 (PDT) From: davidc@acns.ab.ca To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/14264: Combination of aio_read(), pthread_cond_wait(), and sched_yield() kills machine. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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