From: Eric Y. K. <eri...@gm...> - 2009-10-03 07:24:17
|
On Fri, Oct 02, 2009 at 21:52:09 -0700, Conal Elliott wrote: > I spent some time today tracking down the die-on-restart problem with > wxHaskell. Yay! > I didn't get the the heart of the problem, though I may have gotten close. > This note records my journey, in the hope that together we can get further. Three notes: 1. We should write a demonstrator just using wxcore, run and no start; this should be trivial 2. How about running this through gdb? 3. I can't seem to reproduce this crash anymore in Brian's recabalised wxcore. I think it'd be a really good idea to push the wxcore stuff into the Darcs repo now that it builds under Windows (albeit with some extra flags). In the meantime, you can try git clone git://github.com/kowey/wxcore Which contains Brian Lewis's recabalisation work plus one tiny Mac-specific bit, linking with libstdc++. Note however that while I could run the StartStart demonstrator from the command line, when I tried to run it from GHCi, I got this: Loading package wxcore-0.11.1.3 ... can't load .so/.DLL for: stdc++ (dlopen(libstdc++.dylib, 9): image not found) Brian: any thoughts? Thanks! -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9 |