librespeed / speedtest-go

Go backend for LibreSpeed
GNU Lesser General Public License v3.0
700 stars 152 forks source link

Segfault on RHEL 9.1 #59

Open nwmcsween opened 1 year ago

nwmcsween commented 1 year ago

Description

Untaring the 1.1.5 release and running ./speedtest-backend results in a Segmentation Fault with error code 15 in dmesg on RHEL 9.1.

Server

RHEL 9.1 default install

Client

N/A

Steps to reproduce

Expected behaviour

No Segmentation Fault

Screenshots

segfault at 7f72f309f7bf ip 00007f72f309f7bf sp 00007ffcc8d19990 error 15 in speedtest-backend[7f72f2c12000+48e000]

digitalsparky commented 2 months ago

I had this exact error, turns out that it was working fine when when i was executing manually but not through systemd, after changing the listening port to something different...

After removing some of the restrictions on the systemd service I'm able to get it running.

I recommend checking selinux, enabling the ability to listen on a privileged port, or listen on a port above 1023, then proxy to your speedtest.