[Pkg-haskell-maintainers] Bug#772911: fails to run program +>><<[>>, .<<]
Joey Hess
id at joeyh.name
Fri Dec 12 06:11:43 UTC 2014
Package: hsbrainfuck
Version: 0.1-6
Severity: normal
joey at 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
--
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20141212/a55bbd85/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list