Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upCrash when adding components to a player vehicle #25934
Comments
kevingranade
added this to the 0.D milestone
Oct 1, 2018
kevingranade
added this to Need Confirmation
in 0.D Release
Oct 1, 2018
This comment has been minimized.
This comment has been minimized.
|
Okay, I ran a bisect and here's where I ended up:
It appears to be in the middle of mlangsdorf's bike rack merge. I had to skip a bunch of commits as they wouldn't compile due to, I think it was, USE_BIKE_RACK references. There miiiight be two bugs here, because in later commits it crashed on installing the plate armor, but for a good stretch it would crash upon subsequently removing it. |
This comment has been minimized.
This comment has been minimized.
|
Taking a look. |
This comment has been minimized.
This comment has been minimized.
|
First try at bisecting it returned nonsense. Will take another look sometime tomorrow. |
This comment has been minimized.
This comment has been minimized.
chain2net
commented
Oct 2, 2018
|
Had same problem. I found what a problem is electricity. When I remove all batteries and solar panels a bug gone away. |
ZhilkinSerg
added
<Crash / Freeze>
(S2 - Confirmed)
Vehicles
labels
Oct 2, 2018
This comment has been minimized.
This comment has been minimized.
|
I've had similar crash, though I was running without debugger, so I don't know which caused it. I've attempted to reproduced crash with same steps, but game failed to crash. |
This comment has been minimized.
This comment has been minimized.
eturner
commented
Oct 2, 2018
•
|
I'm having this problem right now. I managed to install a few military composite armors after repeated failed attempts, saving between each success, and now the game crashes within the next few turns no matter what I do. |
This comment has been minimized.
This comment has been minimized.
|
@eturner Can you provide savegame and any custom mods you use? That would help. |
This comment has been minimized.
This comment has been minimized.
|
I'm in! Thanks to @jeremyshannon for posting my problem. @eturner The errors in my log about colors appeared to be connected to The Mining Mod, and fixing the color names in the mod eliminated the errors from the log, but did not help with the vehicle at all. |
This comment has been minimized.
This comment has been minimized.
|
[mlangsdorf@redhatnow rose-bug-cat.git]$ git bisect good
Current rough theory: something is somehow getting a carried_flag, and vehicle_display is trying to get the substring of an emptied carried name string in vehicle_display.cpp. Doesn't make much sense but it's the only thing I've got right now. |
This comment has been minimized.
This comment has been minimized.
|
running on 892d9ce, backtrace when moving after installing the cargo part:
in active_items, that's
called from map.cpp:
|
This comment has been minimized.
This comment has been minimized.
|
There's some minor weirdness here in calling if( cargo_parts.empty() ) inside the active_items.get() loop instead of immediately after all_parts_with_features(), but that's not the issue. I'm not sure how the bike racks code is affecting this bug. The commits between df728fd and 892d9ce don't touch the vehicle active_items cache afaict. |
This comment has been minimized.
This comment has been minimized.
eturner
commented
Oct 2, 2018
|
This game saved during the part installation, which must be lucky because if I save right after the part is installed and load it again it doesn't seem to crash |
This comment has been minimized.
This comment has been minimized.
eturner
commented
Oct 2, 2018
|
Dropbox alright? |
This comment has been minimized.
This comment has been minimized.
|
Perfect, although actually the one you attached to your comment just prior was perfect. I'm able to repro with that and am investigating the issue. The issue was trying to download from the .sk domain |
This comment has been minimized.
This comment has been minimized.
eturner
commented
Oct 2, 2018
|
These are hers from above |
jeremyshannon commentedOct 1, 2018
•
edited
Rose reported this on the forums, https://discourse.cataclysmdda.org/t/constant-crash-occurring/16769
The player vehicle seems to have become bugged, and adding certain components to it will cause an immediate segfault, with the bug first appearing somewhere between versions 7967-7975. Running on earlier versions does not crash. (Will bisect it this afternoon if time permits)
The save used a wide range of mods, but the crash is reproducible without them. The mod folder is also linked below.
Steps to reproduce the behavior:
Upd: taking military composites from a nearby tank and using them crashes the game too.
Upd2: taking steel plating from a nearby truck and using it also crashes the game.
Upd3: taking a cargo space from a lorry from a completely different area and installing it also crashes the game.
Versions and configuration(please complete the following information):
Debian Linux 9 64-bit 0.C-32733-g0a83a2b78c-dirty (ascii)
Additional context
Player's save game:
https://yadi.sk/d/ckinE4d77jz2MA
Player's mod folder:
https://yadi.sk/d/Jjt_GFbGNrCejw