Crash when building banks - possibly because of corrupted files?

Hi,

I’ve had a major issue with fmod studio 2.02.22-20.02.26 on Ubuntu 24.04.1 where trying to build banks suddenly crashes fmod.

I managed to fix it once by completely removing fmod from my system, including all remaining folders I could find and by reinstalling. However I’m having the same issue again and I can’t fix it again.

The exact same project synchronized via git with git-lfs builds fine on other computers (Ubuntu 24.04.1, Windows). I did find however that trying to compress some ogg files also crashes fmod so that may be the issue?

Here’s the ffprobe of such a file:

ffprobe version 6.1.1-3ubuntu5 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-23ubuntu3)
  configuration: --prefix=/usr --extra-version=3ubuntu5 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Input #0, ogg, from 'rue du marché.ogg':
  Duration: 00:01:30.35, start: 0.000000, bitrate: 77 kb/s
  Stream #0:0: Audio: vorbis, 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      ENCODER         : libsndfile

And MediaIinfo:

General
Complete name                            : rue du marché.ogg
Format                                   : Ogg
File size                                : 854 KiB
Duration                                 : 1 min 30 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 77.5 kb/s
Writing application                      : libsndfile

Audio
ID                                       : 668441052 (0x27D799DC)
Format                                   : Vorbis
Format settings, Floor                   : 1
Duration                                 : 1 min 30 s
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Compression mode                         : Lossy
Stream size                              : 1.38 MiB
Writing library                          : libVorbis (Turpakäräjiin) (20140122 (Turpakäräjiin))

Hi,

A few questions:

  • Does FMOD Studio display the crash report dialog when crashing? If so, could you use it to report the crash using the same name and email address you use for the forums?
  • Can I get you to post a log from Studio where the issue occurs? You should be able to find the log at ~home/FMOD Studio/Logs

Hi,

No FMOD does not display a crash report, it just closes immediatly.
Here’s a log I got after opening the project and building it:

  2025-02-12 19:53:06 FMOD Studio Version 2.02.26, 64-bit, Build #148250
  2025-02-12 19:53:06 Operating System: Ubuntu 24.04.1 LTS; x86_64
  2025-02-12 19:53:06 Client ID: {a44bc697-98c0-4ebb-8825-aa6f30df70b7}
- 2025-02-12 19:53:06 [Initialize Sound System 0x00000000105afb40]: Time started
  2025-02-12 19:53:06 Loaded plugin library "AudioGaming AudioMotors" (type 2) from /opt/fmodstudio/Plugins/libaudiogaming_audiomotors.so
  2025-02-12 19:53:06 AudioGaming AudioMotors #0: "Drive" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #1: "RPM" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #2: "Transpose" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #3: "Randomize" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #4: "Adapt" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #5: "Volume" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #6: "Format" (type 1)
  2025-02-12 19:53:06 AudioGaming AudioMotors #7: "Car Data" (type 3)
  2025-02-12 19:53:06 AudioGaming AudioMotors #8: "Range" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #9: "Sync" (type 1)
  2025-02-12 19:53:06 AudioGaming AudioMotors #10: "Mode" (type 1)
  2025-02-12 19:53:06 Loaded plugin library "Resonance Audio Listener" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:06 Resonance Audio Listener #0: "Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Listener #1: "Room Properties" (type 3)
  2025-02-12 19:53:06 Loaded plugin library "Resonance Audio Soundfield" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:06 Resonance Audio Soundfield #0: "Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Soundfield #1: "3D Attributes" (type 3)
  2025-02-12 19:53:06 Resonance Audio Soundfield #2: "Overall Gain" (type 3)
  2025-02-12 19:53:06 Loaded plugin library "Resonance Audio Source" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:06 Resonance Audio Source #0: "Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #1: "Spread" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #2: "Dist Rolloff" (type 1)
  2025-02-12 19:53:06 Resonance Audio Source #3: "Occlusion" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #4: "Directivity" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #5: "Dir Sharpness" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #6: "Attenuation Ran" (type 3)
  2025-02-12 19:53:06 Resonance Audio Source #7: "3D Attributes" (type 3)
  2025-02-12 19:53:06 Resonance Audio Source #8: "Bypass Room" (type 2)
  2025-02-12 19:53:06 Resonance Audio Source #9: "Near-Field FX" (type 2)
  2025-02-12 19:53:06 Resonance Audio Source #10: "Near-Field Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #11: "Overall Gain" (type 3)
- 2025-02-12 19:53:06 [Initialize Sound System 0x00000000105afb40]: Time taken is 79.45ms (0.079s)
- 2025-02-12 19:53:06 [Uninitialize Sound System 0x00000000105afb40]: Time started
- 2025-02-12 19:53:06 [Uninitialize Sound System 0x00000000105afb40]: Time taken is 35.76ms (0.035s)
- 2025-02-12 19:53:06 [Initialize Sound System 0x00000000105afb40]: Time started
  2025-02-12 19:53:06 Loaded plugin library "AudioGaming AudioMotors" (type 2) from /opt/fmodstudio/Plugins/libaudiogaming_audiomotors.so
  2025-02-12 19:53:06 AudioGaming AudioMotors #0: "Drive" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #1: "RPM" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #2: "Transpose" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #3: "Randomize" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #4: "Adapt" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #5: "Volume" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #6: "Format" (type 1)
  2025-02-12 19:53:06 AudioGaming AudioMotors #7: "Car Data" (type 3)
  2025-02-12 19:53:06 AudioGaming AudioMotors #8: "Range" (type 0)
  2025-02-12 19:53:06 AudioGaming AudioMotors #9: "Sync" (type 1)
  2025-02-12 19:53:06 AudioGaming AudioMotors #10: "Mode" (type 1)
  2025-02-12 19:53:06 Loaded plugin library "Resonance Audio Listener" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:06 Resonance Audio Listener #0: "Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Listener #1: "Room Properties" (type 3)
  2025-02-12 19:53:06 Loaded plugin library "Resonance Audio Soundfield" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:06 Resonance Audio Soundfield #0: "Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Soundfield #1: "3D Attributes" (type 3)
  2025-02-12 19:53:06 Resonance Audio Soundfield #2: "Overall Gain" (type 3)
  2025-02-12 19:53:06 Loaded plugin library "Resonance Audio Source" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:06 Resonance Audio Source #0: "Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #1: "Spread" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #2: "Dist Rolloff" (type 1)
  2025-02-12 19:53:06 Resonance Audio Source #3: "Occlusion" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #4: "Directivity" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #5: "Dir Sharpness" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #6: "Attenuation Ran" (type 3)
  2025-02-12 19:53:06 Resonance Audio Source #7: "3D Attributes" (type 3)
  2025-02-12 19:53:06 Resonance Audio Source #8: "Bypass Room" (type 2)
  2025-02-12 19:53:06 Resonance Audio Source #9: "Near-Field FX" (type 2)
  2025-02-12 19:53:06 Resonance Audio Source #10: "Near-Field Gain" (type 0)
  2025-02-12 19:53:06 Resonance Audio Source #11: "Overall Gain" (type 3)
