MrXiaoM / Overflow

替换 mirai 实现为 Onebot 以进行无缝迁移
https://mirai.mrxiaom.top
GNU Affero General Public License v3.0
337 stars 25 forks source link

在某一时刻overflow对QQ消息的解析突然就戛然而止 #53

Closed CuteReimu closed 4 months ago

CuteReimu commented 5 months ago

问题描述

声明:这个问题似乎并不是一个广泛的问题,除了我以外目前也只有一个群友遇到有类似的问题。

我使用的是这样一个架构:

graph LR
  我自己的代码 <-->|mirai-http-api| Overflow
  Overflow <-->|OneBot| NapCatQQ
  NapCatQQ <--> QQNT

我自己的代码在之前使用基于签名服务的Mirai长期运行过,可以稳定运行。

切换到Overflow之后,大部分功能可以正常运行。但运行到某个时间后,突然就不解析来自QQ的消息了。

复现

无法稳定复现

Overflow 版本

Overflow v2.16.0-d53033f-SNAPSHOT.1

其他组件版本

系统日志

正常情况下,会有这样的日志:

2024-05-24 12:10:26 V/Bot.3389442918: [GMSR GuGuBird总部(904169430)] 代理群主(这周有89请叫我)(1193824777) -> 卖不出去我就买15个p宠复活了
2024-05-24 12:10:43 V/Bot.3389442918: [【圆】公会群(859883003)] Ragdoll(3508754373) -> 夜爬的标屏蔽不掉的
2024-05-24 12:10:45 V/Bot.3389442918: [GMSR GuGuBird总部(904169430)] 月似镜子天上照(237784149) -> 150刀可以买p宠了吗
2024-05-24 12:10:47 V/Bot.3389442918: [东方project沙包聚集地(182721157)] accelerator(2942472599) -> 我去
2024-05-24 12:10:49 V/Bot.3389442918: [【圆】公会群(859883003)] 太刀琳摁(719850394) -> 没用的
2024-05-24 12:10:49 V/Bot.3389442918: [GMSR GuGuBird总部(904169430)] 代理群主(这周有89请叫我)(1193824777) -> 想再多要点我再去搞就行了

但是,从2024-05-24 12:10:49开始,突然就没有这个日志了

网络日志

在对应的时间,日志一切正常

2024-05-24 12:10:49 D/Onebot: Client received <-- {xxxxxxxxxxx}
2024-05-24 12:10:49 D/Onebot: Client received <-- {xxxxxxxxxxx}
2024-05-24 12:10:49 D/Onebot: Send to server --> {xxxxxxxxxxx}
2024-05-24 12:10:49 D/Onebot: Client received <-- {xxxxxxxxxxx}

即使卡死之后,直到我手动停止Overflow之前,日志都一直正常

2024-05-24 15:01:43 D/Onebot: Client received <-- {xxxxxxxxxxx}

但是手动停止(Ctrl+C)时会卡死,并出现报错:

```text 2024-05-24 15:01:51 I/Onebot: ▌ 服务器连接因 主动关闭 已关闭 (关闭码: NORMAL) 2024-05-24 15:01:51 D/Onebot: Send to server --> {"action":"get_group_member_info","params":{"group_id":904169430,"user_id":3389442918,"no_cache":false},"echo":21446} 2024-05-24 15:01:51 D/Onebot: Send to server --> {"action":"get_group_member_info","params":{"group_id":904169430,"user_id":3389442918,"no_cache":false},"echo":21447} 2024-05-24 15:01:51 W/Onebot: Request failed: [get_group_member_info] null 2024-05-24 15:01:51 W/Onebot: Request failed: [get_group_member_info] null 2024-05-24 15:01:51 V/Onebot: Stacktrace: top.mrxiaom.overflow.internal.deps.websocket.exceptions.WebsocketNotConnectedException at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.send(WebSocketImpl.java:674) at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.send(WebSocketImpl.java:650) at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.send(WebSocketClient.java:431) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$resp$1$1$1.invokeSuspend(ActionSendRequest.kt:42) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$resp$1$1$1.invoke(ActionSendRequest.kt) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$resp$1$1$1.invoke(ActionSendRequest.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:100) at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:146) at kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:44) at cn.evolvefield.onebot.client.util.ActionSendRequest.send(ActionSendRequest.kt:40) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$1.invokeSuspend(ActionSendRequest.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132) at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40) at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:111) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.dto.GroupDTO.(contact.kt:58) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.dto.MemberDTO.(contact.kt:48) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.MessageKt.toDTO(message.kt:30) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.ConvertorKt.toDTO(convertor.kt:48) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.offerChannel(WebsocketAdapter.kt:60) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.onReceiveBotEvent(WebsocketAdapter.kt:53) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.context.MahContextHolder$broadcast$$inlined$forEach$lambda$1.invokeSuspend(MahContext.kt:173) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2024-05-24 15:01:51 V/Onebot: Stacktrace: top.mrxiaom.overflow.internal.deps.websocket.exceptions.WebsocketNotConnectedException at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.send(WebSocketImpl.java:674) at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.send(WebSocketImpl.java:650) at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.send(WebSocketClient.java:431) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$resp$1$1$1.invokeSuspend(ActionSendRequest.kt:42) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$resp$1$1$1.invoke(ActionSendRequest.kt) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$resp$1$1$1.invoke(ActionSendRequest.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:100) at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:146) at kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:44) at cn.evolvefield.onebot.client.util.ActionSendRequest.send(ActionSendRequest.kt:40) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$1.invokeSuspend(ActionSendRequest.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132) at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40) at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:111) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.dto.GroupDTO.(contact.kt:58) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.dto.MemberDTO.(contact.kt:48) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.MessageKt.toDTO(message.kt:30) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.convertor.ConvertorKt.toDTO(convertor.kt:48) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.offerChannel(WebsocketAdapter.kt:60) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.WebsocketAdapter.onReceiveBotEvent(WebsocketAdapter.kt:53) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.context.MahContextHolder$broadcast$$inlined$forEach$lambda$1.invokeSuspend(MahContext.kt:173) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2024-05-24 15:01:51 W/Onebot: Request failed: [get_msg] Timed out waiting for 10000 ms 2024-05-24 15:01:51 V/Onebot: Stacktrace: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184) at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154) at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108) at java.base/java.lang.Thread.run(Thread.java:833) 2024-05-24 15:01:51 D/Onebot: Send to server --> {"action":"get_group_member_info","params":{"group_id":182721157,"user_id":3389442918,"no_cache":false},"echo":21448} 2024-05-24 15:01:51 W/Onebot: Request failed: [get_group_member_info] Mutex is not locked 2024-05-24 15:01:51 V/Onebot: Stacktrace: java.lang.IllegalStateException: Mutex is not locked at kotlinx.coroutines.sync.MutexImpl.unlock(Mutex.kt:326) at cn.evolvefield.onebot.client.util.ActionSendRequest.send(ActionSendRequest.kt:98) at cn.evolvefield.onebot.client.util.ActionSendRequest$send$1.invokeSuspend(ActionSendRequest.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132) at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40) at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:111) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.dto.GroupDTO.(contact.kt:58) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.internal.action.InfomationKt.onGetGroupList(infomation.kt:31) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.router.ActionKt.handleWsAction(action.kt:82) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.router.BaseKt.handleChannel(base.kt:80) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.router.BaseKt.access$handleChannel(base.kt:1) at mirai-api-http-2.3.3.mirai.jar//net.mamoe.mirai.api.http.adapter.ws.router.BaseKt$handleChannel$1.invokeSuspend(base.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ``` 之后,我强制`kill -9`停止了Overflow

