serialize.h:278: void write

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

serialize.h:278: void write

by AiTechEye » Sun Jan 29, 2017 22:33

Anyone that knows what makes the error or something that has to do with it

its a error caused by my mod aliveai... just 4500 lines of code and about 70 functions to troubleshoot :-)
https://forum.minetest.net/viewtopic.php?f=11&t=16083

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
minetest: /build/minetest-0.4.15+repack/src/util/serialize.h:278: void writeF1000(irr::u8*, irr::f32): Assertion `i >= ((float)(s32)((-0x7FFFFFFF - 1) / 1000.0f)) && i <= ((float)(s32)((0x7FFFFFFF) / 1000.0f))' failed.
Aborted
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: serialize.h:278: void write

by Fixerol » Sun Jan 29, 2017 23:19

Provide more info please.
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: serialize.h:278: void write

by AiTechEye » Mon Jan 30, 2017 09:51

WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
will see if this makes it

if it was on my pc the game crashed on, would it be easier to find the error.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

Karkaras
Member
 
Posts: 14
Joined: Sun Jan 29, 2017 08:32

Re: serialize.h:278: void write

by Karkaras » Mon Jan 30, 2017 10:27

I'm the one experiencing the crash. I use minetest 0.4.15 on Linux Mint (LMDE2).

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 test 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux


The Minetest package comes from the Debian testing backport :

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
$ apt-cache show minetest
Package: minetest
Version: 0.4.15+repack-1~bpo8+1
Installed-Size: 5936
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Architecture: amd64
Depends: minetest-data (= 0.4.15+repack-1~bpo8+1), libc6 (>= 2.15), libcurl3-gnutls (>= 7.16.2), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libirrlicht1.8, libjsoncpp0, libleveldb1, libluajit-5.1-2, libopenal1 (>= 1.14), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 4.9), libvorbisfile3 (>= 1.2.0), libx11-6, zlib1g (>= 1:1.1.4)
Suggests: minetest-mod-moreblocks, minetest-mod-moreores, minetest-mod-pipeworks, minetest-server
Conflicts: minetestc55
Description-en: Multiplayer infinite-world block sandbox
 Minetest is a minecraft-inspired game written from scratch and licensed
 under the LGPL (version 2.1 or later). It supports both survival and creative
 modes along with multiplayer support, dynamic lighting, and an "infinite" map
 generator.
Description-md5: ac90cc10401495e1dd0afd0f8a2cff72
Homepage: http://minetest.net/
Section: games
Priority: extra
Filename: pool/main/m/minetest/minetest_0.4.15+repack-1~bpo8+1_amd64.deb
Size: 1919062
MD5sum: 1a97cf4c1fa6e24fb7354b6306f66e30
SHA1: ae2244618e4bd09907b3b0b4f23e09793f419ce2
SHA256: 255fda40e899dccd357c57694ed4cef3e09fa9de0eac49e070af3103de398dff


The mod is Alive AI latest version; this is a mod that supposed to spawn and handle autonomous mobs.

As it seems to be an issue with the seralization, what is serialized in the game exactly ? Are the mobs serialized after the on_step call ? What can cause this error ?
 

Karkaras
Member
 
Posts: 14
Joined: Sun Jan 29, 2017 08:32

Re: serialize.h:278: void write

by Karkaras » Mon Jan 30, 2017 10:43

I tried to post the content of debug.txt, but NGinx says it is too large (~14000 lines). I had to add it as an attached zip file.

debug.txt.zip
(69.04 KiB) Downloaded 80 times
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: serialize.h:278: void write

by AiTechEye » Mon Jan 30, 2017 11:15

Seems like the serialize.h:278 is caused by void or outdated functions, like get_node_group and minetest.env even it is still working in some builds
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: serialize.h:278: void write

by Fixerol » Wed Feb 01, 2017 18:11

Can you compile your minetest with this and check if error still happens? https://github.com/minetest/minetest/pull/4425
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron