We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
报错:
7972 <... rt_sigprocmask resumed>NULL, 8) = 0 7974 <... sched_getaffinity resumed>[0 1 2 3 4 5 6 7]) = 8 7972 futex(0x7fe95c02d4, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...> 7974 sched_setaffinity(0, 128, [0 1 2 3 4 5 6 7]) = -1 EPERM (Operation not permitted) 7974 futex(0x7fe95c02d4, FUTEX_WAKE_PRIVATE, 1) = 1 7972 <... futex resumed>) = 0 7974 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], <unfinished ...> 7972 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], <unfinished ...> 7974 <... rt_sigprocmask resumed>[RTMIN], 8) = 0 7972 <... rt_sigprocmask resumed>[RTMIN], 8) = 0 7974 rt_sigprocmask(SIG_BLOCK, ~[], <unfinished ...> 7972 futex(0x3f000c2e58, FUTEX_WAIT, 7974, NULL <unfinished ...> 7974 <... rt_sigprocmask resumed>~[KILL STOP RT_1 RT_2], 8) = 0 7974 munmap(0x7054a88000, 1585152) = 0 7974 exit(0) = ? 7974 +++ exited with 0 +++ 7972 <... futex resumed>) = 0 7972 rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 7972 writev(2, [{iov_base="", iov_len=0}, {iov_base="Failed to create CoreCLR, HRESULT: 0x8007054F", iov_len=45}], 2) = 45 7972 writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2) = 1
sched_setaffinity 函数用于设置程序使用的cpu核心,但是只有在root下可用。 但是容器的root权限关闭了之后,仍然出这个问题。
一种方案: 使用 LD_PRELOAD 功能,重写 sched_setaffinity 为空函数
参考: https://github.com/termux/termux-exec
添加内置客户端即可复现
正常运行
Failed to create CoreCLR, HRESULT: 0x8007054F
No response
0.6.0
1.4.5
红米12t hyperOS
QQ
The text was updated successfully, but these errors were encountered:
看不懂(
Sorry, something went wrong.
follow up,目前仍然存在相关情况。(issue提到的设备为本人设备)
fy0
No branches or pull requests
在提问之前...
问题描述
报错:
sched_setaffinity 函数用于设置程序使用的cpu核心,但是只有在root下可用。
但是容器的root权限关闭了之后,仍然出这个问题。
一种方案:
使用 LD_PRELOAD 功能,重写 sched_setaffinity 为空函数
参考:
https://github.com/termux/termux-exec
如何复现
添加内置客户端即可复现
你期望发生的
正常运行
实际上发生的
Failed to create CoreCLR, HRESULT: 0x8007054F
日志文件
截图
No response
App版本
0.6.0
海豹核心版本
1.4.5
设备信息
红米12t hyperOS
帐号类型
QQ
使用协议
No response
附加内容
No response
The text was updated successfully, but these errors were encountered: