Coder Social home page Coder Social logo

mirai-native's People

Contributors

buger404 avatar cssxsh avatar hellobaka avatar him188 avatar jiajiaxd avatar mzdluo123 avatar peratx avatar prcuvu avatar w4123 avatar zxin8580 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mirai-native's Issues

接收到消息无法正常解析换行

在聊天窗口收到换行,在控制台接收到的消息将不显示换行:
这是发送的消息:
1
这是控制台收到的消息:
2

而在插件里调用msg,换行后面的文字会被直接忽略
3

更多的测试(未被完全验证):
两个0宽字符就直接插件获取信息为空
插件似乎不能成功获取unicode字符?

1.8.2+后dice插件无法在wine中正确加载

由于一些小问题,今天把wine docker里的mirai内核升级了一下(mirai-core-qqandroid-1.1.3 → 1.2.1),顺带把mirai-native升级到了1.8.6。
在旧版本(1.8.1)下dice插件可以正常加载,但是升级到新版以后就会报126错误。尝试降级以后发现此问题在1.8.2以上版本均会发生。
因为mirai内核升级,1.8.1版本已无法在新内核下正常加载,希望可以调查一下哪里出了问题。

关于npm命令使用方法

请问npm指令如何使用加载/卸载插件
这样写npm load F:\MiraiOK\MiraiOK\plugins\MiraiNative\plugins\cd.dll
还是这样写npm load cd.dll
都显示文件不存在

已经载入了外部库,但是依然提示错误126.

在ubuntu18.04+wine5.03环境下,使用miraiOK+mirai-native加载coolq-http-api插件提示code126
snipaste_20200816_103155

在windows10环境下,使用miraiOK+mirai-native加载coolq-http-api插件是正常的code0
snipaste_20200816_103421

请问这是什么情况呢

在Linux下运行mirai时加载mirai-native报错

12:44:49 [INFO] [Plugin Manager] 开始加载/home/mirai/plugins/下的插件
12:44:49 [INFO] [Plugin Manager] loading plugin MiraiNative
12:44:49 [INFO] [Plugin Manager] successfully loaded plugin MiraiNative version 1.8.2 by iTX Technologies
12:44:49 [INFO] [Plugin Manager] 强大的 Mirai 原生插件加载器
12:44:49 [INFO] [Plugin Manager] java.lang.ExceptionInInitializerError
at org.itxtech.mirainative.MiraiNative.onLoad(MiraiNative.kt:90)
at net.mamoe.mirai.console.plugins.PluginBase.load$mirai_console(PluginBase.kt:137)
at net.mamoe.mirai.console.plugins.PluginManager.loadPluginsImpl$mirai_console(PluginManager.kt:319)
at net.mamoe.mirai.console.plugins.PluginManager.loadPlugins(PluginManager.kt:79)
at net.mamoe.mirai.console.plugins.PluginManager.reloadPlugins(PluginManager.kt:73)
at net.mamoe.mirai.console.command.DefaultCommands$invoke$8$1.invokeSuspend(DefaultCommands.kt:310)
at net.mamoe.mirai.console.command.DefaultCommands$invoke$8$1.invoke(DefaultCommands.kt)
at net.mamoe.mirai.console.command.AnonymousCommand.onCommand(Command.kt:122)
at net.mamoe.mirai.console.command.CommandManager.processCommandImpl(CommandManager.kt:157)
at net.mamoe.mirai.console.command.CommandManager$processCommand$2.invokeSuspend(CommandManager.kt:147)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at javax.swing.JFrame.(Unknown Source)
at org.itxtech.mirainative.ui.FloatingWindow.(FloatingWindow.kt:40)
... 15 more

12:44:49 [INFO] [Plugin Manager] MiraiNative failed to load, disabling it
12:44:49 [INFO] [Plugin Manager] MiraiNative 推荐立即删除/替换并重启
12:44:49 [INFO] [Plugin Manager] 加载了0个插件

关于获取网络图片链接

发送网络图片以 .mnimg 结尾,该文件不落地,例:[CQ:image,file={247E6A8B-ED3A-1B98-15E8-07E2277C787A}.jpg.mnimg]

如何提取该图片链接或者保存该文件用于识别 ?

Native部分中的内存泄漏

Native部分的函数JstringtoGb,JstringToChars等都没有对分配的内存进行释放,而是直接交给了插件
根据酷Q的逻辑,应用禁止对这些字符串进行内存释放
因此,这会造成较为严重的内存泄漏

Can't find dependent libraries 无法找到依赖

报错信息

 23:21:58 [INFO] [Plugin Manager] java.lang.UnsatisfiedLinkError: C:\Users\Administrator\Desktop\mirai_for_bilibili\plugins\MiraiNative\CQP.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
        at java.lang.Runtime.load0(Runtime.java:809)
        at java.lang.System.load(System.java:1088)
        at org.itxtech.mirainative.manager.LibraryManager.load(LibraryManager.kt:33)
        at org.itxtech.mirainative.MiraiNative.checkNativeLibs(MiraiNative.kt:55)
        at org.itxtech.mirainative.MiraiNative.onEnable(MiraiNative.kt:112)
        at net.mamoe.mirai.console.plugins.PluginBase.enable$mirai_console(PluginBase.kt:144)
        at net.mamoe.mirai.console.plugins.PluginManager.loadPluginsImpl$mirai_console(PluginManager.kt:334)
        at net.mamoe.mirai.console.plugins.PluginManager.loadPlugins(PluginManager.kt:79)
        at net.mamoe.mirai.console.plugins.PluginManager.loadPlugins$default(PluginManager.kt:79)
        at net.mamoe.mirai.console.MiraiConsole.start(MiraiConsole.kt:131)
        at net.mamoe.mirai.console.MiraiConsole.start$default(MiraiConsole.kt:113)
        at net.mamoe.mirai.console.pure.MiraiConsolePureLoader$Companion.load(MiraiConsolePureLoader.kt:22)
        at net.mamoe.mirai.console.pure.MiraiConsolePureLoader.load(MiraiConsolePureLoader.kt)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at net.mamoe.mirai.console.wrapper.WrapperMain.start$mirai_console_wrapper(WrapperMain.kt:236)
        at net.mamoe.mirai.console.wrapper.WrapperMain.preStartInNonNative$mirai_console_wrapper(WrapperMain.kt:207)
        at net.mamoe.mirai.console.wrapper.WrapperCli.run(WrapperMain.kt:143)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:154)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14)
        at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:252)
        at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:249)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:267)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:290)
        at net.mamoe.mirai.console.wrapper.WrapperMain.main(WrapperMain.kt:176)

 23:21:58 [INFO] [Plugin Manager] MiraiNative failed to enable, disabling it
 23:21:58 [INFO] [Plugin Manager] MiraiNative 推荐立即删除/替换并重启
 23:21:58 [INFO] [Plugin Manager] 加载了0个插件

还有什么依赖要装的吗...

易语言 JSON清空 卡加载

使用精易模块编写的酷Q插件,只要涉及JSON清空都会在加载时卡住.
易语言5.8+精易模块8.3.5+mirai-native+miraiOK

native无法解析.net API的SendGroupMessage方法

所使用酷Q API :Native.Framework
出错的函数:SendGroupMessage

Exception in thread "DefaultDispatcher-worker-2" Exception in thread "DefaultDispatcher-worker-7" java.util.NoSuchElementException: group [QQ群群号]
at net.mamoe.mirai.Bot.getGroup(Bot.kt:178)
at org.itxtech.mirainative.bridge.MiraiBridge$sendGroupMessage$$inlined$call$lambda$1.invokeSuspend(MiraiBridge.kt:139)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
java.util.NoSuchElementException: group [QQ群群号]
at net.mamoe.mirai.Bot.getGroup(Bot.kt:178)
at org.itxtech.mirainative.bridge.MiraiBridge$sendGroupMessage$$inlined$call$lambda$1.invokeSuspend(MiraiBridge.kt:139)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

解析xmlCQ码时报错

14:08:03 [ERROR] [MiraiNative] CQ消息解析失败:[CQ:xml,data=1],索引:140
14:08:03 [ERROR] [MiraiNative] CQ消息解析失败:[CQ:xml,data=1],索引:410

EPL在eventGroupMsg内使用延时()功能阻塞问题

当酷Q规范的插件在处理调用时如使用延时()或推迟执行子程序(),将使其他消息的处理一起暂停直到前面的线程(?)返回。请问Mirai是否可以实现酷Q的多线程不阻塞方式处理消息,感谢!

cqhttp发送长消息失败报错

300个汉字左右的消息

 15:46:20 [INFO] [MiraiNative] [CQHTTP HTTP] 已成功处理一个 API 请求:/send_private_msg
 15:46:20 [INFO] [NETWORK] Send: MessageSvc.PbSendMsg
 15:46:21 [INFO] [NETWORK] Recv: MessageSvcPbSendMsg.Response.Failed(resultType=10, errorCode=0, errorMessage=)
Exception in thread "DefaultDispatcher-worker-4" java.lang.IllegalStateException: Send temp message failed: MessageSvcPbSendMsg.Response.Failed(resultType=10, errorCode=0, errorMessage=)
        at net.mamoe.mirai.qqandroid.contact.UtilKt.sendMessageImpl(util.kt:63)
        at net.mamoe.mirai.qqandroid.contact.UtilKt$sendMessageImpl$1.invokeSuspend(util.kt)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
        at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

机器人已入群事件的处理

我发现当前mirai-native对于机器人已被邀请进群事件的处理逻辑是如果机器人同意了申请便触发此事件
然而这并不是总是正确的,比如如果邀请机器人加入群的人不是管理员,那么机器人要管理员审核后才真正进入了群(这也符合酷Q的逻辑)
我看到Mirai有一个事件是BotJoinGroupEvent,或许应该改为这个事件?

mirai有没有登陆机器人后再手动加载插件的命令行指令?

如题,我在移植某Q的一款插件到mirai的时候,那个插件有个授权环节,需要登陆机器人QQ后才能验证。而mirai似乎是先加载完所有插件才登陆QQ的,所以那个插件的授权验证环节会报错。我试过①插件加载完毕后,点击禁用/启用插件②在config,in里设置自动登陆,但仍然无法解决该问题。
出错1

我目前我找到了一种解决方案,就是把插件(dll和json)先放在mirai native目录,然后在运行mirai ok并登陆机器人账号后,点击手动加载DLL,如下图。该方法便可在机器人登陆后再加载指定的插件,前文提到的授权验证问题也得以解决。
手动加载DLL

不过弊端也是有的:每次重启mirai的时候,都需要重新手动加载一遍该dll,很是繁琐。不知有没有相关的命令行指令,能够写进config目录,在运行Mirai ok的时候自动执行“登陆后手动加载dll”的命令呢?

报个1.8.5的加载的CQP.DLL 报错小问题

1.8.4完全正常加载

更换1.8.5后启动报错,NATIVE加载失败
检查日志发现1.8.5提示CQP.dll 的检查失败,之后导致一连串的报错,native启动失败
后删除CQP.DLL之后,重新写到本地的CQP.DLL可以正常加载1.8.5。
可能这里是个breakchange

不过该错已解决,但对于升级用户来说可能不注意这个,小问题。

Liunx下的native无法正常启动

我用了Centos与Ubuntu进行测试,无论是64位还是32位都会进行报错
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
-----------------------------------64
10:33:57 [WARNING] [MiraiNative] 当前运行环境 64 可能不与 Mirai Native 兼容,推荐使用 32位 JRE 运行 Mirai Native。
10:33:57 [WARNING] [MiraiNative] 如果您正在开发或调试其他环境下的 Mirai Native,请忽略此警告。
10:33:57 [ERROR] [MiraiNative] 找不到 /root/MiraiOK/plugins/MiraiNative/CQP.dll,写出自带的 CQP.dll。
10:33:57 [INFO] [Plugin Manager] java.lang.ExceptionInInitializerError
at org.itxtech.mirainative.MiraiNative.onLoad(MiraiNative.kt:83)
at net.mamoe.mirai.console.plugins.PluginBase.load$mirai_console(PluginBase.kt:137)
at net.mamoe.mirai.console.plugins.PluginManager.loadPluginsImpl$mirai_console(PluginManager.kt:319)
at net.mamoe.mirai.console.plugins.PluginManager.loadPlugins(PluginManager.kt:79)
at net.mamoe.mirai.console.plugins.PluginManager.loadPlugins$default(PluginManager.kt:79)
at net.mamoe.mirai.console.MiraiConsole.start(MiraiConsole.kt:131)
at net.mamoe.mirai.console.MiraiConsole.start$default(MiraiConsole.kt:113)
at net.mamoe.mirai.console.pure.MiraiConsolePureLoader$Companion.load(MiraiConsolePureLoader.kt:22)
at net.mamoe.mirai.console.pure.MiraiConsolePureLoader.load(MiraiConsolePureLoader.kt)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.mamoe.mirai.console.wrapper.WrapperMain.start$mirai_console_wrapper(WrapperMain.kt:236)
at net.mamoe.mirai.console.wrapper.WrapperMain.preStartInNonNative$mirai_console_wrapper(WrapperMain.kt:207)
at net.mamoe.mirai.console.wrapper.WrapperCli.run(WrapperMain.kt:143)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:154)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:252)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:249)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:267)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:290)
at net.mamoe.mirai.console.wrapper.WrapperMain.main(WrapperMain.kt:176)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.(Window.java:536)
at java.awt.Frame.(Frame.java:420)
at javax.swing.JFrame.(JFrame.java:233)
at org.itxtech.mirainative.ui.FloatingWindow.(FloatingWindow.kt:40)
... 23 more

------------------------32位
java.lang.ExceptionInInitializerError
at org.itxtech.mirainative.MiraiNative.onLoad(MiraiNative.kt:83)
at net.mamoe.mirai.console.plugins.PluginBase.load$mirai_console(PluginBase.kt:137)
at net.mamoe.mirai.console.plugins.PluginManager.loadPluginsImpl$mirai_console(PluginManager.kt:319)
at net.mamoe.mirai.console.plugins.PluginManager.loadPlugins(PluginManager.kt:79)
at net.mamoe.mirai.console.plugins.PluginManager.loadPlugins$default(PluginManager.kt:79)
at net.mamoe.mirai.console.MiraiConsole.start(MiraiConsole.kt:131)
at net.mamoe.mirai.console.MiraiConsole.start$default(MiraiConsole.kt:113)
at net.mamoe.mirai.console.pure.MiraiConsolePureLoader$Companion.load(MiraiConsolePureLoader.kt:22)
at net.mamoe.mirai.console.pure.MiraiConsolePureLoader.load(MiraiConsolePureLoader.kt)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.mamoe.mirai.console.wrapper.WrapperMain.start$mirai_console_wrapper(WrapperMain.kt:236)
at net.mamoe.mirai.console.wrapper.WrapperMain.preStartInNonNative$mirai_console_wrapper(WrapperMain.kt:207)
at net.mamoe.mirai.console.wrapper.WrapperCli.run(WrapperMain.kt:143)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:154)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:252)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:249)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:267)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:290)
at net.mamoe.mirai.console.wrapper.WrapperMain.main(WrapperMain.kt:176)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.(Window.java:536)
at java.awt.Frame.(Frame.java:420)
at javax.swing.JFrame.(JFrame.java:233)
at org.itxtech.mirainative.ui.FloatingWindow.(FloatingWindow.kt:40)
... 23 more

CacheManager 的设计问题

按照源代码来看,似乎只有临时消息能够更新 senders。如果是这样的话,getStrangerInfo 就只能用于对 Bot 触发临时消息的 QQ。

语音 CQ 码

原生 CQ 码的语音是 [CQ:record],而不是 [CQ:voice]

关于群消息响应中附加异常处理后,消息发送完之后会NATIVE闪退

群消息响应事件中如果进行了TRY处理,会导致消息发送成功后NATIVE闪退。

传了个测试插件,带界面,功能只有一个 :收到群消息时,复读一次群消息

http://118.24.72.13/testMiraiNative.zip

当界面不勾选TRY的时候,直接复读群消息成功,NATIVE依旧运行
当界面勾选TRY的时候,直接复读群消息也成功,但复读完之后,NATIVE托盘闪退

代码逻辑就是不勾选的时候直接复读,勾选的时候用了TRY复读

发现原因是因为群聊命令查一些API接口信息之后,正常得到了查询结果,也正常发送了群消息,但之后NATIVE托盘立刻闪退,排查到最后是发现群聊的整条逻辑里只要用了TRY,成功发送完消息之后必闪退

但是正常的监听线程里用TRY都没事。

此类插件之前酷Q可稳定运行。

WPF窗口呼出似乎有线程问题

image
空白窗口,调用代码

using Native.Sdk.Cqp.EventArgs;
using Native.Sdk.Cqp.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Test.UI
{
    public class Event_MenuCall : IMenuCall
    {
        static MainWindow window;
        public void MenuCall(object sender, CQMenuCallEventArgs e)
        {
            try
            {
                if (window == null)
                {
                    window = new MainWindow();
                    window.Closing += Window_Closing;
                    window.Show();
                }
                else
                {
                    window.Activate();
                }
            }
            catch(Exception exc)
            {
                e.CQLog.Info("Debug", exc.Message, exc.StackTrace);
            }            
        }

        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            window = null;
        }
    }
}

通过搜索引擎得到的方法似乎都不起作用已经尝试过:
Thread(设置STA线程,不再报错但是窗口依旧加载不出来)、Dispatcher(与前者类似)

插件发送私聊消息就报内存错误

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7b844fab, pid=12460, tid=0x00005a04
#
# JRE version: Java(TM) SE Runtime Environment (8.0_241-b07) (build 1.8.0_241-b07)
# Java VM: Java HotSpot(TM) Client VM (25.241-b07 mixed mode windows-x86 )
# Problematic frame:
# V  [jvm.dll+0xe4fab]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x16ae7400):  JavaThread "MiraiNative" daemon [_thread_in_vm, id=23044, stack(0x1f290000,0x1f2e0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x16ae7400, ECX=0x16ae7400, EDX=0x0000062e
ESP=0x1f2df448, EBP=0x1f2df490, ESI=0x00000000, EDI=0x16ae7540
EIP=0x7b844fab, EFLAGS=0x00010246

Top of Stack: (sp=0x1f2df448)
0x1f2df448:   15e31998 1f2df4c0 16ae7540 16ae7400
0x1f2df458:   16ae7400 16ba3e20 1f2df450 7b835141
0x1f2df468:   1f2dfa8c 7ba274ea 41092566 fffffffe
0x1f2df478:   1f2df488 7b7673e4 16ae7400 1697fb8c
0x1f2df488:   0000062e 7ba4d158 1f2df4ac 68ad104d
0x1f2df498:   16ae7540 16a24050 00000000 1f2df4c0
0x1f2df4a8:   1f6a289e 1f2df4dc 68ad1adb 16ae7540
0x1f2df4b8:   16a24050 00000000 00000000 97f2ebaa 

Instructions: (pc=0x7b844fab)
0x7b844f8b:   f2 ff 83 c4 08 83 7b 04 00 89 5d f0 c7 45 f4 00
0x7b844f9b:   00 00 00 74 08 8d 4d f0 e8 78 71 0c 00 8b 75 10
0x7b844fab:   8b 06 c7 45 e0 0a 00 00 00 8b 40 04 0f b7 48 1c
0x7b844fbb:   8b 50 08 8b 44 8a 2c 50 8d 4d c4 e8 f5 f9 08 00 


Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x16ae7400 is a thread
ECX=0x16ae7400 is a thread
EDX=0x0000062e is an unknown value
ESP=0x1f2df448 is pointing into the stack for thread: 0x16ae7400
EBP=0x1f2df490 is pointing into the stack for thread: 0x16ae7400
ESI=0x00000000 is an unknown value
EDI=0x16ae7540 is an unknown value


Stack: [0x1f290000,0x1f2e0000],  sp=0x1f2df448,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xe4fab]
C  [CQP.dll+0x104d]
C  [CQP.dll+0x1adb]
C  [cn.r-ay.kefu.dll+0x45c9d]
C  [cn.r-ay.kefu.dll+0x424e]
C  [cn.r-ay.kefu.dll+0x13ac]
C  [cn.r-ay.kefu.dll+0x101b]
C  [cn.r-ay.kefu.dll+0x3e108]
j  org.itxtech.mirainative.Bridge.pEvPrivateMessage(ILjava/lang/String;IIJLjava/lang/String;I)I+0
j  org.itxtech.mirainative.bridge.NativeBridge.eventPrivateMessage(IIJLjava/lang/String;I)V+84
j  org.itxtech.mirainative.manager.EventManager$registerEvents$2$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+168
J 1222 C1 kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V (146 bytes) @ 0x030ac088 [0x030abfe0+0xa8]
J 1485 C1 kotlinx.coroutines.DispatchedTask.run()V (612 bytes) @ 0x030fed3c [0x030fea90+0x2ac]
J 1357 C1 java.util.concurrent.FutureTask.run()V (126 bytes) @ 0x030ce704 [0x030ce650+0xb4]
J 1346 C1 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V (59 bytes) @ 0x030cce14 [0x030ccd00+0x114]
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0x15c5c5]
V  [jvm.dll+0x228b6e]
V  [jvm.dll+0x15c65e]
V  [jvm.dll+0x15c7e6]
V  [jvm.dll+0x15c857]
V  [jvm.dll+0x10025f]
V  [jvm.dll+0x17f930]
V  [jvm.dll+0x1801aa]
V  [jvm.dll+0x1c6ef6]
C  [msvcr100.dll+0x5c556]
C  [msvcr100.dll+0x5c600]
C  [KERNEL32.DLL+0x16359]
C  [ntdll.dll+0x67c24]
C  [ntdll.dll+0x67bf4]
C  0x00000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.itxtech.mirainative.Bridge.pEvPrivateMessage(ILjava/lang/String;IIJLjava/lang/String;I)I+0
j  org.itxtech.mirainative.bridge.NativeBridge.eventPrivateMessage(IIJLjava/lang/String;I)V+84
j  org.itxtech.mirainative.manager.EventManager$registerEvents$2$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+168
J 1222 C1 kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V (146 bytes) @ 0x030ac088 [0x030abfe0+0xa8]
J 1485 C1 kotlinx.coroutines.DispatchedTask.run()V (612 bytes) @ 0x030fed3c [0x030fea90+0x2ac]
J 1357 C1 java.util.concurrent.FutureTask.run()V (126 bytes) @ 0x030ce704 [0x030ce650+0xb4]
J 1346 C1 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V (59 bytes) @ 0x030cce14 [0x030ccd00+0x114]
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x16c48c00 JavaThread "TimerQueue" daemon [_thread_blocked, id=24400, stack(0x23010000,0x23060000)]
  0x16c4c800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=22504, stack(0x22f30000,0x22f80000)]
  0x16c4d400 JavaThread "DefaultDispatcher-worker-3" daemon [_thread_blocked, id=824, stack(0x1eca0000,0x1ecf0000)]
  0x16c48800 JavaThread "DefaultDispatcher-worker-8" daemon [_thread_blocked, id=24508, stack(0x1ec10000,0x1ec60000)]
  0x16c4a800 JavaThread "DefaultDispatcher-worker-7" daemon [_thread_blocked, id=20028, stack(0x1eb80000,0x1ebd0000)]
  0x16c49c00 JavaThread "DefaultDispatcher-worker-6" daemon [_thread_blocked, id=19768, stack(0x1e9f0000,0x1ea40000)]
  0x16c4ec00 JavaThread "DefaultDispatcher-worker-5" daemon [_thread_blocked, id=6224, stack(0x1e960000,0x1e9b0000)]
  0x16c4ac00 JavaThread "DefaultDispatcher-worker-4" daemon [_thread_in_native, id=2336, stack(0x1e7d0000,0x1e820000)]
  0x16c4e000 JavaThread "ktor-cio-dispatcher-worker-2" daemon [_thread_blocked, id=2572, stack(0x225a0000,0x225f0000)]
  0x16c4e400 JavaThread "ktor-cio-dispatcher-worker-1" daemon [_thread_blocked, id=4064, stack(0x22510000,0x22560000)]
  0x16c4a000 JavaThread "pool-1-thread-1" [_thread_blocked, id=20892, stack(0x22380000,0x223d0000)]
  0x16c4cc00 JavaThread "DefaultDispatcher-worker-3" daemon [_thread_in_native, id=22644, stack(0x1f540000,0x1f590000)]
  0x16ae7000 JavaThread "DefaultDispatcher-worker-2" daemon [_thread_blocked, id=16484, stack(0x1f4b0000,0x1f500000)]
  0x16ae6400 JavaThread "DefaultDispatcher-worker-1" daemon [_thread_blocked, id=9548, stack(0x1f420000,0x1f470000)]
  0x16ae6800 JavaThread "DestroyJavaVM" [_thread_blocked, id=20452, stack(0x028a0000,0x028f0000)]
