简体   繁体   中英

Data Formatters temporarily unavailable, not low on memory

I'm running a computationally intensive task that reads data from the viewfinder using UIGetScreenImage and does computations on it, repeatedly. After about 60 seconds (on 3GS) I'm getting a crash every time. But I can't debug it, because I get this:

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) continue
The program is not being run.

And at this point I'm toast, the stack trace is all blank.

I've used Instruments, object allocations, allocations, activity monitor, and they all show that I'm not leaking. In activity monitor for example physical memory used rises from 77MB to to 112 MB and stays there (up and down a bit) until the crash.

Anyone have an idea of what to try?

You might have some recursion that's got a bit out of control?

I've seen your symptoms happen when I've accidentally call a setter from within a setter ie

-(void)setX:(int)value {
    self.x = value; //!< Oops, accidentally called this method again :(
}

and you get odd errors from the debugger because you've broken the stack. Don't know how this answer helps you find the error though :(

Are you using any version control at all - I'd fix this by stepping back though your changes and finding the change that causes the bug?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM