*UPDATED* Defaults.xml corrupted, causing track solo to full lock/freeze/crash program

EDIT

What was thought to be the initial problem in this thread, to some degree, did not end up being the case (at least not in totality, maybe still has something to do with Defaults.xml system but certainly has something to do with ‘Use Device WinRT MIDI’ in Studio Settings…)

Please see new thread:
CRITICAL Total-Lockup-Freeze, caused by ‘Use Device WinRT MIDI’ (Cubase 15.0.1) - Cubase - Steinberg Forums


One of the worst things a person can encounter in life, is a corrupted Cubase .xml file.

Does anyone know what in the Defaults.xml would cause track solo to crash the program?

Does anyone know how I can preserve most program settings so they can be restored after deleting this file?

Does anyone know which settings in the program are going to be lost after deleting Defaults.XML?

Does anyone know why Steinberg hasn’t created a correct-shutdown-backup of these files that are prone to corruption, or some kind of intelligent .xml file rebuilder?

I would do a disk check.

@noise

I’m not sure how long you’ve been using Cubase, but this has been a problem with .xml file system since it existed. Depending on the crash type, ie, a “hard” crash (total lockup of the program or computer), the .xml file in use can become corrupted… Because some of the .xmls have temporary/memory written to them as the user is using the program.

What likely occurred, was a hard crash/total lockup from a plugin, that I have since removed, but the crash caused an .xml file to go bad.

This is why when Cubase safe-starts, you have the option to “disable preferences” or “delete preferences”.

Believe me, back up your AppData Cubase folder - if it hasn’t happened to you in 20 years, you are very lucky. I was in the middle of re-doing my templates and global project settings and was about to do a backup of all settings… when this happebed…

Maybe these can be of use to you.

According to the “Preferences of Cubase and Nuendo” documentation the “Defaults.xml” is linked to the “Color setup (default)” and "Preferences (current) ". So this probably means everything that is found in “Edit / Preferences”.

Yeah I knew something like that,

Now the question is, if I save presets of those - will it “save the problem” causing the crash into the preset…

Maybe see if you can still view your preferences settings with the corrupted preferences profile and try creating and saving a new preferences profile and then delete the old profile ?

It’s never a bad idea to take note of your preferences in something like a spreadsheet to have in your backup also.

Yeah I’ll try that,

I’ve been trying to use ChatGPT to give me probability answers and even inspect the Defaults.xml itself… Hard to know if it’s pointing me in the right direction, but it’s given me what it sees as likely culprits causing solo/mute crash and which chunks of the xml to try deleting

Are there any other suspicions other than the third party VST that was causing issues ?

Not really,

and I have been building in this template for a few days… I think without problem.

I do have some vintage Steinberg plugins in the template. But mostly everything else are fairly mainstream/have consistently been stable for me.

Damn, it’s annoying when stuff like this happens. Hopefully you get it resolved :+1:

I’ll get it resolved one way or another, at least I know it’s the Defaults.xml (knock on wood)

Definitely annoying, It’s the one thing about Cubendo that always has me pondering in my head as I’m recommending it to another industry professional - “should I be recommending this program to this person” as I’m having flashbacks to all the times .xml preferences got screwed up or preferences had to be disabled.

Imagine this happening in the middle of a big session, with a famous/prestigious artist on expensive studio time…

Luckily, I’m just doing some template/program maintenance and revisions during down time, so I’m the only person annoyed to hell.

Feature request:

“Last Correct-Shutdown Backup” of Preferences/critical .xml files - Cubase - Steinberg Forums

Can add, if someone has this problem and searches Defaults.xml,

Saving a new Preferences preset (did a few others just in case, key commands, exported profile), did work and I was able to restore it after Defaults.xml deleted.

It seems to have resolved the issue.

Some other things that were contained in Defaults.xml was Studio Setup - Audio device setup, and Generic Remotes disappeared (which I had exported backups of) and needed to be imported.

Other settings like WinRT MIDI went back to default off which I need on.

spoke too soon/didn’t knock on wood…

problem is back…

It would seem it happens, after closing Cubase and rebooting it, the problem comes back.

Ie, I delete Defaults.xml, boot up Cubase.. Restore my settings - EVERYTHING WORKS.

Close Cubase, boot it back up, problems back.

So it seems it’s either a write issue on close or open.

OMG! It’s the ‘WinRT MIDI’ setting in Studio Device Setup!

Or something to do with Cubase and it.

  • I deleted Defaults.xml

    • booted Cubase
    • No problem.
    • Closed Cubase and rebooted it.
    • No problem
  • I turned on VST2 plugins

    • Closed Cubase/rebooted it
    • No Problem
  • I restored my preferences via a preset

    • Closed Cubase/rebooted
    • no problem
  • I restored my audio device settings

    • closed/rebooted cubase
    • no problem
  • I turned on WinRT MIDI

    • tested Cubase without closing first - no problem
    • closed/rebooted Cubase
    • PROBLEM.
  • I closed Cubase

    • deleted the Defaults.xml again
    • opened Cubase
    • No problem
    • Turned on WinRT MIDI
    • tested without closing, no problem
    • Closed/rebooted Cubase
    • PROBLEM.
  • I closed Cubase and deleted the ENTIRE Cubase 15 AppData folder to let it rebuild itself

    • On Safe-Boot, I selected Disable Preferences
    • No problem.
    • I enable WinRT MIDI
    • Test without closing, no problem.
    • Close Cubase/Reopen
    • PROBLEM

edit

Further, I kept what I thought was the corrupted Cubase 15_64 AppData folder just to inspect and cross-compare..

I restored it, booted Cubase, immediately turned off WinRT MIDI - didn’t close/reboot Cubase - and the problem did not occur.

Thanks for providing updated information. I wonder if this issue has something to do with the recent implementation of MIDI 2.0 on Windows 11 ?

… this one has been a journey

I started a new thread as this one is sort of misleading, I’ll revise the OP.

CRITICAL Total-Lockup-Freeze, caused by ‘Use Device WinRT MIDI’ (Cubase 15.0.1) - Cubase - Steinberg Forums

You’re already paging the right person :grinning_face_with_smiling_eyes:

Well…maybe! :wink:

After a few crashes, I’m now wondering if I should rebuild preferences. I’ve had a variety of hangs/crashes over the years and don’t recall ever rebuilding all the preferences from scratch!