Random crash when digging too deep

K1ck
Member
 
Posts: 13
Joined: Wed Feb 17, 2016 17:12
GitHub: k1ckcyph3r

Random crash when digging too deep

by K1ck » Wed Feb 17, 2016 18:23

Hi guys,

I'm having as issue with the game every time I digg too deep in the map (actually 2 of them) the game just chrash without any notification.

How to reproduce it? I'm not sure, but in my case is when I digg too deep. The workaround i'm using is to teleport to home then go down again. Sometimes it fixes it and others crash again.

Below you have my Linux disto and driver versions, the the gdb trace. Attached the generated logs and how did I got them.

EDIT: I'm using minetest 0.4.13

If I can help with anything else jut let me know and I'll be pleased to contribute.

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
uname -a
Linux k1ck-desktop 4.1.17-1-MANJARO #1 SMP PREEMPT Mon Feb 1 19:56:33 UTC 2016 x86_64 GNU/Linux


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
nvidia-smi
Wed Feb 17 12:00:09 2016       
+------------------------------------------------------+                       
| NVIDIA-SMI 352.79     Driver Version: 352.79         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 460     Off  | 0000:02:00.0     N/A |                  N/A |
| 30%   46C    P3    N/A /  N/A |    583MiB /   762MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0                  Not Supported                                         |
+-----------------------------------------------------------------------------+



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
$ lsb_release -a
LSB Version:   n/a
Distributor ID:   ManjaroLinux
Description:   Manjaro Linux
Release:   15.12
Codename:   Capella


The gdb output (the lasts lines, bt ant bt full):
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
016-02-17 11:37:52: ACTION[ServerThread]: singleplayer digs default:stone at (132,-144,164)
2016-02-17 11:37:53: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (133,-144,164)
2016-02-17 11:37:54: ACTION[ServerThread]: singleplayer digs default:stone at (133,-143,164)
2016-02-17 11:37:55: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (133,-145,164)
2016-02-17 11:37:57: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (133,-143,165)
2016-02-17 11:37:58: ACTION[ServerThread]: singleplayer digs default:stone at (132,-143,165)
2016-02-17 11:37:59: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (133,-143,166)
2016-02-17 11:38:01: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (134,-145,164)
2016-02-17 11:38:02: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (133,-145,165)
2016-02-17 11:38:03: ACTION[ServerThread]: singleplayer digs default:stone at (133,-144,165)
2016-02-17 11:38:03: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (133,-145,166)
2016-02-17 11:38:04: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (134,-144,165)
2016-02-17 11:38:05: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (134,-144,166)
2016-02-17 11:38:05: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (134,-145,165)
2016-02-17 11:38:06: ACTION[ServerThread]: singleplayer digs default:stone at (134,-144,164)
2016-02-17 11:38:07: ACTION[ServerThread]: singleplayer digs default:stone at (135,-145,164)
2016-02-17 11:38:08: ACTION[ServerThread]: singleplayer digs default:stone at (134,-146,164)
2016-02-17 11:38:16: ACTION[ServerThread]: lifetimer expired, removed mobs:oerkki
2016-02-17 11:38:22: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (116,-128,166)
2016-02-17 11:38:23: ACTION[ServerThread]: lifetimer expired, removed mobs:mese_monster
2016-02-17 11:38:23: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (116,-129,167)
2016-02-17 11:38:24: ACTION[ServerThread]: singleplayer digs default:stone at (117,-128,167)
2016-02-17 11:38:25: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (117,-128,166)
2016-02-17 11:38:26: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (117,-129,166)
2016-02-17 11:38:27: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (116,-129,166)
2016-02-17 11:38:27: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (117,-129,165)
2016-02-17 11:38:28: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (116,-129,165)
2016-02-17 11:38:29: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (116,-130,166)
2016-02-17 11:38:30: ACTION[ServerThread]: lifetimer expired, removed mobs:mese_monster
2016-02-17 11:38:30: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (118,-129,165)
2016-02-17 11:38:31: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (117,-129,164)
2016-02-17 11:38:31: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (118,-129,164)
2016-02-17 11:38:34: ACTION[ServerThread]: lifetimer expired, removed mobs:dungeon_master
2016-02-17 11:38:38: ACTION[ServerThread]: singleplayer digs default:stone_with_coal at (118,-131,166)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd9000700 (LWP 9889)]
0x00000000006a11b4 in DungeonGen::makeCorridor(irr::core::vector3d<short>, irr::core::vector3d<short>, irr::core::vector3d<short>&, irr::core::vector3d<short>&) ()
(gdb) bt
#0  0x00000000006a11b4 in DungeonGen::makeCorridor(irr::core::vector3d<short>, irr::core::vector3d<short>, irr::core::vector3d<short>&, irr::core::vector3d<short>&) ()
#1  0x00000000006a2ea2 in DungeonGen::makeDungeon(irr::core::vector3d<short>) ()
#2  0x00000000006a3842 in DungeonGen::generate(unsigned int, irr::core::vector3d<short>, irr::core::vector3d<short>) ()
#3  0x00000000007db87e in MapgenV6::makeChunk(BlockMakeData*) ()
#4  0x00000000006a72af in EmergeThread::Thread() ()
#5  0x00000000004c6b63 in JThread::TheThread(void*) ()
#6  0x00007ffff61b44a4 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff4f2413d in clone () from /usr/lib/libc.so.6
(gdb) bt full
#0  0x00000000006a11b4 in DungeonGen::makeCorridor(irr::core::vector3d<short>, irr::core::vector3d<short>, irr::core::vector3d<short>&, irr::core::vector3d<short>&) ()
No symbol table info available.
#1  0x00000000006a2ea2 in DungeonGen::makeDungeon(irr::core::vector3d<short>) ()
No symbol table info available.
#2  0x00000000006a3842 in DungeonGen::generate(unsigned int, irr::core::vector3d<short>, irr::core::vector3d<short>) ()
No symbol table info available.
#3  0x00000000007db87e in MapgenV6::makeChunk(BlockMakeData*) ()
No symbol table info available.
#4  0x00000000006a72af in EmergeThread::Thread() ()
No symbol table info available.
#5  0x00000000004c6b63 in JThread::TheThread(void*) ()
No symbol table info available.
#6  0x00007ffff61b44a4 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#7  0x00007ffff4f2413d in clone () from /usr/lib/libc.so.6
No symbol table info available.

Regards.
Attachments
error.log.bz2
Te output from "minetest --verbose --trace"
(411.26 KiB) Downloaded 60 times
debug-wogdb.txt.bz2
Executed with "minetest --verbose --trace" the output is in error.log
(91.46 KiB) Downloaded 66 times
debug.txt.bz2
Debug executed with "debug_log_level = 4" in the config file
(203.53 KiB) Downloaded 67 times
Last edited by K1ck on Wed Feb 17, 2016 20:29, edited 1 time in total.
 

User avatar
maikerumine
Member
 
Posts: 946
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: Random crash when digging too deep

by maikerumine » Wed Feb 17, 2016 19:12

Looks like a map gen bug when creating dungeons.
Try updating to a new version of minetest.
 

K1ck
Member
 
Posts: 13
Joined: Wed Feb 17, 2016 17:12
GitHub: k1ckcyph3r

Re: Random crash when digging too deep

by K1ck » Wed Feb 17, 2016 20:28

Hi,

Sorry for the typo, I'm using 0.4.13, not 0.4.3
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Random crash when digging too deep

by paramat » Thu Feb 18, 2016 04:28

0.4.13dev or 0.4.13stable?
I did recently fix a dungeongen crash caused by makeCorridor https://github.com/minetest/minetest/commit/57b429574ef92c62d202955535896b36845b88db
It was a very rarely triggered crash, reproduceable at certain locations.
 

K1ck
Member
 
Posts: 13
Joined: Wed Feb 17, 2016 17:12
GitHub: k1ckcyph3r

Re: Random crash when digging too deep

by K1ck » Thu Feb 18, 2016 07:21

paramat wrote:.4.13dev or 0.4.13stable?
I did recently fix a dungeongen crash caused by makeCorridor https://github.com/minetest/minetest/commit/57b429574ef92c62d202955535896b36845b88db
It was a very rarely triggered crash, reproduceable at certain locations.


I was playin the stable one, but a few hours ago I builded the latest from github (4c65455) made a copy of the world and worked fine so far (actually I'm playing in that version ATM) with no issues
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 12 guests

cron