#3266: Segment fault with WxHaskell and GHC 6.10.2
-------------------------+--------------------------------------------------
Reporter:  mcastellazzi  |          Owner:          
    Type:  bug           |         Status:  new     
Priority:  normal        |      Component:  Compiler
 Version:  6.10.2        |       Severity:  normal  
Keywords:  wxhaskell     |       Testcase:          
      Os:  Windows       |   Architecture:  x86     
-------------------------+--------------------------------------------------
 When i compile this very simple program  :
 module Main where

  import Graphics.UI.WX

  main :: IO ()
  main = start gui

  gui :: IO ()
  gui = do
   frame [text := "Hello World!"]
   return ()

 and that I run it with DOS, I get the error : "Segment fault/access
 violation in generated code" as soon as the mouse passes over the
 displayed window.

 When I compile it and run it with GHCI, under Windows,  I get the extra
 informations :
 Signature du problème :
   Nom d’événement de problème:  APPCRASH
   Nom de l’application: ghc.exe
   Version de l’application:     0.0.0.0
   Horodatage de l'application:  49d14878
   Nom du module par défaut:     comctl32.dll_unloaded
   Version du module par défaut: 0.0.0.0
   Horodateur du module par défaut:      4549bcb0
   Code de l’exception:  c0000005
   Décalage de l’exception:      73828219
   Version du système:   6.0.6000.2.0.0.768.3
   Identificateur de paramètres régionaux:       1036
   Information supplémentaire n° 1:      916f
   Information supplémentaire n° 2:      5a80fd0e43273a8de02792153de3009a
   Information supplémentaire n° 3:      3cbc
   Information supplémentaire n° 4:      a7ba763d72dae8d739732c4202cd60ca


 I get the same error with almost all the demo programs delivered with
 WxHaskell.

 I have Windows Vista, GHC 6.10.2, wxHaskell 0.11.1.2 et WxWidgets 2.8.9.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3266>
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

Reply via email to