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 when adding components to a player vehicle #25934
Comments
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. |
Taking a look. |
First try at bisecting it returned nonsense. Will take another look sometime tomorrow. |
Had same problem. I found what a problem is electricity. When I remove all batteries and solar panels a bug gone away. |
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. |
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. |
@eturner Can you provide savegame and any custom mods you use? That would help. |
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. |
[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. |
running on 892d9ce, backtrace when moving after installing the cargo part:
in active_items, that's
called from map.cpp:
|
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 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 |
Dropbox alright? |
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 |
These are hers from above |
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
The text was updated successfully, but these errors were encountered: