Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault in minetest after converting with mcimport #31

Open
sbrl opened this issue Jun 16, 2020 · 2 comments
Open

Segmentation fault in minetest after converting with mcimport #31

sbrl opened this issue Jun 16, 2020 · 2 comments

Comments

@sbrl
Copy link

sbrl commented Jun 16, 2020

If I try to convert a particular Minecraft world with mcimport, I get a Segmentation Fault when I try to load it in minetest. Here's the error from minetest:

.....
2020-06-16 19:09:23: INFO[Main]: Client::scanModSubfolder(): Loading "/usr/share/minetest/builtin/common/chatcommands.lua" as "*builtin*:common/chatcommands.lua".
2020-06-16 19:09:23: INFO[Main]:   size: 3138 bytes
2020-06-16 19:09:23: INFO[Main]: Client::scanModSubfolder(): Loading "/usr/share/minetest/builtin/common/information_formspecs.lua" as "*builtin*:common/information_formspecs.lua".
2020-06-16 19:09:23: INFO[Main]:   size: 4038 bytes
2020-06-16 19:09:23: VERBOSE[Main]: Loading and running script @*builtin*:init.lua
2020-06-16 19:09:23: ERROR[Main]: The following mods could not be found: "colour_chat" "csm_who_plus"
2020-06-16 19:09:23: INFO[Main]: Client loading mods: 
2020-06-16 19:09:23: INFO[Main]: Client got TOCLIENT_MOVE_PLAYER pos=(-10,0,0) pitch=0 yaw=0
2020-06-16 19:09:23: INFO[Main]: Client: Privileges updated: ban basic_privs debug interact kick password privs server shout 
2020-06-16 19:09:23: INFO[Main]: Client: Detached inventory update: "creative_Snowflake", mode=update
2020-06-16 19:09:23: INFO[Main]: Client: Detached inventory update: "creative_Snowflake", mode=update
Segmentation fault (core dumped)

Said world can be found here, with the input and output of mcinput: https://send.firefox.com/download/1260c04323ecf744/#xyqM2fr2P49OY0bSx4KYLw

(it's a big file, so unfortunately I had to use Firefox Send. Download expires after 100 downloads or 7 days)

Unfortunately, Minetest isn't giving me much to work with to debug the problem.

I have discovered some other example Minecraft worlds that cause the same problem too if they are required.

@sofar
Copy link
Member

sofar commented Jul 30, 2020

Unfortunately this is likely 2 problems at once - a core engine bug, and maybe a mcimport bug. Because of the core dump, I think it's best to treat as a core bug first. It's possible mcimport creates corrupt data, but I think that's unlikely, but, idk.

@sbrl
Copy link
Author

sbrl commented Aug 2, 2020

Thanks for the reply! Looks like the download expired. Would the download there still be helpful? I can host it elsewhere if you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants