Friday, December 27, 2013

iPhone3gs applications running problem

Met a fairly depressed,
When commissioning will always hang, gdb information is
gdb-i386-apple-darwin (6036,0 xa0140540) malloc: *** error for object 0x1585320: pointer being freed was not allocated
*** Set a breakpoint in malloc_error_break to debug

Check with malloc_history not see any information,
In single-step execution, without any problems, everything is normal, although gdb or show the same error, but will not let the program collapse out, directly continue, then, will be stuck, but finding any tips
Reply:
Seems to have a very clear "pointer being freed was not allocated" which places the pointer is not the first to be free of the former malloc
Reply:
cited a floor lvlin1980 reply:
seems to have a very clear "pointer being freed was not allocated" which places the pointer is not the first to be free of the former malloc



I put the whole code over again, and did not find any release have checked

No comments:

Post a Comment