From owner-freebsd-current Sat Sep 14 17: 0:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ACB137B400 for ; Sat, 14 Sep 2002 17:00:11 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4657E43E3B for ; Sat, 14 Sep 2002 17:00:11 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020915000010.FMRT16829.rwcrmhc51.attbi.com@InterJet.elischer.org> for ; Sun, 15 Sep 2002 00:00:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA85798 for ; Sat, 14 Sep 2002 16:59:49 -0700 (PDT) Date: Sat, 14 Sep 2002 16:59:48 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Subject: Re: Very important bug.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 14 Sep 2002, Julian Elischer wrote: > > Well to all 2 of you that would ever considering running > FreeBSD 1.1 binaries on -current anyhow... > > > Everything goes along great until you hit a pid > 32768 > then everything stops Actually looks like it's the compiler doing sign extension on a short pid.. 32822 sh CALL fork 32822 sh RET fork 32823/0x8037 32822 sh CALL setpgid(0xffff8037,0xffff8037) 32822 sh RET setpgid -1 errno 22 Invalid argument 32822 sh CALL getpgrp 32822 sh RET getpgrp 32822/0x8036 32822 sh CALL wait4(0xffffffff,0xbfbff650,0x2,0) 32822 sh RET wait4 32823/0x8037 Looks like I need a 'compat' flag to fork that says "no pids over 32K please" :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message