View Issue Details

IDProjectCategoryView StatusLast Update
0004893The Dark ModScript/Defpublic03.01.2023 04:13
ReporterMirceaKitsune Assigned Tonbohr1more  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Platformx64OSLinux openSUSEOS VersionRelease
Fixed in VersionTDM 2.11 
Summary0004893: Internal errors cause the engine to freeze on Linux
DescriptionI found a very problematic issue in the engine. I'm running TDM 2.06, 64bit executable, Linux version (openSUSE Tumbleweed x64). The issue is as follows:

Previously, if a bad script or definition or missing asset error occurred, TDM would crash back to the main menu and the error would appear in the console. It seems this is no longer the case and something worse happens instead: Errors will now cause the process to freeze, shortly followed by a permanent black screen.

The reason why this is annoying is because alt-tab switching still doesn't work. To recover the operating system, I need to hit Control + Alt + F1 to go to a different runlevel then use 'top' to find the TDM process followed by a 'kill -9 PID'. Can anyone else confirm this and fix the engine locking up on internal errors?
Steps To ReproduceCreate and trigger a broken definition. For example: Edit one of the weapons to point to an invalid asset, or comment out a line that's essential for the entity... the crash should then occur when you select that weapon.
TagsNo tags attached.

Activities

stgatilov

stgatilov

07.10.2018 10:42

administrator   ~0010782

Last edited: 07.10.2018 10:42

I think the first step is to check if the issue can be reproduced on current SVN version.

TDM 2.06 had plenty of various problems with renderer, which could easily cause any sort of crash/hang in non-standard circumstances.

MirceaKitsune

MirceaKitsune

07.10.2018 11:31

reporter   ~0010783

The issue with checking the SVN version is that last I remember, I had issues compiling the engine from SVN. I shall try again and see if I run into any problems, then remember how to run TDM with the compiled engine.
stgatilov

stgatilov

07.10.2018 13:27

administrator   ~0010784

Could you please try to reproduce the problem in the following way:
1. Start tdm as "./thedarkmod.x64 +seta developer 1".
2. Open console and type "error" command.
Do so first from main menu, then while playing game.
MirceaKitsune

MirceaKitsune

19.10.2018 20:52

reporter   ~0010790

Sorry for taking so long to get back to this. I preformed the test above and the results were interesting: Both from the main menu and in-game, using the "error" console command crashed to the main menu like it should. The total engine freeze must be caused by some specific model or definition problem.
nbohr1more

nbohr1more

02.01.2023 16:24

developer   ~0015675

I have not encountered such a failure state due to missing scripts or assets in Linux Mint, 2.11.

Please attach a test map
MirceaKitsune

MirceaKitsune

03.01.2023 03:16

reporter   ~0015683

I haven't encountered this in a very long time. It might be fixed at this point, no idea. I think this might be safe to close at this point, if I ever see it again I can reopen or make a new report.

Issue History

Date Modified Username Field Change
04.10.2018 15:14 MirceaKitsune New Issue
07.10.2018 10:42 stgatilov Note Added: 0010782
07.10.2018 10:42 stgatilov Note Edited: 0010782
07.10.2018 11:31 MirceaKitsune Note Added: 0010783
07.10.2018 13:27 stgatilov Note Added: 0010784
19.10.2018 20:52 MirceaKitsune Note Added: 0010790
02.01.2023 16:24 nbohr1more Note Added: 0015675
03.01.2023 03:16 MirceaKitsune Note Added: 0015683
03.01.2023 04:13 nbohr1more Assigned To => nbohr1more
03.01.2023 04:13 nbohr1more Status new => closed
03.01.2023 04:13 nbohr1more Resolution open => unable to reproduce
03.01.2023 04:13 nbohr1more Fixed in Version => TDM 2.11