-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Game Crashing When Performing Time Consuming Actions in Vehicle #17335
Comments
I can't reproduce this one, the saved game would be useful. It looks like something was trying to copy a unique pointer somewhere. |
Still, can't reproduce. Can anyone confirm that they have the crash too? |
I just downloaded the save file and loaded it with a freshly compiled experimental and experienced the crash on two different systems. |
@jordansinn1994 Do you do anything else apart from the described? |
Start up the save and then do something that requires the sped up passage of time such as reading or crafting. It's failed every time for me guaranteed by going into the right hand room of the rv and using "R" to read the books that are in the storage 1 tile north of the bed. |
Nope, I ran the freshly fetched master on a linux machine and it didn't crash. I'm not trying to say there's no possible crash, but I ask someone else to try and experience it. Maybe they'll be more lucky. Which flags did you use for compiling? We had an issue that appeared only when SOUND=1. |
I used no flags for compiling and only compiled ncurses. I'll try a new build of it I suppose. |
There were a couple of issues that were OS-specific or bitness specific, too. Are you checking on Linux 64bits? |
I'm running Ubuntu 16.04 x86_64 as well as 14.04 x86_64 |
|
|
As far as I can say (looking at your stack traces) the issue has nothing to do with the debug message |
Seems to be related to performing tasks such as reading, crafting, or sleeping in the RV. I'm able to go outside and perform these tasks without the crash. When walking into the RV's hanging mirror I receive the debug message but the crash does not happen. |
On linux x86_64 system with experimental builds with ncurses.
This same save crashes on different builds and different systems.
I'm in a vehicle, an RV, and upon moving debug shows messages about food and power generation. After a few turns a debug message takes over the window:
Debug: Morale "Filthy Gear" is Inconsistent.
Function: player_morale::consistnent_with(const player_morale&) const::<labda(const player_morale&, const player_morale&)>
FILE: src/morale.cpp
LINE: 536
Press SPACEBAR to continue the game...
Pres I (or i) to also ignore this particular message in the future.
After pressing i, I am able to move around. When attempting an action that requires some amount of time (such as reading, crafting, building, etc.) the game crashes and the terminal prints out some info as well as screen artifacts from the game. Some lines are: "/usr/include/c++/debug/safe_iterator.h: 182 error: attempt to copy
Objects involved in the operation:
Iterator "this" @ 0x0x57eff18 { "
It ends with "aborted "core dumped" and my terminal behaves oddly after.
The text was updated successfully, but these errors were encountered: