UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStar™
https://usdx.eu
GNU General Public License v2.0
812 stars 160 forks source link

Does Not Save Score and then UltraStar Crashes #195

Open cilantro-onion opened 7 years ago

cilantro-onion commented 7 years ago

Hello, After singing a song the scores are displayed with the score bars and emjois , however, when I press next the game crashes and a dialogue box pops up (see attachment). I never get to see the scoreboard with the rankings and dates. This happens frequently, but some days I am able to plays songs back-to-back without the game crashing. I've try running as administrator, but that does not seem to work. Any ideas?

error

Error_.txt

basisbit commented 7 years ago

could you please try if this problem is fixed for you in the current version UltraStar Deluxe 1.3 Beta 2 (v1.3.5)? You can download it at https://github.com/UltraStar-Deluxe/USDX/releases/tag/v1.3.5-beta

cilantro-onion commented 7 years ago

I downloaded v1.3.5 and still have the same issue. The same popup box appears. I even tried running under admin. Any ideas?

basisbit commented 7 years ago

so, the line numbers of the error message are all the same as in the screenshot?

cilantro-onion commented 7 years ago

error_1 3 5

s09bQ5 commented 6 years ago

$00403C71 is inside FPC_ANSISTR_DECR_REF. $004E575A tells me we have not yet returned from ReadScore. I guess FPC_ANSISTR_DECR_REF being written in assembler without a proper prologue makes the stack trace code skip its caller. I guess we can then also assume that FPC_ANSISTR_DECR_REF is called directly from ReadScore.

FPC_ANSISTR_DECR_REF is called twice inside ReadScore to free temporary strings. They are used to hold the results of TableData.FieldByName['Player'] and FormatDate(TableData.FieldAsInteger(TableData.FieldIndex['Date'])). The player name is also passed through FPC_ANSISTR_TO_ANSISTR for charset conversion.

@cilantro-onion, what is your player name and which country/language do have your Windows configured for?

PtolemyIV commented 6 years ago

hi - I am getting this exact same crash. I did not get this when I was previously running the game using a desktop widescreen monitor connected via dvi cable - it is only happening when I have tried to connect the game to a standard format projector via displayport->vga cable.

This is not great since I am supposed to have guests over to play tonight!

s09bQ5 commented 6 years ago

@PtolemyIV, what would be your reply to the questions I posed to cilantro-onion in August? Which version of USDX are you running? Does it help to remove config.ini and the high score database?

I doubt that it is related to the display, but you could try to run the game in a window instead of in full screen mode.

And just to crush your hopes: I don't have time to fix this today.

PtolemyIV commented 6 years ago

Hi - I realised I was actually using ultrastar es mod and not the official ultrastar deluxe. The latter is working without crashing so all good for tonight.

I will try to debug on the other version later in case I can identify the issue. It is odd though that it only happened when switching from one display to another.. never had the crashing before on a previous display.

Finally, thank you so much for your efforts on this game - I will post separately some suggestions at some point but its really excellent fun. Is there a donation page btw?

On 13 Jan 2018 2:55 pm, "s09bQ5" notifications@github.com wrote:

@PtolemyIV https://github.com/ptolemyiv, what would be your reply to the questions I posed to cilantro-onion in August? Which version of USDX are you running? Does it help to remove config.ini and the high score database?

I doubt that it is related to the display, but you could try to run the game in a window instead of in full screen mode.

And just to crush your hopes: I don't have time to fix this today.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UltraStar-Deluxe/USDX/issues/195#issuecomment-357441094, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhMZwwD-z75ZPt8Eqt4ksVT0-5vwTlLks5tKMPVgaJpZM4LTaIe .