zsh-workers
 help / color / mirror / code / Atom feed
* Core dump bug in ZSH version 3.0.7
@ 2001-11-12 18:28 Carl Feynman
  2001-11-12 18:59 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Carl Feynman @ 2001-11-12 18:28 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-13 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-12 18:28 Core dump bug in ZSH version 3.0.7 Carl Feynman
2001-11-12 18:59 ` Bart Schaefer
2001-11-13 18:21   ` PATCH (4.0.x, 4.1.x): " Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).