[GHC] #11234: GHCi on Windows segfaults
GHC
ghc-devs at haskell.org
Tue Dec 22 05:21:03 UTC 2015
#11234: GHCi on Windows segfaults
-------------------------------------+-------------------------------------
Reporter: Phyx- | Owner: Phyx-
Type: bug | Status: patch
Priority: highest | Milestone: 8.0.1
Component: Runtime System | Version: 7.11
Resolution: | Keywords:
Operating System: Windows | Architecture:
| Unknown/Multiple
Type of failure: GHCi crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1683
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Tamar Christina <tamar@…>):
In [changeset:"aa7fb9a64da740eb42e56e085adc445f0103e743/ghc" aa7fb9a/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="aa7fb9a64da740eb42e56e085adc445f0103e743"
Fix GHCi segfault in Windows 32bit
Summary:
Add missing calling convention to function pointer,
incorrect `cdecl` calling convention which should be `stdcall`
on x86 was causing the stack to be corrupted. When it tried to
return from the function the return pointer would be invalid.
Test Plan: ./validate
Reviewers: austin, erikd, bgamari, thomie
Reviewed By: bgamari, thomie
Differential Revision: https://phabricator.haskell.org/D1683
GHC Trac Issues: #11234
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11234#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list