New runtime crash, not sure what to make of it

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 ()
Haskell stack trace:
(gdb) p16 $r22
0x130a87c: 0x130a898
0x130a878: 0x13162c

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 ()
participants (1)
-
Joel Reymont