Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The game crashes if you set the wrong search criterion in the window for changing the shape of vehicle parts #79233

Open
IdleSol opened this issue Jan 18, 2025 · 1 comment
Labels
(S2 - Confirmed) Bug that's been confirmed to exist

Comments

@IdleSol
Copy link

IdleSol commented Jan 18, 2025

Describe the bug

Pressing enter will crash the game
Image

If you type in the correct criteria (front or fr), no crashes.

Attach save file

test-trimmed.tar.gz
crash.log

Steps to reproduce

  1. Standard world and character
  2. Spawn any car
  3. Examine the vehicle and choose to change the shape of any part (I changed the shape of the door)
  4. press / and type front
  5. Verify that there is no crash
  6. Change the prompt to a meaningless set of letters (123 or kkk)
  7. Get a crash from the game

Expected behavior

n/a

Screenshots

No response

Versions and configuration

The game is run through an emulator.

  • OS: Windows
    • OS Version: 10.0.19043 (21H1)
  • Game Version: 018223c [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth]
    ]

Additional context

It does not reproduce on version 0.H

@IdleSol IdleSol added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Jan 18, 2025
@PatrikLundell
Copy link
Contributor

/Confirmed

The debugger claims it crashes in veh_utils.cpp operation select(uilist *menu) when fetching get_map(). The crash indicates a non null pointer. However, that pointer is NOT the pointer of get_map().
on_select() at the previous map enters lambda hell where the debugger does not dare follow into assembly (with no source code) and then the crash on the next line.

@github-actions github-actions bot added (S2 - Confirmed) Bug that's been confirmed to exist and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Jan 19, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
(S2 - Confirmed) Bug that's been confirmed to exist
Projects
None yet
Development

No branches or pull requests

2 participants