-
Notifications
You must be signed in to change notification settings - Fork 85
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 crash (on Linux) TM:PE V11 STABLE #817
Comments
You haven't provided the TMPE.log, which might contain more information we need. Could you upload that somewhere? This were two stacktraces I was able to fine. The first is near identical to a different error someone else reported on the Discord server back on Tuesday. The second I haven't seen before but seems unrelated to TMPE.
The
This second error seems related to a custom asset. Could you verify the platform you're using to play the game and the game version you're using? I figure you're on Steam, but I cannot find references to the game version in your log. |
Hi, I suggest disabling Steam game overlay, to get rid of errors. Maybe that the cause?? |
That might be caused by some mod that bundles it source code. Look in your workshop folders (on Windows they're in |
Okay, so I disabled Steam game overlay, but that doesn't seem to be the cause. In fact I'm not entirely sure TM:PE is the cause. I say this because I went through my log and removed some assets that were causing errors. I also cleaned up my RICO file and files that were responsible for a lot of log entries. I also didn't notice anything in the logs that would suggest TM:PE is the cause of the freeze or crash. I then proceed to load that save a few times, and sometimes it ran without problem and sometimes it would freeze. So I then made a new city and it ran, but trying to load it again it would sometimes run and sometimes freeze or crash. Player.log: https://ufile.io/mhznwnx9 |
Try unsubscribing Surface Painter and see if that makes a difference. Also, unsub this asset (despite what author says, it's horrendously broken). Other than that I'm out of ideas. Does the problem remain if you unsub TMPE? |
I am also using Manjaro, here are my PC specs. I am also affected by this bug but I noticed it is not pausing itself when I try to load game with loading screen mod "remove all citizens, pedestrians and recover from simulations errors" on save load. Maybe it can be temporary workaround also for original issue poster? It is beaming fine for me for few loads after checking those settings – however after some time problem is returning... On next time when I reproduce this issue I will upload required logs and my save game here – I sadly came into this issue after workarounding it...
|
I found some info that mix |
To narrow things down, I uninstalled every asset and mod. I then reset CS configuration, I also cleaned up residual xml files and such left over from uninstalled mods. I then re-subscribed to TM:PE and was able to play. I then re-subscribed to Loading Screen Mod. This is when I started to get freezing and crashes. Here's the latest log file from the city that crashed: https://ufile.io/ndrk6tta |
I've just found that guide, I hope that there is an answer for this issue: https://steamcommunity.com/sharedfiles/filedetails/?id=467062052 edit: I've just noticed that @aubergine10 is the author 😄 |
I seem to also have this issue where both Stable and Labs causes a crash on, or shortly after, unpausing the game. (Arch Linux, nVidia GPU) This happens even when TMPE is the only mod I am subscribed to. I load up the "Clean up Crew" scenario and the game will crash as soon as I unpause or very shortly after[1]. Unsubscribing from TMPE and the game runs without issue. I don't think the logs are very helpful though. Please let me know if I can do anything to help! Player.log: http://dpaste.com/0DJAZEX EDIT #1: This is from a crash with TMPE Stable. [1] For reference, I moved the water pump while it is paused, then unpause, then connect the water and then the electricity to the moved pump, but these aren't steps required to trigger the crash. Just noting! |
About this guide – nothing new, I have kernel 5.6.0, use LSM, it also happened once when I was playing offline due to my ISP outage so my steam was in offline mode I guess. Oh. And my game is also playable when paused alter load and freeze after unpausing. |
TL;DR: Possible workaround: load C:S, start a New Game, press "Play" (this seems to be important), then hit Esc and Load your "broken" game. If assets seem to be missing, Exit to Main Menu, and then Load your broken game again. I have similar behaviour to that described here on a linux machine. I've got Industries/Parklife/Matchday DLCs and the only mods I have now are TMPE, Loading Screen, Metro Overhaul Mod, Network Extensions 2, Move It!, and their required dependencies. I had more mods when I started a city a couple of days ago and grew it to 8000 population before saving, but then I experienced the freezing/crashing described here. By unsubscribing from all mods and re-subscribing to the 5 mods listed (which are kind of essential for good gameplay), I was able to load that game (I'll call it Game 0) and proceed. But when I made a few modest developments to the city and saved it, I was unable to run this new save. So I've tried to troubleshoot methodically. Issues arise when I add a new intersection (which makes me think it might have something to do with TM:PE). I can make minimal changes to Game 0 (just let it run for a minute, or just extend a road slightly) and save it (call it Game 1), then completely exit Steam and load Game 1 without problems. However, if I add an intersection (on an urban road or a highway) things start to go wrong. If I save this game (Game 2), I can exit to the main menu and continue, I can exit to the main menu and then continue by selecting "load game" and Game 2, but I cannot exit Cities:Skylines and load Game 2 from there. What I can do is load Game 0 or Game 1 (which almost always works) and then hit Esc and choose "Load Game" and load Game 2, and it seems to be fine. In fact, I was able to load Game 1, then choose to load a game I'd abandoned at a population of 20k because it had been developed while mods were being updated to be compatible with Sunset Harbor and I had read that some of these had not been completely fixed. So this leads to the possible workaround at the start of this post. This made me think it was something to do with the Loading Screen Mod, so I unsubscribed from that, but now even Game 1 crashed, so I resubscribed. What I've also noticed is that if the game freezes so badly I have to The last few lines in
So this may or may not have anything to do with TM:PE, but it seems to have something to do with the way Steam/C:S caches which I know nothing about. I'm posting here mainly in the hope that other people who have this problem can try my workaround and maybe continue to enjoy the game. |
Can you try this mod - it exposes more details about errors, including some errors that are silently hidden by the vanilla game: https://steamcommunity.com/sharedfiles/filedetails/?id=2055465280 |
Here is the Player.log from a crash after installing that mod: http://dpaste.com/1EGCWEG |
I installed Manjaro Linux and can confirm issue with simulation freezing / crashing. I have no idea what is causing it and no option to test it easily because debugger cannot be attached under Linux :/ I suspect an issue with Harmony patching or sim thread lock/hang. In fact no errors were reported and simulation worked only for fraction of a second after starting. BTW, it looks like game runs way faster than on Windows (exactly the same settings) 🤔 |
What debugger are you using for cities? Maybe mono debugger from VS code will be helpful? (I just read than it can be used fro cities here: https://skylines.paradoxwikis.com/Debugging_Mods and Linux version of vs code also have mono debugger so this is just idea, I hope it is at least a bit helpful.) And about this BTW – why do you think I am using Linux? It is free and it is working better. (I have to say it now – wolne oprogramowanie means free software, not slow software xD) |
I use |
Oh. BTW, my TMPE log here, it finally crashed – I did my workaround (delete all vehicle agents by loading screen mod) and now it is again working again. I will try to build debug mono and attach it to cities myself maybe. If I succeed I will post my results here, I want to help. |
Thanks, log is "empty" (nothing new there). I would check output_log(windows)/player.log(linux/macos), because if we(TMPE) fail to catch an error it should be logged there anyways. |
https://files.catbox.moe/86ilfl.log –> Player log, however I see this |
I had the same issue on Ubuntu 19.10 and as aubergine10 suggested I found a directory named 'Source' under .steam/steam/steamapps/workshop/content/255710. It was in the directory of the mod 'Building Theme: European Suburbia Decorated'. I unsubscribed to this and it solved this issue for me. |
I tried the workaround that neuryt suggested (delete all vehicle agents by loading screen mod) and it seems to have worked. I was able to play without the city freezing. I'll try some more to ensure that it works each time. |
Unfortunately the workaround I tried does not always work. I tried a few more times and the freezing then crash continue to happen. |
I have this problem, but to get my game to play, I have to unsubscribe all my mods, exit, go back and subscribe again, exit...then I can play, but after saving game and exit I have to repeat it all to play. This is at the end of the saved game log which leads me here
Here is log after I've saved it I have the Mod Compatibility Checker which shows no conflicts |
I think I'm seeing the same bug. Linux, Ubuntu 20.04, TMPE stable 10.3.2, Sunset Harbor. Unsubscribing from TMPE makes it load correctly 100% of the time. Not sure when it started happening, had a hiatus from january to Sunset Harbor. Some timing related problem during startup? |
Same issues here. Solus with 5.5.11 and STABLE 11.3.2 |
Unsubscribed for all Workshop items, unchecked Compatibility settings for CS in the Steam Library, then uninstalled CS. Removed ~/.paradoxlauncer, ~/.config/unity3d/Colossal Order, ~/.local/share/Colossal Order, and steamapps/common/Cities_Skylines to purge any remaining CS files. Reinstalled CS, subscribed to Harmony 2.0.4-2 on Workshop, copied 1060 branch TMPE to local Mods directory. Started new game with stock Black Woods map and with TMPE on. Saved game before unpausing. Unpaused, immediate SIGSEGV. TMPE off, no SIGSEGV. Happens every time. Zip file with TMPE.log, Player.log, Steam system_info, and save game: |
Thank you I'll test it in about an hour, but I don't see any crash stacktrace or SIGSEGV in the log 🤔 |
Yeah, it's very odd. I removed the 1060 branch TMPE and tried both the Stable and Labs from the workshop. I can load and unpause that NewBlackWoods save just fine with those versions turned on (the crashes I was experience before were always after I had built up more networks, never with a brand new game). Unsubscribed, reinstalled 1060 locally, back to crashing immediately upon unpause. Trying to figure out how to get more debug info out of mono, since the CS logs aren't capturing any errors and the coredumps are useless. |
I can confirm that game crashes on unpause (Ubuntu and Manjaro too). I tried to catch that signal and at least figure out which method it is but GDB stops automatically when I call [EDIT] |
Excellent! I've restored all my mods, assets, and saves, and everything that used to crash after unpause is now working perfectly. Thanks for this critically important mod, and now that I have a dev environment set up I guess I'd better figure out how to contribute. |
I can confirm the #1060 build as of this morning does not crash after unpausing both when I run C:S using the Steam Linux Runtime AND when I load it with my system's native libs (Mint 20.1 Cinnamon). Thank you so much!!!!! |
I can also confirm that the last build (#1060) solves unpause crash/freeze in (Manjaro) Linux. Thank you for this great mod! |
I too have been testing out the latest build from #1060 and so far (haven't played too much) it seems to have fixed the problem. Thanks for all the hard work! |
Running Steam on Debian, with the stable release I almost always got either a crash to desktop on load or a freeze at simulation start. I've ran the game a dozen times so far using the #1060 build and it's working fine. |
#1060 fixed it for me as well. I'm using Arch Linux, which I think is what Manjaro is based on. |
I wonder does anyone still have crashes when using #1060, I know I no longer have any crashes, should we mark this as fixed and close it? |
I wish I'd get a massage when an error occurs... |
Hello. When clicking "Clear traffic", immediately after, I have Array index out of range errors in series.... Is it realated to TPME or something else ?
(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51) |
TM:PE enabled. Version 11.5.3, Build 11.5.3.3965 STABLE for game version 1.13.0-f8 Just downloaded the latest master. I'll try it. |
Info 0.0114718: TM:PE enabled. Version 11.5.4, Build 11.5.4.21361 STABLE for game version 1.13.0-f8 Works fine now :) Thank you |
Hi I just wanted to say thanks for your hard work on this ticket! @krzychu124 :) |
I had always missed this mod since the issues started. Every so often, I'd start to see traffic build up, and think for a second "Oh I'll just...ARGGHHHH can't do it." So, I thought I'd check in if the issue got fixed, and find out that the dev not only ran across what no one wants to ("Oh it's a race condition...IN SOMEONE ELSE'S CODE"), but actually spent the better part of a year troubleshooting and fixing it. And with the latest master branch, I'm back to using one of my favorite mods. Impressive work indeed. Thank you for it. |
@toddmallen you can use "live" TEST version, already available to the workshop, albeit still unlisted(not available in the workshop search results) - waiting for last feature, new speed limits tool😉 |
So far so good in the last 12 hours of playtime with #1060 ! Is there any ETA to merge this into the Stable version ? |
Describe the problem
I run Cities:Skylines on LInux (Manjaro),
Hardware if it matters: AMD FX 8370, Nvidia GeForce 750 Ti (Diver 440.64)
When I start a saved city everything is fine until I un-pause it, then it will either freeze or crash. When I unsubscribe to this mod the city will load and run.
Steps to reproduce
Log files
https://ufile.io/9vld1vi2
Savegame?
https://ufile.io/fyy8h170
Screenshots?
None
Notes or questions?
The text was updated successfully, but these errors were encountered: