View Issue Details

IDProjectCategoryView StatusLast Update
0009961ardourbugspublic2025-08-02 00:27
ReporterGhostsonAcid Assigned Tox42  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformmacOSOSMojaveOS Version10.14.6
Product Version8.12 
Summary0009961: New bus names are sometimes not saved into the XML universally, thus causing major routing losses...
DescriptionArdour 8.12 is occasionally NOT saving new bus names to the XML for the *outputs* of tracks and buses.

Thus, when I save my project and reopen it, Ardour searches for names of routes (buses) that *DO NOT EXIST,* thus --> broken/lost routing.
Steps To Reproduce1. Download the zip (5mb) I've attached, and open "I - V (The Sun Wakes Us) TO SHARE.ardour" using Ardour 8.12.
2. Observe the track/bus routing structure.
3. Rename the following x3 buses like so (-or with whatever name-change you want):
     "VT Bus L" --> "VT Bus L NEW"
     "VT Bus R" --> "VT Bus R NEW"
     "VOCAL BUS" --> "VOCAL BUS NEW"
4. Optional: Drag the region on the timeline a bit, just to make sure a 'substantial' session change has occurred.
5. Save the project.
6. Quit Ardour.
7. Reopen.
8. Observe that the outputs from the "L" and "R" buses are now NOT connected to anything (-when they should be connected to the "VOCAL BUS NEW").
9. Look for any other incorrect routing issues.
Additional InformationDownload my example project here: https://www.mediafire.com/file_premium/42z8t04joudv3f3/I_-_V_%2528The_Sun_Wakes_Us%2529_TO_SHARE.zip/file

I also attached an example issue of the problem.
Tagsbus, buses, disappears, loss, name, names, naming, routing, track

Activities

x42

2025-07-30 13:37

administrator   ~0029354

I tried this twice with your session and cannot reproduce it..

That it only happens "occasionally" is a a bummer.

What Audio/MIDI System do you use? CoreAudio on macOS? What buffersize? Is this perhaps correlated to dropout (xrun) happening when you rename ports?

Is there a message in the Log window when it happens?

GhostsonAcid

2025-07-30 14:05

reporter   ~0029355

After the steps I outlined, this is what part of the XML looks like:

GhostsonAcid

2025-07-30 14:06

reporter   ~0029356

Oh, sorry, I didn't see your comment...
Let me type-up a response...

GhostsonAcid

2025-07-30 14:25

reporter   ~0029357

"I tried this twice with your session and cannot reproduce it.. "
-Did you test with a macOS-build of 8.12?

I am using CoreAudio, yes.

Input/Output Device is a "Aggregate Device" I setup via Audio MIDI Setup, connected to:
• Audinst HUD-mini (--> Stereo Output)
• Roland DUO-CAPTURE EX (--> Stereo Input)

Buffer Size is pretty much always set to 1024 samples.

As for the log, when I initially open the project I get:

"2025-07-30T17:13:45 [INFO]: Lua: Error: ...er/Library/Preferences/Ardour8/scripts/Crossfade(A8).lua:1: unexpected symbol near '<\203>'
Script '/Users/User/Library/Preferences/Ardour8/scripts/Crossfade(A8).lua' has no valid descriptor.
2025-07-30T17:14:02 [INFO]: Scanning folders for bundled LV2s: /Applications/Ardour 8.12.app/Contents/lib/LV2
2025-07-30T17:14:02 [WARNING]: VST3</Library/Audio/Plug-Ins/VST3/Bettermaker Bus Compressor DSP.vst3>: Invalid VST3 Module Path: ''
2025-07-30T17:14:03 [WARNING]: Video-monitor 'xjadeo' was not found. Please install http://xjadeo.sf.net/ (a custom path to xjadeo can be specified by setting the XJREMOTE environment variable. It should point to an application compatible with xjadeo's remote-control interface 'xjremote').

see also http://manual.ardour.org/video-timeline/setup/
2025-07-30T17:14:03 [INFO]: harvid version: 901
2025-07-30T17:14:04 [INFO]: Loading menus from /Applications/Ardour 8.12.app/Contents/Resources/ardour.menus
2025-07-30T17:14:05 [INFO]: session-dir and session-name mismatch. Please use 'Menu > Session > Rename' in the future to rename sessions.
2025-07-30T17:14:05 [ERROR]: cannot open directory /Users/User/Desktop/People/Family/Joe Lookinland/Audacity - Joe/The Gray Kingdom - (Audacity)/TGK Songs (No such file or directory)
cannot open directory Song-Groups/TGK S (No such file or directory)
cannot open directory SG C Segmented Songs/TGK S (No such file or directory)
..... (cutting out most of these here to save space)
cannot open directory SG C SS 5 - "The sun wakes us."/TSWU - Vocals/V4 (No such file or directory)
cannot open directory SG C SS 5 - "The sun wakes us."/TSWU - Vocals/V8 (No such file or directory)
cannot open directory SG C SS 5 - "The sun wakes us."/TSWU - Vocals/Others (No such file or directory)
Butler read ahead failure on dstream auditioner
2025-07-30T17:14:05 [ERROR]: Butler read ahead failure on dstream Vocal Track
2025-07-30T17:14:05 [ERROR]: Butler read ahead failure on dstream Vocal Track
2025-07-30T17:14:05 [INFO]: Loading user ui scripts file /Users/User/Library/Preferences/Ardour8/ui_scripts
2025-07-30T17:14:05 [INFO]: Loading plugin order file /Users/User/Library/Preferences/Ardour8/plugin_metadata/plugin_order
2025-07-30T17:14:05 [INFO]: Loading history from /Users/User/Desktop/I - V (The Sun Wakes Us) TO SHARE/I - V (The Sun Wakes Us) TO SHARE.history
2025-07-30T17:14:05 [INFO]: Could not reconstitute StatefulDiffCommand from XMLNode. object type = N6ARDOUR11AudioRegionE id = 1519416"




...
And then after I follow Steps 1-9, I get this, which is clearly showing the routing/connection errors:

"2025-07-30T17:16:31 [INFO]: Lua: Error: ...er/Library/Preferences/Ardour8/scripts/Crossfade(A8).lua:1: unexpected symbol near '<\203>'
Script '/Users/User/Library/Preferences/Ardour8/scripts/Crossfade(A8).lua' has no valid descriptor.
2025-07-30T17:16:47 [INFO]: Scanning folders for bundled LV2s: /Applications/Ardour 8.12.app/Contents/lib/LV2
2025-07-30T17:16:48 [WARNING]: VST3</Library/Audio/Plug-Ins/VST3/Bettermaker Bus Compressor DSP.vst3>: Invalid VST3 Module Path: ''
2025-07-30T17:16:48 [WARNING]: Video-monitor 'xjadeo' was not found. Please install http://xjadeo.sf.net/ (a custom path to xjadeo can be specified by setting the XJREMOTE environment variable. It should point to an application compatible with xjadeo's remote-control interface 'xjremote').

