crash in /mods/default/nodes.lua:1807

afeys
Member
 
Posts: 17
Joined: Thu Mar 26, 2015 08:55

crash in /mods/default/nodes.lua:1807

by afeys » Thu Mar 26, 2015 09:31

Hi,

I have a weird problem with minetest.
I'm using minetest 0.4.12, on linux Mint, with a slightly altered Calinou-Carbone game.
Differences between standard Calinou-Carbone and my testversion:
- added 'castle' mod
- added 'caverealms' mod
- added 'cottages' mod
- added 'homedecor' mod
- added 'hud' mod
- added 'more_chests' mod
- added 'moreores' mod
- added 'moretrees' mod
- added 'nature' mod
- added 'plantlife' mod
- added 'torches' mod
- added 'vines' mod
- added 'weather' mod

There are three (very simple) mods I made: nodeinfo, debugpos, buildingbox. But when I remove these from the modsfolder the problem is the same (and I haven't used any of the node blocks or tools supplied by my three mods).

I have been building and mining happily for multiple hours (spread over multiple sessions and days) without any problem whatsoever.
I've wandered a bit away (just a couple of minutes, so not too far) from my home and came upon something which looks like a chunk error (see attached zipfile for screenshots). And there is a really weird 'thing' in the sky. Whenever I get too close to this 'thing' I get the following error dialog (screenshot also included in zipfile):
ERROR:
..afeys/.minetest/games/feys-custom/mods/default/nodes.lua:1807:
attempt to index local 'fuel' ( a nil value)
stack traceback:

with an 'OK' button.

If I restart the game, I immediately crash. If I edit the player file in the savegame and change the playerposition I can do whatever I want, until I get too close to this UFO (unidentified floating obstacle)

Anyone has any idea what this is, or what caused this 'chunk error'?

The contents of debug.txt (with debug_log_level = 4) and some screenshots is included in the attached zip file.
Attachments
minetest_crashinfo.zip
Contents of debug.txt (with debug_log_level = 4)
and some screenshots illustrating the problem
(2.92 MiB) Downloaded 72 times
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: crash in /mods/default/nodes.lua:1807

by Krock » Thu Mar 26, 2015 17:58

Could you also upload your nodes.lua file?
Currently, there's no way to detect the source of this bug.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

afeys
Member
 
Posts: 17
Joined: Thu Mar 26, 2015 08:55

Re: crash in /mods/default/nodes.lua:1807

by afeys » Thu Mar 26, 2015 20:23

Hi Krock,
thanks for the speedy reply.
here is the nodes.lua file.
Attachments
nodes.lua.zip
(8.74 KiB) Downloaded 67 times
 

dfsaddfsa
New member
 
Posts: 2
Joined: Thu Mar 26, 2015 21:13

Re: crash in /mods/default/nodes.lua:1807

by dfsaddfsa » Thu Mar 26, 2015 21:22

looks like the uninitialized mapblock data bug that was fixed a while ago.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: crash in /mods/default/nodes.lua:1807

by Krock » Fri Mar 27, 2015 18:37

dfsaddfsa wrote:looks like the uninitialized mapblock data bug that was fixed a while ago.

That has nothing to do with this bug.
The problem is, there's an unknown fuel in the furnace.
This is how you can fix it:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
1803      if fuellist then
1804         fuel = minetest.get_craft_result({method = "fuel", width = 1, items = fuellist})
1805      end
1806
+         if not (fuel and cooked) then
+            return
+         end
+
1807      if fuel.time <= 0 then
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

dfsaddfsa
New member
 
Posts: 2
Joined: Thu Mar 26, 2015 21:13

Re: crash in /mods/default/nodes.lua:1807

by dfsaddfsa » Fri Mar 27, 2015 21:06

the unknown fuel got there because furnaces where among the random nodes placed...

this means krocks fix will work, but your map will still get corrupted with random nodes. to fix this update your minetest if you can.

to save your borked world you can apply the fix by krock so the furnaces dont crash, then remove the random nodes. worldedit should do it.
 

afeys
Member
 
Posts: 17
Joined: Thu Mar 26, 2015 08:55

Re: crash in /mods/default/nodes.lua:1807

by afeys » Sat Mar 28, 2015 13:20

Thanks for the excellent support.
I'll update my minetest tomorrow and then run that fix.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 5 guests

cron