Thursday, October 23, 2008

how do you crash a jvm?

  1. jni such as dereferencing pointers to wron memory areas (like Nullpointer) or illegal Opcodes
  2. corrupted libraries via hex editing
  3. buggy drivers
  4. failed syscalls relating to hardware issue
  5. bugs in the jvm (check the bug report)
  6. missing os patch
  7. using reflection to crash the vm
  8. using the below class (by ralfs)

public class Crash {
public static void main(String[] args) {
Object[] o = null;

while (true) {
o = new Object[] {o};
}
}
}


http://stackoverflow.com/questions/65200/how-do-you-crash-a-jvm
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17534

No comments:

Post a Comment