From: SourceForge.net <no...@so...> - 2005-02-11 03:35:50
|
Bugs item #1120544, was opened at 2005-02-10 20:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1120544&group_id=4933 Category: Lisp Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Robert Dodier (robert_dodier) Assigned to: Nobody/Anonymous (nobody) Summary: Lisp error in test suite script causes run_testsuite to hang Initial Comment: If there is a Lisp error in a test suite script, then run_testsuite() prints the time and gc message and then hangs -- anything I type is ignored and ctrl-C doesn't get the interpreter's attention. My guess is that the Lisp error is caught in a way that precludes further progress. (I guess that's obvious, sorry that I don't have anything more useful to say.) I've found the follow can trigger this behavior: (%i1) defrule (a, b, c); (%o1) a : b -> c (%i2) run_testsuite (); Running tests in rtest1.mac: 28/28 tests passed. Running tests in rtest1a.mac: 23/23 tests passed. Running tests in rtest2.mac: Real time: 11.429437 sec. Run time: 11.42 sec. Space: 30141840 Bytes GC: 14, GC time: 2.76 sec. defrule (a, b, c) (all atoms) constructs a rule that confuses kill(); try "defrule (a,b,c); kill(rules)" which yields "$B is not of type LIST". I'll enter a separate bug report for that. rtest2.mac contains "kill(a)" which attempts to kill the erroneously-constructed rule a, throwing the Lisp error. Observed in: Maxima version: 5.9.1 Maxima build date: 21:24 9/23/2004 host type: i686-pc-linux-gnu lisp-implementation-type: CMU Common Lisp lisp-implementation-version: 19a also: Maxima version: 5.9.1.1cvs Maxima build date: 20:11 2/10/2005 host type: i686-redhat-linux-gnu lisp-implementation-type: CLISP lisp-implementation-version: 2.31 (released 2003-09-01) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1120544&group_id=4933 |