=>0x16ae7400 JavaThread "MiraiNative" daemon [_thread_in_vm, id=23044, stack(0x1f290000,0x1f2e0000)]
  0x16ae8000 JavaThread "kotlinx.coroutines.DefaultExecutor" daemon [_thread_blocked, id=9020, stack(0x1f1f0000,0x1f240000)]
  0x16ae7c00 JavaThread "DefaultDispatcher-worker-2" daemon [_thread_blocked, id=24324, stack(0x1f160000,0x1f1b0000)]
  0x16ae9c00 JavaThread "DefaultDispatcher-worker-1" daemon [_thread_blocked, id=20624, stack(0x1f0d0000,0x1f120000)]
  0x16ae9400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=18020, stack(0x1e5b0000,0x1e600000)]
  0x16ae8800 JavaThread "ktor-cio-dispatcher-worker-4" daemon [_thread_blocked, id=12884, stack(0x179e0000,0x17a30000)]
  0x16ae9000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=14212, stack(0x17710000,0x17760000)]
  0x16aedc00 JavaThread "AWT-Shutdown" [_thread_blocked, id=15708, stack(0x17680000,0x176d0000)]
  0x16aed000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2780, stack(0x175f0000,0x17640000)]
  0x16a5a000 JavaThread "HeartBeat" [_thread_blocked, id=8520, stack(0x173b0000,0x17400000)]
  0x15df9c00 JavaThread "Mirai Console Input Thread" [_thread_in_native, id=7400, stack(0x16560000,0x165b0000)]
  0x15d5b800 JavaThread "ktor-cio-dispatcher-worker-3" daemon [_thread_blocked, id=24456, stack(0x16380000,0x163d0000)]
  0x15cc2000 JavaThread "ktor-cio-dispatcher-worker-2" daemon [_thread_blocked, id=18236, stack(0x160f0000,0x16140000)]
  0x15cc0c00 JavaThread "ktor-cio-dispatcher-worker-1" daemon [_thread_blocked, id=20724, stack(0x16060000,0x160b0000)]
  0x15628000 JavaThread "kotlinx.coroutines.DefaultExecutor" daemon [_thread_blocked, id=9236, stack(0x15fd0000,0x16020000)]
  0x1564fc00 JavaThread "DefaultDispatcher-worker-2" daemon [_thread_blocked, id=24088, stack(0x15b40000,0x15b90000)]
  0x1565b800 JavaThread "DefaultDispatcher-worker-1" daemon [_thread_blocked, id=15292, stack(0x15ab0000,0x15b00000)]
  0x154ea400 JavaThread "Service Thread" daemon [_thread_blocked, id=13756, stack(0x15990000,0x159e0000)]
  0x15498800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=22368, stack(0x15900000,0x15950000)]
  0x15497000 JavaThread "Attach Listener" daemon [_thread_blocked, id=21680, stack(0x15870000,0x158c0000)]
  0x1548a800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=23644, stack(0x157e0000,0x15830000)]
  0x1547b000 JavaThread "Finalizer" daemon [_thread_blocked, id=14940, stack(0x156f0000,0x15740000)]
  0x15475000 JavaThread "Reference Handler" daemon [_thread_blocked, id=11072, stack(0x15660000,0x156b0000)]

Other Threads:
  0x02e2dc00 VMThread [stack: 0x04f60000,0x04fb0000] [id=9700]
  0x154f6800 WatcherThread [stack: 0x15a20000,0x15a70000] [id=9372]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 def new generation   total 7360K, used 4947K [0x05000000, 0x057f0000, 0x0a550000)
  eden space 6592K,  75% used [0x05000000, 0x054d4d80, 0x05670000)
  from space 768K,   0% used [0x05670000, 0x05670000, 0x05730000)
  to   space 768K,   0% used [0x05730000, 0x05730000, 0x057f0000)
 tenured generation   total 16088K, used 7757K [0x0a550000, 0x0b506000, 0x15000000)
   the space 16088K,  48% used [0x0a550000, 0x0ace3578, 0x0ace3600, 0x0b506000)
 Metaspace       used 26258K, capacity 26496K, committed 26752K, reserved 27008K

Card table byte_map: [0x04e30000,0x04ec0000] byte_map_base: 0x04e08000

Polling page: 0x00e40000

CodeCache: size=32768Kb used=3055Kb max_used=3055Kb free=29712Kb
 bounds [0x02e30000, 0x03130000, 0x04e30000]
 total_blobs=1891 nmethods=1525 adapters=296
 compilation: enabled

Compilation events (10 events):
Event: 133.007 Thread 0x15498800 1518             java.util.Calendar::internalSet (8 bytes)
Event: 133.007 Thread 0x15498800 nmethod 1518 0x0310b888 code [0x0310b980, 0x0310ba20]
Event: 133.010 Thread 0x15498800 1519             kotlin.coroutines.jvm.internal.ContinuationImpl::<init> (11 bytes)
Event: 133.010 Thread 0x15498800 nmethod 1519 0x0310bac8 code [0x0310bbc0, 0x0310bc60]
Event: 133.010 Thread 0x15498800 1520             kotlin.coroutines.jvm.internal.ContinuationImpl::<init> (21 bytes)
Event: 133.010 Thread 0x15498800 nmethod 1520 0x0310bcc8 code [0x0310bdd0, 0x0310beac]
Event: 133.014 Thread 0x15498800 1521             java.io.DataOutputStream::writeUTF (435 bytes)
Event: 133.016 Thread 0x15498800 nmethod 1521 0x0310bf08 code [0x0310c0e0, 0x0310ca5c]
Event: 133.016 Thread 0x15498800 1522             kotlin.reflect.jvm.internal.impl.metadata.jvm.deserialization.UtfEncodingKt::stringsToBytes (204 bytes)
Event: 133.017 Thread 0x15498800 nmethod 1522 0x0310d448 code [0x0310d570, 0x0310d7d8]

GC Heap History (10 events):
Event: 5.156 GC heap before
{Heap before GC invocations=77 (full 9):
 def new generation   total 6464K, used 6463K [0x05000000, 0x05700000, 0x0a550000)
  eden space 5760K, 100% used [0x05000000, 0x055a0000, 0x055a0000)
  from space 704K,  99% used [0x055a0000, 0x0564fff8, 0x05650000)
  to   space 704K,   0% used [0x05650000, 0x05650000, 0x05700000)
 tenured generation   total 14228K, used 13673K [0x0a550000, 0x0b335000, 0x15000000)
   the space 14228K,  96% used [0x0a550000, 0x0b2aa778, 0x0b2aa800, 0x0b335000)
 Metaspace       used 23974K, capacity 24202K, committed 24320K, reserved 24960K
Event: 5.175 GC heap after
Heap after GC invocations=78 (full 10):
 def new generation   total 6528K, used 0K [0x05000000, 0x05710000, 0x0a550000)
  eden space 5824K,   0% used [0x05000000, 0x05000000, 0x055b0000)
  from space 704K,   0% used [0x055b0000, 0x055b0000, 0x05660000)
  to   space 704K,   0% used [0x05660000, 0x05660000, 0x05710000)
 tenured generation   total 14340K, used 8602K [0x0a550000, 0x0b351000, 0x15000000)
   the space 14340K,  59% used [0x0a550000, 0x0adb68a8, 0x0adb6a00, 0x0b351000)
 Metaspace       used 23974K, capacity 24202K, committed 24320K, reserved 24960K
}
Event: 5.485 GC heap before
{Heap before GC invocations=78 (full 10):
 def new generation   total 6528K, used 5824K [0x05000000, 0x05710000, 0x0a550000)
  eden space 5824K, 100% used [0x05000000, 0x055b0000, 0x055b0000)
  from space 704K,   0% used [0x055b0000, 0x055b0000, 0x05660000)
  to   space 704K,   0% used [0x05660000, 0x05660000, 0x05710000)
 tenured generation   total 14340K, used 8602K [0x0a550000, 0x0b351000, 0x15000000)
   the space 14340K,  59% used [0x0a550000, 0x0adb68a8, 0x0adb6a00, 0x0b351000)
 Metaspace       used 24224K, capacity 24458K, committed 24576K, reserved 24960K
Event: 5.487 GC heap after
Heap after GC invocations=79 (full 10):
 def new generation   total 6528K, used 703K [0x05000000, 0x05710000, 0x0a550000)
  eden space 5824K,   0% used [0x05000000, 0x05000000, 0x055b0000)
  from space 704K,  99% used [0x05660000, 0x0570fff8, 0x05710000)
  to   space 704K,   0% used [0x055b0000, 0x055b0000, 0x05660000)
 tenured generation   total 14340K, used 8818K [0x0a550000, 0x0b351000, 0x15000000)
   the space 14340K,  61% used [0x0a550000, 0x0adec860, 0x0adeca00, 0x0b351000)
 Metaspace       used 24224K, capacity 24458K, committed 24576K, reserved 24960K
}
Event: 7.273 GC heap before
{Heap before GC invocations=79 (full 10):
 def new generation   total 6528K, used 6527K [0x05000000, 0x05710000, 0x0a550000)
  eden space 5824K, 100% used [0x05000000, 0x055b0000, 0x055b0000)
  from space 704K,  99% used [0x05660000, 0x0570fff8, 0x05710000)
  to   space 704K,   0% used [0x055b0000, 0x055b0000, 0x05660000)
 tenured generation   total 14340K, used 8818K [0x0a550000, 0x0b351000, 0x15000000)
   the space 14340K,  61% used [0x0a550000, 0x0adec860, 0x0adeca00, 0x0b351000)
 Metaspace       used 24915K, capacity 25130K, committed 25344K, reserved 25984K
Event: 7.275 GC heap after
Heap after GC invocations=80 (full 10):
 def new generation   total 6528K, used 703K [0x05000000, 0x05710000, 0x0a550000)
  eden space 5824K,   0% used [0x05000000, 0x05000000, 0x055b0000)
  from space 704K,  99% used [0x055b0000, 0x0565fff8, 0x05660000)
  to   space 704K,   0% used [0x05660000, 0x05660000, 0x05710000)
 tenured generation   total 14340K, used 9746K [0x0a550000, 0x0b351000, 0x15000000)
   the space 14340K,  67% used [0x0a550000, 0x0aed4870, 0x0aed4a00, 0x0b351000)
 Metaspace       used 24915K, capacity 25130K, committed 25344K, reserved 25984K
}
Event: 60.128 GC heap before
{Heap before GC invocations=80 (full 10):
 def new generation   total 6528K, used 6489K [0x05000000, 0x05710000, 0x0a550000)
  eden space 5824K,  99% used [0x05000000, 0x055a6458, 0x055b0000)
  from space 704K,  99% used [0x055b0000, 0x0565fff8, 0x05660000)
  to   space 704K,   0% used [0x05660000, 0x05660000, 0x05710000)
 tenured generation   total 14340K, used 9746K [0x0a550000, 0x0b351000, 0x15000000)
   the space 14340K,  67% used [0x0a550000, 0x0aed4870, 0x0aed4a00, 0x0b351000)
 Metaspace       used 25998K, capacity 26278K, committed 26496K, reserved 27008K
Event: 60.147 GC heap after
Heap after GC invocations=81 (full 11):
 def new generation   total 7360K, used 0K [0x05000000, 0x057f0000, 0x0a550000)
  eden space 6592K,   0% used [0x05000000, 0x05000000, 0x05670000)
  from space 768K,   0% used [0x05670000, 0x05670000, 0x05730000)
  to   space 768K,   0% used [0x05730000, 0x05730000, 0x057f0000)
 tenured generation   total 16088K, used 9651K [0x0a550000, 0x0b506000, 0x15000000)
   the space 16088K,  59% used [0x0a550000, 0x0aebce78, 0x0aebd000, 0x0b506000)
 Metaspace       used 25998K, capacity 26278K, committed 26496K, reserved 27008K
}
Event: 120.148 GC heap before
{Heap before GC invocations=81 (full 11):
 def new generation   total 7360K, used 1860K [0x05000000, 0x057f0000, 0x0a550000)
  eden space 6592K,  28% used [0x05000000, 0x051d1378, 0x05670000)
  from space 768K,   0% used [0x05670000, 0x05670000, 0x05730000)
  to   space 768K,   0% used [0x05730000, 0x05730000, 0x057f0000)
 tenured generation   total 16088K, used 9651K [0x0a550000, 0x0b506000, 0x15000000)
   the space 16088K,  59% used [0x0a550000, 0x0aebce78, 0x0aebd000, 0x0b506000)
 Metaspace       used 26001K, capacity 26278K, committed 26496K, reserved 27008K
Event: 120.171 GC heap after
Heap after GC invocations=82 (full 12):
 def new generation   total 7360K, used 0K [0x05000000, 0x057f0000, 0x0a550000)
  eden space 6592K,   0% used [0x05000000, 0x05000000, 0x05670000)
  from space 768K,   0% used [0x05670000, 0x05670000, 0x05730000)
  to   space 768K,   0% used [0x05730000, 0x05730000, 0x057f0000)
 tenured generation   total 16088K, used 7757K [0x0a550000, 0x0b506000, 0x15000000)
   the space 16088K,  48% used [0x0a550000, 0x0ace3578, 0x0ace3600, 0x0b506000)
 Metaspace       used 25977K, capacity 26240K, committed 26496K, reserved 27008K
}

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (10 events):
Event: 4.632 Thread 0x16c4a000 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x05334188) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpret
Event: 4.633 Thread 0x16c4a000 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x053371c8) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpret
Event: 4.908 Thread 0x16c4a000 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x051e0360) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpret
Event: 4.932 Thread 0x16c4a000 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x051367e0) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpret
Event: 5.181 Thread 0x16c4a000 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x051d71c8) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpret
Event: 7.316 Thread 0x16c4a800 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x050fbdb8) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpret
Event: 19.883 Thread 0x15d5b800 Exception <a 'java/io/IOException'> (0x05102bb8) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 133.021 Thread 0x16c4ec00 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 18> (0x0516ea30) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 368]
Event: 133.022 Thread 0x16c4ec00 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 139> (0x051705d0) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 368]
Event: 133.022 Thread 0x16ae7400 Exception <a 'java/lang/NoSuchMethodError': sendFriendMessage> (0x05056850) thrown at [C:\ade\jenkins\workspace\8-2-build-windows-i586-cygwin\jdk8u241\331\hotspot\src\share\vm\prims\jni.cpp, line 1582]

Events (10 events):
Event: 133.022 loading class sun/reflect/generics/tree/TypeVariableSignature
Event: 133.022 loading class sun/reflect/generics/tree/TypeVariableSignature done
Event: 133.022 loading class java/lang/reflect/TypeVariable
Event: 133.022 loading class java/lang/reflect/TypeVariable done
Event: 133.022 loading class sun/reflect/generics/reflectiveObjects/TypeVariableImpl
Event: 133.022 loading class sun/reflect/generics/reflectiveObjects/LazyReflectiveObjectGenerator
Event: 133.022 loading class sun/reflect/generics/reflectiveObjects/LazyReflectiveObjectGenerator done
Event: 133.022 loading class sun/reflect/generics/reflectiveObjects/TypeVariableImpl done
Event: 133.022 loading class kotlin/reflect/jvm/internal/impl/descriptors/runtime/structure/ReflectJavaTypeParameter
Event: 133.022 loading class kotlin/reflect/jvm/internal/impl/descriptors/runtime/structure/ReflectJavaTypeParameter done


Dynamic libraries:
0x006f0000 - 0x00723000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\java.exe
0x77a70000 - 0x77c0a000 	C:\WINDOWS\SYSTEM32\ntdll.dll
0x76f70000 - 0x77050000 	C:\WINDOWS\System32\KERNEL32.DLL
0x766c0000 - 0x768be000 	C:\WINDOWS\System32\KERNELBASE.dll
0x606d0000 - 0x6076f000 	C:\WINDOWS\SYSTEM32\apphelp.dll
0x75a90000 - 0x75b09000 	C:\WINDOWS\System32\ADVAPI32.dll
0x77970000 - 0x77a2f000 	C:\WINDOWS\System32\msvcrt.dll
0x75de0000 - 0x75e56000 	C:\WINDOWS\System32\sechost.dll
0x75f30000 - 0x75feb000 	C:\WINDOWS\System32\RPCRT4.dll
0x75240000 - 0x75260000 	C:\WINDOWS\System32\SspiCli.dll
0x75230000 - 0x7523a000 	C:\WINDOWS\System32\CRYPTBASE.dll
0x77050000 - 0x770af000 	C:\WINDOWS\System32\bcryptPrimitives.dll
0x77540000 - 0x776d7000 	C:\WINDOWS\System32\USER32.dll
0x77190000 - 0x771a7000 	C:\WINDOWS\System32\win32u.dll
0x75e60000 - 0x75e81000 	C:\WINDOWS\System32\GDI32.dll
0x777e0000 - 0x7793b000 	C:\WINDOWS\System32\gdi32full.dll
0x77700000 - 0x7777c000 	C:\WINDOWS\System32\msvcp_win.dll
0x768c0000 - 0x769df000 	C:\WINDOWS\System32\ucrtbase.dll
0x734d0000 - 0x736df000 	C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.18362.959_none_2e74f29627888bc1\COMCTL32.dll
0x772c0000 - 0x77535000 	C:\WINDOWS\System32\combase.dll
0x77a30000 - 0x77a55000 	C:\WINDOWS\System32\IMM32.DLL
0x50050000 - 0x5010f000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\msvcr100.dll
0x7b760000 - 0x7bb3a000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\client\jvm.dll
0x772b0000 - 0x772b6000 	C:\WINDOWS\System32\PSAPI.DLL
0x72a30000 - 0x72a38000 	C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x74070000 - 0x74094000 	C:\WINDOWS\SYSTEM32\WINMM.dll
0x74e90000 - 0x74e98000 	C:\WINDOWS\SYSTEM32\VERSION.dll
0x75b10000 - 0x75b6e000 	C:\WINDOWS\System32\WS2_32.dll
0x74040000 - 0x74063000 	C:\WINDOWS\SYSTEM32\winmmbase.dll
0x75980000 - 0x759bb000 	C:\WINDOWS\System32\cfgmgr32.dll
0x6f8b0000 - 0x6f8bc000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\verify.dll
0x5a0b0000 - 0x5a0d1000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\java.dll
0x5a4c0000 - 0x5a4d4000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\zip.dll
0x769e0000 - 0x76f59000 	C:\WINDOWS\System32\SHELL32.dll
0x75e90000 - 0x75f14000 	C:\WINDOWS\System32\shcore.dll
0x75360000 - 0x75926000 	C:\WINDOWS\System32\windows.storage.dll
0x75a70000 - 0x75a8b000 	C:\WINDOWS\System32\profapi.dll
0x75930000 - 0x75973000 	C:\WINDOWS\System32\powrprof.dll
0x75f20000 - 0x75f2d000 	C:\WINDOWS\System32\UMPDC.dll
0x770b0000 - 0x770f4000 	C:\WINDOWS\System32\shlwapi.dll
0x76f60000 - 0x76f6f000 	C:\WINDOWS\System32\kernel.appcore.dll
0x77950000 - 0x77963000 	C:\WINDOWS\System32\cryptsp.dll
0x59770000 - 0x59786000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\net.dll
0x73bf0000 - 0x73c0c000 	C:\WINDOWS\system32\PrxerDrv.dll
0x73b90000 - 0x73be2000 	C:\WINDOWS\system32\mswsock.dll
0x68b40000 - 0x68b4f000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\nio.dll
0x72520000 - 0x7254f000 	C:\WINDOWS\system32\rsaenh.dll
0x776e0000 - 0x776f9000 	C:\WINDOWS\System32\bcrypt.dll
0x74d90000 - 0x74dae000 	C:\WINDOWS\SYSTEM32\USERENV.dll
0x74de0000 - 0x74e12000 	C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x766b0000 - 0x766b7000 	C:\WINDOWS\System32\NSI.dll
0x6e480000 - 0x6e493000 	C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x74640000 - 0x74655000 	C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x70350000 - 0x703e3000 	C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x6e4b0000 - 0x6e4c8000 	C:\WINDOWS\system32\PrxerNsp.dll
0x6e4a0000 - 0x6e4a8000 	C:\Windows\System32\rasadhlp.dll
0x6d2d0000 - 0x6d321000 	C:\WINDOWS\System32\fwpuclnt.dll
0x58850000 - 0x58870000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\sunec.dll
0x79d00000 - 0x79e47000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\awt.dll
0x752b0000 - 0x75342000 	C:\WINDOWS\System32\OLEAUT32.dll
0x736f0000 - 0x7376a000 	C:\WINDOWS\system32\uxtheme.dll
0x76150000 - 0x76253000 	C:\WINDOWS\System32\MSCTF.dll
0x75b70000 - 0x75c67000 	C:\WINDOWS\System32\ole32.dll
0x50020000 - 0x50046000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\jpeg.dll
0x72a70000 - 0x72a95000 	C:\WINDOWS\system32\DWMAPI.DLL
0x65bf0000 - 0x65cef000 	C:\WINDOWS\system32\opengl32.dll
0x73290000 - 0x732cf000 	C:\WINDOWS\SYSTEM32\GLU32.dll
0x72740000 - 0x72759000 	C:\WINDOWS\SYSTEM32\dxcore.dll
0x64d00000 - 0x64e8e000 	C:\WINDOWS\system32\d3d9.dll
0x64c30000 - 0x64cf8000 	C:\WINDOWS\System32\DriverStore\FileRepository\nvlt.inf_amd64_c8af195ee1543133\nvldumd.dll
0x75ff0000 - 0x760eb000 	C:\WINDOWS\System32\crypt32.dll
0x75350000 - 0x7535e000 	C:\WINDOWS\System32\MSASN1.dll
0x6eff0000 - 0x6f016000 	C:\WINDOWS\SYSTEM32\cryptnet.dll
0x75260000 - 0x752a6000 	C:\WINDOWS\System32\WINTRUST.DLL
0x77290000 - 0x772ab000 	C:\WINDOWS\System32\imagehlp.dll
0x61200000 - 0x62385000 	C:\WINDOWS\System32\DriverStore\FileRepository\nvlt.inf_amd64_c8af195ee1543133\nvd3dum.dll
0x64260000 - 0x64481000 	C:\WINDOWS\system32\nvspcap.dll
0x74b20000 - 0x74b49000 	C:\WINDOWS\SYSTEM32\ntmarta.dll
0x6cfc0000 - 0x6cfde000 	C:\WINDOWS\SYSTEM32\gpapi.dll
0x77c50000 - 0x77c8a000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\fontmanager.dll
0x5a890000 - 0x5a924000 	C:\WINDOWS\SYSTEM32\mscms.dll
0x5b7c0000 - 0x5b7d1000 	C:\WINDOWS\SYSTEM32\ColorAdapterClient.dll
0x77c10000 - 0x77c4e000 	C:\WINDOWS\SYSTEM32\icm32.dll
0x68ad0000 - 0x68ad9000 	C:\Users\i\OneDrive\Bots\mirai\plugins\MiraiNative\CQP.dll
0x7af80000 - 0x7afef000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\MSVCP140.dll
0x58830000 - 0x58843000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\VCRUNTIME140.dll
0x1f590000 - 0x1f807000 	C:\Users\i\OneDrive\Bots\mirai\plugins\MiraiNative\plugins\cn.r-ay.kefu.dll
0x759c0000 - 0x75a70000 	C:\WINDOWS\System32\comdlg32.dll
0x74840000 - 0x7491b000 	C:\WINDOWS\SYSTEM32\RASAPI32.dll
0x703f0000 - 0x70412000 	C:\WINDOWS\SYSTEM32\MSVFW32.dll
0x652c0000 - 0x652db000 	C:\WINDOWS\SYSTEM32\AVIFIL32.dll
0x65e80000 - 0x65eeb000 	C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
0x5a490000 - 0x5a4bc000 	C:\WINDOWS\SYSTEM32\oledlg.dll
0x747f0000 - 0x7481b000 	C:\WINDOWS\SYSTEM32\rasman.dll
0x740a0000 - 0x744fb000 	C:\WINDOWS\SYSTEM32\WININET.dll
0x652a0000 - 0x652b9000 	C:\WINDOWS\SYSTEM32\MSACM32.dll
0x6fbb0000 - 0x6fc76000 	C:\WINDOWS\SYSTEM32\PROPSYS.dll
0x73040000 - 0x731a9000 	C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.18362.959_none_5f5fe57b821b058f\gdiplus.dll
0x74660000 - 0x747ef000 	C:\WINDOWS\SYSTEM32\dbghelp.dll
0x62e80000 - 0x62ea2000 	C:\Users\i\OneDrive\Bots\mirai\plugins\MiraiNative\plugins\zlib1.dll
0x5a760000 - 0x5a769000 	C:\Users\i\OneDrive\Bots\mirai\jre1.8.0_241\bin\sunmscapi.dll
0x6d390000 - 0x6d3a1000 	C:\WINDOWS\system32\napinsp.dll
0x6d370000 - 0x6d386000 	C:\WINDOWS\system32\pnrpnsp.dll
0x6d360000 - 0x6d36b000 	C:\WINDOWS\System32\winrnr.dll
0x6d340000 - 0x6d356000 	C:\WINDOWS\system32\NLAapi.dll
0x6d330000 - 0x6d340000 	C:\WINDOWS\system32\wshbth.dll
0x796a0000 - 0x796db000 	C:\WINDOWS\system32\c_g18030.dll
0x77210000 - 0x77290000 	C:\WINDOWS\System32\clbcatq.dll
0x51000000 - 0x51019000 	C:\WINDOWS\system32\winhttpcom.dll
0x6d120000 - 0x6d1a8000 	C:\WINDOWS\SYSTEM32\sxs.dll
0x73f80000 - 0x7403d000 	C:\WINDOWS\system32\WINHTTP.dll
0x6d240000 - 0x6d2b7000 	C:\WINDOWS\system32\webio.dll
0x708f0000 - 0x708f8000 	C:\WINDOWS\SYSTEM32\WINNSI.DLL
0x51060000 - 0x510d6000 	C:\WINDOWS\System32\schannel.dll
0x60790000 - 0x607a0000 	C:\WINDOWS\SYSTEM32\mskeyprotect.dll
0x65270000 - 0x65291000 	C:\WINDOWS\SYSTEM32\ncrypt.dll
0x63bc0000 - 0x63be8000 	C:\WINDOWS\SYSTEM32\NTASN1.dll
0x5bd30000 - 0x5bd4f000 	C:\WINDOWS\system32\ncryptsslp.dll
0x6e7b0000 - 0x6e7b8000 	C:\WINDOWS\SYSTEM32\DPAPI.DLL
0x70c20000 - 0x70e49000 	C:\WINDOWS\SYSTEM32\iertutil.dll
0x70aa0000 - 0x70ab2000 	C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll
0x6e600000 - 0x6e7aa000 	C:\WINDOWS\SYSTEM32\urlmon.dll
0x50730000 - 0x5074c000 	C:\Windows\System32\msscript.ocx
0x22b50000 - 0x22bfb000 	C:\Windows\System32\jscript.dll
0x77780000 - 0x777de000 	C:\WINDOWS\System32\coml2.dll
0x62800000 - 0x62884000 	C:\WINDOWS\System32\TextInputFramework.dll
0x60fa0000 - 0x611fe000 	C:\WINDOWS\System32\CoreUIComponents.dll
0x62770000 - 0x627f9000 	C:\WINDOWS\System32\CoreMessaging.dll

