Closed NextAlone closed 1 year ago
在 archlinux 下,存在相同的问题。
终端下首次启动的日志如下:
➜ ~ bilibili
get isPackaged true
get isPackaged true
18:35:17.589 (AppIndex) › Starting...
get isPackaged false
18:35:17.596 (AppIndex) › Deep link url:
get isPackaged true
18:35:17.658 (AppIndex) › Creating new instance!
(node:11868) UnhandledPromiseRejectionWarning: FetchError: request to http://localhost:3032/restart failed, reason: connect ECONNREFUSED 127.0.0.1:3032
at ClientRequest.<anonymous> (/usr/share/bilibili/bilibili.asar/node_modules/node-fetch/lib/index.js:1505:11)
at ClientRequest.emit (node:events:390:28)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:11868) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[11904:0429/183517.730254:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
^C%
确实有,但是不好复现。。。
确实有,但是不好复现。。。
v1.10.1 版本中此问题似乎已经修复。
确实有,但是不好复现。。。
v1.10.1 版本依旧存在此问题。看起来是一个本地的服务没起来,导致获取不到数据。
get isPackaged true
get isPackaged true
23:24:56.195 (AppIndex) › Starting...
get isPackaged false
23:24:56.199 (AppIndex) › Process args ["/usr/lib/electron17/electron","/usr/share/bilibili/bilibili.asar"]
(electron:16641): Gtk-WARNING **: 23:24:56.251: Theme parsing error: gtk.css:4287:35: '-2px' is not a valid color name
(electron:16641): Gtk-WARNING **: 23:24:56.251: Theme parsing error: gtk.css:4291:35: '-1px' is not a valid color name
get isPackaged true
23:24:56.348 (AppIndex) › Creating new instance!
(node:16641) UnhandledPromiseRejectionWarning: FetchError: request to http://localhost:3032/restart failed, reason: connect ECONNREFUSED 127.0.0.1:3032
at ClientRequest.<anonymous> (/usr/share/bilibili/bilibili.asar/node_modules/node-fetch/lib/index.js:1505:11)
at ClientRequest.emit (node:events:390:28)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:16641) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[16680:0525/232456.482419:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
已定位问题点
在配置文件 ~/.config/bilibili/.runtime
中
如果启动前 localServer
长度非0,启动就会失败。
应该是关闭程序的时候会出现概率性 localServer
没有正确清空。
已处理
已处理
我这边可以用1.10.1-4复测是吧
每次首次打开时, 无法启动, 需二次启动才可以
命令行输出
进程信息
系统信息
包版本信息