fmod-gdextension icon indicating copy to clipboard operation
fmod-gdextension copied to clipboard

Crashes when exported for linux on CI

Open Zephilinox opened this issue 4 months ago • 2 comments

Using Github CI

Operating System
  Ubuntu
  22.04.5
  LTS
Runner Image
  Image: ubuntu-22.04
  Version: 20250825.1.0
  Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20250825.1/images/ubuntu/Ubuntu2204-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20250825.1

the export + error:

🖥️ Exporting preset linux_release
  /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64 /home/runner/work/ProjectTemplate/ProjectTemplate/src/project.godot --headless --export-debug linux_release /home/runner/.local/share/godot/builds/linux_release/linux_release.x86_64
  Godot Engine v4.4.1.stable.official.49a5bc7b6 - https://godotengine.org/
  
  [LOG] system_create                            : Header version = 2.03.06. Current version = 2.03.06.
  [LOG] SystemI::setAdvancedSettings             : mAdvancedSettings.cbSize                   = 104
  [LOG] SystemI::setAdvancedSettings             : mAdvancedSettings.defaultDecodeBufferSize  = 400
  [LOG] SystemI::setAdvancedSettings             : mAdvancedSettings.distanceFilterCenterFreq = 1500.000000
  [LOG] SystemI::setAdvancedSettings             : mAdvancedSettings.DSPBufferPoolSize        = 8
  [LOG] SystemI::setAdvancedSettings             : mAdvancedSettings.resamplerMethod          = 2
  [LOG] SystemI::setAdvancedSettings             : mAdvancedSettings.randomSeed               = 1756403801
  [LOG] SystemI::setAdvancedSettings             : mAdvancedSettings.maxConvolutionThreads    = 3
  [LOG] Manager::init                            : maxchannels = 1024 studioflags = 00000000 flags 00000004 extradriverdata (nil).
  [LOG] FMOD_OS_Library_Load                     : dlopen failed to open 'libpulse.so.0', dlerror = libpulse.so.0: cannot open shared object file: No such file or directory
  [LOG] SystemI::init                            : Initialize version=20306 (149358), maxchannels=1024, flags=0x00020004
  [LOG] FMOD_OS_Library_Load                     : dlopen failed to open 'libpulse.so.0', dlerror = libpulse.so.0: cannot open shared object file: No such file or directory
  [LOG] SystemI::setOutputInternal               : Setting output to 'FMOD ALSA Output'
  [LOG] OutputALSA::registerLib                  : Loaded ALSA version 1.2.6.1.
  [LOG] OutputALSA::enumerate                    : Found device NAME:null IOID:(null).
  [WRN] SystemI::init                            : No output sound devices found - switching output mode to FMOD_OUTPUTTYPE_NOSOUND
  [LOG] SystemI::setOutputInternal               : Setting output to 'FMOD NoSound Output'
  [LOG] Thread::initThread                       : Init FMOD stream thread. Affinity: 0x4000000000000003, Priority: 0xFFFF7FFB, Stack Size: 98304, Semaphore: No, Sleep Time: 10, Looping: Yes.
  [LOG] FMOD_OS_Thread_Callback                  : Cannot set real-time thread priorities due to insufficient privileges
  [LOG] SystemI::DSPCodecPoolRegister            : register codec pool for pool type 0
  [LOG] Thread::initThread                       : Init FMOD mixer thread. Affinity: 0x4000000000000001, Priority: 0xFFFF7FFA, Stack Size: 81920, Semaphore: No, Sleep Time: 0, Looping: Yes.
  [LOG] FMOD_OS_Thread_Callback                  : Cannot set real-time thread priorities due to insufficient privileges
  [LOG] AsyncManager::init                       : manager 0x31b740e8 isAsync 1 updatePeriod 0.02
  [LOG] Thread::initThread                       : Init FMOD Studio update thread. Affinity: 0x4000000000000002, Priority: 0xFFFF7FFD, Stack Size: 98304, Semaphore: No, Sleep Time: 1, Looping: No.
  [LOG] FMOD_OS_Thread_Callback                  : Cannot set real-time thread priorities due to insufficient privileges
  [LOG] AsyncManager::init                       : done
  [LOG] PlaybackSystem::init                     : 
  [LOG] Thread::initThread                       : Init FMOD Studio sample load thread. Affinity: 0x4000000000000003, Priority: 0xFFFF7FFD, Stack Size: 98304, Semaphore: No, Sleep Time: 1, Looping: No.
  [LOG] FMOD_OS_Thread_Callback                  : Cannot set real-time thread priorities due to insufficient privileges
  [LOG] PlaybackSystem::init                     : done
  [LOG] Thread::initThread                       : Init FMOD Studio bank load thread. Affinity: 0x4000000000000003, Priority: 0xFFFF7FFD, Stack Size: 98304, Semaphore: No, Sleep Time: 1, Looping: No.
  [LOG] FMOD_OS_Thread_Callback                  : Cannot set real-time thread priorities due to insufficient privileges
  [LOG] Manager::init                            : done.
  FMOD Sound System: Successfully initialized
  first_scan_filesystem: begin: Project initialization steps: 5
  	first_scan_filesystem: step 0: Scanning file structure...
  	first_scan_filesystem: step 1: Loading global class names...
  	first_scan_filesystem: step 2: Verifying GDExtensions...
  	first_scan_filesystem: step 3: Creating autoload scripts...
  	first_scan_filesystem: step 4: Initializing plugins...
  [LOG] BankLoader::serializeBank                : fileversion = 146, compatVersion = 146 (oldest = 44, newest = 146)
  [LOG] BankLoader::serializeBank                : fileversion = 146, compatVersion = 146 (oldest = 44, newest = 146)
  [LOG] PlaybackSystem::acquireMasterBus         : Setting master channel group format to 6
  [LOG] BankLoader::serializeBank                : fileversion = 146, compatVersion = 146 (oldest = 44, newest = 146)
  	first_scan_filesystem: step 5: Starting file scan...
  first_scan_filesystem: end
  
  ================================================================
  handle_crash: Program crashed with signal 11
  Engine version: Godot Engine v4.4.1.stable.official (49a5bc7b616bd04689a2c89e89bda41f50241464)
  Dumping the backtrace. Please include this when reporting the bug to the project developer.
  [1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f955f042520] (??:0)
  [2] /home/runner/work/ProjectTemplate/ProjectTemplate/src/addons/fmod/libs/linux/libGodotFmod.linux.editor.x86_64.so(+0x104f67) [0x7f9559304f67] (??:0)
  [3] /home/runner/work/ProjectTemplate/ProjectTemplate/src/addons/fmod/libs/linux/libGodotFmod.linux.editor.x86_64.so(+0x7d4a8) [0x7f955927d4a8] (??:0)
  [4] /home/runner/work/ProjectTemplate/ProjectTemplate/src/addons/fmod/libs/linux/libGodotFmod.linux.editor.x86_64.so(+0x7d6fa) [0x7f955927d6fa] (??:0)
  [5] /home/runner/work/ProjectTemplate/ProjectTemplate/src/addons/fmod/libs/linux/libGodotFmod.linux.editor.x86_64.so(+0x7db9b) [0x7f955927db9b] (??:0)
  [6] /home/runner/work/ProjectTemplate/ProjectTemplate/src/addons/fmod/libs/linux/libGodotFmod.linux.editor.x86_64.so(+0x624ec) [0x7f95592624ec] (??:0)
  [7] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x1ba35b1] (??:0)
  [8] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x26299c7] (??:0)
  [9] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x237c0c6] (??:0)
  [10] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x1904e88] (??:0)
  [11] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x47d555a] (??:0)
  [12] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x80ba73] (??:0)
  [13] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x179a49e] (??:0)
  [14] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x4745048] (??:0)
  [15] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x28ffdec] (??:0)
  [16] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x2941223] (??:0)
  [17] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x2941849] (??:0)
  [18] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x513b2d] (??:0)
  [19] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x41e7b2] (??:0)
  [20] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f955f029d90] (??:0)
  [21] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f955f029e40] (??:0)
  [22] /home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64() [0x44297a] (??:0)
  -- END OF BACKTRACE --
  ================================================================
  Error: The process '/home/runner/.local/share/godot/godot_executable/Godot_v4.4.1-stable_linux.x86_64' failed with exit code null

Zephilinox avatar Aug 28 '25 18:08 Zephilinox

Hello ! Thanks for error reporting, can you try with new release https://github.com/utopia-rise/fmod-gdextension/releases/tag/6.0.1-4.4.0 ?

piiertho avatar Aug 31 '25 19:08 piiertho

Hi i was able to successfully export a linux and windows build with the latest Release 6.0.1 on a system running Linux Mint 22.1

violetsamber avatar Sep 16 '25 00:09 violetsamber