VM Arguments:
java_command: C:\Users\i\OneDrive\Bots\mirai\mirai-console-wrapper-1.3.0-all.jar --update keep
java_class_path (initial): C:\Users\i\OneDrive\Bots\mirai\mirai-console-wrapper-1.3.0-all.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=D:\Programs\;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NGX;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files (x86)\Yarn\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\Programs\Git\cmd;C:\Users\i\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\i\AppData\Local\Programs\Python\Python37\;C:\Users\i\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip\;D:\Programs\Microsoft VS Code\bin;D:\Programs\PhpStorm 2019.1.3\bin;C:\Users\i\AppData\Roaming\npm;C:\Users\i\AppData\Local\Yarn\bin;C:\Users\i\AppData\Local\GitHubDesktop\bin;D:\Programs\Fiddler
USERNAME=i
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 10, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 18362 (10.0.18362.959)

CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 158 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 16695540k(8915072k free), swap 17744116k(5786916k free)

vm_info: Java HotSpot(TM) Client VM (25.241-b07) for windows-x86 JRE (1.8.0_241-b07), built on Dec 11 2019 10:24:16 by "rejava" with MS VC++ 10.0 (VS2010)

time: Sun Aug 02 14:13:42 2020
timezone: **标准时间
elapsed time: 133 seconds (0d 0h 2m 13s)

退群失败

调用CQ的退群接口,bot未退群。但是也不会在说话了,估计是认为自己已经退群了。
据观察,并不是所有群都这样,当场新建的群是可以退成功的。

将字符串编码转换移动到JVM

GB 18030 转换部分依赖 Windows 的原生 API,然而 Wine 下并没有 CP 54936。
也许可以引入 libiconv。当然,现在的 libiconv 并不遵循 GB 18030-2000,所以可以使用我修改过的 libiconv。
考虑到 libiconv 是 LGPL,我把 Patch 也附上了。
libiconv 1.16 GB 18030-2000.7z

on_private_message事件未触发

这么个项目弄进mirai-native时遇到了一些问题。

on_group_message事件能够被正常触发。
on_private_message事件无法通过FriendMessageEvent触发。

载入酷Q Native.SDK开发插件时似乎存在问题

使用的C#SDK
SDK开源位置 https://github.com/Jie2GG/Native.Framework
插件开源位置 https://github.com/smyhw/KQ-WelcomeMessage

有关日志

  • [Plugin Manager] loading plugin MiraiNative
  • [Plugin Manager] successfully loaded plugin MiraiNative version 1.7.0 by iTX Technologies
  • [Plugin Manager] 强大的 Mirai 原生插件加载器
  • [MiraiNative] 正在加载 Z:\work_temp\新建文件夹\qq_robot\plugins\MiraiNative\CQP.dll
  • [MiraiNative] Native Plugin (w json) 进群欢迎语 has been loaded with code 126
  • [MiraiNative] Mirai Native 正启用所有 DLL 插件。
  • -->npm list
  • [Command] 共加载了 0 个 Mirai Native 插件

除此之外,控制台也没有输出任何报错
插件似乎并没有被加载
使用流泪猫猫头加载dll后,控制台输出

  • [MiraiNative] Native Plugin (w json) 进群欢迎语 has been loaded with code 126
  • -->npm list
  • [Command] 共加载了 0 个 Mirai Native 插件

插件似乎仍未加载。。。

如下,附上完整日志

  • PS Z:\work_temp\新建文件夹\qq_robot> .\miraiOK_windows_386.exe
  • [12:19:54.7194] I MiraiOK 20200629.160938 running at windows-386
  • [12:19:54.7204] I 此程序以Affero GPL3.0协议发布,使用时请遵守协议
  • [12:19:54.7214] I 代码库: github.com/LXY1226/MiraiOK gitee.com/LXY1226/MiraiOK
  • [12:19:54.8560] I JRE: openjdk version "1.8.0_252"
  • [12:19:54.8560] I JRE: OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
  • [12:19:54.8560] I JRE: OpenJDK Client VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)
  • [12:19:54.8560] I 删除.lastupdate来在下次强制检查更新
  • [12:19:54.8560] I 启动Mirai...
  • Using proxy: null
  • You are running Mirai-Console-Wrapper under Z:\work_temp\新建文件夹\qq_robot
  • All additional libraries are located at Z:\work_temp\新建文件夹\qq_robot\libraries
  • Starting Mirai Console Pure, reset by clear /content/
  • Starting version check...
  • Fetching Newest Core Version ..
  • Stay on current version.
  • Fetching Newest Console Version of Pure
  • Stay on current version.
  • Version check complete, starting Mirai
  • shadow-Protocol:Z:\work_temp\新建文件夹\qq_robot\content\mirai-core-qqandroid-1.1.3.jar
  • Console :Z:\work_temp\新建文件夹\qq_robot\content\mirai-console-0.5.2.jar
  • Root :Z:\work_temp\新建文件夹\qq_robot/
  • 12:19:55 [INFO] [Mirai 0.5.2 Pkmon] Mirai-console now running under Z:\work_temp\新建文件夹\qq_robot
  • 12:19:55 [INFO] [Mirai 0.5.2 Pkmon] Get news in github: https://github.com/mamoe/mirai
  • 12:19:55 [INFO] [Mirai 0.5.2 Pkmon] Mirai为开源项目,请自觉遵守开源项目协议
  • 12:19:55 [INFO] [Mirai 0.5.2 Pkmon] Powered by Mamoe Technologies and contributors
  • 12:19:55 [INFO] [Plugin Manager] 开始加载Z:\work_temp\新建文件夹\qq_robot/plugins/下的插件
  • 12:19:55 [INFO] [Plugin Manager] loading plugin MiraiNative
  • 12:19:55 [INFO] [Plugin Manager] successfully loaded plugin MiraiNative version 1.7.0 by iTX Technologies
  • 12:19:55 [INFO] [Plugin Manager] 强大的 Mirai 原生插件加载器
  • 12:19:55 [INFO] [MiraiNative] 正在加载 Z:\work_temp\新建文件夹\qq_robot\plugins\MiraiNative\CQP.dll
  • 12:19:55 [INFO] [Plugin Manager] 加载了1个插件
  • 12:19:55 [INFO] [Mirai 0.5.2 Pkmon] Mirai-console 启动完成
  • 12:19:55 [INFO] [Mirai 0.5.2 Pkmon] "login qqnumber qqpassword " to login a bot
  • 12:19:55 [INFO] [Mirai 0.5.2 Pkmon] "login qq号 qq密码 " 来登录一个BOT
  • 12:19:55 [INFO] [Bot Login] login...
  • 12:19:56 [INFO] [MiraiNative] Native Plugin (w json) 进群欢迎语 has been loaded with code 126
  • 12:19:56 [INFO] [BOT 3234570937] Logging in...
  • 12:19:56 [INFO] [NETWORK] Connected to server msfwifi.3g.qq.com:8080
  • 12:19:56 [INFO] [NETWORK] Send: wtlogin.login
  • 12:19:56 [INFO] [NETWORK] Recv: WtLogin.Login.LoginPacketResponse.DeviceLockLogin
  • 12:19:56 [INFO] [NETWORK] Send: wtlogin.login
  • 12:19:56 [INFO] [NETWORK] Recv: LoginPacketResponse.Success
  • 12:19:56 [INFO] [NETWORK] Login successful
  • 12:19:56 [INFO] [NETWORK] Send: StatSvc.register
  • 12:19:56 [INFO] [NETWORK] Recv: Response(StatSvc.register)
  • 12:19:56 [INFO] [NETWORK] 开始加载好友信息
  • 12:19:56 [INFO] [NETWORK] 开始加载群组列表与群成员列表
  • 12:19:56 [INFO] [NETWORK] Send: friendlist.getFriendGroupList
  • 12:19:56 [INFO] [NETWORK] Send: friendlist.GetTroopListReqV2
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetFriendGroupList.Response
  • 12:19:57 [INFO] [NETWORK] 正在加载好友列表 14/14
  • 12:19:57 [INFO] [NETWORK] 好友列表加载完成, 共 14个
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetFriendGroupList.Response
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: OidbSvc.0x88d_7
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:57 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:58 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:58 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:58 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:58 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:58 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:58 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:58 [INFO] [NETWORK] Send: friendlist.GetTroopMemberListReq
  • 12:19:58 [INFO] [NETWORK] Recv: FriendList.GetTroopMemberList.Response
  • 12:19:58 [INFO] [NETWORK] 群组列表与群成员加载完成, 共 13个
  • 12:19:58 [INFO] [NETWORK] Awaiting ConfigPushSvc.PushReq
  • 12:19:58 [INFO] [NETWORK] Syncing friend message history...
  • 12:19:58 [INFO] [NETWORK] Send: MessageSvc.PbGetMsg
  • 12:19:58 [INFO] [NETWORK] Send: MessageSvc.PbDeleteMsg
  • 12:19:58 [INFO] [NETWORK] Syncing friend message history: Success
  • 12:19:58 [INFO] [BOT 3234570937] Login successful
  • 12:19:58 [INFO] [MiraiNative] Mirai Native 正启用所有 DLL 插件。
  • 12:19:58 [INFO] [Command] 3234570937 login successes
  • 12:19:59 [INFO] [NETWORK] Received unknown commandName: ConfigPushSvc.PushDomain
  • 12:20:00 [INFO] [NETWORK] Recv: ConfigPushSvc.PushReq.PushReqResponse.Success
  • 12:20:00 [INFO] [NETWORK] Send: ConfigPushSvc.PushResp
  • 12:20:00 [INFO] [NETWORK] ConfigPushSvc.PushReq: Success
  • npm list
  • 12:20:09 [INFO] [Command] 共加载了 0 个 Mirai Native 插件
  • 12:20:18 [INFO] [MiraiNative] Native Plugin (w json) 进群欢迎语 has been loaded with code 126
  • npm list
  • 12:20:24 [INFO] [Command] 共加载了 0 个 Mirai Native 插件

在载入原酷Q Native.SDK开发插件时出现问题

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1e170264, pid=15072, tid=0x00002890

JRE version: OpenJDK Runtime Environment (8.0_252-b09) (build 1.8.0_252-b09)
Java VM: OpenJDK Client VM (25.252-b09 mixed mode windows-x86 )
Problematic frame:
C 0x1e170264

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

--------------- T H R E A D ---------------

Current thread (0x163ee800): JavaThread "MiraiNative" daemon [_thread_in_native, id=10384, stack(0x181d0000,0x18220000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x1821f1bc, ECX=0x00000000, EDX=0x1878a9b4
ESP=0x1821b78c, EBP=0x1821f06c, ESI=0x18750d2c, EDI=0x1821f060
EIP=0x1e170264, EFLAGS=0x00210246

Top of Stack: (sp=0x1821b78c)
0x1821b78c: 1aa6664c 00000000 00000000 00000000
0x1821b79c: 00000000 00000000 00000000 00000000
0x1821b7ac: 00000000 00000000 00000000 00000000
0x1821b7bc: 00000000 00000000 00000000 00000000
0x1821b7cc: 00000000 00000000 00000000 00000000
0x1821b7dc: 00000000 00000000 00000000 00000000
0x1821b7ec: 00000000 00000000 00000000 00000000
0x1821b7fc: 00000000 00000000 00000000 00000000

Instructions: (pc=0x1e170264)
0x1e170244: ff 39 09 ff 15 18 52 a6 1a 89 85 20 fb ff ff 68
0x1e170254: 4c 66 a6 1a 8b 15 10 25 74 19 8b 8d 20 fb ff ff
0x1e170264: 39 09 ff 15 20 66 a6 1a 89 85 1c fb ff ff 8b 15
0x1e170274: 10 25 74 19 8b 8d 1c fb ff ff e8 ed a4 9f 53 89

Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x1821f1bc is pointing into the stack for thread: 0x163ee800
ECX=0x00000000 is an unknown value
EDX=0x1878a9b4 is an unknown value
ESP=0x1821b78c is pointing into the stack for thread: 0x163ee800
EBP=0x1821f06c is pointing into the stack for thread: 0x163ee800
ESI=0x18750d2c is an unknown value
EDI=0x1821f060 is pointing into the stack for thread: 0x163ee800

Stack: [0x181d0000,0x18220000], sp=0x1821b78c, free space=301k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x1e170264
C 0x184cef2e
C 0x184ced5d
C 0x1839d488
C [CQP.dll+0x189e]
j org.itxtech.mirainative.Bridge.pEvGroupMessage(ILjava/lang/String;IIJJLjava/lang/String;Ljava/lang/String;I)I+0
j org.itxtech.mirainative.bridge.NativeBridge.eventGroupMessage(IIJJLjava/lang/String;Ljava/lang/String;I)V+92
j org.itxtech.mirainative.manager.EventManager$registerEvents$3$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+179
J 702 C1 kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V (146 bytes) @ 0x0256bb48 [0x0256baa0+0xa8]
j kotlinx.coroutines.DispatchedTask.run()V+329
J 786 C1 java.util.concurrent.FutureTask.run()V (126 bytes) @ 0x0257f844 [0x0257f790+0xb4]
J 755 C1 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V (59 bytes) @ 0x025788d4 [0x025787c0+0x114]
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x136da2]
V [jvm.dll+0x20195b]
V [jvm.dll+0x136a9a]
V [jvm.dll+0x13742c]
V [jvm.dll+0x137386]
V [jvm.dll+0xdf4c2]
V [jvm.dll+0x15b40a]
V [jvm.dll+0x15ab9f]
V [jvm.dll+0x1995fb]
C [msvcr120.dll+0x2c01d]
C [msvcr120.dll+0x2c001]
C [KERNEL32.DLL+0x1f989]
C [ntdll.dll+0x67084]
C [ntdll.dll+0x67054]
C 0x00000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.itxtech.mirainative.Bridge.pEvGroupMessage(ILjava/lang/String;IIJJLjava/lang/String;Ljava/lang/String;I)I+0
j org.itxtech.mirainative.bridge.NativeBridge.eventGroupMessage(IIJJLjava/lang/String;Ljava/lang/String;I)V+92
j org.itxtech.mirainative.manager.EventManager$registerEvents$3$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+179
J 702 C1 kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V (146 bytes) @ 0x0256bb48 [0x0256baa0+0xa8]
j kotlinx.coroutines.DispatchedTask.run()V+329
J 786 C1 java.util.concurrent.FutureTask.run()V (126 bytes) @ 0x0257f844 [0x0257f790+0xb4]
J 755 C1 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V (59 bytes) @ 0x025788d4 [0x025787c0+0x114]
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x169bdc00 JavaThread "DefaultDispatcher-worker-10" daemon [_thread_blocked, id=7040, stack(0x1dae0000,0x1db30000)]
0x169b9800 JavaThread "DefaultDispatcher-worker-9" daemon [_thread_blocked, id=1376, stack(0x1d680000,0x1d6d0000)]
0x169b8000 JavaThread "DefaultDispatcher-worker-8" daemon [_thread_blocked, id=9712, stack(0x1d560000,0x1d5b0000)]
0x169b6c00 JavaThread "DefaultDispatcher-worker-7" daemon [_thread_in_native, id=18672, stack(0x1ad30000,0x1ad80000)]
0x169b7800 JavaThread "DefaultDispatcher-worker-6" daemon [_thread_blocked, id=13620, stack(0x17810000,0x17860000)]
0x169bac00 JavaThread "DefaultDispatcher-worker-5" daemon [_thread_blocked, id=6980, stack(0x17780000,0x177d0000)]
0x169bc400 JavaThread "TimerQueue" daemon [_thread_blocked, id=5404, stack(0x1d430000,0x1d480000)]
0x169bc000 JavaThread "DefaultDispatcher-worker-4" daemon [_thread_blocked, id=16256, stack(0x17c30000,0x17c80000)]
0x163f0c00 JavaThread "DefaultDispatcher-worker-3" daemon [_thread_blocked, id=19516, stack(0x17aa0000,0x17af0000)]
0x163f0800 JavaThread "ktor-cio-dispatcher-worker-2" daemon [_thread_blocked, id=15880, stack(0x176f0000,0x17740000)]
0x163ef400 JavaThread "ktor-cio-dispatcher-worker-1" daemon [_thread_blocked, id=6300, stack(0x005b0000,0x00600000)]
0x163eec00 JavaThread "pool-1-thread-1" [_thread_blocked, id=21228, stack(0x18260000,0x182b0000)]
0x163efc00 JavaThread "DestroyJavaVM" [_thread_blocked, id=1548, stack(0x02340000,0x02390000)]
=>0x163ee800 JavaThread "MiraiNative" daemon [_thread_in_native, id=10384, stack(0x181d0000,0x18220000)]
0x163f1400 JavaThread "kotlinx.coroutines.DefaultExecutor" daemon [_thread_blocked, id=2704, stack(0x18080000,0x180d0000)]
0x163f2000 JavaThread "DefaultDispatcher-worker-2" daemon [_thread_blocked, id=9092, stack(0x17ef0000,0x17f40000)]
0x163f0000 JavaThread "DefaultDispatcher-worker-1" daemon [_thread_blocked, id=20280, stack(0x17e60000,0x17eb0000)]
0x163f1800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2964, stack(0x17430000,0x17480000)]
0x16382800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=14212, stack(0x17030000,0x17080000)]
0x16382400 JavaThread "AWT-Shutdown" [_thread_blocked, id=4756, stack(0x16fa0000,0x16ff0000)]
0x1637d800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=14428, stack(0x16f10000,0x16f60000)]
0x1630dc00 JavaThread "ktor-cio-dispatcher-worker-4" daemon [_thread_in_native, id=14592, stack(0x16bd0000,0x16c20000)]
0x1553ac00 JavaThread "Mirai Console Input Thread" [_thread_in_native, id=17396, stack(0x15c90000,0x15ce0000)]
0x15421400 JavaThread "ktor-cio-dispatcher-worker-3" daemon [_thread_blocked, id=7292, stack(0x15b00000,0x15b50000)]
0x153fc800 JavaThread "ktor-cio-dispatcher-worker-2" daemon [_thread_blocked, id=20020, stack(0x15850000,0x158a0000)]
0x153fc000 JavaThread "ktor-cio-dispatcher-worker-1" daemon [_thread_blocked, id=20148, stack(0x157c0000,0x15810000)]
0x15115c00 JavaThread "kotlinx.coroutines.DefaultExecutor" daemon [_thread_blocked, id=21392, stack(0x15330000,0x15380000)]
0x1510ec00 JavaThread "DefaultDispatcher-worker-2" daemon [_thread_blocked, id=11168, stack(0x152a0000,0x152f0000)]
0x15107800 JavaThread "DefaultDispatcher-worker-1" daemon [_thread_blocked, id=16824, stack(0x15210000,0x15260000)]
0x14cdd000 JavaThread "Service Thread" daemon [_thread_blocked, id=5412, stack(0x14ef0000,0x14f40000)]
0x14cac000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=14536, stack(0x14e60000,0x14eb0000)]
0x14caac00 JavaThread "Attach Listener" daemon [_thread_blocked, id=18176, stack(0x14dd0000,0x14e20000)]
0x14cd7c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10368, stack(0x14d40000,0x14d90000)]
0x006f9000 JavaThread "Finalizer" daemon [_thread_blocked, id=5204, stack(0x14b30000,0x14b80000)]
0x006f2800 JavaThread "Reference Handler" daemon [_thread_blocked, id=6572, stack(0x14aa0000,0x14af0000)]

Other Threads:
0x006dc800 VMThread [stack: 0x04580000,0x045d0000] [id=9572]
0x14ce0800 WatcherThread [stack: 0x14f80000,0x14fd0000] [id=15176]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
def new generation total 6848K, used 3065K [0x04600000, 0x04d60000, 0x09b50000)
eden space 6144K, 49% used [0x04600000, 0x048fe760, 0x04c00000)
from space 704K, 0% used [0x04c00000, 0x04c00000, 0x04cb0000)
to space 704K, 0% used [0x04cb0000, 0x04cb0000, 0x04d60000)
tenured generation total 14948K, used 8967K [0x09b50000, 0x0a9e9000, 0x14600000)
the space 14948K, 59% used [0x09b50000, 0x0a411de0, 0x0a411e00, 0x0a9e9000)
Metaspace used 25931K, capacity 26156K, committed 26368K, reserved 27008K

Card table byte_map: [0x04450000,0x044e0000] byte_map_base: 0x0442d000

Polling page: 0x00540000

CodeCache: size=32768Kb used=2506Kb max_used=2506Kb free=30261Kb
bounds [0x023d0000, 0x02648000, 0x043d0000]
total_blobs=1631 nmethods=1263 adapters=299
compilation: enabled

Compilation events (10 events):
Event: 198.352 Thread 0x14cac000 1295 kotlinx.coroutines.scheduling.CoroutineScheduler::createTask$kotlinx_coroutines_core (49 bytes)
Event: 198.352 Thread 0x14cac000 nmethod 1295 0x02641d48 code [0x02641e70, 0x02642078]
Event: 198.353 Thread 0x14cac000 1296 kotlinx.coroutines.scheduling.CoroutineScheduler::currentWorker (63 bytes)
Event: 198.353 Thread 0x14cac000 nmethod 1296 0x02642248 code [0x02642350, 0x026424a0]
Event: 198.353 Thread 0x14cac000 1297 kotlinx.coroutines.scheduling.CoroutineScheduler::submitToLocalQueue (64 bytes)
Event: 198.353 Thread 0x14cac000 nmethod 1297 0x02642588 code [0x026426a0, 0x026427f8]
Event: 198.353 Thread 0x14cac000 1298 ! kotlinx.coroutines.scheduling.CoroutineScheduler::runSafely (85 bytes)
Event: 198.354 Thread 0x14cac000 nmethod 1298 0x02642908 code [0x02642a50, 0x02642c3c]
Event: 200.770 Thread 0x14cac000 1299 java.nio.Buffer::capacity (5 bytes)
Event: 200.770 Thread 0x14cac000 nmethod 1299 0x02642e48 code [0x02642f40, 0x02642fc0]

