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

Segfault When accessing inventory #538

Open
shsorbom opened this issue Sep 13, 2017 · 1 comment
Open

Segfault When accessing inventory #538

shsorbom opened this issue Sep 13, 2017 · 1 comment
Labels

Comments

@shsorbom
Copy link
Contributor

Description

When using Artemple map, accessing inventory Segfaults the game:

Thread 1 "falltergeist" received signal SIGSEGV, Segmentation fault.
0x00005555556cdedc in Falltergeist::UI::InventoryItem::render (this=0x555558655d50, eggTransparency=) at ./src/UI/InventoryItem.cpp:137
137 ./src/UI/InventoryItem.cpp: No such file or directory.
(gdb) frame
#0 0x00005555556cdedc in Falltergeist::UI::InventoryItem::render (this=0x555558655d50, eggTransparency=) at ./src/UI/InventoryItem.cpp:137
137 in ./src/UI/InventoryItem.cpp

Steps to Reproduce

  1. Load the game on map Artemple
  2. Click on Inventory
  3. Segfault

System

  • Falltergeist: commit b57b611

  • Operating System: Debian Stretch
    -Version: GOG

@JanSimek
Copy link
Contributor

Same thing as in #531 (comment)

A spear is created and added to the inventory by the artemple script, but then it is removed from the list of objects and player's inventory is left with a dangling pointer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants