Very difficult to tell without looking at the code. But when you read
in the data make sure you are not reading in more data than you have
space for. That is if you have a buffer of 10 and read in 11
characters bad stuff happens. Are you working on this in XCode ? If so
in the debugger when this happens the debugger will halt and show you
the program stack at the failure. At the top will be functions in the
C library or system that will dump in ASM code, lower down will be
stuff you wrote. It will show you the line where you have an error.
You can then poke around to see what might be happening.
--jim
>> Stay informed about: Bus Error!?