FAQ Database Discussion Community

Strange crash on ARM and Intel

Haters gonna hate, but I can not provide source code for this problem, since I can not separate the issue, but I will try to provide as much information as I can. So my problem is, that a my application crashes in well defined circumstances, at a well defined point...

How to debug global variable corruption in c program in arm platform? [closed]

Somewhere in my code an integer global variable is getting corrupted and it is actually causing a failure in an if condition check.The condition check is failing due to junk value assigned to the variable. Which would be the best approach to solve this problem? Since my target platform is...

Can native code cause memory corruption in Java code in Android?

In Android, when we call native code via JNI, can it corrupt the Dalvik VM, and the Java code running inside it? For example, suppose we have this C method and we call it via JNI: JNIEXPORT void JNICALL Java_MemoryCorruptor_corruptMemory() { while (1) { char *p = randomAddress(); *p =...