#4967: internal error: stg_ap_v_ret on forkProcess + executeFile
-----------------------------------------+----------------------------------
Reporter: udoprog | Owner: simonmar
Type: bug | Status: new
Priority: high | Milestone: 7.2.1
Component: Compiler | Version: 6.12.1
Keywords: forkProcess stg_ap_v_ret | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime crash
-----------------------------------------+----------------------------------
Comment(by udoprog):
I was unable to reproduce the problem using only my custom fork/exec code,
which can be found with a simple example here:
http://toolchain.eu/open/Main.hs
Tested with both ghc-6.12.1 and ghc-6.12.3
This indicates that the problem must be a combination either of that very
specific case I linked above on the github branch, it seems to work fine
without daemonization so there might be some issues in combination with
the following package:
http://hackage.haskell.org/package/hdaemonize
Other than that, the branch I posted builds and runs fine with ghc-6.12.3.
Since my package maintainer saw it fit to upgrade, retrying the whole
build chain with ghc-6.12.1 is a bit difficult for me atm.
So now it might be possible to reproduce if the following criterias are
met:
* use hdaemonize
* wrap the 'doStuff' method call in http://toolchain.eu/open/Main.hs with
'daemonize'
* kill the forked process twice
Preferably stdout should be redirected somewhere sane, so it can be
examined later, otherwise 'daemonize' will simply close it.
Hope this either enables you to close this bug, or check if it is valid.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4967#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs