View Issue Details

IDProjectCategoryView StatusLast Update
0006470The Dark ModSaving/Loadingpublic24.07.2024 21:54
Reporterdatiswous Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSManjaro XFCEOS Versionrolling
Summary0006470: Issues with the savegame tool object which may crash TDM
DescriptionThe savegame tool object does not work as expected, at least on Linux.

On Manjaro XFCE rolling release:
When I activate an atdm:playertools_savegame inventory item, TDM crashes.
There have been 2 in-mission similar situations.
* A night in Altham used to have an autosave function, until somewhere in Beta. On Linux systems this crashed the system.
* Hazard Pay on Expert mode has Save-rooms, where you can save the game by activating an inventory-item to an entity. If you do this on a Linux sytem, the game crashes.
Tested on TDM 2.12 beta 04

On Debian 11 Bullseye:
In Training Mission, an entry "Save_0" is created in the list of saved games as expected.
When quickloading (a previously saved quickload), or trying to load the entry "Save_0" from the list of saved games, the load screen appears with the progress bar reading "Mission Loading", but the bar is at 0% and does not move. TDM does not seem to respond and the process can be killed to exit the game.
After this, no other saved games on that level could be loaded either, even after deleting "Save_0" or switching to another mission and back.
However, once the issue disappeared it could not be reproduced again. See Additional information and workaround.
Tested on TDM 2.12/64 #10651 (beta212-07) = Release 2.12

On a Windows (10) system:
A save is made as expected.
Steps To Reproduce1. Go to console.
2. Type: spawn atdm:playertools_savegame
3. The item is invisible (for some reason), so you have to walk around clicking/frobbing everywhere to pick it up (not difficult). (Crouch, look down, walk forward slowly and frob when the white dot appears at the center of the screen.)
4. Pick it up and activate it (use it).
5a. TDM crashes. (Manjaro, TDM 2.12 beta 04), or
5b. Game is saved but restoring any saved game did not work (until "Save_0" entry was deleted and then the issue could no longer be reproduced). (Debian, TDM 2.12 release)

Additional InformationFor a possible workaround for Debian 11 Bullseye TDM 2.12 release, try:
* After deleting "Save_0" object from the list of save objects, start the mission from start, do a quicksave, restore the quicksave, repeat the steps to create the "Save_0" object. Now both "Save_0" and all other saves work again and the issue cannot be reproduced.
TagsCrash, save

Relationships

related to 0006558 new Using a savegame tool object will also use an ajacent object in the inventory 

Activities

datiswous

datiswous

03.07.2024 09:48

reporter   ~0016786

Last edited: 20.07.2024 12:33

Could an on-Linux dev take a look at this? Would be nice.
Fiver

Fiver

16.07.2024 21:12

reporter   ~0016797

@datiswous: I found some issues with the save object, but it did not crash for me on 2.12 and I updated the issue with my findings. Can you reproduce the crash on the 2.12 release too?

Issue History

Date Modified Username Field Change
27.01.2024 03:05 datiswous New Issue
27.01.2024 03:05 datiswous Tag Attached: Crash
27.01.2024 03:05 datiswous Tag Attached: save
03.07.2024 09:48 datiswous Note Added: 0016786
16.07.2024 21:07 Fiver Summary Activating an atdm:playertools_savegame crashes TDM on Linux => Issues with the savegame tool object which may crash TDM
16.07.2024 21:07 Fiver Description Updated
16.07.2024 21:07 Fiver Steps to Reproduce Updated
16.07.2024 21:07 Fiver Additional Information Updated
16.07.2024 21:12 Fiver Note Added: 0016797
16.07.2024 21:39 Fiver Relationship added related to 0006558
20.07.2024 12:33 datiswous Note Edited: 0016786
24.07.2024 21:54 Fiver Steps to Reproduce Updated