From owner-freebsd-bugs Sun Mar 24 7:34:22 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 4E3C237B404; Sun, 24 Mar 2002 07:34:11 -0800 (PST) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by D00015.dialonly.kemerovo.su (8.11.6/8.11.6) with ESMTP id g2OFWiZ01569; Sun, 24 Mar 2002 22:32:44 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Message-ID: <3C9DF19B.592262CF@grosbein.pp.ru> Date: Sun, 24 Mar 2002 22:32:43 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [ru] (X11; U; FreeBSD 4.5-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: "Crist J. Clark" Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV References: <200203240340.g2O3e3458611@freefall.freebsd.org> <20020324025057.J48968@blossom.cjclark.org> Content-Type: multipart/mixed; boundary="------------4D5C705C439A07A67032218E" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------4D5C705C439A07A67032218E Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit I've built /bin/sh with debug as per comment in src/bin/sh/Makefile, using -g -DDEBUG=2 so it writes trace file till death. It is built without CPUTYPE also. Hope this will help. Please compare with yours. --------------4D5C705C439A07A67032218E Content-Type: text/plain; charset=koi8-r; name="trace" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="trace" Tracing started. Shell args: "/bin/sh.no686" "./test1" cmdloop(1) called token newline token newline token word v1=no pipeline: entered reread token word v1=no reread token word v1=no reread token word v1=no reread token word v1=no reread token word v1=no reread token word v1=no token newline reread token newline reread token newline reread token newline evaltree(0x80c01fc: 1) called evalcommand(0x80c01fc, 0) called builtin command: token word if pipeline: entered keyword "if" recognized reread token "if" reread token "if" reread token "if" reread token "if" token word test pipeline: entered reread token word test reread token word test reread token word test reread token word test reread token word test reread token word test token word ‚v1= token word = token word yes token ";" reread token ";" reread token ";" reread token ";" token word then keyword "then" recognized reread token "then" reread token "then" keyword "else" recognized token "else" reread token "else" keyword "if" recognized token "if" pipeline: entered reread token "if" reread token "if" reread token "if" reread token "if" token word test pipeline: entered reread token word test reread token word test reread token word test reread token word test reread token word test reread token word test token word ‚var= token ";" reread token ";" reread token ";" reread token ";" token word then keyword "then" recognized reread token "then" reread token "then" token word echo pipeline: entered reread token word echo reread token word echo reread token word echo reread token word echo reread token word echo reread token word echo token word OK token newline reread token newline reread token newline reread token newline keyword "fi" recognized token "fi" reread token "fi" reread token "fi" token newline reread token newline reread token newline reread token newline keyword "fi" recognized token "fi" reread token "fi" token newline reread token newline reread token newline reread token newline evaltree(0x80c01e8: 8) called evaltree(0x80c0250: 1) called evalcommand(0x80c0250, 2) called evalcommand arg: test evalcommand arg: no evalcommand arg: = evalcommand arg: yes builtin command: "test" "no" "=" "yes" evaltree(0x80c0274: 8) called evaltree(0x80c02b4: 1) called evalcommand(0x80c02b4, 2) called evalcommand arg: test builtin command: "test" --------------4D5C705C439A07A67032218E-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message