The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: THEE on February 19, 2019, 01:14:46 PM

Title: ERROR:Software crashes(Cc0000005) in pushing the Save Button
Post by: THEE on February 19, 2019, 01:14:46 PM
Thank you for developing and improving such a good game. :)

By the way, software may crash when I click Save button in the "Change Options" window of the game .
(usually, save window is opened but in the error, the window is not opened.)

This phenomenon does not always occur, and I cannot identify the cause.
However, I feel it to tend to occur when I leave a game for a long time without saving it.

It is output in WER file as follows.

---------------------------------------------
Sig[6].Name=Exception cord
Sig[6].Value=c0000005
---------------------------------------------

"c0000005" is occurred in Memory access violation, so I think it causes 
the quantity of data which it is going to store in sequence and so on exceeds the quantity of the assumption.

Because is not a regular error, the bugfix may be difficult....

Thank You.
Title: Re: ERROR:Software crashes(Cc0000005) in pushing the Save Button
Post by: THEE on February 20, 2019, 11:44:10 AM
I provably solved the problem myself...
(It arises from Japanese own character encoding scheme.)

So, could you close this topics?

Thanks.
Title: Re: ERROR:Software crashes(Cc0000005) in pushing the Save Button
Post by: jamespetts on February 21, 2019, 01:06:41 AM
Thank you for the report and for the resolution, and apologies for not having replied previously.

Can I clarify the latter post; was the problem with something specific to your system, or with Simutrans-Extended itself?
Title: Re: ERROR:Software crashes(Cc0000005) in pushing the Save Button
Post by: THEE on February 24, 2019, 11:49:27 AM
Quote from: jamespetts on February 21, 2019, 01:06:41 AMCan I clarify the latter post; was the problem with something specific to your system, or with Simutrans-Extended itself?

I think it is the latter.

Japanese character is treated at over 2 bytes with computers and I think that it might be with a problem in for example  acquiring the name of a file or the folder and making some process(calculating the sum of bytes of the name, deviding the name from the number of the bytes etc...).

I noticed there were the save files of Simutrans Standard in which Japanese character is used in the save folder(I mixed Standard and Extended save files in the same folder...) and deleted them. so the error did not come to happen.

In other words this problem is to have possibilities to get up in including Japanese character in the name of a save folder or file.

Thanks.
Title: Re: ERROR:Software crashes(Cc0000005) in pushing the Save Button
Post by: jamespetts on February 24, 2019, 12:08:37 PM
Is the issue that you have identified specific to Simutrans-Extended, or does it exist in code shared with Simutrans-Standard, do you know?
Title: Re: ERROR:Software crashes(Cc0000005) in pushing the Save Button
Post by: ACarlotti on February 24, 2019, 05:43:31 PM
Furthermore, since this might relate to filesystem- or OS-specific code: What operating system are you running this on?