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:
> Package: hsbrainfuck
> Version: 0.1-6
> Severity: normal
>
> 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).
>
> -- System Information:
> Debian Release: 8.0
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages hsbrainfuck depends on:
> ii libc6 2.19-13
> ii libffi6 3.1-2
> ii libgmp10 2:6.0.0+dfsg-6
>
> hsbrainfuck recommends no packages.
>
> hsbrainfuck suggests no packages.
>
> -- no debconf information
>
> _______________________________________________
> Pkg-haskell-maintainers mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers
--
Joachim "nomeata" Breitner
Debian Developer
[email protected] | ICQ# 74513189 | GPG-Keyid: F0FBF51F
JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part

