
Alfredo Di Napoli
Fair enough :) Here is the gdb output:
(gdb) run Starting program: /Users/adinapoli/Library/Haskell/ghc-7.6.2/bin/threadscope Reading symbols for shared libraries ++++++++++++++++++....................................................................................................................................................................... done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x0000000000000000 in ?? ()
That's a NULL-pointer exception.
I have two hypothesis:
a) could be the RAM (tips about some RAM testing tool?) b) could be some programs which is writing in that portion of memory
Definitely an application error. NULL is never a valid memory address. Missing NULL-pointer checks are a very common error source in low level programming. What do you mean by _some_ program? It's the program that you started (threadscope). Tobi