XML Error: Extra content Error

Tried to load a recent session and got this error message. I noticed that the .ardour file went from about 300MB to 2.5GB within a few days where didn’t do THAT much to justify this increase.

Any hint is appreciated.

Here are a few hints at what might be wrong:

ERROR: Cannot get existing session information from {path_to_filename}.ardour

ERROR: XML error: Extra content at the end of the document in file:{path_to_filename}.ardour at line 40009:1124072593

ERROR: XML error: xmlSAX2Characters overflow prevented in file:{path_to_filename}.ardour at line 40009:1124072593

ERROR: XML error: Extra content at the end of the document in file:{path_to_filename}.ardour at line 40009:1124072593

ERROR: XML error: xmlSAX2Characters overflow prevented in file:{path_to_filename}.ardour at line 40009:1124072593

UPDATE

open the sessionfile in text editor and stumpled upon endless lines of this kind. THis goes really on forever and most of the values are “0”.

  <ControlValue id="1167022" value="1"/>
  <ControlValue id="1167024" value="1"/>
  <ControlValue id="1167026" value="1"/>
  <ControlValue id="1167028" value="1"/>
  <ControlValue id="1167030" value="1"/>
  <ControlValue id="1167032" value="1"/>
  <ControlValue id="1167034" value="1"/>
  <ControlValue id="1167036" value="1"/>
  <ControlValue id="1167038" value="1"/>
  <ControlValue id="1167040" value="1"/>
  <ControlValue id="1167042" value="1"/>
  <ControlValue id="1167044" value="1"/>
  <ControlValue id="1167046" value="1"/>
  <ControlValue id="1167048" value="1"/>
  <ControlValue id="1167050" value="1"/>
  <ControlValue id="1167052" value="1"/>
  <ControlValue id="1167054" value="1"/>
  <ControlValue id="1167056" value="1"/>
  <ControlValue id="1167058" value="1"/>
  <ControlValue id="1167060" value="1"/>
  <ControlValue id="1167062" value="1"/>
  <ControlValue id="1167064" value="1"/>
  <ControlValue id="1167066" value="1"/>
  <ControlValue id="1167068" value="1"/>
  <ControlValue id="1167070" value="1"/>
  <ControlValue id="1167072" value="1"/>
  <ControlValue id="1167074" value="1"/>
  <ControlValue id="1167076" value="1"/>
  <ControlValue id="1167078" value="1"/>
  <ControlValue id="1167080" value="1"/>
  <ControlValue id="1167082" value="1"/>
  <ControlValue id="1167084" value="1"/>
  <ControlValue id="1167086" value="1"/>
  <ControlValue id="1167088" value="1"/>
  <ControlValue id="1167090" value="1"/>
  <ControlValue id="1167092" value="1"/>
  <ControlValue id="1167094" value="1"/>
  <ControlValue id="1167096" value="0"/>
  <ControlValue id="1167098" value="0"/>
  <ControlValue id="1167100" value="0"/>
  <ControlValue id="1167102" value="0"/>
  <ControlValue id="1167104" value="0"/>
  <ControlValue id="1167106" value="0"/>
  <ControlValue id="1167108" value="0"/>
  <ControlValue id="1167110" value="0"/>
  <ControlValue id="1167112" value="0"/>
  <ControlValue id="1167114" value="0"/>
  <ControlValue id="1167116" value="0"/>
  <ControlValue id="1167118" value="0"/>
  <ControlValue id="1167120" value="0"/>
  <ControlValue id="1167122" value="0"/>
  <ControlValue id="1167124" value="0"/>
  <ControlValue id="1167126" value="0"/>
  <ControlValue id="1167128" value="0"/>
  <ControlValue id="1167130" value="0.66666668653488159"/>
  <ControlValue id="1167132" value="1"/>
  <ControlValue id="1167134" value="1"/>

Admittedly you’ve found an extreme example but are these extra objects inside an object called GUIObjectState ?

I discovered this many years ago in Mixbus ver8 but no-one else was able to reproduce it :confounded:

An extra entry gets added every time your file gets saved so if you’re working with Autosave enabled it might be worth disabling it.

1 Like

The controller states were in a Mixerscenes. Yes i saved a scene somewhere along the mix but the file-size-increase started some days after. Didn’t check “GUIObjectState” yet. Also i deleted the Mixerscenes by hand but that didn’t reduce the file-size to a normal behaviour and didn’t end the error message. So there is still something way off here.

I was able to load an older snapshot (that is still 2.5G) and did a “safe as” to get a hopefully cleaner version. And yes, new session file is below 100MB atm. But it’s still a bit diva and keeps crashing “randomly”. Playing loops can cause crash but not every time. manipulating a plugin while playing can crash but not must. So all kinds of strangeness still but at least i didn’t loose the whole session.