Page 1 of 1

Segmentation Fault using [cmd][/cmd]

Posted: Wed May 18, 2005 9:25 am
by newdep
Linux newlisp 8.5.7


Some Segmentation Fault scenarios using [cmd][/cmd]
Im not using newlisp -p mode just plain console.


newLISP v.8.5.7 on Linux, execute 'newlisp -h' for more info.

> [cmd]
(define (self error)
(println "nothing important"))
[/cmd]
(lambda (error) (println "nothing important"))
> [cmd]
(define (self error)
(println "nothing important"))



[/cmd]
Segmentation fault




> [cmd]
(define (duh)
(println "nothing happens?"))
[/cmd]
Segmentation fault




> [cmd]
(define (self error)
(println "duh?"))
[/cmd]
(lambda (error) (println "duh?"))
missing parenthesis : "...(define (define (self (println \"duh?\"))\n"

> [cmd]
Segmentation fault