Just installed the latest versions of GHC and wxHaskell and that seems to have cleared up the seg faults. Seeing some odd behavior where it claims it can't find some dlls (cleared up one by copying the dll out of the system32 directory into the directory the exe is in which strictly speaking should not have been necessary), but I suspect I may just need to reboot or something. The good news is, the sample programs appear to run more or less correctly, and even when they error off trying to load some shared libraries they don't seg fault and continue to function to the best of their ability, which is really all you can ask of a program.
Both. I just ran the BouncingBalls.hs example included with wxHaskell-0.11.0 and it seg. faulted in both GHCi and the compiled exe with the message:
Segmentation fault/access violation in generated code
This is with GHC-6.10.1, and wxHaskell-0.11.0.Looking at the GHC and wxHaskell pages I notice that both GHC and wxHaskell are a few minor releases out of date, so I'm going to download the latest versions on my windows box and see if that takes care of the issues.
On Sun, Aug 2, 2009 at 7:38 AM, Henk-Jan van Tuyl <hjgtuyl@chello.nl> wrote:On Sun, 02 Aug 2009 05:50:53 +0200, Kyle Murphy <orclev@gmail.com> wrote:Does this happen with a compiled program or only in GHCi?
(in my case I'm running XP 64 bit which apparently does not play nice with the wxHaskell library as as soon as I mouse over any wxWidget objects it crashes with a seg fault)
--
Regards,
Henk-Jan van Tuyl
--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--