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-console版本至2.13.2之后 启用插件时报错 #172

Closed
Hellobaka opened this issue Dec 21, 2022 · 10 comments · Fixed by #173
Closed

更新mirai-console版本至2.13.2之后 启用插件时报错 #172

Hellobaka opened this issue Dec 21, 2022 · 10 comments · Fixed by #173
Labels
bug Something isn't working

Comments

@Hellobaka
Copy link
Contributor

Hellobaka commented Dec 21, 2022

描述这个Bug
更新mirai-console版本至2.13.2之后 启用插件时报错

复现步骤

  1. 启动mcl
  2. 启用插件时报错

期望的行为
正常加载

截图和日志

2022-12-21 16:18:27 I/Bot.30*****057: Login successful.
2022-12-21 16:18:27 V/Bot.30*****057: Event: BotOnlineEvent(bot=Bot(30*****057))
2022-12-21 16:18:27 I/MiraiNative: Mirai Native 正启用所有插件。
2022-12-21 16:18:27 I/Bot.30*****057: Bot login successful.
2022-12-21 16:18:27 I/main: mirai-console started successfully.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7ade67b6, pid=33012, tid=44288
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
# Java VM: OpenJDK Client VM AdoptOpenJDK (11.0.8+10, mixed mode, serial gc, windows-x86)
# Problematic frame:
# V  [jvm.dll+0x867b6]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# E:\QQBot\mirai\hs_err_pid33012.log
> #
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
#

运行环境

  • 操作系统:Windows11 22H2
  • mirai core 版本:2.13.2
  • mirai console 版本:2.13.2
  • mirai native 版本:2.0.1
  • Java 运行时版本:11.0.8 x86

更多信息
完整日志见附件
hs_err_pid43952.log

@Hellobaka Hellobaka added the bug Something isn't working label Dec 21, 2022
@cssxsh
Copy link
Contributor

cssxsh commented Dec 22, 2022

请给出具体安装了什么 酷Q插件
不然无法复现

@502milk
Copy link

502milk commented Dec 22, 2022

同样问题+1(已经换过java版本无解
bilibili V2.6.0.zip
在不装酷Q插件的时候能正常跑
只要载入酷Q插件必崩

@Hellobaka
Copy link
Contributor Author

Hellobaka commented Dec 22, 2022

请给出具体安装了什么 酷Q插件 不然无法复现

任意插件均会导致报错 我提供一个样本插件以供研究 此插件无需依赖且在2.13.0版本上可以正常加载
cn.izoyo.manager.zip

@cssxsh
Copy link
Contributor

cssxsh commented Dec 22, 2022

0add0a2

原因大概是 这个更新中对 CQP 进行了重新编译,也许那次编译出了什么问题

#167 (comment)

可以试试看我之前编译的版本

@PeratX
Copy link
Member

PeratX commented Dec 22, 2022

是不是因为我加了个upx壳的原因

@PeratX
Copy link
Member

PeratX commented Dec 22, 2022

你用UPX unpack一下试试看

@Hellobaka
Copy link
Contributor Author

脱壳之后尺寸变为111KB,不过依旧会报错呢

@dragon0629
Copy link

也遇到了,确实 2.13.2 加载酷q插件必挂
但回退2.13.0 一切正常

@zxin8580
Copy link
Contributor

也遇到了,确实 2.13.2 加载酷q插件必挂 但回退2.13.0 一切正常

22年8月之前commit的版本可在2.13.2正常加载,先退回旧版试试

@dragon0629
Copy link

?之前的版本不是2.13就不支持了嘛

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

Successfully merging a pull request may close this issue.

6 participants