#772911 fails to run program +>><<[>>,.<<]

Package:
hsbrainfuck
Source:
haskell-brainfuck
Description:
interpreter for the brainfuck programming language
Submitter:
Joey Hess
Date:
2014-12-12 12:30:07 UTC
Severity:
normal
#772911#5
Date:
2014-12-12 06:11:43 UTC
From:
To:
joey@darkstar:~>echo "+>><<[>>,.<<]" | hsbrainfuck
Killed

Strace shows the program sitting in some kind of tight loop,
including:

select(2, [], [1], NULL, {0, 0})        = 1 (out [1], left {0, 0})
write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
8096) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)

+++ killed by SIGKILL +++

I'm unclear why it gets a SIGKILL; it does not seem to run out of memory.

The brainfuck program was generated using brainfuck-monad,
with this haskell code.

cat = brainfuckConstants 1 $ flip forever $ input >> output

AFAICs that should just print to stdout what's read from stdin.

The program works when run in beef(1).

#772911#10
Date:
2014-12-12 12:25:37 UTC
From:
To:
Hi Joey,

thanks for your report. According to
http://hackage.haskell.org/package/brainfuck
hsbrainfuck is unmaintained, so there is probably not much going to
happen about this (besides, maybe, the removal of this package from
Debian).

Greetings,
Joachim

Am Freitag, den 12.12.2014, 02:11 -0400 schrieb Joey Hess: