使用Ubuntu64 20服务器搭建Mirai

Dice版本是Dice! by 溯洄 & Shiki Ver 2.5.1(578) [GNUC 8.4.0 Apr 20 2021 01:56:08 on
Dice!驱动器 by 安研色Shiki & 溯洄w4123 ver0.2.1(3)[2021-04-20 05:23:56] for CoolQ

使用Windows版本的bots文件复制进服务器跳过滑块验证,后加入Screen并刷新服务器以自动启动
启动后对私聊rd指令反应正常,但在聊天群里发起指令时导致screen崩溃。报错如下

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f46e3646635, pid=31856, tid=31912
#
# JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
# Problematic frame:
# C  [w4123.Dice.dll+0x167635]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/ubuntu/mirai-dice-release
-noextra/core.31856)
#
# An error report file with more information is saved as:
# /home/ubuntu/mirai-dice-release-noextra/hs_err_pid31856.log
#
# If you would like to submit a bug report, please visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./LaunchMirai.sh: line 4: 31856 Aborted                 (core dumped) java -Dmirai.slider.captcha.supported -jar mcl.jar
  • 针对此问题的修复已在20210422更新中推送,请更新至新版本并进行测试。如果仍有问题请继续留言。

hs-err-pid56983.txt
80kB

Deleted User 以上为报错日志

我一开始以为是因为我用windows版本的bots文件替换导致的错,因为报错里面有关于验证码相关的插件。但是我按linux正常流程,用solver解决了验证码问题后还是会出现这个问题。重装也解决不了

    Deleted User 如果您说的是崩溃概率,目前6次尝试都是崩溃。第四次崩溃后我重装了Mirai,但是没有变化

    我没有尝试其他的指令,但只要在QQ加入的讨论组中发送.rd指令就会崩溃!

      Deleted User 嗯….我有注意到有国内源,但是如果这涉及到修改py脚本的话我还是选择了保守做法。改的越少问题越少

        delscrlock 不涉及到,整个目录下都没有任何py脚本你在想什么
        推荐好好学linux

        针对此问题的修复已在20210422更新中推送,请更新至新版本并进行测试。如果仍有问题请继续留言。

        说点什么吧...