补充信息

以下是卡死后,还未Ctrl+C前的进程信息

$ top
top - 14:38:41 up 1 day, 21:47,  1 user,  load average: 0.05, 0.04, 0.00
Tasks: 110 total,   1 running, 109 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   1816.9 total,    106.1 free,   1045.1 used,    665.7 buff/cache
MiB Swap:   6000.0 total,   5827.1 free,    172.9 used.    615.0 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                               
 596322 root      20   0 3083332 470096  20752 S   0.0  25.3   2:02.50 java  

$ ps aux | grep  596322
root      596322  0.1 25.2 3083332 470096 pts/4  Sl+  5月23   2:02 java -cp .:/usr/local/java/lib/dt.jar:/usr/local/java/lib/tools.jar:./content/* net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
root     1001166  0.0  0.0  12348  1156 pts/0    S+   14:38   0:00 grep --color=auto 596322

$ ps aux | grep ./start.sh
root      596320  0.0  0.1  45752  2668 ?        Ss   5月23   0:00 SCREEN -mS overflow ./start.sh
root      596321  0.0  0.1  12936  2420 pts/4    Ss+  5月23   0:00 /bin/sh ./start.sh
root     1009211  0.0  0.0  12348  1196 pts/0    S+   15:01   0:00 grep --color=auto ./start.sh
CuteReimu commented 5 months ago

(注:本补充是重启后新出现的问题,和上述情况无关,上述情况并没有出现本补充所含的日志)

补充,重启后一段时间后新出现的日志(之后就卡住了)

2024-05-24 15:40:43 W/Onebot: Request failed: [get_group_member_info] Timed out waiting for 10000 ms
2024-05-24 15:40:43 V/Bot.3389442918: [冒之勇者成名录(1108184167)] 无关紧要之人-攒钱0/50B(137654552) -> [overflow:image,url=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgkxMzc2NTQ1NTISFOU0rQvSwt60BhfeV3Yt-iE42QfjGOav0wIg_wooz4-dwuSlhgNQgL2jAQ&spec=0&rkey=CAMSKMa3OFokB_Tleha7F5KOoxo2jwjzxfn4J708lbsw3OYJhzcRO53VEJ4]
2024-05-24 15:40:43 W/Onebot: 收到了未知的 action 回应: {"status":"ok","retcode":0,"data":{"group_id":1108184167,"user_id":3389442918,"nickname":"阴阳神玉","card":"你当机器人了 我当什么?","sex":"unknown","age":0,"area":"","level":0,"qq_level":29,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"member","title":""},"message":"","wording":"","echo":990}

网络日志(网络日志一直正常,包括后续的日志也一直正常)

2024-05-24 15:40:43 D/Onebot: Send to server --> {"action":"get_group_member_info","params":{"group_id":1108184167,"user_id":3389442918,"no_cache":false},"echo":990}
2024-05-24 15:40:43 D/Onebot: Send to server --> {"action":"get_group_member_info","params":{"group_id":1108184167,"user_id":3389442918,"no_cache":false},"echo":991}
2024-05-24 15:40:43 W/Onebot: Request failed: [get_group_member_info] Timed out waiting for 10000 ms
2024-05-24 15:40:43 V/Onebot: Stacktrace:
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
        at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
        at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
        at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
        at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
        at java.base/java.lang.Thread.run(Thread.java:833)

2024-05-24 15:40:43 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"group_id":1108184167,"user_id":3389442918,"nickname":"阴阳神玉","card":"你当机器人了 我当什么?","sex":"unknown","age":0,"area":"","level":0,"qq_level":29,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"member","title":""},"message":"","wording":"","echo":991}
2024-05-24 15:40:43 D/Onebot: Send to server --> {"action":"get_group_member_info","params":{"group_id":1108184167,"user_id":3389442918,"no_cache":false},"echo":992}
2024-05-24 15:40:43 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"group_id":1108184167,"user_id":3389442918,"nickname":"阴阳神玉","card":"你当机器人了 我当什么?","sex":"unknown","age":0,"area":"","level":0,"qq_level":29,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"member","title":""},"message":"","wording":"","echo":990}
2024-05-24 15:40:43 W/Onebot: 收到了未知的 action 回应: {"status":"ok","retcode":0,"data":{"group_id":1108184167,"user_id":3389442918,"nickname":"阴阳神玉","card":"你当机器人了 我当什么?","sex":"unknown","age":0,"area":"","level":0,"qq_level":29,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"member","title":""},"message":"","wording":"","echo":990}
2024-05-24 15:40:43 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"group_id":1108184167,"user_id":3389442918,"nickname":"阴阳神玉","card":"你当机器人了 我当什么?","sex":"unknown","age":0,"area":"","level":0,"qq_level":29,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"member","title":""},"message":"","wording":"","echo":992}
2024-05-24 15:40:43 D/Onebot: Send to server --> {"action":"get_group_member_info","params":{"group_id":1108184167,"user_id":3389442918,"no_cache":false},"echo":993}
2024-05-24 15:40:43 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"group_id":1108184167,"user_id":3389442918,"nickname":"阴阳神玉","card":"你当机器人了 我当什么?","sex":"unknown","age":0,"area":"","level":0,"qq_level":29,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"member","title":""},"message":"","wording":"","echo":993}
MR-MonkeyRay commented 5 months ago

同样遇到卡死的情况,overflow版本是最新的6aaea6d 我切换回旧版f454a28(05-13)的就可以保持稳定运行至少1天以上

strace了一下卡死的进程,似乎是锁住了?

> ps auxf | grep java
monkeyray 1257064  2.9  6.3 5849676 521048 pts/3  Sl+  00:22   1:22      \_ java -jar mcl.jar -u

> strace -p 1257064
strace: Process 1257064 attached
futex(0x7fb945bff990, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 1257067, NULL, FUTEX_BITSET_MATCH_ANY

然后尝试用jstack跑一下,结果如下:

jstack -l 1257064

2024-05-30 00:57:50
Full thread dump Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240 mixed mode, sharing):

Threads class SMR info:
_java_thread_list=0x00007fb8b001d090, length=42, elements={
0x00007fb940023b30, 0x00007fb940126f40, 0x00007fb940128330, 0x00007fb94012d890,
0x00007fb94012ec50, 0x00007fb940130070, 0x00007fb940131a30, 0x00007fb940132f70,
0x00007fb94013c3e0, 0x00007fb940143b40, 0x00007fb9401470c0, 0x00007fb9403db440,
0x00007fb9405a0a40, 0x00007fb9407e3020, 0x00007fb86800d5c0, 0x00007fb940a9a0f0,
0x00007fb940ca07c0, 0x00007fb940eadcb0, 0x00007fb941627010, 0x00007fb9416275e0,
0x00007fb9418406b0, 0x00007fb868010d80, 0x00007fb86801bbb0, 0x00007fb86801c7d0,
0x00007fb86c002c50, 0x00007fb868043090, 0x00007fb8680b3bd0, 0x00007fb898003d40,
0x00007fb898004ee0, 0x00007fb868112de0, 0x00007fb86813ee00, 0x00007fb86813fe20,
0x00007fb868141820, 0x00007fb8681f0590, 0x00007fb8681fc280, 0x00007fb86822f2f0,
0x00007fb91c0084e0, 0x00007fb8681ce2c0, 0x00007fb868239f70, 0x00007fb86823ab20,
0x00007fb894003650, 0x00007fb8b001d0f0
}

"main" #1 prio=5 os_prio=0 cpu=13052.52ms elapsed=2132.77s tid=0x00007fb940023b30 nid=0x132e6b waiting on condition  [0x00007fb945bfd000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x0000000087178200> (a kotlinx.coroutines.BlockingCoroutine)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:88)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:61)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@17.0.10/Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@17.0.10/NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.10/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.10/Method.java:568)
    at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
    at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
    at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
    at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
    at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
    at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
    at org.itxtech.mcl.Loader$$Lambda$285/0x00007fb8c8186f88.run(Unknown Source)
    at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
    at org.itxtech.mcl.Loader.start(Loader.java:196)
    at org.itxtech.mcl.Loader.main(Loader.java:84)

   Locked ownable synchronizers:
    - None

"Reference Handler" #2 daemon prio=10 os_prio=0 cpu=7.51ms elapsed=2132.59s tid=0x00007fb940126f40 nid=0x132e72 waiting on condition  [0x00007fb9254dc000]
   java.lang.Thread.State: RUNNABLE
    at java.lang.ref.Reference.waitForReferencePendingList(java.base@17.0.10/Native Method)
    at java.lang.ref.Reference.processPendingReferences(java.base@17.0.10/Reference.java:253)
    at java.lang.ref.Reference$ReferenceHandler.run(java.base@17.0.10/Reference.java:215)

   Locked ownable synchronizers:
    - None

"Finalizer" #3 daemon prio=8 os_prio=0 cpu=20.56ms elapsed=2132.59s tid=0x00007fb940128330 nid=0x132e73 in Object.wait()  [0x00007fb9253dc000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(java.base@17.0.10/Native Method)
    - waiting on <0x000000008374ed98> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(java.base@17.0.10/ReferenceQueue.java:155)
    - locked <0x000000008374ed98> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(java.base@17.0.10/ReferenceQueue.java:176)
    at java.lang.ref.Finalizer$FinalizerThread.run(java.base@17.0.10/Finalizer.java:172)

   Locked ownable synchronizers:
    - None

"Signal Dispatcher" #4 daemon prio=9 os_prio=0 cpu=2.28ms elapsed=2132.59s tid=0x00007fb94012d890 nid=0x132e74 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
    - None

"Service Thread" #5 daemon prio=9 os_prio=0 cpu=25.65ms elapsed=2132.59s tid=0x00007fb94012ec50 nid=0x132e75 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
    - None

"Monitor Deflation Thread" #6 daemon prio=9 os_prio=0 cpu=588.79ms elapsed=2132.59s tid=0x00007fb940130070 nid=0x132e76 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
    - None

"C2 CompilerThread0" #7 daemon prio=9 os_prio=0 cpu=22485.87ms elapsed=2132.58s tid=0x00007fb940131a30 nid=0x132e77 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

   Locked ownable synchronizers:
    - None

"C1 CompilerThread0" #9 daemon prio=9 os_prio=0 cpu=9993.13ms elapsed=2132.58s tid=0x00007fb940132f70 nid=0x132e78 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

   Locked ownable synchronizers:
    - None

"Sweeper thread" #10 daemon prio=9 os_prio=0 cpu=328.81ms elapsed=2132.58s tid=0x00007fb94013c3e0 nid=0x132e79 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
    - None

"Notification Thread" #11 daemon prio=9 os_prio=0 cpu=0.42ms elapsed=2132.57s tid=0x00007fb940143b40 nid=0x132e7a runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
    - None

"Common-Cleaner" #12 daemon prio=8 os_prio=0 cpu=22.90ms elapsed=2132.56s tid=0x00007fb9401470c0 nid=0x132e7c in Object.wait()  [0x00007fb9243fd000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(java.base@17.0.10/Native Method)
    - waiting on <0x000000008373af40> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(java.base@17.0.10/ReferenceQueue.java:155)
    - locked <0x000000008373af40> (a java.lang.ref.ReferenceQueue$Lock)
    at jdk.internal.ref.CleanerImpl.run(java.base@17.0.10/CleanerImpl.java:140)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)
    at jdk.internal.misc.InnocuousThread.run(java.base@17.0.10/InnocuousThread.java:162)

   Locked ownable synchronizers:
    - None

"HttpClient-2-SelectorManager" #14 daemon prio=5 os_prio=0 cpu=277.59ms elapsed=2131.33s tid=0x00007fb9403db440 nid=0x132e7f runnable  [0x00007fb915ffe000]
   java.lang.Thread.State: RUNNABLE
    at sun.nio.ch.EPoll.wait(java.base@17.0.10/Native Method)
    at sun.nio.ch.EPollSelectorImpl.doSelect(java.base@17.0.10/EPollSelectorImpl.java:118)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(java.base@17.0.10/SelectorImpl.java:129)
    - locked <0x000000008374f400> (a sun.nio.ch.Util$2)
    - locked <0x000000008374f3b0> (a sun.nio.ch.EPollSelectorImpl)
    at sun.nio.ch.SelectorImpl.select(java.base@17.0.10/SelectorImpl.java:141)
    at jdk.internal.net.http.HttpClientImpl$SelectorManager.run(java.net.http@17.0.10/HttpClientImpl.java:889)

   Locked ownable synchronizers:
    - None

"JLine Input Daemon" #53 daemon prio=5 os_prio=0 cpu=2288.00ms elapsed=2115.98s tid=0x00007fb9405a0a40 nid=0x132ed7 runnable  [0x00007fb9150fb000]
   java.lang.Thread.State: RUNNABLE
    at java.io.FileInputStream.read0(java.base@17.0.10/Native Method)
    at java.io.FileInputStream.read(java.base@17.0.10/FileInputStream.java:228)
    at org.jline.terminal.impl.AbstractPty$PtyInputStream.read(AbstractPty.java:73)
    at org.jline.utils.NonBlockingInputStream.read(NonBlockingInputStream.java:62)
    at org.jline.utils.NonBlocking$NonBlockingInputStreamReader.read(NonBlocking.java:168)
    at org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:57)
    at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:160)
    at org.jline.keymap.BindingReader.readBinding(BindingReader.java:110)
    at org.jline.keymap.BindingReader.readBinding(BindingReader.java:61)
    at org.jline.reader.impl.LineReaderImpl.doReadBinding(LineReaderImpl.java:923)
    at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:956)
    at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:651)
    at net.mamoe.mirai.console.terminal.JLineInputDaemon.run(JLineInputDaemon.kt:81)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"DefaultDispatcher-worker-2" #55 daemon prio=5 os_prio=0 cpu=10.85ms elapsed=2115.89s tid=0x00007fb9407e3020 nid=0x132ed9 waiting on condition  [0x00007fb9157fb000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x0000000087178290> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(java.base@17.0.10/LockSupport.java:341)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17.0.10/AbstractQueuedSynchronizer.java:506)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17.0.10/ForkJoinPool.java:3465)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17.0.10/ForkJoinPool.java:3436)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17.0.10/AbstractQueuedSynchronizer.java:1623)
    at java.util.concurrent.LinkedBlockingDeque.takeFirst(java.base@17.0.10/LinkedBlockingDeque.java:485)
    at java.util.concurrent.LinkedBlockingDeque.take(java.base@17.0.10/LinkedBlockingDeque.java:673)
    at sun.nio.fs.AbstractWatchService.take(java.base@17.0.10/AbstractWatchService.java:118)
    at xyz.cssxsh.mirai.admin.data.AdminSetting$onInit$1$key$1.invoke(AdminSetting.kt:72)
    at xyz.cssxsh.mirai.admin.data.AdminSetting$onInit$1$key$1.invoke(AdminSetting.kt:72)
    at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51)
    at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
    at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"kotlinx.coroutines.DefaultExecutor" #56 daemon prio=5 os_prio=0 cpu=305.62ms elapsed=2115.86s tid=0x00007fb86800d5c0 nid=0x132eda waiting on condition  [0x00007fb914afb000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x0000000083aa4f90> (a kotlinx.coroutines.DefaultExecutor)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:121)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"Mirai Console Logging#0" #57 daemon prio=5 os_prio=0 cpu=75.22ms elapsed=2114.66s tid=0x00007fb940a9a0f0 nid=0x132eea waiting on condition  [0x00007fb9155fb000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008475d8c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(java.base@17.0.10/LockSupport.java:341)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17.0.10/AbstractQueuedSynchronizer.java:506)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17.0.10/ForkJoinPool.java:3465)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17.0.10/ForkJoinPool.java:3436)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17.0.10/AbstractQueuedSynchronizer.java:1623)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:1170)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:899)
    at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@17.0.10/ThreadPoolExecutor.java:1062)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.10/ThreadPoolExecutor.java:1122)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.10/ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"Timer-0" #58 prio=5 os_prio=0 cpu=0.86ms elapsed=2111.79s tid=0x00007fb940ca07c0 nid=0x132eeb in Object.wait()  [0x00007fb9241fd000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(java.base@17.0.10/Native Method)
    - waiting on <0x0000000083900178> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(java.base@17.0.10/Timer.java:563)
    - locked <0x0000000083900178> (a java.util.TaskQueue)
    at java.util.TimerThread.run(java.base@17.0.10/Timer.java:516)

   Locked ownable synchronizers:
    - None

"Java2D Disposer" #59 daemon prio=10 os_prio=0 cpu=0.49ms elapsed=2111.53s tid=0x00007fb940eadcb0 nid=0x132eec in Object.wait()  [0x00007fb9151fb000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(java.base@17.0.10/Native Method)
    - waiting on <0x0000000083900370> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(java.base@17.0.10/ReferenceQueue.java:155)
    - locked <0x0000000083900370> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(java.base@17.0.10/ReferenceQueue.java:176)
    at sun.java2d.Disposer.run(java.desktop@17.0.10/Disposer.java:145)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"Mirai Console Logging#1" #61 daemon prio=5 os_prio=0 cpu=68.97ms elapsed=2110.16s tid=0x00007fb941627010 nid=0x132ef8 waiting on condition  [0x00007fb914bfb000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008475d8c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(java.base@17.0.10/LockSupport.java:341)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17.0.10/AbstractQueuedSynchronizer.java:506)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17.0.10/ForkJoinPool.java:3465)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17.0.10/ForkJoinPool.java:3436)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17.0.10/AbstractQueuedSynchronizer.java:1623)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:1170)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:899)
    at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@17.0.10/ThreadPoolExecutor.java:1062)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.10/ThreadPoolExecutor.java:1122)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.10/ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"Mirai Console Logging#2" #62 daemon prio=5 os_prio=0 cpu=50.29ms elapsed=2110.16s tid=0x00007fb9416275e0 nid=0x132ef9 waiting on condition  [0x00007fb9153fb000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008475d8c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(java.base@17.0.10/LockSupport.java:341)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17.0.10/AbstractQueuedSynchronizer.java:506)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17.0.10/ForkJoinPool.java:3465)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17.0.10/ForkJoinPool.java:3436)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17.0.10/AbstractQueuedSynchronizer.java:1623)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:1170)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:899)
    at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@17.0.10/ThreadPoolExecutor.java:1062)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.10/ThreadPoolExecutor.java:1122)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.10/ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"Reference Cleaner" #63 daemon prio=5 os_prio=0 cpu=22.04ms elapsed=2108.38s tid=0x00007fb9418406b0 nid=0x132efe in Object.wait()  [0x00007fb9146fb000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(java.base@17.0.10/Native Method)
    - waiting on <0x00000000871aff50> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(java.base@17.0.10/ReferenceQueue.java:155)
    - locked <0x00000000871aff50> (a java.lang.ref.ReferenceQueue$Lock)
    at org.jetbrains.skia.impl.Cleaner$1.invoke(Managed.jvm.kt:130)
    at org.jetbrains.skia.impl.Cleaner$1.invoke(Managed.jvm.kt:128)
    at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

   Locked ownable synchronizers:
    - None

"DefaultDispatcher-worker-3" #64 daemon prio=5 os_prio=0 cpu=459.57ms elapsed=2107.68s tid=0x00007fb868010d80 nid=0x132eff waiting on condition  [0x00007fb914cf9000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008b680020> (a kotlinx.coroutines.BlockingCoroutine)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:88)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40)
    at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:111)
    at xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:368)
    at jdk.internal.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.10/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.10/Method.java:568)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
    at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
    at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:85)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:26)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:116)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:484)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
    at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
    at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:119)
    at net.mamoe.mirai.internal.event.EventListeners.callListeners$overflow_core(EventListeners.kt:67)
    at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233)
    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"FileSystemWatchService" #65 daemon prio=5 os_prio=0 cpu=1.30ms elapsed=2107.68s tid=0x00007fb86801bbb0 nid=0x132f00 runnable  [0x00007fb914efb000]
   java.lang.Thread.State: RUNNABLE
    at sun.nio.fs.LinuxWatchService.poll(java.base@17.0.10/Native Method)
    at sun.nio.fs.LinuxWatchService$Poller.run(java.base@17.0.10/LinuxWatchService.java:314)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"DefaultDispatcher-worker-4" #66 daemon prio=5 os_prio=0 cpu=641.12ms elapsed=2107.68s tid=0x00007fb86801c7d0 nid=0x132f01 waiting on condition  [0x00007fb9156f9000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008b600070> (a kotlinx.coroutines.BlockingCoroutine)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:88)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40)
    at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:111)
    at xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:368)
    at jdk.internal.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.10/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.10/Method.java:568)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
    at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
    at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:85)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:26)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:116)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:484)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
    at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
    at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:119)
    at net.mamoe.mirai.internal.event.EventListeners.callListeners$overflow_core(EventListeners.kt:67)
    at net.mamoe.mirai.internal.event.EventChannelImpl.callListeners(EventChannelImpl.kt:86)
    at net.mamoe.mirai.internal.event.EventChannelImpl.broadcastEventImpl(EventChannelImpl.kt:76)
    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast$suspendImpl(EventDispatcher.kt:78)
    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcast(EventDispatcher.kt)
    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invokeSuspend(EventDispatcher.kt:92)
    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt)
    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl$broadcastAsync$job$1.invoke(EventDispatcher.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
    at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
    at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
    at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
    at net.mamoe.mirai.internal.network.components.EventDispatcherImpl.broadcastAsync-kKe4JaQ(EventDispatcher.kt:89)
    at net.mamoe.mirai.internal.network.components.EventDispatcher$DefaultImpls.broadcastAsync-kKe4JaQ$default(EventDispatcher.kt:24)
    at top.mrxiaom.overflow.internal.listener.GroupMessageListener.onMessage(group.kt:58)
    at top.mrxiaom.overflow.internal.listener.GroupMessageListener.onMessage(group.kt:34)
    at cn.evolvefield.onebot.client.listener.EventListenerKt.message(EventListener.kt:21)
    at cn.evolvefield.onebot.client.handler.EventBus.onReceive(EventBus.kt:56)
    at cn.evolvefield.onebot.client.connection.IAdapter$onReceiveMessage$1.invokeSuspend(IAdapter.kt:31)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"DefaultDispatcher-worker-5" #67 daemon prio=5 os_prio=0 cpu=1490.56ms elapsed=2107.67s tid=0x00007fb86c002c50 nid=0x132f02 waiting on condition  [0x00007fb9148f9000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008b500000> (a kotlinx.coroutines.BlockingCoroutine)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:88)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40)
    at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:111)
    at xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:368)
    at jdk.internal.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.10/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.10/Method.java:568)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
    at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
    at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:85)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:26)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:116)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:484)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
    at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
    at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:119)
    at net.mamoe.mirai.internal.event.EventListeners.callListeners$overflow_core(EventListeners.kt:67)
    at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233)
    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"process reaper" #71 daemon prio=10 os_prio=0 cpu=2.07ms elapsed=2104.64s tid=0x00007fb868043090 nid=0x132f18 runnable  [0x00007fb8c690c000]
   java.lang.Thread.State: RUNNABLE
    at java.lang.ProcessHandleImpl.waitForProcessExit0(java.base@17.0.10/Native Method)
    at java.lang.ProcessHandleImpl$1.run(java.base@17.0.10/ProcessHandleImpl.java:147)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.10/ThreadPoolExecutor.java:1136)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.10/ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - <0x0000000087178cd0> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"WebSocketConnectReadThread-77" #77 daemon prio=5 os_prio=0 cpu=2274.06ms elapsed=2103.99s tid=0x00007fb8680b3bd0 nid=0x132f22 runnable  [0x00007fb9141fb000]
   java.lang.Thread.State: RUNNABLE
    at sun.nio.ch.SocketDispatcher.read0(java.base@17.0.10/Native Method)
    at sun.nio.ch.SocketDispatcher.read(java.base@17.0.10/SocketDispatcher.java:47)
    at sun.nio.ch.NioSocketImpl.tryRead(java.base@17.0.10/NioSocketImpl.java:266)
    at sun.nio.ch.NioSocketImpl.implRead(java.base@17.0.10/NioSocketImpl.java:317)
    at sun.nio.ch.NioSocketImpl.read(java.base@17.0.10/NioSocketImpl.java:355)
    at sun.nio.ch.NioSocketImpl$1.read(java.base@17.0.10/NioSocketImpl.java:808)
    at java.net.Socket$SocketInputStream.read(java.base@17.0.10/Socket.java:966)
    at java.io.InputStream.read(java.base@17.0.10/InputStream.java:218)
    at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.run(WebSocketClient.java:515)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - <0x00000000871b3008> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"WebSocketWriteThread-78" #78 daemon prio=5 os_prio=0 cpu=108.54ms elapsed=2103.99s tid=0x00007fb898003d40 nid=0x132f23 waiting on condition  [0x00007fb9145fb000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x00000000871b1f98> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(java.base@17.0.10/LockSupport.java:341)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17.0.10/AbstractQueuedSynchronizer.java:506)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17.0.10/ForkJoinPool.java:3465)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17.0.10/ForkJoinPool.java:3436)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17.0.10/AbstractQueuedSynchronizer.java:1623)
    at java.util.concurrent.LinkedBlockingQueue.take(java.base@17.0.10/LinkedBlockingQueue.java:435)
    at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient$WebsocketWriteThread.runWriteData(WebSocketClient.java:816)
    at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient$WebsocketWriteThread.run(WebSocketClient.java:799)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"connectionLostChecker-1" #79 prio=5 os_prio=0 cpu=94.59ms elapsed=2103.98s tid=0x00007fb898004ee0 nid=0x132f24 waiting on condition  [0x00007fb8c6efe000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x00000000871b14e8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@17.0.10/AbstractQueuedSynchronizer.java:1672)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:1182)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@17.0.10/ScheduledThreadPoolExecutor.java:899)
    at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@17.0.10/ThreadPoolExecutor.java:1062)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.10/ThreadPoolExecutor.java:1122)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.10/ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"HttpClient-3-SelectorManager" #81 daemon prio=5 os_prio=0 cpu=244.97ms elapsed=2103.88s tid=0x00007fb868112de0 nid=0x132f25 runnable  [0x00007fb8c6ffe000]
   java.lang.Thread.State: RUNNABLE
    at sun.nio.ch.EPoll.wait(java.base@17.0.10/Native Method)
    at sun.nio.ch.EPollSelectorImpl.doSelect(java.base@17.0.10/EPollSelectorImpl.java:118)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(java.base@17.0.10/SelectorImpl.java:129)
    - locked <0x00000000871e7d00> (a sun.nio.ch.Util$2)
    - locked <0x00000000871e7cb0> (a sun.nio.ch.EPollSelectorImpl)
    at sun.nio.ch.SelectorImpl.select(java.base@17.0.10/SelectorImpl.java:141)
    at jdk.internal.net.http.HttpClientImpl$SelectorManager.run(java.net.http@17.0.10/HttpClientImpl.java:889)

   Locked ownable synchronizers:
    - None

"External Process Output Forwarder - /data/Overflow/chromedriver-linux64_124.0.6367.29" #82 daemon prio=5 os_prio=0 cpu=0.61ms elapsed=2103.78s tid=0x00007fb86813ee00 nid=0x132f27 runnable  [0x00007fb8c477c000]
   java.lang.Thread.State: RUNNABLE
    at java.io.FileInputStream.readBytes(java.base@17.0.10/Native Method)
    at java.io.FileInputStream.read(java.base@17.0.10/FileInputStream.java:276)
    at java.io.BufferedInputStream.read1(java.base@17.0.10/BufferedInputStream.java:282)
    at java.io.BufferedInputStream.read(java.base@17.0.10/BufferedInputStream.java:343)
    - locked <0x000000008717afc0> (a java.lang.ProcessImpl$ProcessPipeInputStream)
    at java.io.InputStream.transferTo(java.base@17.0.10/InputStream.java:782)
    at org.openqa.selenium.os.ExternalProcess$Builder.lambda$start$0(ExternalProcess.java:210)
    at org.openqa.selenium.os.ExternalProcess$Builder$$Lambda$604/0x00007fb8c85afb48.run(Unknown Source)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"Driver Service Executor" #83 daemon prio=5 os_prio=0 cpu=5.19ms elapsed=2103.78s tid=0x00007fb86813fe20 nid=0x132f28 waiting on condition  [0x00007fb8c467c000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x00000000871ea1a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(java.base@17.0.10/LockSupport.java:341)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17.0.10/AbstractQueuedSynchronizer.java:506)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17.0.10/ForkJoinPool.java:3465)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17.0.10/ForkJoinPool.java:3436)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17.0.10/AbstractQueuedSynchronizer.java:1623)
    at java.util.concurrent.LinkedBlockingQueue.take(java.base@17.0.10/LinkedBlockingQueue.java:435)
    at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@17.0.10/ThreadPoolExecutor.java:1062)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.10/ThreadPoolExecutor.java:1122)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.10/ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"Driver Service Executor" #84 daemon prio=5 os_prio=0 cpu=1.28ms elapsed=2103.78s tid=0x00007fb868141820 nid=0x132f29 waiting on condition  [0x00007fb8c457c000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x00000000871ea1a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(java.base@17.0.10/LockSupport.java:341)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@17.0.10/AbstractQueuedSynchronizer.java:506)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@17.0.10/ForkJoinPool.java:3465)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@17.0.10/ForkJoinPool.java:3436)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@17.0.10/AbstractQueuedSynchronizer.java:1623)
    at java.util.concurrent.LinkedBlockingQueue.take(java.base@17.0.10/LinkedBlockingQueue.java:435)
    at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@17.0.10/ThreadPoolExecutor.java:1062)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.10/ThreadPoolExecutor.java:1122)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.10/ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(java.base@17.0.10/Thread.java:842)

   Locked ownable synchronizers:
    - None

"DefaultDispatcher-worker-6" #90 daemon prio=5 os_prio=0 cpu=342.72ms elapsed=2103.44s tid=0x00007fb8681f0590 nid=0x132f35 waiting on condition  [0x00007fb85fefc000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008b5002d0> (a kotlinx.coroutines.BlockingCoroutine)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:88)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40)
    at net.mamoe.mirai.contact.Group.getBotPermission(Group.kt:111)
    at xyz.cssxsh.mirai.admin.MiraiAdministrator.mark$mirai_administrator(MiraiAdministrator.kt:368)
    at jdk.internal.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.10/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.10/Method.java:568)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
    at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
    at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
    at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:85)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:26)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:116)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.internal.event.JvmMethodListenersInternal$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:484)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
    at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
    at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:59)
    at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:119)
    at net.mamoe.mirai.internal.event.EventListeners.callListeners$overflow_core(EventListeners.kt:67)
    at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233)
    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"HttpClient-4-SelectorManager" #91 daemon prio=5 os_prio=0 cpu=185.83ms elapsed=2102.62s tid=0x00007fb8681fc280 nid=0x132f74 runnable  [0x00007fb85fdfe000]
   java.lang.Thread.State: RUNNABLE
    at sun.nio.ch.EPoll.wait(java.base@17.0.10/Native Method)
    at sun.nio.ch.EPollSelectorImpl.doSelect(java.base@17.0.10/EPollSelectorImpl.java:118)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(java.base@17.0.10/SelectorImpl.java:129)
    - locked <0x0000000087604568> (a sun.nio.ch.Util$2)
    - locked <0x0000000087604518> (a sun.nio.ch.EPollSelectorImpl)
    at sun.nio.ch.SelectorImpl.select(java.base@17.0.10/SelectorImpl.java:141)
    at jdk.internal.net.http.HttpClientImpl$SelectorManager.run(java.net.http@17.0.10/HttpClientImpl.java:889)

   Locked ownable synchronizers:
    - None

"Timer-1" #94 prio=5 os_prio=0 cpu=0.66ms elapsed=2102.52s tid=0x00007fb86822f2f0 nid=0x132f77 in Object.wait()  [0x00007fb85fafe000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(java.base@17.0.10/Native Method)
    - waiting on <0x0000000087604738> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(java.base@17.0.10/Timer.java:563)
    - locked <0x0000000087604738> (a java.util.TaskQueue)
    at java.util.TimerThread.run(java.base@17.0.10/Timer.java:516)

   Locked ownable synchronizers:
    - None

"DefaultDispatcher-worker-7" #99 daemon prio=5 os_prio=0 cpu=315.00ms elapsed=2089.42s tid=0x00007fb91c0084e0 nid=0x132faa waiting on condition  [0x00007fb8c437b000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    - parking to wait for  <0x000000008b5806f8> (a kotlinx.coroutines.BlockingCoroutine)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:252)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:88)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:132)
    at top.mrxiaom.overflow.internal.contact.GroupWrapper.getBotAsMember(GroupWrapper.kt:40)
    at moe.dituon.petpet.mirai.MiraiPetpet.responseMessage(MiraiPetpet.java:197)
    at moe.dituon.petpet.mirai.MiraiPetpet.onGroupMessage(MiraiPetpet.java:158)
    at moe.dituon.petpet.mirai.MiraiPetpet$$Lambda$522/0x00007fb8c84d5370.accept(Unknown Source)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:605)
    at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:605)
    at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51)
    at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
    at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"DefaultDispatcher-worker-1" #109 daemon prio=5 os_prio=0 cpu=395.47ms elapsed=2046.59s tid=0x00007fb8681ce2c0 nid=0x13302c waiting on condition  [0x00007fb9158fb000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:376)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:795)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:740)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:711)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"ktor-okhttp-dispatcher-worker-1" #131 daemon prio=5 os_prio=0 cpu=16.72ms elapsed=1871.32s tid=0x00007fb868239f70 nid=0x133226 waiting on condition  [0x00007fb914ffb000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:376)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:795)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:740)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:711)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"ktor-okhttp-dispatcher-worker-2" #132 daemon prio=5 os_prio=0 cpu=16.69ms elapsed=1871.31s tid=0x00007fb86823ab20 nid=0x133227 waiting on condition  [0x00007fb9149fb000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:376)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:795)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:740)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:711)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"ktor-okhttp-dispatcher-worker-3" #133 daemon prio=5 os_prio=0 cpu=15.58ms elapsed=1871.30s tid=0x00007fb894003650 nid=0x133228 waiting on condition  [0x00007fb9242fd000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@17.0.10/Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(java.base@17.0.10/LockSupport.java:376)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.park(CoroutineScheduler.kt:795)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.tryPark(CoroutineScheduler.kt:740)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:711)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

   Locked ownable synchronizers:
    - None

"Attach Listener" #136 daemon prio=9 os_prio=0 cpu=8.16ms elapsed=84.17s tid=0x00007fb8b001d0f0 nid=0x13487d waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
    - None

"VM Thread" os_prio=0 cpu=593.14ms elapsed=2132.61s tid=0x00007fb940123010 nid=0x132e71 runnable  

"GC Thread#0" os_prio=0 cpu=444.47ms elapsed=2132.76s tid=0x00007fb94007e0b0 nid=0x132e6c runnable  

"GC Thread#1" os_prio=0 cpu=388.56ms elapsed=2131.32s tid=0x00007fb8c00051b0 nid=0x132e80 runnable  

"GC Thread#2" os_prio=0 cpu=410.20ms elapsed=2131.32s tid=0x00007fb8c0005be0 nid=0x132e81 runnable  

"GC Thread#3" os_prio=0 cpu=394.20ms elapsed=2131.30s tid=0x00007fb8c000bd20 nid=0x132e82 runnable  

"G1 Main Marker" os_prio=0 cpu=2.24ms elapsed=2132.75s tid=0x00007fb94008efd0 nid=0x132e6d runnable  

"G1 Conc#0" os_prio=0 cpu=102.97ms elapsed=2132.74s tid=0x00007fb94008ff40 nid=0x132e6e runnable  

"G1 Refine#0" os_prio=0 cpu=23.46ms elapsed=2132.72s tid=0x00007fb9400f5b70 nid=0x132e6f runnable  

"G1 Refine#1" os_prio=0 cpu=1.79ms elapsed=2106.67s tid=0x00007fb910001d00 nid=0x132f03 runnable  

"G1 Service" os_prio=0 cpu=1155.92ms elapsed=2132.71s tid=0x00007fb9400f6a60 nid=0x132e70 runnable  

"VM Periodic Task Thread" os_prio=0 cpu=3168.74ms elapsed=2132.57s tid=0x00007fb9401455d0 nid=0x132e7b waiting on condition  

JNI global refs: 63, weak refs: 0
  
MR-MonkeyRay commented 4 months ago

用上57a113b版本后我这边没再出现卡死的情况了(已持续稳定运行4天+)

CuteReimu commented 4 months ago

用上57a113b版本后我这边没再出现卡死的情况了(已持续稳定运行4天+)

@MrXiaoM 作者大大最近有更新过相关代码吗?

MrXiaoM commented 4 months ago

@MrXiaoM 作者大大最近有更新过相关代码吗?

最近尝试修复了可能存在的死锁问题,将各个异步等待的部分跟 MiraiConsole 的主工作关联起来了

MR-MonkeyRay commented 4 months ago

用上57a113b版本后我这边没再出现卡死的情况了(已持续稳定运行4天+)

@MrXiaoM 作者大大最近有更新过相关代码吗?

有的呀..commit 2446d3f尝试修改死锁的情况.. 我直接用了最新版的commit 57a113b 目前来看我这边是正常了的

CuteReimu commented 4 months ago

那这个issue应该是solve了,我先close了,有问题再reopen