You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opus header gain modes cause a crash on Windows #122
The root cause of this bug was a resource sharing issue. The input file is already open with the TagLib File object, and then the header gain write function tries to open it. It seems that the Windows OS file protocol has a problem with this, but Unix file systems don't. Sometimes system-related behavior can be inconsistent across platforms.
In this case, the solution is relatively straightforward. I changed the code to close the TagLib File object before writing to the header gain. This prevents the resource conflict, so now everything works fine across all supported platforms.
You can use the development build with the fix incorporated until the next release.
Activity
complexlogic commentedon Jul 27, 2024
I confirm this on my end and will investigate a solution.
complexlogic commentedon Jul 27, 2024
The root cause of this bug was a resource sharing issue. The input file is already open with the TagLib
Fileobject, and then the header gain write function tries to open it. It seems that the Windows OS file protocol has a problem with this, but Unix file systems don't. Sometimes system-related behavior can be inconsistent across platforms.In this case, the solution is relatively straightforward. I changed the code to close the TagLib
Fileobject before writing to the header gain. This prevents the resource conflict, so now everything works fine across all supported platforms.You can use the development build with the fix incorporated until the next release.