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

Crash on fisher tries to get fish with no resourse #1527

Open
cbytensky opened this issue Jun 3, 2022 · 4 comments
Open

Crash on fisher tries to get fish with no resourse #1527

cbytensky opened this issue Jun 3, 2022 · 4 comments
Labels

Comments

@cbytensky
Copy link

cbytensky commented Jun 3, 2022

Game crashes after few seconds attached savefile loaded.
v0.9.5

Savefile:
49.sav.zip

Figured out that it happens on particular fishery where fisher looks like he tries to get fish from exact border between land and water.

Backtrace:

#0  0x00005555558a0429 in World::ReduceResource (this=0x55555613ebb8, pt=...) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/world/World.cpp:164
#1  0x00005555556ffb13 in nofFisher::WorkFinished (this=0x555559efb830) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/figures/nofFisher.cpp:117
#2  0x00005555556fe789 in nofFarmhand::HandleDerivedEvent (this=0x555559efb830) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/figures/nofFarmhand.cpp:47
#3  0x00005555556ddd33 in noFigure::HandleEvent (this=0x555559efb830, id=1) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/figures/noFigure.cpp:379
#4  0x00005555558b1c72 in EventManager::ExecuteEvents (this=0x555558380220, itEvents=...) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/EventManager.cpp:141
#5  0x00005555558b1b5b in EventManager::ExecuteCurrentEvents (this=0x555558380220) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/EventManager.cpp:125
#6  0x00005555558b181d in EventManager::ExecuteNextGF (this=0x555558380220) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/EventManager.cpp:87
#7  0x00005555558b9178 in Game::RunGF (this=0x55555613eb90) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/Game.cpp:77
#8  0x00005555557e0a35 in GameClient::NextGF (this=0x55555613e1f0, wasNWF=true) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/network/GameClient.cpp:1379
#9  0x00005555557e0134 in GameClient::ExecuteGameFrame (this=0x55555613e1f0) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/network/GameClient.cpp:1314
#10 0x00005555557da721 in GameClient::Run (this=0x55555613e1f0) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/network/GameClient.cpp:176
#11 0x00005555555d9748 in GameManager::Run (this=0x7fffffffd970) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25main/GameManager.cpp:104
#12 0x00005555555c14c5 in (anonymous namespace)::RunProgram (options=...) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25client/s25client.cpp:481
#13 0x00005555555c1c08 in main (argc=1, argv=0x7fffffffe168) at /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/libs/s25client/s25client.cpp:559
@Spikeone Spikeone added the bug label Oct 5, 2022
@wichern
Copy link
Contributor

wichern commented Feb 26, 2024

The fisher has managed to fetch from a point that is already empty (78, 160) has 0 fish at GF 306097. Unfortunately, the savegame is too late/short to see how the fish was stolen while the fisher started. Or why he started to fish at an empty spot.

Do you have an earlier savegame?

@Spikeone
Copy link
Member

@wichern not sure if this one is related, but maybe same as #1520

@stefson
Copy link
Contributor

stefson commented Feb 26, 2024

fisherman was always good for a crash, but I haven't encountered any of them for a very long time now.

@Spikeone
Copy link
Member

ah, maybe it was this one @wichern #1631

Sadly I haven't provided any further info on that, but I'm pretty sure I once had a look at some crashing replay that has been caused by a fisher(y). If not, sorry for missleading 😅

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

4 participants