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

在加载插件的情况下使用命令停止 Mirai 会导致 JVM 崩溃 #154

Open
MisaLiu opened this issue Nov 17, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@MisaLiu
Copy link

MisaLiu commented Nov 17, 2021

描述这个Bug
当在 Mirai Console 中使用 exit 指令退出 Mirai 或是在 Mirai Native 中禁用插件时会导致 JVM 报错并崩溃。

复现步骤

  1. 在 Mirai 中安装 Mirai Console 和 Mirai Native
  2. 在 Mirai Native 中载入并启用一个 CQ 插件
  3. 在 Mirai Native 中停用启用的 CQ 插件或是在 Mirai Console 中使用 exit 指令退出 Mirai。此时 JVM 会报错并崩溃。

期望的行为
Mirai Native 应当正确地调用 CQ 插件的禁用方法。

截图和日志
hs_err_pid7104.log

运行环境

  • 操作系统:Windows Server 2016
  • mirai core 版本:2.8.0
  • mirai console 版本:2.8.0
  • mirai native 版本:2.0.0-beta.1
  • Java 运行时版本:11.0.8 32-Bit

更多信息
如有需要可尽量补充。

@MisaLiu MisaLiu added the bug Something isn't working label Nov 17, 2021
@MisaLiu MisaLiu changed the title 在加载插件的情况下使用命令停止 Mirai 会导致 OpenJDK 崩溃 在加载插件的情况下使用命令停止 Mirai 会导致 JVM 崩溃 Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant