The program runs fine in non-threaded mode, including from within ghci. The crash below hapens when using -threaded.

I tried to come up with a repro case but could not reproduce the crash.

        Thanks, Joel

On Dec 7, 2005, at 12:51 AM, Joel Reymont wrote:

Program compiled with -threaded on Mac OSX. Crash happens when waiting in select, I think.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
[Switching to process 832 thread 0x2303]
0x0011ce20 in stg_enter_info ()
(gdb) where
#0  0x0011ce20 in stg_enter_info ()
#1  0x00170e7c in StgRunIsImplementedInAssembler ()
#2  0x001247a4 in schedule ()
#3  0x00124468 in taskStart ()
#4  0x0017f800 in startProcWrapper ()
#5  0x9002b200 in _pthread_body ()

--
http://wagerlabs.com/





_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to