Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

malloc: *** error for object 0x1746ea3fe: Invalid pointer

malloc: * error for object 0x1746ea3fe: Invalid pointer dequeued from free list * set a breakpoint in malloc_error_break to debug

How to solve the error? Error on thread and running on iPad with iOS 10.

like image 884
Achsum Avatar asked Aug 04 '17 06:08

Achsum


1 Answers

An app is 1 process with N threads. If one thread crashes, the whole app crashes.

In Xcode show the Breakpoint Navigator (on the left). Then click the + at the far-bottom-left and select Symbolic Breakpoint... Finally in the Symbol field fill in malloc_error_break and you're done; run the app again.

like image 117
meaning-matters Avatar answered Nov 05 '22 02:11

meaning-matters