owl does not handle out of memory conditions sanely
Bug #439326 reported by
Aki Helin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Owl Lisp |
Fix Released
|
Medium
|
Unassigned |
Bug Description
What happens:
$ bin/owl
You see a prompt.
> (let loop ((a 1)) (+ (loop a) (loop a)))
ovm: could not allocate more space
$
What should happen:
$ bin/owl
You see a prompt.
> (let loop ((a 1)) (+ (loop a) (loop a)))
out of memory. dropped thread <repl eval thread name>
>
Changed in ol: | |
status: | New → Confirmed |
importance: | Undecided → Low |
importance: | Low → Medium |
Changed in ol: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
What happens in r123:
$ bin/owl -m 4 # soft memory limit in mb
You see a prompt.
> (let loop ((a 1)) (+ (loop a) (loop a)))
syscall 14 - memlimit exceeded, dropping a thread
error: instruction memory-limit info #(False False)
>