XX-net / XX-Net

A proxy tool to bypass GFW.
33.05k stars 7.69k forks source link

新版3.13.1经常SegmentFault #12170

Closed JakkuSakura closed 5 years ago

JakkuSakura commented 5 years ago

如题,最近间隔几个小时就会segmentfault一次,重启程序可以正常使用。出错前无征兆,出错无日志。

System info

XX-Net Status:

sys-platform: x86_64, Linux-4.19.16-1-MANJARO-x86_64-with-glibc2.2.5
os-system: Linux
os-version: #1 SMP PREEMPT Fri Jan 18 17:03:05 UTC 2019
os-release: 4.19.16-1-MANJARO
os-detail: Dist:; Version:; ID:
architecture: 64bit,
browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
xxnet-version: 3.13.1
python-version: 2.7.15
openssl-version: 18.0.0 TLSv1_2 h2:alpn
lan-proxy: Disable
use-ipv6: force_ipv6
gws-ip-num: total:100 ipv4:0 ipv6:26
ipv4-status: OK
ipv6-status: OK
connected-link: new:6
worker: h1:0 h2:5
scan-ip-thread-num: 10
ip-quality: 2031
is-idle: 0
proxy_state: OK
ca_state: OK
Appid_Working: true
Appids_Out_Of_Quota: false
Appids_Not_Exist: false
Using_Public_Appid: false

错误相关日志

2019-01-26 17:44:10.524 [gae_proxy][DEBUG] GAE GET https://www.google.com/complete/search?q=%E6%89%98%E7%A6%8F%20xian&cp=3&client=psy-ab&xssi=t&gs_ri=gws-wiz&hl=en&authuser=0&pq=%E6%96%B0%E4%B8%9C%E6%96%B9&psi=NilMXKO4MpLljwTQ9Kb4Bg.1548495177615&newwindow=1&ei=NilMXKO4MpLljwTQ9Kb4Bg from:127.0.0.1:52630
2019-01-26 17:44:10.995 [gae_proxy][DEBUG] GAE GET https://www.google.com/complete/search?q=%E6%89%98%E7%A6%8F%20xians&cp=3&client=psy-ab&xssi=t&gs_ri=gws-wiz&hl=en&authuser=0&pq=%E6%96%B0%E4%B8%9C%E6%96%B9&psi=NilMXKO4MpLljwTQ9Kb4Bg.1548495177615&newwindow=1&ei=NilMXKO4MpLljwTQ9Kb4Bg from:127.0.0.1:52628
2019-01-26 17:44:11.155 [gae_proxy][DEBUG] create_ssl update ip:2a00:1450:4005:80a::2014 time:5728 h2:1 sni:None, host:chrome2-1239.appspot.com
/opt/XX-net/start: line 55:  4739 Segmentation fault      (core dumped) ${PYTHON} code/${VERSION}/launcher/start.py $@

2019-01-26 20:01:57.740 [gae_proxy][INFO] GAE t:1622 s:0 GET https://adservice.google.com/adsid/google/ui 0:start_request,0:get_task(0),0:get_worker(0):2a00:1450:4013:c01::99,0:h2_req,0:start send header,0:start send left body,0:end send left body,1618:h2_get_head,0:get_response,2:h2_finish[SP:140832],:0
/opt/XX-net/start: line 55: 17501 Segmentation fault      (core dumped) ${PYTHON} code/${VERSION}/launcher/start.py $@
SeaHOH commented 5 years ago

尝试不同的 openssl 或 pyopenssl/cryptography 版本,怀疑有 bug。