Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
363 views
in Technique[技术] by (71.8m points)

iphone - Program received signal: “0”. Data Formatters temporarily unavailable

I'm working on an iPad app that downloads a CSV file from the web and parses the file into a NSMutableArray. (I'm using the code from http://www.macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data suggested in another post).

When I run in the simulator, everything works perfectly, but when I run on the device, I get the following error:

Program received signal:  “0”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib")
(gdb)

Does anyone know why this would pop up? Google isn't helping me here... :(

Thanks!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Signal 0 usually (but not always) points to your app being killed for using too much memory.

Your view controllers should received the memory warning method in a low memory situation, and it is up to you to free up some memory when they arrive. If you don't free any memory and continue to use more memory the app will be forcibly quit.

The data formatters message in the console relates to the debugger. For some reason the debugger was unable to load the data formatters used to represent the data in the application. probably because the phone didn't have any memory left for them.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...