From bug-octave-request at bevo dot che dot wisc dot edu Sat Nov 15 16:47:08 2003 Subject: parsing error/recursive call makes octave crash From: "Csaba Szepesvari" To: Date: Sat, 15 Nov 2003 08:02:48 -0600 I am using GNU Octave, version 2.1.50 (i686-pc-cygwin). Consider the following .m file: ---ident.m ---------------------- y = ident(x) y = x; endfunction --------------------------------- Note that the keyword function is missing from this function file whose name is ident.m As a result, I guess, octave enters into an indefinity recursive call and crashes. Maybe there should be a better way of handling this (detect stack overflow, etc.). Also, for a moment octave prints out something about a parsing error but it crashes immediately. -------------------------------------- - Csaba ----------------------------------------- Csaba Szepesvari Computer and Automation Institute of the Hungarian Academy of Sciences 13-17 Kende u. Budapest, 1111 Hungary email: szcsaba at sztaki dot hu web: www.sztaki.hu/~szcsaba --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------