Unsolved qt app crash on iphone(iOS 8 & 10)
-
Qt app run MAC is ok, but run iphone crash.
QSettings settings("params.ini", QSettings::IniFormat);
QString group1 = "A";
QString group2 = "B";
settings.beginGroup(group1);
if(settings.allKeys().isEmpty()) <------------------------------------- crash !!!!
{}console log:
malloc: *
** error for object 0x170009c00: Invalid pointer dequeued from free list
*** set a breakpoint in malloc_error_break to debugWhat is the reason for this mistake?
What does the phrase "Invalid pointer dequeued from free list" mean?
Why is there no problem running on MAC, Is the configuration on iPhone wrong?