see also http://manual.ardour.org/video-timeline/setup/
2025-07-30T17:16:48 [INFO]: harvid version: 901
2025-07-30T17:16:50 [INFO]: Loading menus from /Applications/Ardour 8.12.app/Contents/Resources/ardour.menus
2025-07-30T17:16:50 [INFO]: session-dir and session-name mismatch. Please use 'Menu > Session > Rename' in the future to rename sessions.
2025-07-30T17:16:50 [ERROR]: cannot open directory /Users/User/Desktop/People/Family/Joe Lookinland/Audacity - Joe/The Gray Kingdom - (Audacity)/TGK Songs (No such file or directory)
cannot open directory Song-Groups/TGK S (No such file or directory)
cannot open directory SG C Segmented Songs/TGK S (No such file or directory)
.....
cannot open directory SG C SS 5 - "The sun wakes us."/TSWU - Vocals/V4 (No such file or directory)
cannot open directory SG C SS 5 - "The sun wakes us."/TSWU - Vocals/V8 (No such file or directory)
cannot open directory SG C SS 5 - "The sun wakes us."/TSWU - Vocals/Others (No such file or directory)
ardour::connect: Invalid Source port: (ardour:VT Bus L/audio_out 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Source port: (ardour:VT Bus R/audio_out 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Source port: (ardour:VT Bus L/audio_out 2)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Source port: (ardour:VT Bus R/audio_out 2)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VOCAL BUS/audio_in 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VOCAL BUS/audio_in 2)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VOCAL BUS/audio_in 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VOCAL BUS/audio_in 2)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VOCAL BUS/audio_in 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VOCAL BUS/audio_in 2)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VT Bus L/audio_in 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Destination port: (ardour:VT Bus R/audio_in 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Source port: (ardour:VOCAL BUS/audio_out 1)
2025-07-30T17:16:50 [ERROR]: ardour::connect: Invalid Source port: (ardour:VOCAL BUS/audio_out 2)
2025-07-30T17:16:50 [INFO]: Loading user ui scripts file /Users/User/Library/Preferences/Ardour8/ui_scripts
2025-07-30T17:16:50 [ERROR]: Butler read ahead failure on dstream auditioner
2025-07-30T17:16:50 [INFO]: Loading plugin order file /Users/User/Library/Preferences/Ardour8/plugin_metadata/plugin_order
2025-07-30T17:16:51 [INFO]: Loading history from /Users/User/Desktop/I - V (The Sun Wakes Us) TO SHARE/I - V (The Sun Wakes Us) TO SHARE.history
2025-07-30T17:16:51 [INFO]: Could not reconstitute StatefulDiffCommand from XMLNode. object type = N6ARDOUR11AudioRegionE id = 1519416"

GhostsonAcid

2025-07-30 14:34

reporter   ~0029358

"Is there a message in the Log window when it happens?"

-So no. No *new* messages or errors appear in the Log window when I change the names of the buses in the DAW.

I only get those new errors in the 2ND Log when I save, quit, and restart Ardour.

GhostsonAcid

2025-07-31 10:14

reporter   ~0029359

This is all remarkably consistent for me...

Today I tested this bug with a FRESH project, and the issue remains.
In fact, it was worse:
--> ALL of the tracks/buses I renamed failed to apply universally across the XML.
--> Thus any that weren't connected directly to the master had their links broken.

I also noticed this:
I keep seeing this suspicious ‘doubling’ of inputs/outputs on certain buses/tracks.
Could this have anything to do (or be related) with what’s going on?

GhostsonAcid

2025-08-01 11:39

reporter   ~0029360

Now, after hours of testing I can confirm that…

THIS PROBLEM EXISTS/PERSISTS:

1. Using Ardour 8.12 on my VM of *Ubuntu Studio* (24.04.2 LTS (-see the screenshot).
2. On my macOS Monterey (non-VM) machine running Ardour 8.12, AND the Pre-release of Ardour v9.
3. On a separate, 15” 2011 MacBook Pro using Ardour 8.12, AND the Pre-release of Ardour v9.
4. Using the Pre-release of Ardour v9 on my main Mojave desktop.
5. After giving Ardour (any version) explicit “Full Disk” and “Accessibility” access via System Preferences.
6. After clearing Session Properties -> Locations of any old source locations.
7. On older projects AS WELL AS *brand-new, 100% freshly-constructed* projects.
8. Even when the I/O configuration is changed to use completely different devices.
9. No matter how many times I run this experiment (e.g. Steps 1-9), or variations of my previous steps, even variations that differ significantly or completely.
10. Whether or not I have a fresh install of the Ardour v9 pre-release recycle my Ardour 8.12 preferences/configuration-settings.



So I really shouldn’t have written “sometimes” in the title because this is the most universally-consistent bug I’ve ever encountered.

If you (Robin) are really unable to reproduce this, then I don’t know what’s going on…
I am really at a loss as to what to check next…

Something that all my setups share is the fact that they’re being run using macOS (Mojave and Monterey in this case).
I was not expecting Ubuntu Studio to exhibit the same problem. -BUT, it’s still just a VM who’s host is ultimately Mojave.


I suppose next I will try to test this on a non-VM of some GNU/Linux OS and continue this struggle…

-J

GhostsonAcid

2025-08-01 11:40

reporter   ~0029361

GhostsonAcid

2025-08-01 11:41

reporter   ~0029362

GhostsonAcid

2025-08-01 14:17

reporter   ~0029363

So after even more testing...

Literally every single OS and hardware I try yields the same bug:
-Mojave --> X
-Monterey --> X
-Ubuntu Studio (VM) --> X
-Lubuntu (non-VM, but Mac Pro hardware) --> X (-See latest pictures below.)
-Ubuntu (non-VM, *non-Mac hardware*(!)) --> X (-See latest picture.)

-Different I/O configurations and devices.
-Ardour 8.12 OR the pre-release of v9.

...
This is WILD to me.
If this bug is literally within Ardour itself (which appears more and more likely to me...), how could anyone not have noticed this yet??? O___o



Updated steps I’ve been using to get these results:

1. Open Ardour 8.12 and create a new session (e.g. “ROUTING TEST SESSION 1”)…
2. -Set to 44.1kHz sample-rate.
3. Create 2 stereo tracks, 2 mono buses, and one stereo bus.
4. Rename them to and organize them like so:
    Audio Track 1
    Bus L
    Bus R
    Audio Track 2
    MAIN BUS
5. Disconnect any and all from going to the Master Bus.
6. Route the left-output of “Audio Track 1” to the input of “Bus L”.
7. Route the right-output of “Audio Track 1” to the input of “Bus R”.
8. Route the stereo outputs of “Bus L”, “Bus R”, and “Audio Track 2” to the input of “MAIN BUS”.
9. Route the output of “MAIN BUS” to the input of the Master Bus.
10. Save the session.
11. Quit Ardour.
12. Reopen the session (using 8.12 of course).
13. Observe that all the routing is (likely) still fine and good.
14. Rename ALL of the 5 tracks/buses you created to whatever you want.
15. Save the session.
16. Quit Ardour.
17. Reopen the session.
18. —> All links are now gone (-except for that final bus that connected directly to the Master).
      —> And there will be log errors about how certain connections don’t exist.

x42

2025-08-02 00:27

administrator   ~0029364

Should be fixed since 9.0-pre0-1468-g96431aa0d6
Please test.

Issue History

Date Modified Username Field Change
2025-07-30 13:03 GhostsonAcid New Issue
2025-07-30 13:03 GhostsonAcid Tag Attached: bus
2025-07-30 13:03 GhostsonAcid Tag Attached: buses
2025-07-30 13:03 GhostsonAcid Tag Attached: disappears
2025-07-30 13:03 GhostsonAcid Tag Attached: loss
2025-07-30 13:03 GhostsonAcid Tag Attached: name
2025-07-30 13:03 GhostsonAcid Tag Attached: names
2025-07-30 13:03 GhostsonAcid Tag Attached: naming
2025-07-30 13:03 GhostsonAcid Tag Attached: routing
2025-07-30 13:03 GhostsonAcid Tag Attached: track
2025-07-30 13:37 x42 Note Added: 0029354
2025-07-30 14:05 GhostsonAcid Note Added: 0029355
2025-07-30 14:05 GhostsonAcid File Added: Ardour (8,12) - Track and Bus Routes Not Saved - Image 1.png
2025-07-30 14:06 GhostsonAcid Note Added: 0029356
2025-07-30 14:25 GhostsonAcid Note Added: 0029357
2025-07-30 14:25 GhostsonAcid File Added: Screen Shot 2025-07-30 at 5.10.31 PM.png
2025-07-30 14:25 GhostsonAcid File Added: Screen Shot 2025-07-30 at 5.08.23 PM.png
2025-07-30 14:34 GhostsonAcid Note Added: 0029358
2025-07-31 10:14 GhostsonAcid Note Added: 0029359
2025-07-31 10:14 GhostsonAcid File Added: Ardour (8,12) - Track and Bus Routes Not Saved - Suspicious Doubles.png
2025-08-01 11:39 GhostsonAcid Note Added: 0029360
2025-08-01 11:40 GhostsonAcid Note Added: 0029361
2025-08-01 11:40 GhostsonAcid File Added: Ardour (8,12) - Track and Bus Routes Not Saved - Ubuntu Studio (VM) Example 1.png
2025-08-01 11:41 GhostsonAcid Note Added: 0029362
2025-08-01 11:41 GhostsonAcid File Added: Ardour (8,12) - Track and Bus Routes Not Saved - macOS Monterey (non-VM) Example 1.png
2025-08-01 14:17 GhostsonAcid Note Added: 0029363
2025-08-01 14:17 GhostsonAcid File Added: Ardour (8,12) - Track and Bus Routes Not Saved - Ubuntu (non-VM) Example 1.png
2025-08-01 14:17 GhostsonAcid File Added: Ardour (8,12) - Track and Bus Routes Not Saved - Lubuntu (non-VM, but Mac Pro hardware) BEFORE.jpg
2025-08-01 14:17 GhostsonAcid File Added: Ardour (8,12) - Track and Bus Routes Not Saved - Lubuntu (non-VM, but Mac Pro hardware) AFTER.jpg
2025-08-02 00:27 x42 Assigned To => x42
2025-08-02 00:27 x42 Status new => resolved
2025-08-02 00:27 x42 Resolution open => fixed
2025-08-02 00:27 x42 Note Added: 0029364