LiteLDev / LegacyScriptEngine

A plugin engine for running LLSE plugins on LeviLamina
https://lse.liteldev.com/
GNU General Public License v3.0
43 stars 8 forks source link

[Bug]: Null pointer in toSNBT #148

Closed Atrium4641 closed 4 weeks ago

Atrium4641 commented 1 month ago

Describe the bug

bd6dffbe1d656e2aa64d338a96164b58_720

插件地址:https://www.minebbs.com/resources/storagehelper.7765/

To Reproduce

bd6dffbe1d656e2aa64d338a96164b58_720

插件地址:https://www.minebbs.com/resources/storagehelper.7765/

Expected behavior

正常使用 不报错

Screenshots

bd6dffbe1d656e2aa64d338a96164b58_720

Platform

Win10

BDS Version

1.21.1

LeviLamina Version

0.13.3

LegacyScriptEngine Version

0.8.1

Additional context

bd6dffbe1d656e2aa64d338a96164b58_720

ShrBox commented 1 month ago

这种使用第三方API的难以复现的问题我无能为力 我建议在能复现的环境中从release下载legacy-script-engine-quickjs-windows-x64.zip并将其中的legacy-script-engine-quickjs.pdb放入plugins/legacy-script-engine-quickjs/文件夹中,然后使用x64dbg, windbg或visual studio挂载调试器,并将错误发生时调试器的堆栈信息截图 Tips: LSE这堆屎山对第三方扩展的兼容性本来就差

ShrBox commented 4 weeks ago

可能在 dd9f9feac94ac16bdc4f9eb72ca92de11f7696a2 中已经修复,如果在0.8.12中还能复现此问题请回复 It may have been fixed in dd9f9feac94ac16bdc4f9eb72ca92de11f7696a2. Please reply if you can still reproduce this problem in 0.8.12.