Many of the wxHaskell program samples crash, for example:
[...]\wxHaskell\samples\wxcore>ImageViewer.exe
Segmentation fault/access violation in generated code
(the message is always the same)
Versions:
Item | Version |
---|---|
OS | Windows XP, Windows 8.1 |
GHC | 7.6.3 |
wxWidgets | 2.9.5 |
wxHaskell | 0.91.0.0 (currently in GitHub repository) |
GCC | 4.5.2 |
With wxWidgets 3.0.1, most crashes have disappeared; the only crashing sample programs are now:
(Testing is done on a Windows 8.1 system)
The crashes returned at some point, but most are solved by removing the double initiation of the image handlers and the new procedure to compile wxWidgets, which ensures that the compiler used for wxWidgets is identical to the one used for installing wxHaskell. See https://wiki.haskell.org/WxHaskell/Windows#wxWidgets_3.0_and_wxHaskell_.3E.3D_0.92
Crashes are very rare now; report crashes in seperate tickets.
Current configuration:
(GHC 7.10.1 made all wxHaskell software crash)