GC Heap History (10 events):
Event: 167.978 GC heap before
{Heap before GC invocations=35 (full 3):
def new generation total 5440K, used 5439K [0x04600000, 0x04be0000, 0x09b50000)
eden space 4864K, 99% used [0x04600000, 0x04abfee0, 0x04ac0000)
from space 576K, 99% used [0x04ac0000, 0x04b4fff8, 0x04b50000)
to space 576K, 0% used [0x04b50000, 0x04b50000, 0x04be0000)
tenured generation total 11900K, used 11026K [0x09b50000, 0x0a6ef000, 0x14600000)
the space 11900K, 92% used [0x09b50000, 0x0a614a88, 0x0a614c00, 0x0a6ef000)
Metaspace used 25459K, capacity 25652K, committed 25856K, reserved 25984K
Event: 167.980 GC heap after
Heap after GC invocations=36 (full 3):
def new generation total 5440K, used 576K [0x04600000, 0x04be0000, 0x09b50000)
eden space 4864K, 0% used [0x04600000, 0x04600000, 0x04ac0000)
from space 576K, 100% used [0x04b50000, 0x04be0000, 0x04be0000)
to space 576K, 0% used [0x04ac0000, 0x04ac0000, 0x04b50000)
tenured generation total 11900K, used 11682K [0x09b50000, 0x0a6ef000, 0x14600000)
the space 11900K, 98% used [0x09b50000, 0x0a6b88b0, 0x0a6b8a00, 0x0a6ef000)
Metaspace used 25459K, capacity 25652K, committed 25856K, reserved 25984K
}
Event: 177.650 GC heap before
{Heap before GC invocations=36 (full 3):
def new generation total 5440K, used 5440K [0x04600000, 0x04be0000, 0x09b50000)
eden space 4864K, 100% used [0x04600000, 0x04ac0000, 0x04ac0000)
from space 576K, 100% used [0x04b50000, 0x04be0000, 0x04be0000)
to space 576K, 0% used [0x04ac0000, 0x04ac0000, 0x04b50000)
tenured generation total 11900K, used 11682K [0x09b50000, 0x0a6ef000, 0x14600000)
the space 11900K, 98% used [0x09b50000, 0x0a6b88b0, 0x0a6b8a00, 0x0a6ef000)
Metaspace used 25608K, capacity 25812K, committed 25984K, reserved 25984K
Event: 177.652 GC heap after
Heap after GC invocations=37 (full 3):
def new generation total 5440K, used 533K [0x04600000, 0x04be0000, 0x09b50000)
eden space 4864K, 0% used [0x04600000, 0x04600000, 0x04ac0000)
from space 576K, 92% used [0x04ac0000, 0x04b45760, 0x04b50000)
to space 576K, 0% used [0x04b50000, 0x04b50000, 0x04be0000)
tenured generation total 11900K, used 11749K [0x09b50000, 0x0a6ef000, 0x14600000)
the space 11900K, 98% used [0x09b50000, 0x0a6c94d8, 0x0a6c9600, 0x0a6ef000)
Metaspace used 25608K, capacity 25812K, committed 25984K, reserved 25984K
}
Event: 177.655 GC heap before
{Heap before GC invocations=37 (full 3):
def new generation total 5440K, used 5397K [0x04600000, 0x04be0000, 0x09b50000)
eden space 4864K, 100% used [0x04600000, 0x04ac0000, 0x04ac0000)
from space 576K, 92% used [0x04ac0000, 0x04b45760, 0x04b50000)
to space 576K, 0% used [0x04b50000, 0x04b50000, 0x04be0000)
tenured generation total 11900K, used 11749K [0x09b50000, 0x0a6ef000, 0x14600000)
the space 11900K, 98% used [0x09b50000, 0x0a6c94d8, 0x0a6c9600, 0x0a6ef000)
Metaspace used 25608K, capacity 25812K, committed 25984K, reserved 25984K
Event: 177.686 GC heap after
Heap after GC invocations=38 (full 4):
def new generation total 6208K, used 0K [0x04600000, 0x04cb0000, 0x09b50000)
eden space 5568K, 0% used [0x04600000, 0x04600000, 0x04b70000)
from space 640K, 0% used [0x04b70000, 0x04b70000, 0x04c10000)
to space 640K, 0% used [0x04c10000, 0x04c10000, 0x04cb0000)
tenured generation total 13652K, used 8190K [0x09b50000, 0x0a8a5000, 0x14600000)
the space 13652K, 59% used [0x09b50000, 0x0a34f9b0, 0x0a34fa00, 0x0a8a5000)
Metaspace used 25602K, capacity 25804K, committed 25984K, reserved 25984K
}
Event: 177.689 GC heap before
{Heap before GC invocations=38 (full 4):
def new generation total 6208K, used 5568K [0x04600000, 0x04cb0000, 0x09b50000)
eden space 5568K, 100% used [0x04600000, 0x04b70000, 0x04b70000)
from space 640K, 0% used [0x04b70000, 0x04b70000, 0x04c10000)
to space 640K, 0% used [0x04c10000, 0x04c10000, 0x04cb0000)
tenured generation total 13652K, used 8190K [0x09b50000, 0x0a8a5000, 0x14600000)
the space 13652K, 59% used [0x09b50000, 0x0a34f9b0, 0x0a34fa00, 0x0a8a5000)
Metaspace used 25602K, capacity 25804K, committed 25984K, reserved 25984K
Event: 177.690 GC heap after
Heap after GC invocations=39 (full 4):
def new generation total 6208K, used 512K [0x04600000, 0x04cb0000, 0x09b50000)
eden space 5568K, 0% used [0x04600000, 0x04600000, 0x04b70000)
from space 640K, 80% used [0x04c10000, 0x04c900f0, 0x04cb0000)
to space 640K, 0% used [0x04b70000, 0x04b70000, 0x04c10000)
tenured generation total 13652K, used 8190K [0x09b50000, 0x0a8a5000, 0x14600000)
the space 13652K, 59% used [0x09b50000, 0x0a34f9b0, 0x0a34fa00, 0x0a8a5000)
Metaspace used 25602K, capacity 25804K, committed 25984K, reserved 25984K
}
Event: 180.204 GC heap before
{Heap before GC invocations=39 (full 4):
def new generation total 6208K, used 3585K [0x04600000, 0x04cb0000, 0x09b50000)
eden space 5568K, 55% used [0x04600000, 0x04900448, 0x04b70000)
from space 640K, 80% used [0x04c10000, 0x04c900f0, 0x04cb0000)
to space 640K, 0% used [0x04b70000, 0x04b70000, 0x04c10000)
tenured generation total 13652K, used 8190K [0x09b50000, 0x0a8a5000, 0x14600000)
the space 13652K, 59% used [0x09b50000, 0x0a34f9b0, 0x0a34fa00, 0x0a8a5000)
Metaspace used 25602K, capacity 25804K, committed 25984K, reserved 25984K
Event: 180.223 GC heap after
Heap after GC invocations=40 (full 5):
def new generation total 6848K, used 0K [0x04600000, 0x04d60000, 0x09b50000)
eden space 6144K, 0% used [0x04600000, 0x04600000, 0x04c00000)
from space 704K, 0% used [0x04c00000, 0x04c00000, 0x04cb0000)
to space 704K, 0% used [0x04cb0000, 0x04cb0000, 0x04d60000)
tenured generation total 14948K, used 8967K [0x09b50000, 0x0a9e9000, 0x14600000)
the space 14948K, 59% used [0x09b50000, 0x0a411de0, 0x0a411e00, 0x0a9e9000)
Metaspace used 25602K, capacity 25804K, committed 25984K, reserved 25984K
}

Deoptimization events (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (10 events):
Event: 0.633 Thread 0x0062d800 Exception <a 'java/lang/ClassNotFoundException': sun/dc/DuctusRenderingEngine> (0x046083a0) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.713 Thread 0x0062d800 Exception <a 'java/io/FileNotFoundException'> (0x049fb2c0) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 0.760 Thread 0x0062d800 Exception <a 'java/io/FileNotFoundException'> (0x04615968) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 710]
Event: 0.760 Thread 0x0062d800 Exception <a 'java/lang/NullPointerException'> (0x04615f58) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1185]
Event: 160.062 Thread 0x163eec00 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x04a94650) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 383]
Event: 167.126 Thread 0x163eec00 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x04a68b50) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 383]
Event: 167.128 Thread 0x163eec00 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x04a8aa80) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 383]
Event: 167.477 Thread 0x163eec00 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x04893a30) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 383]
Event: 177.558 Thread 0x169bac00 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x047721b0) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 383]
Event: 198.191 Thread 0x169bac00 Exception <a 'java/lang/ClassCastException': java.util.AbstractMap$SimpleImmutableEntry cannot be cast to java.util.Map> (0x0471c420) thrown at [J:\jenkins\tmp\workspace\build\src\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 383]

Events (10 events):
Event: 200.900 loading class io/ktor/utils/io/core/ByteReadPacketBase$Companion
Event: 200.900 loading class io/ktor/utils/io/core/ByteReadPacketBase$Companion done
Event: 200.900 loading class io/ktor/utils/io/core/ByteReadPacket$Companion
Event: 200.900 loading class io/ktor/utils/io/core/ByteReadPacket$Companion done
Event: 200.901 loading class io/ktor/utils/io/core/InputArraysKt
Event: 200.901 loading class io/ktor/utils/io/core/InputArraysKt done
Event: 200.902 loading class io/ktor/utils/io/bits/MemoryJvmKt
Event: 200.902 loading class io/ktor/utils/io/bits/MemoryJvmKt done
Event: 200.902 loading class io/ktor/utils/io/core/BuffersKt
Event: 200.902 loading class io/ktor/utils/io/core/BuffersKt done

