-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inv_sig_helper sometimes deadlocks or crashes due to malloc corruption #12
Comments
Thank you for stress-testing my program like this. I'll see how I can fix it |
I don't actually know what's causing either the deadlock or the malloc header corruption, there isn't much for me to go off of. |
Hmmm. I don't have a coredump (don't know how to get one). It's been ~6 hours since I restarted the service, and it's stable for now. Let's wait for now. If it happens again I will run the unstripped binary and see if I can get a coredump. |
@delgh1 can you run |
log1.gz |
I encountered similar situation after hours/several thousands of decryption , the TCP server become non responsive, I had to restart the server. |
recaps from matrix: statically linked binaries seem to work without this issue. build-deps on debian: libssl-dev, pkgconf, libzstd-dev, cargo ( >= 1.77 ) | rustup
|
Nope, spoke too soon. Using the static build can only reduce the frequency sig helper crashed. |
Also observed a segfault on both amd64 and arm64, but no rust backtrace output even though
on arm64 it was killed twice by 11 SIGSEGV and once by 7 SIGBUS |
new core dump: x86_64: Note: when gdb detached the process, inv_sig_helper output these lines and the process died:
aarch64: Note: errh, looking at the size of the binary, I think I built it with
|
aarch64: SIGABRT after two minutes
|
After running for a few hours, it stops printing out logs and cause invidious "502 gateway timeout" when loading the video page. Loading things like trending, popular, thumbnails seems to be fine.
If I grep "Started" in the log, there was also a restart before:
log1.gz
log2.gz
It's built using rustc 1.80 and stripped:
systemd unit
/etc/systemd/system/inv_sig_helper.service
:The setup is all manual in a LXC container, running 5 invidious processes behind nginx.
invidious config:
nginx error log, just one line for example:
The text was updated successfully, but these errors were encountered: