CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.61k stars 4.17k forks source link

Segmentation fault on digging up half burnt hickory tree #32846

Closed VoidForge closed 5 years ago

VoidForge commented 5 years ago

Describe the bug

Segmentation fault appears when digging up half burnt hickory tree.

Steps To Reproduce

  1. Light up a hickory tree.
  2. Wait until the fire is extinguished by rain.
  3. (e)xamine the tree
  4. (e)xamine the hickory root produced

Expected behavior

Hickory root is either produced or not produced, without segmentation fault.

Screenshots

Screenshots will be provided on demand.

Versions and configuration

Additional context

perryprog commented 5 years ago

I can not reproduce this, although I am testing it after the merge of #32851. My guess is that fixed it, unless I'm interpreting your STR incorrectly.

NEONZARIN commented 5 years ago

image

When trying to sell NPC items

VERSION: 0.D-6102-g0ebbba3
TYPE: Signal
MESSAGE: SIGSEGV: Segmentation fault
STACK TRACE:
    @0x59B845[cataclysm-tiles.exe+0x19B845]
    @0x59C312[cataclysm-tiles.exe+0x19C312]
    SMPEG_error+0x4B034@0xF320C0[cataclysm-tiles.exe+0xB320C0]
    _C_specific_handler+0x9C@0x76D77B58[ntdll.dll+0x17B58]
    RtlDecodePointer+0xAD@0x76D88BBD[ntdll.dll+0x28BBD]
    RtlUnwindEx+0xBBF@0x76D7875F[ntdll.dll+0x1875F]
    KiUserExceptionDispatcher+0x2E@0x76DAD348[ntdll.dll+0x4D348]
    IMG_LoadWEBP_RW+0x299943@0x12BD873[cataclysm-tiles.exe+0xEBD873]
    @0xB5A73E[cataclysm-tiles.exe+0x75A73E]
    @0xB5F24D[cataclysm-tiles.exe+0x75F24D]
    @0xB50217[cataclysm-tiles.exe+0x750217]
    @0xB2F945[cataclysm-tiles.exe+0x72F945]
    @0xB4B01A[cataclysm-tiles.exe+0x74B01A]
    @0xB4BCD6[cataclysm-tiles.exe+0x74BCD6]
    @0xB4E0C8[cataclysm-tiles.exe+0x74E0C8]
    @0x6E1E36[cataclysm-tiles.exe+0x2E1E36]
    @0x6BD3F7[cataclysm-tiles.exe+0x2BD3F7]
    IMG_LoadWEBP_RW+0x57AAE8@0x159EA18[cataclysm-tiles.exe+0x119EA18]
    @0x4013ED[cataclysm-tiles.exe+0x13ED]
    @0x4014FB[cataclysm-tiles.exe+0x14FB]
    BaseThreadInitThunk+0xD@0x76B559ED[kernel32.dll+0x159ED]
    RtlUserThreadStart+0x21@0x76D8B371[ntdll.dll+0x2B371]
cozardi commented 5 years ago

Not sure if related, also a segfault crash when talking to an NPC using the examine function or trying to open the vehicle menu (while driving it), also using the [e]xamine key. Uploading the save and crash&debug logs from both crashes along with the save file, to get the car crash (no pun intended) simply press e as soon as the save loads. To get the NPC crash, use ^ to stop driving and talk to the NPC using the examine function.

If not related I can open a different issue.

Save file: East Blythe.zip

Crash and debug logs: auxfiles.zip

perryprog commented 5 years ago

I can't reproduce what either of you describe (@NEONZARIN and @cozardi). You are on the latest master commit, correct?

cozardi commented 5 years ago

Yeah, latest update, just tested it on version 0.D-6102-g0ebbba3

perryprog commented 5 years ago

I must be missing something. On 0b8fac6 I get the version 0.D-6116-g0b8fac644c.

Edit: Oh, I see. You're using commit 0ebbba3 which is right before what the commit for what I suspect will fix this.

image
ZhilkinSerg commented 5 years ago

Original issue should be fixed now.

For any issue in the comments please open a separate issue if you still experience them.