From: Benedikt G. <Ben...@we...> - 2004-11-13 12:52:21
|
Hello Daan, Hello List, I have some free time this weekend which I want to use to track down this sigsev bug. Interestingly the bug does not appear that often when running the Process.hs in a debugger. But most of the time it does crash when I try to execute the unknown cmd `cmd' to times in a row. I compiled process using ghc -debug -package wx --make Process.hs gdb says: Starting program: /home/dreamer/programming/wxhaskell/wxhaskell-0.8/samples/wx/a.out [Thread debugging using libthread_db enabled] [New Thread 1090297408 (LWP 1826)] Detaching after fork from child process 1829. [New Thread 1100573616 (LWP 1830)] [New Thread 1108962224 (LWP 1831)] [Thread 1108962224 (zombie) exited] [Thread 1100573616 (zombie) exited] Detaching after fork from child process 1832. [New Thread 1100573616 (LWP 1833)] [New Thread 1108962224 (LWP 1834)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1108962224 (LWP 1834)] 0x40221dd4 in wxInputSinkEvent::Read () from /usr/local/lib/libwxc-gtk2.4.2-0.8.so (gdb) bt #0 0x40221dd4 in wxInputSinkEvent::Read () from /usr/local/lib/libwxc-gtk2.4.2-0.8.so #1 0x402219c9 in wxInputSink::Entry () from /usr/local/lib/libwxc-gtk2.4.2-0.8.so #2 0x403fc446 in wxThreadInternal::PthreadStart () from /usr/local/lib/libwxc-gtk2.4.2-0.8.so #3 0x405cb9b4 in start_thread () from /lib/tls/libpthread.so.0 #4 0x00000000 in ?? () (gdb) I don't know wether that is already helpfull to you or not. How do I compile wxhaskell with full debugging information? I noticed that there is something like wxcd in makefile.lib but there does not seem to be an accompanying parameter in the configure script. Cheers, Bene PS: I originally intented not to write this email to the wxhaskell mailing list, as I wasn't sure wether this email was interesting to it. And I had it only cc'ed to Daniel Fischer (who happened to post another one of our problems yesterday evening and is that colleque of mine I mentioned before). But I just had to realize that your spam filter blocked my email. -- Benedikt Grundmann For animals, the entire universe has been neatly divided into things to (a) mate with, (b) eat, (c) run away from, and (d) rocks. --- (Terry Pratchett, Equal Rites) --- |