Skip to content
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

toolchain/gcc切换到12后ssrp运行不正常 #12461

Open
1 task done
monsterzzzz opened this issue Sep 13, 2024 · 12 comments
Open
1 task done

toolchain/gcc切换到12后ssrp运行不正常 #12461

monsterzzzz opened this issue Sep 13, 2024 · 12 comments

Comments

@monsterzzzz
Copy link
Contributor

详细叙述

在原来的11版本下ssrp是正常的,toolchain/gcc切换到12后整体编译能够通过,但ssrp运行不正常,如果在命令行运行,会出现Segmentation fault,设置为全局SOCKS5是正常的,说明本身节点正常
推测编译出来的二进制文件有问题

重复 issue

  • 没有类似的 issue

具体型号

R68S

详细日志

root@OPR68S:~# /etc/init.d/shadowsocksr start
Segmentation fault
Segmentation fault
ssr-rules[18232]: Start failed!

@CYaNu
Copy link

CYaNu commented Sep 13, 2024

passwall2 一样段错误

@monsterzzzz
Copy link
Contributor Author

回退到切换toolchain/gcc前的commit就正常了,不知道具体是哪个环节的问题

@monsterzzzz
Copy link
Contributor Author

也有可能是toolchain/musl问题

@monsterzzzz
Copy link
Contributor Author

我回到gcc11就没问题了
cceaa09 这个commit

@CYaNu
Copy link

CYaNu commented Sep 13, 2024

reset中

@monsterzzzz
Copy link
Contributor Author

貌似找到原因了,是ipset出了问题,执行时直接报错
root@OPR68S:~# ipset
Segmentation fault

@CYaNu
Copy link

CYaNu commented Sep 13, 2024

image

@CYaNu
Copy link

CYaNu commented Sep 13, 2024

已经知道了

@monsterzzzz
Copy link
Contributor Author

换成官方源的ipset应该就可以了,多了一个patch

@qingtian110
Copy link

我 GCC 15 Snapshot 了

image

@CYaNu
Copy link

CYaNu commented Sep 14, 2024

已确认是lede的ipset版本太老所致 起码在6.6.50下有问题 更新openwrt源ipset加patch编译最新commit没问题

@WongKwongYu
Copy link

不用重新编译,登录路由器,软件包里面ipset更新到新版就行了,ssrp和passwall都正常了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants