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

Throwing rocks crashes game #36271

Closed
Xarafax opened this issue Dec 19, 2019 · 2 comments · Fixed by #36296
Closed

Throwing rocks crashes game #36271

Xarafax opened this issue Dec 19, 2019 · 2 comments · Fixed by #36296
Labels
[C++] Changes (can be) made in C++. Previously named `Code` <Crash / Freeze> Fatal bug that results in hangs or crashes. Mechanics: Character / Player Character / Player mechanics (P1 - Critical) Highest priority (for ex. crash fixes)

Comments

@Xarafax
Copy link

Xarafax commented Dec 19, 2019

crash.log
Game version:
0.D-10481-gd4ee75a (tiles)
Build 10033

Operating system:
Windows 7 Pro 64-bit

Tiles or curses:
Tiles

Mods active:
Aftershock
Makeshift Items Mod
More Survival Tools
Modular Turrets
Salvaged Robots
Alternative Map Key
More Locations
Fuji's More Buildings
No Rail Stations
Folding Parts Pack
Vehicle Addition Pack
Tanks and Other Vehicles
Arcana and Magic Items
Manual Bionic Installation
Safe Autodoc
Simplified Nutrition
SpeedyDex
Stats Through Kills
Stats Through Skills

Expected behavior

Throwing rocks doesn't crash game

Actual behavior

Throwing rocks crashes game

Steps to reproduce the behavior

I wielded 10+ rocks, when I throw one rock and check my inventory, I see I only have one rock left being wielded. When I throw that last rock it looks like it's been thrown, but no rock lands on (or near) the target square. When I picked up the first rock I threw (The one that cost 10+ rocks to throw) it shows that it is only one rock. When I try to throw that bugged rock the game crashes with the following error message:

CRASH LOG FILE: config/crash.log
VERSION: 0.D-10481-gd4ee75a
TYPE: Signal
MESSAGE: SIGSEGV: Segmentation fault
STACK TRACE:
@0x555932[cataclysm-tiles.exe+0x155932]
@0x555BAA[cataclysm-tiles.exe+0x155BAA]
SMPEG_error+0x3DAF3@0xCA8825[[cataclysm-tiles.exe+0x8A8825]
@0x727C9D3
@0x1006b666
RtlKnownExceptionFilter+0xB7@0x76F150E7[ntdll.dll+0x750E7]
RtlKnownExceptionChain+0x36@0x76ED97D5[[ntdll.dll+0x397D5]

This error message is followed by a Microsoft Visual C++ Library Runtime termination message.

@ChucklesTheBeard
Copy link
Contributor

ChucklesTheBeard commented Dec 20, 2019

I think this is related to #36239 .
Reproduced the segfault in a new world, default settings, only dda.
DebuggerVille.zip

  1. Load save.
  2. [t]hrow
  3. [m]rock(1)
    SIGSEGV

Presumably this has something to do with other rocks being present, because I can't reliably reproduce the bug in the default sheltered start.

crash.log

Game version: Cataclysm DDA version 0.D-10538-g1ccb6a8565
OS: Linux, version 5.4.5-arch1-1

@ghost ghost added (P1 - Critical) Highest priority (for ex. crash fixes) <Crash / Freeze> Fatal bug that results in hangs or crashes. [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Character / Player Character / Player mechanics labels Dec 20, 2019
@Xarafax
Copy link
Author

Xarafax commented Dec 20, 2019

Tested it again. It appears that throwing any stackable item causes the game to crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` <Crash / Freeze> Fatal bug that results in hangs or crashes. Mechanics: Character / Player Character / Player mechanics (P1 - Critical) Highest priority (for ex. crash fixes)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants