#3918: Got internal error: stg_ap_v_ret when call forkProcess
------------------------------------+---------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.12.3
Component: Runtime System | Version: 6.12.1
Keywords: stg_ap_v_ret gtk2hs | Difficulty:
Os: Linux | Testcase:
Architecture: x86_64 (amd64) | Failure: Runtime crash
------------------------------------+---------------------------------------
Changes (by simonmar):
* failure: None/Unknown => Runtime crash
* component: Compiler => Runtime System
* milestone: => 6.12.3
Old description:
> 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
New description:
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
--
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3918#comment:1>
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