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

OpenJDK Plaform binary已停止工作 #107

Open
Pika-Lee opened this issue Nov 3, 2020 · 5 comments
Open

OpenJDK Plaform binary已停止工作 #107

Pika-Lee opened this issue Nov 3, 2020 · 5 comments
Labels
plugin support Migrate legacy CoolQ plugin to Mirai Native

Comments

@Pika-Lee
Copy link

Pika-Lee commented Nov 3, 2020

描述这个Bug
机器人运行一段时间后,出现“OpenJDK Plaform binary”的错误提示

复现步骤
bot运行一段时间后就会出现该问题,最近比较频繁,可能几个小时就会出现一次

期望的行为
希望遇到该错误后,能够自动重启native(或者也可以直接关闭mirai,我这边可以结合其它脚本来实现 mirai进程崩溃后自动重启),使得bot能够持续运行,而不是一直挂起在错误弹窗页面。

截图和日志
ERROR124

运行环境
操作系统:Windows Server 2016
mirai core 版本:1.3.1
mirai console 版本:1.0-RC-dev-29
mirai native 版本:1.9.3
Java 运行时版本:1.8.0 252

更多信息
如果有其他相关的信息可以填写在此处。

@Pika-Lee Pika-Lee added the bug Something isn't working label Nov 3, 2020
@PeratX
Copy link
Member

PeratX commented Nov 3, 2020

请尝试用VS的调试器附加到进程调试,找出具体是哪个插件导致了崩溃

@PeratX PeratX added plugin support Migrate legacy CoolQ plugin to Mirai Native and removed bug Something isn't working labels Nov 3, 2020
@Pika-Lee
Copy link
Author

Pika-Lee commented Nov 4, 2020

请尝试用VS的调试器附加到进程调试,找出具体是哪个插件导致了崩溃

目前来看有不止一款插件有兼容性问题,有的是在插件运行过程中会出现(错误发生时间不定,不太好定位),而有的则在特定事件下立刻出现(比如调用menu_A窗口)

比如这个插件:https://share.weiyun.com/nQyiWRSg

打开插件设置窗口后必现“OpenJDK Plaform binary已停止工作”的错误(之前酷Q没有该问题)

@Pika-Lee
Copy link
Author

Pika-Lee commented Nov 5, 2020

回退到1.9.2后,稳定性有明显改善(目前为止未出现过截图所示的错误弹窗),因此初步判定可能和1.9.3版本有关。

@PeratX
Copy link
Member

PeratX commented Nov 24, 2020

1.9.1版本開始,mirai native就沒有什麽大變化了

@shabby2333
Copy link

我这是两天左右稳定崩溃一次
插件列表中三个Native.Framework的插件 两个易语言插件
希望这个log能对问题分析有点帮助
hs_err_pid4304.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin support Migrate legacy CoolQ plugin to Mirai Native
Projects
None yet
Development

No branches or pull requests

3 participants