Skip to content

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

Description

@MisaLiu

描述这个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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions