TRS22.exe - System Error

I tried flagdatabaserepair patcher and flagdatabaserepair extended https://www.trainzsimulator.com/post/sp5-hotfix-announcement from this article but also without success. Sessions on two my maps still crashing. For me extended DBR was 10 mins.
This is to repair the track object issues where the track isn't recognized as a valid track and the objects won't connect to them.

Since you have run a DBR and EDBR multiple times, I recommend checking faulty assets in Content Manager. There will be many shown, and you need to select them all. Once selected, right-click and choose View errors and warnings.

A small window will open up showing anything that's broken, or not. After a DBR, this will usually clear any faults from the database. You will have to close this screen and check for Faulty assets again to refresh the screen.

If there are any faulty assets remaining, these will need to be downloaded again.

Check for updates. There has been a number of updates recently since the patches have been released and these have resolved some of the asset errors since the updates.

It is possible that your session is corrupted for some reason causing the program to crash, or it could be some script that's causing the crash.

You can try a couple of things.
1) Click on the Launcher and then Trainz Settings.
2) Click on the Dev tab
3) Click on Show script exception notifications.

What this will do is bring up a red bug symbol if there is an issue with a script or script(s). By clicking on this red bug, it will show various scripts that have errors, and if you click on those, they will expand showing the actual line or lines that cause the problem.

Knowing which script is causing the problem will help you then track down the asset or assets that are causing the failure.

You will have to run your session in order to see the script failures.
 
This is to repair the track object issues where the track isn't recognized as a valid track and the objects won't connect to them.

Since you have run a DBR and EDBR multiple times, I recommend checking faulty assets in Content Manager. There will be many shown, and you need to select them all. Once selected, right-click and choose View errors and warnings.

A small window will open up showing anything that's broken, or not. After a DBR, this will usually clear any faults from the database. You will have to close this screen and check for Faulty assets again to refresh the screen.

If there are any faulty assets remaining, these will need to be downloaded again.

Check for updates. There has been a number of updates recently since the patches have been released and these have resolved some of the asset errors since the updates.

It is possible that your session is corrupted for some reason causing the program to crash, or it could be some script that's causing the crash.

You can try a couple of things.
1) Click on the Launcher and then Trainz Settings.
2) Click on the Dev tab
3) Click on Show script exception notifications.

What this will do is bring up a red bug symbol if there is an issue with a script or script(s). By clicking on this red bug, it will show various scripts that have errors, and if you click on those, they will expand showing the actual line or lines that cause the problem.

Knowing which script is causing the problem will help you then track down the asset or assets that are causing the failure.

You will have to run your session in order to see the script failures.
Fresh install of TRS22 SP5 also crashes on this particular sessions. Glad I have SP3 offline installer on disk and updated into SP4. So after my downgrade everything works well as previously. I'll probably stay for a longer period with this build especially because of my few maps which I am upgrading from 19SP5...
What a well update...
 
I tried one more time with 1,5 hour downloading SP5HF. Still the same issue with session crasing on two my maps. Tried to remove TurFX and Clutter layers and turn off in settings, without success.
So yeah, I make second downgrade to SP4.
 
I tried one more time with 1,5 hour downloading SP5HF. Still the same issue with session crasing on two my maps. Tried to remove TurFX and Clutter layers and turn off in settings, without success.
So yeah, I make second downgrade to SP4.
Try turning down your shaders to basic and see if it still crashes
 
This is only one possibility, but you might try updating your graphics driver:
  • Driver Issues: Outdated or corrupted drivers (especially graphics or chipset drivers) can sometimes cause memory-related errors.
 
This is only one possibility, but you might try updating your graphics driver:
  • Driver Issues: Outdated or corrupted drivers (especially graphics or chipset drivers) can sometimes cause memory-related errors.
I tried different driver versions, now I have installed the newest GPU driver and zero progress.
 
Curious, are you running as administrator?
Mainly not, but I tried to launch by administrator. Still the same effect.
I also made an experiment with fresh install with updates of Windows 11 on another partition. Crashing in four seconds after loading session.
 
Is it only your route that's doing this now?

It could be a faulty asset or it could be the route itself.
 
I just fired up TRS22 last night to try a route and I am getting the same error, so I guess together we can try to track this down. First I want to try some smaller routes that I have looked at before.
EDIT: In my case, it appears to at least be a certain route or routes. I loaded Niddertalban TRS19 just fine, so maybe it is the size, I will have to try some others.
 
Last edited:
I just fired up TRS22 last night to try a route and I am getting the same error, so I guess together we can try to track this down. First I want to try some smaller routes that I have looked at before.
EDIT: In my case, it appears to at least be a certain route or routes. I loaded Niddertalban TRS19 just fine, so maybe it is the size, I will have to try some others.
Good to hear that I'm not alone. But finding the messing up asset is like looking for a needle in a haystack. My friend also had crashes and the issue was with hectometers SAM trackside posts. But on two of my maps I'm not using them. It will be something different. The worst thing is that type of crashing asset often works fine on other routes.
 
Last edited:
Hello. After long time of reinstalling assets, game etc. I finally found a solution. I think in my case there are some .tzarc (maybe?) archives which are broken? Is that possible? Maybe someone with N3V will explain philosophy of tzarc assets in local directory.
So I freed some disk space for new fresh folder for local assets. I set path into new directory and I started to consistently installing and downloading assets.
The first was map with dependencies which crashing in my case and... it works now. Then I installed few maps with dependencies, removed obsoletes, installed new versions and at this moment everything seems to works stable.
 
Had to reinstall Trainz 22 because of the mentioned error, I was in the final stages of finshing the patching process when I found that I could not start the simulator up.
 
Had to reinstall Trainz 22 because of the mentioned error, I was in the final stages of finshing the patching process when I found that I could not start the simulator up.
TRS22 has a bug, which was reported during the beta, that will not show the database repair as it's running and will not start until you start Trainz. When you start up Trainz, it'll sit there and hang, or take a very long time, loading as it's waiting for the DBR to finish. Depending upon how much content you have installed, this can take a very long time. My fresh installation for instance, took well north of 14 hours to complete before I could even check content in Content Manager for updates released in conjunction with the update.


To see the activity, click on Developer located on the Launcher and then click on Show client logs. You will see activity displaying validating content, skipping obsolete content, etc. while it's running.
 
TRS22 has a bug, which was reported during the beta, that will not show the database repair as it's running and will not start until you start Trainz. When you start up Trainz, it'll sit there and hang, or take a very long time, loading as it's waiting for the DBR to finish. Depending upon how much content you have installed, this can take a very long time. My fresh installation for instance, took well north of 14 hours to complete before I could even check content in Content Manager for updates released in conjunction with the update.


To see the activity, click on Developer located on the Launcher and then click on Show client logs. You will see activity displaying validating content, skipping obsolete content, etc. while it's running.

Thanks for the help, but the issue lied from within the missing dll file that prevented me from launching the game, I noticed that after the error said atomic wait and turf effect dll was missing right after the patching process, that one had living railroad, that made me angry, not the first time this happened.
 
Thanks for the help, but the issue lied from within the missing dll file that prevented me from launching the game, I noticed that after the error said atomic wait and turf effect dll was missing right after the patching process.
It lied! I've never seen that one before and that's one for the books for future reference. Something must've somehow become corrupted on your original install.

The restart and reinstall though will give you the pains I mentioned.

Trainz is fun.
 
It lied! I've never seen that one before and that's one for the books for future reference. Something must've somehow become corrupted on your original install.

The restart and reinstall though will give you the pains I mentioned.

Trainz is fun.
There is another post by another trainzer that had the same error as I did, I had reinstalled the platinum edition as the one that has living railroad didn't execute the patching process all the way therefore causing the red flags mentioned, Good thing that all of my backed up content was present, I thought about replacing the offending missing DLLs from the Microsoft website but didn't proceed.
 
It lied! I've never seen that one before and that's one for the books for future reference. Something must've somehow become corrupted on your original install.

The restart and reinstall though will give you the pains I mentioned.

Trainz is fun.

back to ride the rails again, thanks for the help, I enjoy this simulator but, having bugs and the error that had me reinstall is pretty frustrating to say the least.
 
Back
Top