Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.94k stars 908 forks source link

Index out of bounds when querying the Create mod specific synthesis method in REI, resulting in MC crash #6265

Closed nkdns closed 8 months ago

nkdns commented 8 months ago

Describe the Bug

在REI中查询Create特有的合成时发生下标越界,导致游戏崩溃 When querying the Create specific composite in REI, the index exceeded the bounds, causing the game to crash

Reproduction Steps

1.在生存模式查询REI中关于Create的合成表(Query the composite table about Create in the survival mode of REI) 2.查看Create注册的合成方法例如精密构件的制作(View the synthesis method registered in Create, such as the Precision Mechanism components) 3.发送崩溃(Collapse occurred)

Expected Result

修复bug或给出问题分析以及解决方案 Fix bugs or provide problem analysis and solutions

Screenshots and Videos

No response

Crash Report or Log

https://gist.github.com/nkdns/bf6e7127c05ff262e02f53b706442c07

Operating System

windows10

Mod Version

0.5.1f

Minecraft Version

1.19.2

Forge Version

Fabric 0.15.6

Other Mods

simibubi;create;compat;shedaniel;rei;impl

Additional Context

No response

denys-duchier commented 8 months ago

please attach the crash report

nkdns commented 8 months ago

please attach the crash report请附上坠机报告 It has already been posted here https://gist.github.com/nkdns/bf6e7127c05ff262e02f53b706442c07

drwoops commented 8 months ago

i dont know what that is, but that is not a crash report

nkdns commented 8 months ago

i dont know what that is, but that is not a crash report

I have uploaded 6 files inside, which are 1.19.2-Fabric 0.15.6.json 、crash-2024-03-15_18.11.27-client.txt、latest.log、PCL 启动器日志.txt、启动脚本.bat、游戏崩溃前的输出.txt. There may be a lot of them. The first file is 1.19.2-Fabric 0.15.6.json. The crash report is under him, but it may be too long. I will try to adjust their order because I am worried that you may need this file.I found it impossible to adjust his position. I deleted the files 1.19.2-Fabric 0.15.6.json and PCL launcher log.txt, and now I can see that the first one is the crash report

drwoops commented 8 months ago

just attach the individual files separately

nkdns commented 8 months ago

just attach the individual files separately

OK,it only have crash-2024-03-15_18.11.27-client.txt file now

drwoops commented 8 months ago

does the problem persist if you set the language to american english?

nkdns commented 8 months ago

does the problem persist if you set the language to american english?

After modifying to American English, I searched for several synthesizers and did not experience any crashes at the moment. However, changing the language would make it difficult for me to play. I am using Simplified Chinese and I hope to fix this issue

nkdns commented 8 months ago

does the problem persist if you set the language to american english?

After modifying to American English, I searched for several composites in a row, but now I have experienced a crash again. Log:https://gist.github.com/nkdns/6d627650634053d4c463df7426bad52f

IThundxr commented 8 months ago

Already solved on the fabric repo, already fixed on the dev branch