I\'ve been reading the other posts on tracking down the reasons for getting a SIGSEGV
in an Android app. I plan to scour my app for possible NullPointers relate
I had this segmentation fault error because of Memory issues. My struct having many variables and arrays, had this Array of size 1024.
Reducing the size to 512, the error was gone.
P.S: This is a workaround and not a solution. It is necessary to find the struct size and dynamic memory allocation is a better option.