Debian Bug report logs - #603187
"PANIC: attached pid $SOMEPID exited with 0" from strace -f of Haskell program compiled with ghc -threaded

version graph

Package: strace; Maintainer for strace is Frederik Schüler <fs@debian.org>; Source for strace is src:strace.

Reported by: Josh Triplett <josh@joshtriplett.org>

Date: Thu, 11 Nov 2010 19:06:02 UTC

Severity: normal

Found in version strace/4.5.20-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, josh@joshtriplett.org, joey@kitenet.net, Frederik Schüler <fs@debian.org>:
Bug#603187; Package strace. (Thu, 11 Nov 2010 19:06:05 GMT) Full text and rfc822 format available.

Message #3 received at submit@bugs.debian.org (full text, mbox):

From: Josh Triplett <josh@joshtriplett.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: "PANIC: attached pid $SOMEPID exited with 0" from strace -f of Haskell program compiled with ghc -threaded
Date: Thu, 11 Nov 2010 11:04:50 -0800
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




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 18:50:01 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.