Dynamic libraries:
0x00570000 - 0x005a5000 D:\QBot\Mirai\jre\bin\java.exe
0x77890000 - 0x77a32000 C:\Windows\SYSTEM32\ntdll.dll
0x77780000 - 0x77870000 C:\Windows\System32\KERNEL32.DLL
0x76cc0000 - 0x76ed3000 C:\Windows\System32\KERNELBASE.dll
0x70730000 - 0x707cf000 C:\Windows\SYSTEM32\apphelp.dll
0x76f60000 - 0x76fd9000 C:\Windows\System32\ADVAPI32.dll
0x77220000 - 0x772df000 C:\Windows\System32\msvcrt.dll
0x76a00000 - 0x76a75000 C:\Windows\System32\sechost.dll
0x76770000 - 0x7682a000 C:\Windows\System32\RPCRT4.dll
0x75db0000 - 0x75f43000 C:\Windows\System32\USER32.dll
0x76a80000 - 0x76a98000 C:\Windows\System32\win32u.dll
0x76c90000 - 0x76cb3000 C:\Windows\System32\GDI32.dll
0x76fe0000 - 0x770ba000 C:\Windows\System32\gdi32full.dll
0x76ee0000 - 0x76f5b000 C:\Windows\System32\msvcp_win.dll
0x770c0000 - 0x771e0000 C:\Windows\System32\ucrtbase.dll
0x70520000 - 0x70730000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_fd031af45b0106f2\COMCTL32.dll
0x766d0000 - 0x766f5000 C:\Windows\System32\IMM32.DLL
0x5bb70000 - 0x5bc5e000 D:\QBot\Mirai\jre\bin\msvcr120.dll
0x5baf0000 - 0x5bb61000 D:\QBot\Mirai\jre\bin\msvcp120.dll
0x58500000 - 0x5888a000 D:\QBot\Mirai\jre\bin\client\jvm.dll
0x76700000 - 0x76706000 C:\Windows\System32\PSAPI.DLL
0x74610000 - 0x74618000 C:\Windows\SYSTEM32\WSOCK32.dll
0x74aa0000 - 0x74ac8000 C:\Windows\SYSTEM32\WINMM.dll
0x744a0000 - 0x744a8000 C:\Windows\SYSTEM32\VERSION.dll
0x772e0000 - 0x77343000 C:\Windows\System32\WS2_32.dll
0x6c950000 - 0x6c95d000 D:\QBot\Mirai\jre\bin\verify.dll
0x5c770000 - 0x5c794000 D:\QBot\Mirai\jre\bin\java.dll
0x6c930000 - 0x6c944000 D:\QBot\Mirai\jre\bin\zip.dll
0x757b0000 - 0x75d59000 C:\Windows\System32\SHELL32.dll
0x72bf0000 - 0x731f6000 C:\Windows\SYSTEM32\windows.storage.dll
0x77500000 - 0x77780000 C:\Windows\System32\combase.dll
0x72bc0000 - 0x72be3000 C:\Windows\SYSTEM32\Wldp.dll
0x77350000 - 0x773d7000 C:\Windows\System32\SHCORE.dll
0x75f50000 - 0x75f95000 C:\Windows\System32\shlwapi.dll
0x72b90000 - 0x72ba8000 C:\Windows\SYSTEM32\profapi.dll
0x5c750000 - 0x5c766000 D:\QBot\Mirai\jre\bin\net.dll
0x73420000 - 0x73472000 C:\Windows\system32\mswsock.dll
0x5c730000 - 0x5c73f000 D:\QBot\Mirai\jre\bin\nio.dll
0x714f0000 - 0x71503000 C:\Windows\SYSTEM32\CRYPTSP.dll
0x714c0000 - 0x714ef000 C:\Windows\system32\rsaenh.dll
0x75770000 - 0x75789000 C:\Windows\System32\bcrypt.dll
0x75560000 - 0x75585000 C:\Windows\SYSTEM32\USERENV.dll
0x760b0000 - 0x7610c000 C:\Windows\System32\bcryptprimitives.dll
0x714b0000 - 0x714ba000 C:\Windows\SYSTEM32\CRYPTBASE.dll
0x74d90000 - 0x74dc2000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x77870000 - 0x77877000 C:\Windows\System32\NSI.dll
0x73b20000 - 0x73b34000 C:\Windows\SYSTEM32\dhcpcsvc6.DLL
0x73b00000 - 0x73b16000 C:\Windows\SYSTEM32\dhcpcsvc.DLL
0x74dd0000 - 0x74e60000 C:\Windows\SYSTEM32\DNSAPI.dll
0x714a0000 - 0x714a8000 C:\Windows\System32\rasadhlp.dll
0x713b0000 - 0x71408000 C:\Windows\System32\fwpuclnt.dll
0x5bac0000 - 0x5bae3000 D:\QBot\Mirai\jre\bin\sunec.dll
0x5b730000 - 0x5b87a000 D:\QBot\Mirai\jre\bin\awt.dll
0x773e0000 - 0x77476000 C:\Windows\System32\OLEAUT32.dll
0x707f0000 - 0x70864000 C:\Windows\system32\uxtheme.dll
0x768c0000 - 0x76992000 C:\Windows\System32\MSCTF.dll
0x17090000 - 0x170a2000 C:\Program Files (x86)\RocketDock\RocketDock.dll
0x76aa0000 - 0x76b83000 C:\Windows\System32\ole32.dll
0x744b0000 - 0x744bf000 C:\Windows\SYSTEM32\kernel.appcore.dll
0x5ba90000 - 0x5bab5000 D:\QBot\Mirai\jre\bin\jpeg.dll
0x70380000 - 0x703a4000 C:\Windows\system32\DWMAPI.DLL
0x5b990000 - 0x5ba90000 C:\Windows\system32\opengl32.dll
0x5b6f0000 - 0x5b72f000 C:\Windows\SYSTEM32\GLU32.dll
0x5b670000 - 0x5b6eb000 D:\QBot\Mirai\jre\bin\freetype.dll
0x5ad10000 - 0x5adab000 D:\QBot\Mirai\jre\bin\fontmanager.dll
0x5c4b0000 - 0x5c543000 C:\Windows\SYSTEM32\mscms.dll
0x6c910000 - 0x6c91c000 C:\Windows\SYSTEM32\ColorAdapterClient.dll
0x5b630000 - 0x5b66e000 C:\Windows\SYSTEM32\icm32.dll
0x5c720000 - 0x5c729000 D:\QBot\Mirai\plugins\MiraiNative\CQP.dll
0x6d2e0000 - 0x6d351000 C:\Windows\SYSTEM32\MSVCP140.dll
0x756c0000 - 0x756d4000 C:\Windows\SYSTEM32\VCRUNTIME140.dll
0x66000000 - 0x66154000 D:\QBot\Mirai\plugins\MiraiNative\libraries\libiconv.dll
0x180e0000 - 0x1818a000 D:\QBot\Mirai\plugins\MiraiNative\libraries\Newtonsoft.Json.dll
0x61e00000 - 0x61ecd000 D:\QBot\Mirai\plugins\MiraiNative\libraries\sqlite3.dll
0x57cd0000 - 0x57f70000 D:\QBot\Mirai\plugins\MiraiNative\plugins\http.dll
0x76b90000 - 0x76c8f000 C:\Windows\System32\CRYPT32.dll
0x5ab90000 - 0x5ad0c000 D:\QBot\Mirai\plugins\MiraiNative\plugins\me.cqp.luohuaming.Gacha.dll
0x75710000 - 0x75762000 C:\Windows\SYSTEM32\mscoree.dll
0x74ce0000 - 0x74d6d000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
0x73cc0000 - 0x74470000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
0x73ae0000 - 0x73af4000 C:\Windows\SYSTEM32\VCRUNTIME140_CLR0400.dll
0x73620000 - 0x736cb000 C:\Windows\SYSTEM32\ucrtbase_clr0400.dll
0x71780000 - 0x72b8e000 C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\33ddd1d414c8f8d6deceff1a62363c2e\mscorlib.ni.dll
0x71410000 - 0x71499000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
0x78840000 - 0x78945000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll
0x70920000 - 0x71377000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System\9d8e5e65320ca92e49017f3043701e5f\System.ni.dll
0x6ede0000 - 0x6edf0000 C:\Windows\SYSTEM32\amsi.dll
0x5ab20000 - 0x5ab8b000 C:\ProgramData\Microsoft\Windows Defender\platform\4.18.2006.10-0\X86\MpOav.dll
0x58430000 - 0x584f1000 C:\ProgramData\Microsoft\Windows Defender\platform\4.18.2006.10-0\X86\MPCLIENT.DLL
0x707d0000 - 0x707ee000 C:\Windows\SYSTEM32\gpapi.dll
0x6e550000 - 0x6ed68000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\4a9323e1e332fcc6d5128407fd3404f3\System.Core.ni.dll
0x55180000 - 0x554fa000 D:\QBot\Mirai\plugins\MiraiNative\plugins\me.cqp.luohuaming.Setu.dll
0x5c060000 - 0x5c06a000 D:\QBot\Mirai\jre\bin\sunmscapi.dll
0x5dd70000 - 0x5dd91000 C:\Windows\SYSTEM32\ncrypt.dll
0x5de00000 - 0x5de28000 C:\Windows\SYSTEM32\NTASN1.dll
0x77480000 - 0x774fe000 C:\Windows\System32\clbcatq.dll
0x6f550000 - 0x6f6c0000 C:\Windows\SYSTEM32\WindowsCodecs.dll
0x6fe80000 - 0x6feb2000 C:\Windows\system32\dataexchange.dll
0x6f850000 - 0x6fa30000 C:\Windows\system32\d3d11.dll
0x6fd10000 - 0x6fe74000 C:\Windows\system32\dcomp.dll
0x6fc40000 - 0x6fd02000 C:\Windows\system32\dxgi.dll
0x6f6c0000 - 0x6f850000 C:\Windows\system32\twinapi.appcore.dll
0x702c0000 - 0x70379000 C:\Windows\SYSTEM32\textinputframework.dll
0x6ffa0000 - 0x7003b000 C:\Windows\System32\CoreMessaging.dll
0x70040000 - 0x702be000 C:\Windows\System32\CoreUIComponents.dll
0x6fec0000 - 0x6ff9e000 C:\Windows\SYSTEM32\wintypes.dll
0x73c90000 - 0x73cb9000 C:\Windows\SYSTEM32\ntmarta.dll
0x5c260000 - 0x5c268000 D:\Program Files\Internet Download Manager\Bin\idmmkb.dll
0x6d960000 - 0x6d971000 C:\Windows\system32\napinsp.dll
0x6d940000 - 0x6d956000 C:\Windows\system32\pnrpnsp.dll
0x6d930000 - 0x6d940000 C:\Windows\system32\wshbth.dll
0x6d910000 - 0x6d926000 C:\Windows\system32\NLAapi.dll
0x6d900000 - 0x6d90e000 C:\Windows\System32\winrnr.dll
0x5b3e0000 - 0x5b41b000 C:\Windows\system32\c_g18030.dll
0x54960000 - 0x5517a000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data\2e725cfb62d648253c0f90354643f923\System.Data.ni.dll
0x54600000 - 0x54954000 C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
0x58370000 - 0x58428000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Transactions\8bc9dd9d744b13f8938585763fa6a16e\System.Transactions.ni.dll
0x5aad0000 - 0x5ab1c000 C:\Windows\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
0x73480000 - 0x73608000 C:\Windows\SYSTEM32\dbghelp.dll

VM Arguments:
java_command: mirai-console-wrapper-1.3.0.jar --update keep
java_class_path (initial): mirai-console-wrapper-1.3.0.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Users\Skrtono\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Skrtono\AppData\Local\Programs\Python\Python38;C:\Users\Skrtono\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip;C:\Users\Skrtono\AppData\Local\Programs\Fiddler;C:\Users\Skrtono\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Skrtono\AppData\Roaming\npm
USERNAME=Skrtono
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 10, GenuineIntel

--------------- S Y S T E M ---------------

OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.292)

CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 158 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 8240932k(2602544k free), swap 21348132k(10207400k free)

vm_info: OpenJDK Client VM (25.252-b09) for windows-x86 JRE (1.8.0_252-b09), built on Apr 22 2020 09:37:52 by "jenkins" with MS VC++ 12.0 (VS2013)

time: Thu Jul 02 13:35:17 2020
timezone: ?D1ú±ê×?ê±??
elapsed time: 201 seconds (0d 0h 3m 21s)

关于无法载入`CPK`解包插件的讨论

怀疑 是酷Q的c++ sdk会给函数名加上前缀和后缀的问题。一些关键函数如 AppInfoInitialize,被修改后变成 _AppInfo@0,_Initialize@4 。因为这些函数不能在对应的json文件里自定义,所以没办法被MiraiNative正常加载。希望dalao能快点解决啦:kissing:

是否无法发送gif图片.

[BOT 2406948207] [机器人测试(663940183)] 欞(6939326) -> [mirai:source:9683,1954448691]常规1抽A
22:32:40 [INFO] [NETWORK] Send: ImgStore.GroupPicUp
22:32:40 [INFO] [NETWORK] Send: MessageSvc.PbSendMsg
22:32:40 [INFO] [NETWORK] Recv: RequireUpload(fileId=2266430289, uKey=[-94, 93, 78, -106, 126, -101, 47, 108, 33, -126, 103, -96, 58, 75, 71, -49, 75, -116, 48, -50, -97, 41, -120, 85, 104, 87, 95, 25, 36, -45, 67, -37, -53, 68, 108, -95, -116, 71, -117, -123, 59, 115, 63, 57, 72, 45, 67, 44, 14, -47, 1, 84, -111, 121, -23, -33, 43, -128, -31, -128, 41, 95, -2, 10, -114, 70, 97, -51, 108, 51, -115, -125, -123, 66, -43, -104, 50, 78, -110, 35, 15, 4, 101, -13, 10, 111, -109, -78, 98, -41, 54, -42, 61, 42, 15, -18, -100, 107, 122, -38, 53, -47, 10, -24, 19, -87, -30, -60, -54, 62, -118, 29, -40, 112, 125, 23, -123, 110, -66, -58, 24, -13, 42, -109, -74, -115, -26, 25])
22:32:40 [INFO] [NETWORK] [Highway] Uploading group image to 14.18.180.184:14000, size=443.86 KiB
22:32:40 [INFO] [NETWORK] Recv: MessageSvcPbSendMsg.Response.SUCCESS
22:32:40 [INFO] [BOT 2406948207] Group(663940183) <- [mirai:at:6939326,@欞]正在进行常规A池1连,请稍后....
22:32:41 [INFO] [NETWORK] [Highway] Uploading group image: succeed at 666 KiB/s
22:32:41 [INFO] [NETWORK] Send: ImgStore.GroupPicUp
22:32:41 [INFO] [NETWORK] Recv: RequireUpload(fileId=2452584187, uKey=[-83, 57, 53, 124, 122, 89, 53, 93, -124, -108, 65, 85, 53, -41, 28, 4, -81, -111, 88, -77, 21, 44, -64, -107, 76, -16, 28, -22, 80, -46, 37, 18, -29, 34, -42, 34, 10, -124, 97, -59, 90, 51, -35, -49, 87, 97, -46, -55, -54, -68, 58, 23, 36, -118, -42, -46, -101, -7, 124, -82, 65, 94, 124, -58, -62, -27, -21, 63, 59, 55, 102, 10, -7, 102, -82, -124, -50, 51, 7, -5, 106, -94, 119, 123, 23, 127, 11, 88, 67, 65, -17, 76, 16, -12, 1, -95, 115, 27, 39, 34, -97, -73, 56, -15, 74, 105, -55, -119, 57, -108, 59, 34, -126, -51, 58, -54, 32, 105, -43, 97, -115, -54, -114, 86, 104, -119, -78, -8])
22:32:41 [INFO] [NETWORK] [Highway] Uploading group image to 183.3.233.227:14000, size=487.52 KiB
22:32:41 [INFO] [NETWORK] [Highway] Uploading group image: succeed at 672 KiB/s
22:32:41 [INFO] [NETWORK] Send: MessageSvc.PbSendMsg
22:32:42 [INFO] [NETWORK] Recv: MessageSvcPbSendMsg.Response.SUCCESS
22:32:42 [INFO] [BOT 2406948207] Group(663940183) <- [mirai:at:6939326,@欞][mirai:image:{E3506094-049F-5BC8-D9C7-52A1FABB7D5E}.mirai][mirai:image:{B306784A-4028-0E8B-FDC9-EA2D81EE0E28}.mirai]

关于mirai-native初始化时给自己发送信息导致的账户冻结问题

请问作者,程序是否以初始化时给自己发的信息作为相关判断条件?经测试机器人在给自己发送这几条信息的时候会导致账号被腾讯冻结。我尝试以以下方法绕过给自己发消息的环节,但是这会导致程序判断机器人不在线从而无法enable插件:
1、重命名mirai-nativeXXX.jar为mirai-nativeXXX.jar.bak
2、启动mirai登录
3、把bak文件重命名为mirai-nativeXXX.jar
4、reload命令重载插件(此时程序以及成功加载并可以使用npm加载dll)
5、npm load XXXX.DLL(此时能够成功load,通过npm status可看到dll状态为已禁用 已加载)
6、npm enable XXXX.dll(此时dll无法enable,程序判定bot不在线,无法调用Enable事件)
经过此番操作,我推测开发者可能将该信息作为BOT状态的判断条件,故尝试手动发送,果不其然贵程序开始了初始化流程,然后账号再一次被冻结
请问对于这种情况,是否有解决方案?

现在还可以用吗?

我想用io.github.richardchien.coolqhttpapi,但是好像没有加载,不知道是不是我自己的问题

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.