From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21099 invoked from network); 12 Nov 2001 18:29:28 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?T0GxAWvLOXpcRiLfDndcCM0yIk38Kqye?@203.24.36.3) by ns1.primenet.com.au with SMTP; 12 Nov 2001 18:29:28 -0000 Received: (qmail 9437 invoked from network); 12 Nov 2001 18:29:26 -0000 Received: from sunsite.dk (130.225.247.90) by proxy.melb.primenet.com.au with SMTP; 12 Nov 2001 18:29:26 -0000 Received: (qmail 13420 invoked by alias); 12 Nov 2001 18:29:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16242 Received: (qmail 13408 invoked from network); 12 Nov 2001 18:29:20 -0000 Message-ID: <3BF014DD.4060508@abinitio.com> Date: Mon, 12 Nov 2001 13:28:45 -0500 From: Carl Feynman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: zsh-workers@sunsite.dk Subject: Core dump bug in ZSH version 3.0.7 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I accidentally pasted a python program into zsh and it crashed it, saying "Memory fault (core dumped)". I cut down the offending python code to the following three lines, all of which seem to be required to cause the bug: if (len(sys.argv) > 1) : mask = (1 << string.atoi(sys.argv[1])) - 1 key = string.atoi(sys.argv[2]) When I put these lines in a file, I can crash zsh by either 'zsh bad-file' or, from within zsh, '. bad-file'. In both cases it prints command not found: len(sys.argv) [1] parse error near `)' [2] Memory fault (core dumped) This is happening in zsh version 3.0.7. Uname -a returns Linux aleph 2.2.16-3 #1 Mon Jun 19 19:11:44 EDT 2000 i686 unknown --Carl Feynman Ab Initio Software Corporation