Create account / Log in

Crash adding images in 3.5.4

Issues with the Vassal engine.

Moderators: uckelman, Tim M

Re: Crash adding images in 3.5.4

Postby Cattlesquat » April 7th, 2021, 12:57 am

... or also could it be some Anti Virus thing?
User avatar
Cattlesquat
 
Posts: 1078
Joined: December 2nd, 2019, 4:57 pm
Location: Baltimore, Maryland, USA

Re: Crash adding images in 3.5.4

Postby Benkyo » April 7th, 2021, 1:05 am

No anti-virus on my home computer, aside from Windows 10 default. Got some custom anti-virus thing going on at work, but either way no report from that.

I'm assuming it has something to do with the new resized image display during editing, but *shrug* I don't know jack about shit.

I'd like some way to revert to a functional version of Vassal, but I don't know if modules are backwards compatible.
Benkyo
 
Posts: 354
Joined: March 13th, 2013, 11:02 pm

Re: Crash adding images in 3.5.4

Postby Brent Easton » April 7th, 2021, 1:41 am

As you are the only person that is reporting this problem, it seems far more likely there is some issue with your environment than something in Vassal. Unfortunately, it also makes you the only person who can help diagnose the problem. We are here to help you, but we can't do it without your help.

Once we know what is going wrong, we can hopefully get Vassal to detect this and at least fail more gracefully.

It could be the images you are trying to load. Can you try creating a new module and loading your images until you get a failure? Is that repeatable with that image? What happens when you load that image into a new 3.4 module?

When you say
The crashes have occurred at every stage of editing,
do you mean that the crash happens randomly while doing a variety of different tasks? Or does the crash predominantly happen when doing a specific task?

Regards.
User avatar
Brent Easton
 
Posts: 3354
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia

Re: Crash adding images in 3.5.4

Postby Benkyo » April 7th, 2021, 1:59 am

I meant just that it's happened a lot, starting from a blank module. There's no consistency to it, except that I am still in the early stages of creating a deck, adding a piece, removing the mask, adding a prototype with a mask trait, copying the piece ~33 times, then editing the basic traits of the pieces one by one by adding an image and a name. The images are simple 326x508 png files, each unique.

At some point, on adding a new image, so far always during an nth iteration of the process I described, the editor will crash out and everything I did since last save is lost. There are no particular images that trigger this, and no surefire way to reproduce that I know of, except that it has happened a dozen times. I have made some progress by saving the module frequently, and have repeated the steps that previously caused a crash without causing a crash.

I haven't created a module from scratch since I guess 3.4 or 3.3, so I can't say for sure which version of the editor is buggy.

I'm going to try dumping all the images in the zip file first, to see if that makes a difference.
Benkyo
 
Posts: 354
Joined: March 13th, 2013, 11:02 pm

Re: Crash adding images in 3.5.4

Postby Benkyo » April 7th, 2021, 6:35 am

Of course, it may be that no-one else is encountering this bug because I'm the only person who didn't notice the "add multiple cards" function that makes everything so much faster (thanks Joel!)

Maybe that's the only workaround I need for now.
Benkyo
 
Posts: 354
Joined: March 13th, 2013, 11:02 pm

Re: Crash adding images in 3.5.4

Postby Rindis » April 7th, 2021, 5:39 pm

Benkyo, when exactly does the crash occur?

I haven't had any problems with image adding... but.

I have had a very occasional problem for ages, which seems to have gotten more common recently, of Vassal crashing when the file dialog comes up. Most normally, open module, hit 'load game or log', the file system dialog comes up, and the module immediately crashes/closes.

So, Benkyo, is this happening right as the file system dialog for choosing your image file comes up?
User avatar
Rindis
 
Posts: 241
Joined: December 22nd, 2007, 12:49 am

Re: Crash adding images in 3.5.4

Postby Brent Easton » April 7th, 2021, 9:32 pm

Also, could you please check your Windows application log event logs for any errors? This appears to be crashing straight out of Java, so we may get some info there:

Event Viewer -> Windows Logs -> Application

Thanks.
User avatar
Brent Easton
 
Posts: 3354
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia

Re: Crash adding images in 3.5.4

Postby Benkyo » April 7th, 2021, 9:45 pm

Can't remember the exact timing, but I think after I selected the image to add, so not when the file system dialog appear.

Brent, yes, got some Vassal errors here (can't upload extension MTA) https://drive.google.com/file/d/1WbV0e7 ... sp=sharing

Faulting application name: java.exe, version: 15.0.2.0, time stamp: 0x60096bd1
Faulting module name: KERNELBASE.dll, version: 10.0.19041.804, time stamp: 0x0e9c5eae
Exception code: 0x00000675
Fault offset: 0x000000000010bd5c
Faulting process ID: 0x4a80
Faulting application start time: 0x01d729103add0824
Faulting application path: C:\Program Files\VASSAL-3.5.4\jre\bin\java.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 5c3d2832-5bdf-4101-a759-51c2a37518a7
Faulting package full name:
Faulting package-relative application ID:
Benkyo
 
Posts: 354
Joined: March 13th, 2013, 11:02 pm

Re: Crash adding images in 3.5.4

Postby Brent Easton » April 7th, 2021, 10:04 pm

Ok, now we are getting somewhere. That error has been reported sporadically over the years.

It is likely being caused by another piece of software you have installed on your system that is interfering with Java and causing it to crash. Perhaps some sort of third party accelerator or utility software? Are you trying to save the module on google drive or some sort of Cloud storage? Anything else unusual in your setup you can think of?

I am looking for info on how we can get more details on the crash from your system.

Regards.
User avatar
Brent Easton
 
Posts: 3354
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia

Re: Crash adding images in 3.5.4

Postby uckelman » April 7th, 2021, 10:16 pm

You might try 3.5.5, as that comes bundled with Java 16 instead of Java 15.
User avatar
uckelman
Site Admin
 
Posts: 9330
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Crash adding images in 3.5.4

Postby Benkyo » April 8th, 2021, 4:08 am

Not fixed in 3.5.5

No conflict or unusual use case comes to mind. Just working off a hard drive as usual, nothing running other than a pdf viewer, photoshop, discord, steam, epic, skype, outlook...

The crash occurs after selecting the image file, which momentarily appears as an entirely black image in the editor before the crash.
Benkyo
 
Posts: 354
Joined: March 13th, 2013, 11:02 pm

Re: Crash adding images in 3.5.4

Postby jrwatts » April 8th, 2021, 4:29 am

Have you tried turning off the Direct 3D pipeline? It sure sounds like a graphics driver issue to me....
jrwatts
 
Posts: 276
Joined: April 29th, 2020, 10:30 pm

Re: Crash adding images in 3.5.4

Postby Benkyo » April 8th, 2021, 4:37 am

Thanks, can you explain what turning off the Direct 3D pipeline means/entails?
Benkyo
 
Posts: 354
Joined: March 13th, 2013, 11:02 pm

Re: Crash adding images in 3.5.4

Postby jrwatts » April 8th, 2021, 4:41 am

It's an option somewhere in the Preferences window for VASSAL (I'm guessing the Compatibility tab?)--I'm not sure exactly where, because I'm running on Linux, and that option is only for Windows.
jrwatts
 
Posts: 276
Joined: April 29th, 2020, 10:30 pm

Re: Crash adding images in 3.5.4

Postby Benkyo » April 11th, 2021, 2:17 am

Crash just occurred while the turn off the Direct 3D pipeline option was selected.
Benkyo
 
Posts: 354
Joined: March 13th, 2013, 11:02 pm

PreviousNext

Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 3 guests

cron