Code Monkey home page Code Monkey logo

Comments (10)

arm64v8a avatar arm64v8a commented on July 29, 2024 1

已知问题,需要帮助。关联 #28

nekoray/ui/mainwindow.cpp

Lines 384 to 387 in b0157ce

connect(core_process, &QProcess::readyReadStandardOutput, this,
[=]() {
showLog(core_process->readAllStandardOutput().trimmed());
});

readAllStandardOutput 在某些特殊情况(如睡眠,core出错退出)有概率崩溃。Linux 偶尔也崩溃。

image

from nekoray.

arm64v8a avatar arm64v8a commented on July 29, 2024

重构了一下,试试 https://github.com/MatsuriDayo/nekoray/releases/tag/1.7

from nekoray.

 avatar commented on July 29, 2024

1.7版睡眠恢复后不再崩溃,但仍然无法正常使用,显示
[Error] nekoray_core crashed, please restart the program.
重新选择节点后显示

>>>>>>>> Stopping profile  **********************
>>>>>>>> Starting profile  **********************
gRPC Error: QNetworkReply::NetworkError code: -1919

gRPC Error: QNetworkReply::NetworkError code: -1919

from nekoray.

arm64v8a avatar arm64v8a commented on July 29, 2024

看来确实是睡眠时core退出了。继续重构,完善重连机制。

from nekoray.

arm64v8a avatar arm64v8a commented on July 29, 2024

@interestingdarkness 再试试1.8版本

from nekoray.

 avatar commented on July 29, 2024

1.8版本睡眠恢复后显示
[Error] nekoray_core exited, restarting.
无法上网,重新选择节点后可以上网

from nekoray.

arm64v8a avatar arm64v8a commented on July 29, 2024

可以了,目前core退出重启后不会自动启动配置(因为有可能是出错退出),需要手动选择。相关判断以后再完善。

from nekoray.

 avatar commented on July 29, 2024

core睡眠后会退出也需要修复

from nekoray.

arm64v8a avatar arm64v8a commented on July 29, 2024
  • 修复 readAllStandardOutput 造成的崩溃
  • core 自动重启
  • 处理睡眠状态

from nekoray.

 avatar commented on July 29, 2024

2.5版本似乎解决了这个问题,macos测试通过

from nekoray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.