/*
* Load Other cards
*/
- (void)loadOtherCards{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc]init];
//Load other cards
NSLog(@"load othercards");
//A flag used to judge whether other card is loaded.
BOOL flag = NO;
Card * defaultCard = [_cards objectAtIndex:[_cards count]-1];
if ([defaultCard.front isEqualToString:@"Default.png"]){
flag = YES;
for (int i =3; i < [_cards count]; i++) {
unable to read unknown load command 0x26
warning: UUID mismatch detected with the loaded library - on disk is:
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 (9A405)/Symbols/System/Library/Extensions/IMGSGX535GLDriver.bundle/IMGSGX535GLDriver
unable to read unknown load command 0x25
unable to read unknown load command 0x26
gdb-arm-apple-darwin(1358,0xa0483540) malloc: *** mmap(size=24268800) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
gdb stack crawl at point of internal error:
/SourceCache/gdb/gdb-1510/src/gdb/utils.c:1200: internal-error: virtual memory exhausted: can't allocate 24267986 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
The Debugger has exited with status 1.The Debugger has exited with status 1.