etternagame / etterna

Advanced cross-platform rhythm game focused on keyboard play
https://etternaonline.com/
MIT License
474 stars 132 forks source link

[Bug]: Hard crash when failing with low wife% on specific chart in beat mode #1275

Closed joleskins closed 9 months ago

joleskins commented 10 months ago

Is there an existing issue for this?

Contact Details

discord: .jole

Version Info

Latest available release

What operating system are you seeing the problem on?

Windows

Bug Behavior

From testing this crash it seems very specific so it's probably low priority. Can't reproduce with other charts and completing the song with a high enough percentage for a valid score(89% for example) won't cause a crash

Playing this specific chart from a malody 8k converts pack in beat gamemode and failing near the start makes the game hard crash because it fails to write and load replaydata. On my end both the dance-double and bm-single7 difficulties crash but only the bm-single7 crash was reproducible for someone else i got to test this

The file has two charts that are identical but in separate modes so I tried taking one out but that didn't fix the crash. I don't know how to investigate any further but I can provide more context if needed

Chart download 870.zip

relevant part in log

[2023-09-01 17:07:19][INFO]: Loaded "ScreenGameplay" ("ScreenGameplayNormal") in 0.16474791
[2023-09-01 17:07:19][INFO]: PushLoadedScreen: "ScreenGameplay"
[2023-09-01 17:07:27][INFO]: Player 0 failed
[2023-09-01 17:07:27][INFO]: bAllReallyFailed = true bIsLastSong = true, m_gave_up = false
[2023-09-01 17:07:29][INFO]: Finishing Stage
[2023-09-01 17:07:29][INFO]: Double setup detected
[2023-09-01 17:07:29][INFO]: Double setup detected
[2023-09-01 17:07:29][INFO]: Double setup detected
[2023-09-01 17:07:29][INFO]: Double setup detected
[2023-09-01 17:07:29][INFO]: Finalizing Score
[2023-09-01 17:07:29][INFO]: Filling Highscore
[2023-09-01 17:07:29][INFO]: Writing out replay data to disk
[2023-09-01 17:07:29][WARN]: Failed to write replay for Sd140706864dd561deceef8224b32bd32c312a2b2 - No data to write
[2023-09-01 17:07:29][INFO]: Writing out input data to disk
[2023-09-01 17:07:29][INFO]: Created compressed input data file at Save/InputData/Sd140706864dd561deceef8224b32bd32c312a2b2z
[2023-09-01 17:07:29][INFO]: Saving Etterna Profile to: /Save/LocalProfiles/00000000/
[2023-09-01 17:07:30][INFO]: Done saving stats and high scores
[2023-09-01 17:07:30][WARN]: Failed to load replay data at Save/Replays/Sd140706864dd561deceef8224b32bd32c312a2b2

Expected Behavior

whatever it does on other charts that don't crash

Reproduction Steps

  1. Download included chart -> 870.zip
  2. Select beat mode in-game(alternatively dance but that doesn't appear to be a consistent crash)
  3. Play the chart, hit a few notes and then fail
  4. Hard crash after screen fades to black

Anything else?

No response

poco0317 commented 9 months ago

cant reproduce. missing dump file found in etterna\Program\CrashData\reports

joleskins commented 9 months ago

Same, can't reproduce now either. I'll try a system restart while testing next time

Got 10 different crash dumps but they all have the same access violation error. Gonna close this but in case it's useful here's one of the dumps 76c72530-9a5b-4a2a-9a90-6afa405fb767.zip