Using the Builds 5728 and 5722 will crash after running the run.sh (manual as a non root user and using a self written service)
OS: Red Hat Enterprise Linux release 8.6 (Ootpa)
Latest dump (on build 5728 : feeebe6d-9cb9-4456-05dbfbbf-b0783e67.dmp (1.1 MB)
After rolling back on Build 5715 its working without any problem
Edit: If RHEL isn’t working CentOS and CentOS stream will probably don’t work either.
Same with Ubuntu and Debian I guess, I even tried running it with empty data folder or freshly downloaded data folder and empty server config to make sure it has nothing to do with my files.
5715 works.
5722, 5728, 5729, 5730, 5733 are still crashing with segmentation fault.
This is known, however you can trivially work around this by using older versions instead of getting the latest.
Nothing of note changed that should break this (given the same builds work on Windows fine) and we haven’t had much time to investigate such more deeply. However, since there’s no code changes on server at all, there’s no reason to run any of these newer versions, so the workaround is perfectly fine for now.
Note that the Linux version of FXServer is only provided as a courtesy port due to issues regarding Linux distribution compatibility and availability of diagnostic tools for native C++ code. If you’re experiencing any issues, you’re more likely to see them fixed if you use the Windows version.
It’s not a recommended platform and we aren’t able to investigate platform-specific issues easily because debugging C++ code on Linux is still a mess compared to Windows, and in this case the cause of this breakage is very unclear as this code worked before and works fine on Windows too.
Weird assumption, and likely factually wrong in this case, as closed-source code also didn’t change (only client-side code has been changed as of late), and the stack trace doesn’t mention any closed-source components. Alpine has been updating some upstream packages again, there’s likely some compiler or libstdc++ bump there that’s to blame.
Yes, but instead they have a message linking to this topic, and the same will go for any future build until the bug is actually fixed.
user@test:/tmp/fxs$ ./run.sh
- ERROR -
The Cfx.re platform server is currently not working on Linux.
Use platform version 5715 or below (or the current recommended) instead. This issue
will be fixed in the near future.
See https://forum.cfx.re/t/4881227/6 for more information and context.
Also, note that new server versions are not ‘manually uploaded’ or in any way tested before publishing, the latest version is quite literally the latest and is not guaranteed to work - this goes for any platform the server runs on.