Invalid memory access

Fragment of a discussion from Talk:Hamilton
Jump to navigation Jump to search

Hamilton runs just fine here, and I looked over the entirety of Hamilton's code and nothing looks particularly odd really...

No JNI is allowed for robocode bots, and direct ByteBuffers still only allow access to properly allocated memory. Robocode itself doesn't use JNI either unless the .NET plugin is involved. In any case Hamilton's code looks quite normal/typical (Though apparently using pre-saved data :P)

I'd suggest perhaps running it with both a Java debugger on the Java code, and GDB on the JVM itself. One of the two should reveal what's going on...

Rednaxela07:42, 25 September 2011