Package: strace
Version: 4.5.20-2
Severity: normal

/tmp$ cat threadtest.hs
import System.Cmd.Utils

main :: IO ()
main = do
    (_, out) <- pipeFrom "echo" ["Hello world!"]
    putStr out
/tmp$ ghc -threaded --make -fforce-recomp threadtest.hs
[1 of 1] Compiling Main             ( threadtest.hs, threadtest.o )
Linking threadtest ...
/tmp$ strace -f -o /dev/null ./threadtest
PANIC: attached pid 10086 exited with 0
PANIC: handle_group_exit: 10086 leader 10085
Hello world!


You'll need MissingH for System.Cmd.Utils.  Almost certainly reproducible with
anything else that forks, as well, but I had System.Cmd.Utils at hand due to
debugging a different issue (and attempting to use strace -f to debug it).

- Josh Triplett

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages strace depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib

strace recommends no packages.

strace suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to