mardi 29 avril 2014

wxc segfault in wxHaskell


Vote count:

0




I was trying to test wxHaskell. Since I tried to compile wxHaskell against wxWidgets 3.0 on Windows/MinGW32 unsuccessfully, I reverted back to wxWidgets 2.9.5, and was able to install wxHaskll by cabal install wx.


When I tested the Counter example in reactive-banana, I got a segfault. Doing a gdb on Counter.exe shows the following call stack. I was wondering if anyone has encountered a similar error, or had any solution?



Program received signal SIGSEGV, Segmentation fault.
0x77bd8efa in wcslen () from C:\WINDOWS\syswow64\msvcrt.dll
(gdb) frame 1
#1 0x6fc88bc5 in libstdc++-6!_ZNSt11char_traitsIwE2eqERKwS2_ ()
from c:\mingw\bin\libstdc++-6.dll
(gdb) frame 2
#2 0x6fc7aa9e in libstdc++-6!_ZNSbIwSt11char_traitsIwESaIwEEC1EPKwRKS1_ ()
from c:\mingw\bin\libstdc++-6.dll
(gdb) frame 3
#3 0x6cb9c397 in wxClassInfo::Register() ()
from c:\mingw\bin\wxbase295u_gcc_custom.dll
(gdb) frame 4
#4 0x69200979 in _fu1174___ZN11wxClassInfo8sm_firstE ()
from c:\Documents and Settings\ting\Application Data\cabal\bin\wxc.dll
(gdb) frame 5
#5 0x692ab2f0 in wxEVT_PRINT_PAGE ()
from c:\Documents and Settings\ting\Application Data\cabal\bin\wxc.dll
(gdb) frame 5
#5 0x692ab2f0 in wxEVT_PRINT_PAGE ()
from c:\Documents and Settings\ting\Application Data\cabal\bin\wxc.dll
(gdb) frame 6
#6 0x692ab000 in ?? ()
from c:\Documents and Settings\ting\Application Data\cabal\bin\wxc.dll


(gdb) frame 7



asked 58 secs ago

Ting L

1,234





Aucun commentaire:

Enregistrer un commentaire