Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Item compare able to cause game crash when searching #36494

Closed
molotoveVGC opened this issue Dec 27, 2019 · 3 comments
Closed

Item compare able to cause game crash when searching #36494

molotoveVGC opened this issue Dec 27, 2019 · 3 comments
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes. Info / User Interface Game - player communication, menus, etc. Items / Item Actions / Item Qualities Items and how they work and interact

Comments

@molotoveVGC
Copy link

molotoveVGC commented Dec 27, 2019

Describe the bug

Comparing items while using the item search function may cause a game crash with a segfault. In some instances, it does not crash, but compares an item to itself. Recreated in latest experimental on a new world with a new character.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have two comparable items. It does not matter in or out of inventory
  2. (I)tem compare one item, and use (/) to search for the second item.
  3. On selection of the second item, crash. Occasionally, the second item will be compared to itself, instead of the first item.

Expected behavior

Item 1 and Item 2 to be compared side by side.

Versions and configuration

GAME REPORT:

  • OS: Linux (ChromeOS Linux Beta)
    • OS Version: Linux penguin 4.19.86-07780-g3c6544b539b7 aarch64 GNU/Linux
  • Game Version: 0.D-10735-gd136e46425-dirty [64-bit]
  • Graphics Version: Curses
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food]
    ]
    First seen on Version: 0.D-9671-gdf0e590144

Additional context

world.zip
logs.zip

I'm wiilling to recompile to test fixes on Linux, but am probably unable to access another OS at this time.

Initially reported this as just weapons (included save uses a cudgel and spear), but appears it I can reproduce it with pliers and bolt cutters as well.

@kevingranade kevingranade added <Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes. Info / User Interface Game - player communication, menus, etc. Items / Item Actions / Item Qualities Items and how they work and interact labels Dec 30, 2019
@molotoveVGC
Copy link
Author

This behavior seems similar to #34046 and may be fixed by #36606.

@ymber
Copy link
Member

ymber commented Jan 2, 2020

Can you still reproduce the behavior #36606 merged?

@molotoveVGC
Copy link
Author

I've recompiled to a version containing 36606 and it appears resolved. I'm not able to reproduce the crash or the misleading UI behavior at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes. Info / User Interface Game - player communication, menus, etc. Items / Item Actions / Item Qualities Items and how they work and interact
Projects
None yet
Development

No branches or pull requests

3 participants