Suddenly getting crash on load with Vassal...

Windows 7
Intel i5 2500 3.3 Ghz
GTX 570 Nvidia
Java 7 update 25

I have been using an older version (3.1.20) due to an incompatibility with the mod I’m using (VASL) but this issue is also happening with 3.2.5 with another game.

Anyway, Vassal crashes immediately upon loading ‘due to an internal error’ and won’t load. I have to manually shut down the java process and it just crashes again.

The only solution is to reinstall Vassal and it works once… and then begins to crash immediately upon opening. It doesn’t matter which mod I use as it never gets that far. No clue what’s going on but here’s the error log… I’m running windows as an admin. I have no clue why access would be denied to that file… It was working fine yesterday and I can’t recall changing anything.

Any ideas?

Thanks,

Ken

2013-07-23 22:34:48,573 [0-main] INFO VASSAL.launch.StartUp - Starting
2013-07-23 22:34:48,575 [0-main] INFO VASSAL.launch.StartUp - OS Windows 7 6.1
2013-07-23 22:34:48,575 [0-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_25
2013-07-23 22:34:48,575 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.5
2013-07-23 22:34:48,599 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2013-07-23 22:34:48,786 [0-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog -
java.lang.UnsatisfiedLinkError: C:\Users\Javaslinger\AppData\Local\Temp\jna438583700663429621.dll: Access is denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.7.0_25]
at java.lang.ClassLoader.loadLibrary1(Unknown Source) ~[na:1.7.0_25]
at java.lang.ClassLoader.loadLibrary0(Unknown Source) ~[na:1.7.0_25]
at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[na:1.7.0_25]
at java.lang.Runtime.load0(Unknown Source) ~[na:1.7.0_25]
at java.lang.System.load(Unknown Source) ~[na:1.7.0_25]
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:744) ~[jna.jar:3.2.1 b0]
at com.sun.jna.Native.loadNativeLibrary(Native.java:678) ~[jna.jar:3.2.1 b0]
at com.sun.jna.Native.(Native.java:106) ~[jna.jar:3.2.1 b0]
at com.sun.jna.Structure.(Structure.java:110) ~[jna.jar:3.2.1 b0]
at VASSAL.tools.lang.MemoryUtils.getPhysicalMemory(MemoryUtils.java:75) ~[Vengine.jar:na]
at VASSAL.launch.AbstractLaunchAction.(AbstractLaunchAction.java:104) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManagerWindow.(ModuleManagerWindow.java:318) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManagerWindow.(ModuleManagerWindow.java:178) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManager.launch(ModuleManager.java:453) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManager$2.run(ModuleManager.java:300) ~[Vengine.jar:na]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue.access$200(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[na:1.7.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [na:1.7.0_25]

Thus spake Javaslinger:

I have been using an older version (3.1.20) due to an incompatiblity
with the mod I’m using (VASL) but this issue is also happening with
3.2.5.

Anyway, Vassal crashes immediately upon loading ‘due to an internal
error’ and won’t load. I have to manually shut down the java process
and it just crashes again.

The only solution is to reinstall Vassal and it works once… and then
begins to crash immediately upon opening. It doesn’t matter which mod I
use as it never gets that far. No clue what’s going on but here’s the
error log… I’m running windows as an admin. I have no clue why
access would be denied to that file… It was working fine yesterday
and I can’t recall changing anything.

Prior to 3.2.7, launching VASSAL from the installer could cause some
temporary files to end up with inappropriate permissions. Try 3.2.7.


J.

Unfortunately VASL does not work beyond 3.1.20 … and Mage Knight does not work beyond 3.2.5…

Any other suggestions? Someway to reset this? It was working fine…

Thus spake Javaslinger:

Unfortunately VASL does not work beyond 3.1.20 … and Mage Knight does
not work beyond 3.2.5…

I believe the problem with Mage Knight is fixed in the the current
dev build, which is 3.2.8-svn8790, available here:

vassalengine.sourceforge.net/builds/

In the same place you can see at test build for VASL-5.10.0-beta1, which is
VASSAL 3.2-compatible.

Try those.


J.

The problem is persisting even with the latest beta 3.2.8… In fact it’s worse as it won’t even run once… Whereas the other versions will run fine the very first time after reinstallation. I can’t even get to the initial screen where I would load a mod.

Very strange… I tried doing a restore point to a few days ago, but the restore fails…

Thus spake Javaslinger:

The problem is persisting even with the latest beta 3.2.8… In fact
it’s worse as it won’t even run once… Whereas the other versions will
run fine the very first time after reinstallation. I can’t even get to
the initial screen where I would load a mod.

Post your errorLog from an attempted run of 3.2.8-svn8790.


J.

Here it is… With 3.2.8 it never works even immediately after install. With older versions like 3.1.20 it will work once after a reinstallation and then it crashes with this error every other time it is loaded.

2013-07-24 15:47:36,397 [0-main] INFO VASSAL.launch.StartUp - Starting
2013-07-24 15:47:36,397 [0-main] INFO VASSAL.launch.StartUp - OS Windows 7 6.1
2013-07-24 15:47:36,397 [0-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_25
2013-07-24 15:47:36,397 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.8-svn8790
2013-07-24 15:47:36,569 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2013-07-24 15:47:37,271 [0-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog -
java.lang.UnsatisfiedLinkError: C:\Users\Javaslinger\AppData\Local\Temp\jna-Javaslinger\jna5267947509905716586.dll: Access is denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.7.0_25]
at java.lang.ClassLoader.loadLibrary1(Unknown Source) ~[na:1.7.0_25]
at java.lang.ClassLoader.loadLibrary0(Unknown Source) ~[na:1.7.0_25]
at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[na:1.7.0_25]
at java.lang.Runtime.load0(Unknown Source) ~[na:1.7.0_25]
at java.lang.System.load(Unknown Source) ~[na:1.7.0_25]
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:752) ~[jna-3.5.2.jar:3.5.2 (b66)]
at com.sun.jna.Native.loadNativeLibrary(Native.java:737) ~[jna-3.5.2.jar:3.5.2 (b66)]
at com.sun.jna.Native.(Native.java:129) ~[jna-3.5.2.jar:3.5.2 (b66)]
at com.sun.jna.Platform.(Platform.java:102) ~[jna-3.5.2.jar:3.5.2 (b66)]
at com.sun.jna.Structure.(Structure.java:136) ~[jna-3.5.2.jar:3.5.2 (b66)]
at VASSAL.tools.lang.MemoryUtils.getPhysicalMemory(MemoryUtils.java:74) ~[Vengine.jar:na]
at VASSAL.launch.AbstractLaunchAction.(AbstractLaunchAction.java:104) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManagerWindow.(ModuleManagerWindow.java:330) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManagerWindow.(ModuleManagerWindow.java:178) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManager.launch(ModuleManager.java:500) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManager$2.run(ModuleManager.java:347) ~[Vengine.jar:na]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue.access$200(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[na:1.7.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[na:1.7.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.7.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [na:1.7.0_25]

Thus spake Javaslinger:

Here it is… With 3.2.8 it never works even immediately after install.
With older versions like 3.1.20 it will work once after a
reinstallation and then it crashes with this error every other time it
is loaded.

C:\Users\Javaslinger\AppData\Local\Temp\jna-Javaslinger\

Check the permissions for this directory. It looks like your user
account doesn’t have read permissions.


J.

Thanks… No idea how that happened as that is the Admin account. I had to specifically add it to that Temp directory permissions even though Admin was already in there…

Well, it’s working now for all versions new and old…

By the way, just in case there is any confusion… Javaslinger refers to my days as a barista - obviously not a Java programmer…

Thanks again.

Thus spake Javaslinger:

Thanks… No idea how that happened as that is the Admin account. I had
to specifically add it to that Temp directory permissions even though
Admin was already in there…

Well, it’s working now for all versions new and old…

By the way, just in case there is any confusion… Javaslinger refers
to my days as a barista - obviously not a Java programmer…

Thanks again.

The next thing I was going to suggest was to delete
C:\Users\Javaslinger\AppData\Local\Temp in order to get Windows to
recreate it with the proper permissions.


J.