[GHC] #14346: 8.2.1 regression: heap corruption after safe foreign calls
GHC
ghc-devs at haskell.org
Thu Oct 12 12:22:21 UTC 2017
#14346: 8.2.1 regression: heap corruption after safe foreign calls
-------------------------------------+-------------------------------------
Reporter: andrewchen | Owner: (none)
Type: bug | Status: infoneeded
Priority: highest | Milestone:
Component: Runtime System | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => infoneeded
Comment:
For whatever reason, I'm not able to reproduce this on either my Ubuntu
14.04 or 17.04 machines with GHC 8.2.1. I'm doing this:
{{{
$ ghc -fforce-recomp -threaded bug.c Bug.hs
[1 of 1] Compiling Main ( Bug.hs, Bug.o )
Linking Bug ...
$ ./Bug
}}}
It then proceeds to run forever (AFAICT) without hitting any `value
mistmatch`es or segfaults.
Some questions:
1. What operating system are you using?
2. How can I reproduce this issue //with just GHC//? Please, no
instructions involving fancy build tools like `stack`, since if this
really is a GHC bug, one should be able to trigger the issue with just
GHC.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14346#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list