Got internal error: stg_ap_v_ret when call forkProcess
For recur this bug, you need install gtk2hs, dbus-core, dbus-client first.
Then use below command to compile:
ghc --make -threaded Main.hs
Then run ./Main
in terminal, and press key "c" in program, then it will create new tab in program.
For recur this bug, you need press "c" sometimes (4 or 5 at least), then you will got below error:
***************
Debug-> in socket process (before `forkProcess`):
Main: internal error: stg_ap_v_ret
(GHC version 6.12.1 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
I have test, this bug just happen when i call function forkProcess
.
You can get source code from attach.
-- Andy