- Home /
signal 11 (SIGSEGV), fault
I'm trying to port a iphone game into android but "signal 11 (SIGSEGV), fault" occurs randomly. the addresses are related to "libunity.so". I tried to load libunity.so on gdb and figure out the problem with the addr using list but the gdb failed to load symbols. Does anyone have a similar problem or any idea?
I'm seeing something very similar, have you managed to figure it out already?
Answer by kromenak · Jul 11, 2011 at 07:15 PM
I was having this issue, also porting an iOS app. The problem was caused by some code that was calling iOS native code through the plugin interface. When that code was called on an Android device, the app would crash with a SIGSEGV.
To resolve the issue, just wrap any of those statements in #if UNITY_IPHONE preprocessors. This sort of thing could happen with integration of Flurry, GameCenter, etc.
Answer by djbloveu · Aug 02, 2012 at 12:55 AM
litlle late i had (i hope that it's behind me) the same issue, is written completly for Android, what i found is : i have an arraylist> T- one of my classes i was doing this loop :
ArrayList<>al; for(ArrayList a:al) [<-- (this is the problem, when you get into big arraylist it makes some kind of memory conflict, i think that it loses the address of the object or it might get changed along the way (which sounds impossible i know, but this is just a thought, although it doesn't make sense to me too) )] { some code goes here ... ... ... }
anyway i changed this loop to :
Arraylista; for(int l=0;l