-
Notifications
You must be signed in to change notification settings - Fork 104
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
After updating from 4.6.3 (2.0.9) to 4.6.3 (2.0.10) or 4.6.4 (2.0.10), all completed tasks disappeared. #141
Comments
Please refer to below linked issue |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Edit: This is the main answer you need if you come across this issue, the other comments are noisy. The thread was trimmed down/hidden to be more directly helpful to future readers. This stuff is all above my paygrade. As said to discuss technical aspects you need to use one of their communication channels, like mailing lists. As far as I understand it it's not the fallback failing but rather the kernel appearing to support statx because it is using the expected syscall for something else so returning some nonsense when used, evidenced via strace. So I have some options to consider. 1: Very kindly, I was provided a patch to disable these newer calls on older devices by the applications https://sprunge.us/Hzz1iT but I'll still have to work out how to best implement it. /*
* fix for broken synology-kernel NAS devices that stole a bunch of syscall
* numbers for their own MSDOS emulation purposes. link into application
* to block SYS_statx and all newer/later syscalls with seccomp. */
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <errno.h>
#include <sys/prctl.h>
#include <linux/seccomp.h>
#include <linux/filter.h>
__attribute__((__constructor__))
static void fix_synology(void)
{
struct sock_filter filter[4];
struct sock_fprog prog = {
.len = sizeof filter / sizeof *filter,
.filter = filter,
};
filter[0] = (struct sock_filter)BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr));
filter[1] = (struct sock_filter)BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, SYS_statx, 0, 1);
filter[2] = (struct sock_filter)BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ERRNO|ENOSYS);
filter[3] = (struct sock_filter)BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW);
prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
if (syscall(SYS_seccomp, SECCOMP_SET_MODE_FILTER, 0, &prog)) abort();
} 2: build using older musl before v1.2.5. But as of right now, this is an upstream issue I cannot fix directly, all I can do it work around it. |
Please also remember the glibc version failed as well. This is not a musl specific issue. |
I will provide this information to Asus NAS engineer as well to investigate their kernel, thank you for the explanation. |
I am closing this as an issue as it's not an issue here and if there will be a solution I will introduce it via a separate repo. |
There are a lot of errors opening categories.json and fastresume files when using Libtorrent 2.0.10
Below nox has errors
https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.6.3_v2.0.10/aarch64-qbittorrent-nox
Below nox has no error
https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.6.3_v2.0.9/aarch64-qbittorrent-nox
The text was updated successfully, but these errors were encountered: