LMMS / lmms

Cross-platform music production software
https://lmms.io
GNU General Public License v2.0
7.97k stars 994 forks source link

Carla crashes when load Surge XT #7457

Open 901D3 opened 3 weeks ago

901D3 commented 3 weeks ago

System Information

Windows 10 Pro 22H2 19045.4651

LMMS Version(s)

1.3.0-alpha.1.681+gbda1a9c37

Most Recent Working Version

1.3.0-alpha.1.681+gbda1a9c37

Bug Summary

Carla Patchbay or Rack crashes when load Surge XT VST3 while load other VST3 still normal

https://github.com/user-attachments/assets/58108b64-e105-44a4-8ac3-5ba8bf80fd09

Expected Behaviour

Carla should load it normally with no problem

Steps To Reproduce

Load Surge XT(synthersizer) VST3 to Carla Rack or Patchbay

Logs

Click to expand
[carla] Trying to start carla-plugin using "D:/Carla/resources\carla-plugin.exe"
Carla 2.5.8 started, status:
  Python version: 3.8.7
  Qt version:     5.12.12
  PyQt version:   5.13.1
  Binary dir:     D:\Carla
  Resources dir:  D:\Carla\resources
Frontend pixel ratio is 1.0
[carla] WriteFileWin32 failed, error was: 232
CarlaPipeCommon::_writeMsgBuffer(..., 13) - failed with -1 (true), message was:
runtime-info
[carla] Carla assertion failure: "fUiServer.writeMessage("runtime-info\n")" in file CarlaEngineNative.cpp, line 1440
[carla] WriteFileWin32 failed, error was: 232

Screenshots / Minimum Reproducible Project

No response

Please search the issue tracker for existing bug reports before submitting your own.

michaelgregorius commented 3 weeks ago
[carla] Trying to start carla-plugin using "D:/Carla/resources\carla-plugin.exe"
Carla 2.5.8 started, status:
  Python version: 3.8.7
  Qt version:     5.12.12
  PyQt version:   5.13.1
  Binary dir:     D:\Carla
  Resources dir:  D:\Carla\resources
Frontend pixel ratio is 1.0
[carla] WriteFileWin32 failed, error was: 232
CarlaPipeCommon::_writeMsgBuffer(..., 13) - failed with -1 (true), message was:
runtime-info
[carla] Carla assertion failure: "fUiServer.writeMessage("runtime-info\n")" in file CarlaEngineNative.cpp, line 1440
[carla] WriteFileWin32 failed, error was: 232

Error 232 means that a pipe is (being) closed: https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-

So it seems that Carla tries to communicate via a pipe with some external process (?) which does not work because the pipe is closed.