- 2025-02-12 19:53:06 [Initialize Sound System 0x00000000105afb40]: Time taken is 79.28ms (0.079s)
  2025-02-12 19:53:06 Creating restore point:
  2025-02-12 19:53:06 Creating restore point: backing up Encoding Setting...   (1/16)
  2025-02-12 19:53:06 Creating restore point: backing up Platform ["Desktop"]...   (2/16)
  2025-02-12 19:53:06 Creating restore point: backing up Mixer...   (3/16)
  2025-02-12 19:53:06 Creating restore point: backing up Master Event Folder ["Master"]...   (4/16)
  2025-02-12 19:53:06 Creating restore point: backing up Bank ["Master"]...   (5/16)
  2025-02-12 19:53:06 Creating restore point: backing up Master Effect Preset Folder ["Master"]...   (6/16)
  2025-02-12 19:53:06 Creating restore point: backing up Master Parameter Preset Folder ["Master"]...   (7/16)
  2025-02-12 19:53:06 Creating restore point: backing up Master Asset Folder [""]...   (8/16)
  2025-02-12 19:53:06 Creating restore point: backing up Master Bank Folder ["Master"]...   (9/16)
  2025-02-12 19:53:06 Creating restore point: backing up Master Tag Folder ["Master"]...   (10/16)
  2025-02-12 19:53:06 Creating restore point: backing up Workspace...   (11/16)
  2025-02-12 19:53:06 Creating restore point: backing up Master Sandbox Folder ["Master"]...   (12/16)
  2025-02-12 19:53:06 Creating restore point: backing up Mixer Master ["Master Bus"]...   (13/16)
  2025-02-12 19:53:06 Creating restore point: backing up Mixer Return ["Reverb"]...   (14/16)
  2025-02-12 19:53:06 Creating restore point: backing up Profiler Session Folder ["Profiler Sessions"]...   (15/16)
  2025-02-12 19:53:06 Creating restore point: backing up Snapshot List [""]...   (16/16)
  2025-02-12 19:53:06 Writing Data To Disk:
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Master Effect Preset Folder ["Master"]...   (1/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Master Parameter Preset Folder ["Master"]...   (2/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Mixer...   (3/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Platform ["Desktop"]...   (4/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Profiler Session Folder ["Profiler Sessions"]...   (5/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Mixer Master ["Master Bus"]...   (6/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Mixer Return ["Reverb"]...   (7/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Master Sandbox Folder ["Master"]...   (8/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Master Tag Folder ["Master"]...   (9/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Master Asset Folder [""]...   (10/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Workspace...   (11/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Master Event Folder ["Master"]...   (12/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Snapshot List [""]...   (13/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Bank ["Master"]...   (14/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Master Bank Folder ["Master"]...   (15/16)
  2025-02-12 19:53:06 Writing Data To Disk: checking access for Encoding Setting...   (16/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Master Effect Preset Folder ["Master"]...   (1/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Master Parameter Preset Folder ["Master"]...   (2/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Mixer...   (3/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Platform ["Desktop"]...   (4/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Profiler Session Folder ["Profiler Sessions"]...   (5/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Mixer Master ["Master Bus"]...   (6/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Mixer Return ["Reverb"]...   (7/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Master Sandbox Folder ["Master"]...   (8/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Master Tag Folder ["Master"]...   (9/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Master Asset Folder [""]...   (10/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Workspace...   (11/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Master Event Folder ["Master"]...   (12/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Snapshot List [""]...   (13/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Bank ["Master"]...   (14/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Master Bank Folder ["Master"]...   (15/16)
  2025-02-12 19:53:06 Writing Data To Disk: writing Encoding Setting...   (16/16)
  2025-02-12 19:53:06 Finalizing state: updating Encoding Setting...   (1/16)
  2025-02-12 19:53:06 Finalizing state: updating Platform ["Desktop"]...   (2/16)
  2025-02-12 19:53:06 Finalizing state: updating Mixer...   (3/16)
  2025-02-12 19:53:06 Finalizing state: updating Master Event Folder ["Master"]...   (4/16)
  2025-02-12 19:53:06 Finalizing state: updating Bank ["Master"]...   (5/16)
  2025-02-12 19:53:06 Finalizing state: updating Master Effect Preset Folder ["Master"]...   (6/16)
  2025-02-12 19:53:06 Finalizing state: updating Master Parameter Preset Folder ["Master"]...   (7/16)
  2025-02-12 19:53:06 Finalizing state: updating Master Asset Folder [""]...   (8/16)
  2025-02-12 19:53:06 Finalizing state: updating Master Bank Folder ["Master"]...   (9/16)
  2025-02-12 19:53:06 Finalizing state: updating Master Tag Folder ["Master"]...   (10/16)
  2025-02-12 19:53:06 Finalizing state: updating Workspace...   (11/16)
  2025-02-12 19:53:06 Finalizing state: updating Master Sandbox Folder ["Master"]...   (12/16)
  2025-02-12 19:53:06 Finalizing state: updating Mixer Master ["Master Bus"]...   (13/16)
  2025-02-12 19:53:06 Finalizing state: updating Mixer Return ["Reverb"]...   (14/16)
  2025-02-12 19:53:06 Finalizing state: updating Profiler Session Folder ["Profiler Sessions"]...   (15/16)
  2025-02-12 19:53:06 Finalizing state: updating Snapshot List [""]...   (16/16)
  2025-02-12 19:53:06 Writing Settings To Disk:
  2025-02-12 19:53:06 Writing Settings To Disk: writing Mixer...   (1/3)
  2025-02-12 19:53:06 Writing Settings To Disk: writing Master Asset Folder [""]...   (2/3)
  2025-02-12 19:53:06 Writing Settings To Disk: writing Workspace...   (3/3)
  2025-02-12 19:53:06 Destroying restore point:
  2025-02-12 19:53:06 Clearing unsaved data directory:
- 2025-02-12 19:53:06 [Scripting]ScriptServer started on 0.0.0.0 (3663)
  2025-02-12 19:53:07 Event activated: [None]
- 2025-02-12 19:53:10 [Initialize Sound System 0x0000000011547090]: Time started
  2025-02-12 19:53:10 Loaded plugin library "AudioGaming AudioMotors" (type 2) from /opt/fmodstudio/Plugins/libaudiogaming_audiomotors.so
  2025-02-12 19:53:10 AudioGaming AudioMotors #0: "Drive" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #1: "RPM" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #2: "Transpose" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #3: "Randomize" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #4: "Adapt" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #5: "Volume" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #6: "Format" (type 1)
  2025-02-12 19:53:10 AudioGaming AudioMotors #7: "Car Data" (type 3)
  2025-02-12 19:53:10 AudioGaming AudioMotors #8: "Range" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #9: "Sync" (type 1)
  2025-02-12 19:53:10 AudioGaming AudioMotors #10: "Mode" (type 1)
  2025-02-12 19:53:10 Loaded plugin library "Resonance Audio Listener" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:10 Resonance Audio Listener #0: "Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Listener #1: "Room Properties" (type 3)
  2025-02-12 19:53:10 Loaded plugin library "Resonance Audio Soundfield" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:10 Resonance Audio Soundfield #0: "Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Soundfield #1: "3D Attributes" (type 3)
  2025-02-12 19:53:10 Resonance Audio Soundfield #2: "Overall Gain" (type 3)
  2025-02-12 19:53:10 Loaded plugin library "Resonance Audio Source" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:10 Resonance Audio Source #0: "Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #1: "Spread" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #2: "Dist Rolloff" (type 1)
  2025-02-12 19:53:10 Resonance Audio Source #3: "Occlusion" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #4: "Directivity" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #5: "Dir Sharpness" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #6: "Attenuation Ran" (type 3)
  2025-02-12 19:53:10 Resonance Audio Source #7: "3D Attributes" (type 3)
  2025-02-12 19:53:10 Resonance Audio Source #8: "Bypass Room" (type 2)
  2025-02-12 19:53:10 Resonance Audio Source #9: "Near-Field FX" (type 2)
  2025-02-12 19:53:10 Resonance Audio Source #10: "Near-Field Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #11: "Overall Gain" (type 3)
- 2025-02-12 19:53:10 [Initialize Sound System 0x0000000011547090]: Time taken is 37.59ms (0.037s)
- 2025-02-12 19:53:10 [Total Load /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Geofictions.fspro 0x00000000109d9740]: Time started
- 2025-02-12 19:53:10 [Opening /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Geofictions.fspro 0x00000000109d9740]: Time started
- 2025-02-12 19:53:10 [Create mappers]: Time started
- 2025-02-12 19:53:10 [Create mappers]: Time taken is 3.07ms (0.003s)
- 2025-02-12 19:53:10 [Total preload]: Time started
- 2025-02-12 19:53:10 [Preload mappers]: Time started
! 2025-02-12 19:53:10 The file /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Metadata/ParameterPreset/{1143f626-1092-43ec-86fd-42b3174b2280}.xml is either corrupted or not an FMOD Studio file.
- 2025-02-12 19:53:10 Objects loaded: 599
- 2025-02-12 19:53:10 [Object Decoder]: Total time is 114.14ms (0.114s)
- 2025-02-12 19:53:10 [I/O Bound]: Total time is 3.53ms (0.003s)
- 2025-02-12 19:53:10 [Preload mappers]: Time taken is 118.55ms (0.118s)
- 2025-02-12 19:53:10 [Hookup relationships]: Time started
- 2025-02-12 19:53:10 [Hookup relationships]: Time taken is 31.82ms (0.031s)
- 2025-02-12 19:53:10 [Sort relationships]: Time started
- 2025-02-12 19:53:10 [Sort relationships]: Time taken is 13.76ms (0.013s)
- 2025-02-12 19:53:10 [Finalize loading]: Time started
- 2025-02-12 19:53:10 [Uninitialize Sound System 0x0000000011547090]: Time started
- 2025-02-12 19:53:10 [Uninitialize Sound System 0x0000000011547090]: Time taken is 24.46ms (0.024s)
- 2025-02-12 19:53:10 [Initialize Sound System 0x0000000011547090]: Time started
  2025-02-12 19:53:10 Loaded plugin library "AudioGaming AudioMotors" (type 2) from /opt/fmodstudio/Plugins/libaudiogaming_audiomotors.so
  2025-02-12 19:53:10 AudioGaming AudioMotors #0: "Drive" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #1: "RPM" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #2: "Transpose" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #3: "Randomize" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #4: "Adapt" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #5: "Volume" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #6: "Format" (type 1)
  2025-02-12 19:53:10 AudioGaming AudioMotors #7: "Car Data" (type 3)
  2025-02-12 19:53:10 AudioGaming AudioMotors #8: "Range" (type 0)
  2025-02-12 19:53:10 AudioGaming AudioMotors #9: "Sync" (type 1)
  2025-02-12 19:53:10 AudioGaming AudioMotors #10: "Mode" (type 1)
  2025-02-12 19:53:10 Loaded plugin library "Resonance Audio Listener" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:10 Resonance Audio Listener #0: "Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Listener #1: "Room Properties" (type 3)
  2025-02-12 19:53:10 Loaded plugin library "Resonance Audio Soundfield" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:10 Resonance Audio Soundfield #0: "Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Soundfield #1: "3D Attributes" (type 3)
  2025-02-12 19:53:10 Resonance Audio Soundfield #2: "Overall Gain" (type 3)
  2025-02-12 19:53:10 Loaded plugin library "Resonance Audio Source" (type 2) from /opt/fmodstudio/Plugins/libresonanceaudio.so
  2025-02-12 19:53:10 Resonance Audio Source #0: "Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #1: "Spread" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #2: "Dist Rolloff" (type 1)
  2025-02-12 19:53:10 Resonance Audio Source #3: "Occlusion" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #4: "Directivity" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #5: "Dir Sharpness" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #6: "Attenuation Ran" (type 3)
  2025-02-12 19:53:10 Resonance Audio Source #7: "3D Attributes" (type 3)
  2025-02-12 19:53:10 Resonance Audio Source #8: "Bypass Room" (type 2)
  2025-02-12 19:53:10 Resonance Audio Source #9: "Near-Field FX" (type 2)
  2025-02-12 19:53:10 Resonance Audio Source #10: "Near-Field Gain" (type 0)
  2025-02-12 19:53:10 Resonance Audio Source #11: "Overall Gain" (type 3)
- 2025-02-12 19:53:10 [Initialize Sound System 0x0000000011547090]: Time taken is 67.37ms (0.067s)
- 2025-02-12 19:53:10 [Finalize loading]: Time taken is 130.05ms (0.130s)
- 2025-02-12 19:53:10 [Total preload]: Time taken is 294.78ms (0.294s)
  2025-02-12 19:53:10 Macro: Project recovery
- 2025-02-12 19:53:10 [Resync auditioning /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Geofictions.fspro 0x00000000109d9740]: Time started
- 2025-02-12 19:53:10 [Resync Auditioning Queue 0x0000000011547090]: Time started
- 2025-02-12 19:53:10 Resyncing (build: 147, delete: 0, mute: 0)
- 2025-02-12 19:53:10 [Resync Auditioning Queue 0x0000000011547090]: Time taken is 8.54ms (0.008s)
- 2025-02-12 19:53:10 [Resync auditioning /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Geofictions.fspro 0x00000000109d9740]: Time taken is 8.64ms (0.008s)
- 2025-02-12 19:53:10 [Opening /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Geofictions.fspro 0x00000000109d9740]: Time taken is 318.31ms (0.318s)
- 2025-02-12 19:53:10 [Total Load /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Geofictions.fspro 0x00000000109d9740]: Time taken is 334.85ms (0.334s)
  2025-02-12 19:53:10 Macro: Project recovery

I got more info by running FMOD Studio from the terminal:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[Initialize Sound System 0x000000003981bb50]: Time started
[Initialize Sound System 0x000000003981bb50]: Time taken is 39.98ms (0.039s)
[Total Load Geofictions.fspro 0x00000000398063c0]: Time started
[Opening Geofictions.fspro 0x00000000398063c0]: Time started
[Create mappers]: Time started
[Create mappers]: Time taken is 4.33ms (0.004s)
[Total preload]: Time started
[Preload mappers]: Time started
The file /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Metadata/ParameterPreset/{1143f626-1092-43ec-86fd-42b3174b2280}.xml is either corrupted or not an FMOD Studio file.
Objects loaded: 599
[Object Decoder]: Total time is 86.96ms (0.086s)
[I/O Bound]: Total time is 4.78ms (0.004s)
[Preload mappers]: Time taken is 92.75ms (0.092s)
[Hookup relationships]: Time started
[Hookup relationships]: Time taken is 28.81ms (0.028s)
[Sort relationships]: Time started
[Sort relationships]: Time taken is 17.06ms (0.017s)
[Finalize loading]: Time started
[Uninitialize Sound System 0x000000003981bb50]: Time started
[Uninitialize Sound System 0x000000003981bb50]: Time taken is 21.95ms (0.021s)
[Initialize Sound System 0x000000003981bb50]: Time started
[Initialize Sound System 0x000000003981bb50]: Time taken is 50.25ms (0.050s)
[Finalize loading]: Time taken is 127.60ms (0.127s)
[Total preload]: Time taken is 267.07ms (0.267s)
[Resync auditioning Geofictions.fspro 0x00000000398063c0]: Time started
[Resync Auditioning Queue 0x000000003981bb50]: Time started
Resyncing (build: 147, delete: 0, mute: 0)
[Resync Auditioning Queue 0x000000003981bb50]: Time taken is 21.91ms (0.021s)
[Resync auditioning Geofictions.fspro 0x00000000398063c0]: Time taken is 22.19ms (0.022s)
[Opening Geofictions.fspro 0x00000000398063c0]: Time taken is 304.08ms (0.304s)
[Total Load Geofictions.fspro 0x00000000398063c0]: Time taken is 337.58ms (0.337s)
ScriptServer started on 0.0.0.0 (3663)
QWidget::setWindowModified: The window title does not contain a '[*]' placeholder
[Build 6 banks for 1 platforms]: Time started
[Gather file stats in /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Assets]: Time started
[Gather file stats in /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Assets]: Time taken is 4.34ms (0.004s)
[Dynamic load]: Time started
Objects loaded: 549
[Finalize loading]: Time started
[Finalize loading]: Time taken is 42.14ms (0.042s)
[Object Decoder]: Total time is 28.12ms (0.028s)
[I/O Bound]: Total time is 1.13ms (0.001s)
[Dynamic load]: Time taken is 101.49ms (0.101s)
[Build bank "Ambiences"]: Time started
[Write /home/gael/code/art/geofictions/geofiction-proto01-unity/FMODStudio/Geofictions/Build/Desktop/Ambiences.bank to file]: Time started
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
fmod_output_pulseaudio.cpp(181), PulseAudio_StreamUnderflowCallback(): Buffer underrun detected in PulseAudio. Current block Count = 4
fmod_output_pulseaudio.cpp(181), PulseAudio_StreamUnderflowCallback(): Buffer underrun detected in PulseAudio. Current block Count = 5
Killed

Thanks for the additional logs.

I suspect the issue is being caused by corrupted files, like you suggested, but it’s difficult to diagnose from just the logs. Could I get you to upload your Studio project, making sure you include all the assets assigned to the ambience bank, to the uploads section your FMOD User Profile for me to take a closer look at?

It’s also possible that source control may be interfering with files on disk in some way, e.g. locking files that are being written to, or writing to files/directories that should be excluded. Have the directories/files noted in our documentation on using source control with Studio been excluded/ignored?

In case that’s any help, I tried to repair the ogg files from the ambience folders as well as replacing them with wav or mp3 with no success.
We’re using git with git-lfs as version control, the FMOD Studio directory is at the root of or repo next to the unity project. The directories noted in documentation should have been excluded I think, although I initially forgot .cache, .user and .unsaved.
I included our gitignore to the upload so you can check for yourself.

Apologies for the delayed response.

After a bunch of testing on my end, I unfortunately haven’t been able to reproduce the issue you’re experiencing. The corrupt metadata file is benign, as it’s not being referenced anywhere else in the project, but it does point to there likely being some issue with how git-lfs is interacting with the local copy of the Studio project’s files.

Besides doing a completely fresh pull of the remote copy, I’d recommend doing the following and seeing whether they make any difference:

  • Ensure no files or directories are being erroneously locked by git, or have any weirdness with their R/W permissions, especially on existing built banks, assets, or the .cache directory
  • Completely delete any existing banks and try rebuilding them
  • Relocate the built bank and/or asset directories from where they’re currently located (in Edit → Preferences → Build/Assets respectively)
  • Relocate the entire Studio project

As an aside, I don’t seem to have your gitignore in the project upload, so if you could provide it or the relevant parts of it here, that’d be great.

Hi again,

Thank you for your suggestions, I tried it all suggestions but none of it worked.
I checked all assets files with lsof in case some were locked but it looks fine.

It turns out, I get the same issue when building banks from the fmod example project.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[Initialize Sound System 0x0000000028fe7a20]: Time started
[Initialize Sound System 0x0000000028fe7a20]: Time taken is 16.50ms (0.016s)
[Uninitialize Sound System 0x0000000028fe7a20]: Time started
[Uninitialize Sound System 0x0000000028fe7a20]: Time taken is 48.75ms (0.048s)
[Initialize Sound System 0x0000000028fe7a20]: Time started
[Initialize Sound System 0x0000000028fe7a20]: Time taken is 35.79ms (0.035s)
ScriptServer started on 0.0.0.0 (3663)
[Initialize Sound System 0x0000000029f9e4c0]: Time started
[Initialize Sound System 0x0000000029f9e4c0]: Time taken is 17.96ms (0.017s)
[Total Load /home/gael/.local/share/fmod-studio/2.02.26/examples/Examples.fspro 0x0000000029f4fbe0]: Time started
[Opening /home/gael/.local/share/fmod-studio/2.02.26/examples/Examples.fspro 0x0000000029f4fbe0]: Time started
[Create mappers]: Time started
[Create mappers]: Time taken is 0.95ms (0.000s)
[Total preload]: Time started
[Preload mappers]: Time started
Objects loaded: 680
[Object Decoder]: Total time is 13.83ms (0.013s)
[I/O Bound]: Total time is 6.05ms (0.006s)
[Preload mappers]: Time taken is 20.11ms (0.020s)
[Hookup relationships]: Time started
[Hookup relationships]: Time taken is 19.65ms (0.019s)
[Sort relationships]: Time started
[Sort relationships]: Time taken is 4.01ms (0.004s)
[Finalize loading]: Time started
[Uninitialize Sound System 0x0000000029f9e4c0]: Time started
[Uninitialize Sound System 0x0000000029f9e4c0]: Time taken is 8.65ms (0.008s)
[Initialize Sound System 0x0000000029f9e4c0]: Time started
[Initialize Sound System 0x0000000029f9e4c0]: Time taken is 14.48ms (0.014s)
[Finalize loading]: Time taken is 38.47ms (0.038s)
[Total preload]: Time taken is 82.48ms (0.082s)
[Resync auditioning /home/gael/.local/share/fmod-studio/2.02.26/examples/Examples.fspro 0x0000000029f4fbe0]: Time started
[Resync Auditioning Queue 0x0000000029f9e4c0]: Time started
Resyncing (build: 109, delete: 0, mute: 0)
[Resync Auditioning Queue 0x0000000029f9e4c0]: Time taken is 7.75ms (0.007s)
[Resync auditioning /home/gael/.local/share/fmod-studio/2.02.26/examples/Examples.fspro 0x0000000029f4fbe0]: Time taken is 7.81ms (0.007s)
[Opening /home/gael/.local/share/fmod-studio/2.02.26/examples/Examples.fspro 0x0000000029f4fbe0]: Time taken is 94.78ms (0.094s)
[Total Load /home/gael/.local/share/fmod-studio/2.02.26/examples/Examples.fspro 0x0000000029f4fbe0]: Time taken is 99.24ms (0.099s)
QWidget::setWindowModified: The window title does not contain a '[*]' placeholder
[Obliterate workspace]: Time started
[Obliterate workspace]: Time taken is 0.54ms (0.000s)
[Uninitialize Sound System 0x0000000028fe7a20]: Time started
[Uninitialize Sound System 0x0000000028fe7a20]: Time taken is 24.19ms (0.024s)
[Build 6 banks for 1 platforms]: Time started
[Gather file stats in /home/gael/.local/share/fmod-studio/2.02.26/examples/Assets]: Time started
[Gather file stats in /home/gael/.local/share/fmod-studio/2.02.26/examples/Assets]: Time taken is 3.20ms (0.003s)
[Dynamic load]: Time started
Objects loaded: 351
[Finalize loading]: Time started
[Finalize loading]: Time taken is 9.46ms (0.009s)
[Object Decoder]: Total time is 15.12ms (0.015s)
[I/O Bound]: Total time is 0.92ms (0.000s)
[Dynamic load]: Time taken is 34.14ms (0.034s)
[Build bank "Music"]: Time started
[Write /home/gael/.local/share/fmod-studio/2.02.26/examples/Build/Desktop/Music.bank to file]: Time started
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(45) : FSBank error (7) : An operating system based file error was encountered.
fmod_output_pulseaudio.cpp(181), PulseAudio_StreamUnderflowCallback(): Buffer underrun detected in PulseAudio. Current block Count = 4
../../src/fsbank_file_disk.cpp(26) : FSBank error (7) : An operating system based file error was encountered.
../../src/fsbank_file_disk.cpp(26) : FSBank error (7) : An operating system based file error was encountered.
Killed

Edit: I upgraded to Ubuntu 24.10, the problem is still there

Given that none of my previous suggestions appeared to resolve the issue, it’s worth testing the lower-level functionality behind the bank building process to see whether the issue reproduces outside of Studio.

The problem line of code appears to just be making a call into fread from stdio.h, so could I get you to compile and run the following code from the “Reading from a Binary File” example from this page and see whether you run into any issues?

// C Program to Read from a 
// binary file using fread()
#include <stdio.h>
#include <stdlib.h>
struct Num 
{
    int n1, n2;
};

// Driver code
int main()
{
  int n;
  struct Num obj;
  FILE* fptr;
  if ((fptr = fopen("temp.bin", "rb")) == NULL) 
  {
    printf("Error! opening file");
        
    // If file pointer will return NULL
    // Program will exit.
    exit(1);
  }
    
  // else it will return a pointer 
  // to the file.
  for (n = 1; n < 10; ++n) 
  {
    fread(&obj, sizeof(struct Num), 1, fptr);
    printf("n1: %d\tn2: %d\n", obj.n1, obj.n2);
  }
  
  fclose(fptr);
  return 0;
}

As expected it fails with Error! opening file because temp.bin doesn’t exist.
If I write it first, the file is read properly.

I used the code you linked:

// C program to write to a
// binary file
#include <stdio.h>
#include <stdlib.h>

// Struct declared
struct Num {
    int n1, n2;
};

// Driver code
int main()
{
      // variables declared
    int n;
    struct Num obj;
  
      // File Pointers declared
    FILE* fptr;
  
      // Failure Condition
    if ((fptr = fopen("temp.bin", "wb")) == NULL) {
        printf("Error! opening file");

        // if file pointer returns NULL program
        // will exit
        exit(1);
    }

      
    for (n = 1; n < 10; n++) {
        obj.n1 = n;
        obj.n2 = 12 + n;
      
      // Data written 
        fwrite(&obj, sizeof(struct Num), 1, fptr);
    }

      // File closed
    fclose(fptr);

    printf("Data in written in Binary File\n\n");

    return 0;
}

Thanks for testing - that likely rules out any dependency problems.

A few followup questions:

  • Was the FMOD Studio example project you were able to reproduce the issue with also checked into git?
  • You mentioned that the issue is present on 2.02.22 to 2.02.26 - does the issue not occur on 2.02.21? If it still does, can I get you to test which prior version of Studio, if any, it doesn’t occur in?
  • Can I get you to try building an FSB with some audio files using the standalone FMOD Soundbank Generator tool and see whether you run into any errors? The tool is the “fsbank” executable in the “bin” directory of the FMOD Engine installer