Administrator reports: damaged texture in sight ... #2368

Open
opened 2022-07-30 22:55:07 +00:00 by yourland-report · 9 comments

Administrator reports a bug:

damaged texture in sight

Player position:

{
	y = 35.5,
	z = -141.42900085449,
	x = 30926.19921875
}

Player look:

{
	y = -0.37282583117485,
	z = -0.23828099668026,
	x = -0.89678484201431
}

Player information:

{
	state = "Active",
	version_string = "5.6.0-dev-a87111588",
	avg_rtt = 0.01799999922514,
	connection_uptime = 216,
	serialization_version = 29,
	ip_version = 6,
	min_rtt = 0.017000000923872,
	max_rtt = 0.3459999859333,
	lang_code = "",
	formspec_version = 6,
	max_jitter = 0.3110000193119,
	avg_jitter = 0,
	major = 5,
	minor = 6,
	patch = 0,
	min_jitter = 0,
	protocol_version = 40
}

Player meta:

{
	fields = {
		arenalib_infobox_arenaID = "0",
		played_time = "3066186",
		digged_nodes = "74753",
		["signslib:pos"] = "(1971,19,1174)",
		died = "185",
		xp = "0",
		inflicted_damage = "7928",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 54, [\"x\"] = -3844, [\"z\"] = -5201}}",
		repellant = "0",
		["stamina:level"] = "0",
		["stamina:exhaustion"] = "134.5",
		hud_state = "on",
		["ethereal:fly_timer"] = "-99",
		["sethome:home"] = "(2218.833984375,40.9880027771,981.63397216797)",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		yl_commons_player_joined = "1659221504",
		placed_nodes = "123871",
		yl_commons_thankyou = "12",
		["stamina:poisoned"] = "no",
		lagometer = "1",
		punch_count = "532",
		crafted = "175",
		["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}",
		bitten = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = 9ji0BaL10koq1K7dlWppt3gOxd33uqrD

Profiler save:

profile-20220730T225506.json_prettyEE

Status:

# Server: version: 5.5.1-yl | game: Minetest Game | uptime: 2d 17h 53min 45s | max lag: 2.03s | clients: NIcholasJDi, Zarky, pejelagarto, getmeNOT, mrrug, digdeep, rheo, aui, rabenkind, Therottenpotato, Papi, Lupercus, Lucien_II, Administrator, FireRubies, flux, Bla, Service, pitman, AliasAlreadyTaken, Mielle, Bailiff

Teleport command:

/teleport xyz 30926 36 -141

Compass command:

/give_compass Construction 9ji0BaL10koq1K7dlWppt3gOxd33uqrD D2691E 30926 36 -141
Administrator reports a bug: > damaged texture in sight Player position: ``` { y = 35.5, z = -141.42900085449, x = 30926.19921875 } ``` Player look: ``` { y = -0.37282583117485, z = -0.23828099668026, x = -0.89678484201431 } ``` Player information: ``` { state = "Active", version_string = "5.6.0-dev-a87111588", avg_rtt = 0.01799999922514, connection_uptime = 216, serialization_version = 29, ip_version = 6, min_rtt = 0.017000000923872, max_rtt = 0.3459999859333, lang_code = "", formspec_version = 6, max_jitter = 0.3110000193119, avg_jitter = 0, major = 5, minor = 6, patch = 0, min_jitter = 0, protocol_version = 40 } ``` Player meta: ``` { fields = { arenalib_infobox_arenaID = "0", played_time = "3066186", digged_nodes = "74753", ["signslib:pos"] = "(1971,19,1174)", died = "185", xp = "0", inflicted_damage = "7928", yl_church = "return {[\"last_death\"] = {[\"y\"] = 54, [\"x\"] = -3844, [\"z\"] = -5201}}", repellant = "0", ["stamina:level"] = "0", ["stamina:exhaustion"] = "134.5", hud_state = "on", ["ethereal:fly_timer"] = "-99", ["sethome:home"] = "(2218.833984375,40.9880027771,981.63397216797)", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", yl_commons_player_joined = "1659221504", placed_nodes = "123871", yl_commons_thankyou = "12", ["stamina:poisoned"] = "no", lagometer = "1", punch_count = "532", crafted = "175", ["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}", bitten = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = 9ji0BaL10koq1K7dlWppt3gOxd33uqrD ``` Profiler save: ``` profile-20220730T225506.json_prettyEE ``` Status: ``` # Server: version: 5.5.1-yl | game: Minetest Game | uptime: 2d 17h 53min 45s | max lag: 2.03s | clients: NIcholasJDi, Zarky, pejelagarto, getmeNOT, mrrug, digdeep, rheo, aui, rabenkind, Therottenpotato, Papi, Lupercus, Lucien_II, Administrator, FireRubies, flux, Bla, Service, pitman, AliasAlreadyTaken, Mielle, Bailiff ``` Teleport command: ``` /teleport xyz 30926 36 -141 ``` Compass command: ``` /give_compass Construction 9ji0BaL10koq1K7dlWppt3gOxd33uqrD D2691E 30926 36 -141 ```
AliasAlreadyTaken was assigned by yourland-report 2022-07-30 22:55:07 +00:00
AliasAlreadyTaken added the
3. source/mod upstream
3. source/client
labels 2022-07-31 01:22:52 +00:00

I can reproduce on my Oneplus 3 Android 9 phone.

I can reproduce on my Oneplus 3 Android 9 phone.
Member

any chance to see a screenshot of what this is about?

any chance to see a screenshot of what this is about?

Android 9 on a Oneplus Three phone, MT 5.5.1:

ERROR[MeshUpdate]: TextureSource::getTextureName(): id=2242009345 >= m_textureinfo_cache.size()=5470

ERROR[MeshUpdate]: TextureSource::getTextureName(): id=3600086273 >= m_textureinfo_cache.size()=5471

Android 9 on a Oneplus Three phone, MT 5.5.1: ``` ERROR[MeshUpdate]: TextureSource::getTextureName(): id=2242009345 >= m_textureinfo_cache.size()=5470 ERROR[MeshUpdate]: TextureSource::getTextureName(): id=3600086273 >= m_textureinfo_cache.size()=5471 ``` ![](https://gitea.your-land.de/attachments/c313ff4a-d6e3-40f2-bd5f-b291819920dc)
Member

that's ... insane O_O. id #s that look like randomly generated 32 bit unsigned ints? have you reported this to the engine folks?

that's ... insane O_O. *id* #s that look like randomly generated 32 bit unsigned ints? have you reported this to the engine folks?

Menchers inquired on IRC, because he was the one to be affected (first?):

09/10/2021
Menchers
lately my client has been crashing when looking at a jungle
with:
2021-10-08 01:43:08: ERROR[MeshUpdate]: TextureSource::getTextureName(): id=1953264993 >= m_textureinfo_cache.size()=7575
it doesn't like one of the textures used in the jungle plants?
did the numeric ID of the texture get corrupted?

I believe I aslo asked on discord once, but can't find my own text right now.

Until recently we didn't have a 100% repro. Now we have. However we didn't find the texture in question yet.

Menchers inquired on IRC, because he was the one to be affected (first?): > 09/10/2021 > Menchers > lately my client has been crashing when looking at a jungle > with: > 2021-10-08 01:43:08: ERROR[MeshUpdate]: TextureSource::getTextureName(): id=1953264993 >= m_textureinfo_cache.size()=7575 > it doesn't like one of the textures used in the jungle plants? > did the numeric ID of the texture get corrupted? I believe I aslo asked on discord once, but can't find my own text right now. Until recently we didn't have a 100% repro. Now we have. However we didn't find the texture in question yet.

Diaeresis suggests to adjust this patch to our needs to find the name of the offending texture:

From fd0f912ba686f9592737fbb4e9dca071b19e3dd8 Mon Sep 17 00:00:00 2001
From: Diaeresis <asumface@gmail.com>
Date: Sat, 17 Sep 2022 02:02:31 +0200
Subject: [PATCH] log texture path

---
 include/ITexture.h                        | 2 +-
 source/Irrlicht/COpenGLCoreCacheHandler.h | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/ITexture.h b/include/ITexture.h
index 3976ba3..dfa18f0 100644
--- a/include/ITexture.h
+++ b/include/ITexture.h
@@ -337,7 +337,7 @@ protected:
         return ETCF_OPTIMIZED_FOR_SPEED;
     }
 
-    io::SNamedPath NamedPath;
+    public: io::SNamedPath NamedPath;
     core::dimension2d<u32> OriginalSize;
     core::dimension2d<u32> Size;
     E_DRIVER_TYPE DriverType;
diff --git a/source/Irrlicht/COpenGLCoreCacheHandler.h b/source/Irrlicht/COpenGLCoreCacheHandler.h
index 5726e5f..f10df91 100644
--- a/source/Irrlicht/COpenGLCoreCacheHandler.h
+++ b/source/Irrlicht/COpenGLCoreCacheHandler.h
@@ -104,6 +104,8 @@ class COpenGLCoreCacheHandler
                                 glEnable(curTextureType);
 #endif
 
+                            os::Printer::log("Texture path: ", irr::core::stringc(texture->NamedPath), ELL_ERROR);
+
                             glBindTexture(curTextureType, static_cast<const TOpenGLTexture*>(texture)->getOpenGLTextureName());
                         }
                         else
-- 
2.37.3
Diaeresis suggests to adjust this patch to our needs to find the name of the offending texture: ``` From fd0f912ba686f9592737fbb4e9dca071b19e3dd8 Mon Sep 17 00:00:00 2001 From: Diaeresis <asumface@gmail.com> Date: Sat, 17 Sep 2022 02:02:31 +0200 Subject: [PATCH] log texture path --- include/ITexture.h | 2 +- source/Irrlicht/COpenGLCoreCacheHandler.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/ITexture.h b/include/ITexture.h index 3976ba3..dfa18f0 100644 --- a/include/ITexture.h +++ b/include/ITexture.h @@ -337,7 +337,7 @@ protected: return ETCF_OPTIMIZED_FOR_SPEED; } - io::SNamedPath NamedPath; + public: io::SNamedPath NamedPath; core::dimension2d<u32> OriginalSize; core::dimension2d<u32> Size; E_DRIVER_TYPE DriverType; diff --git a/source/Irrlicht/COpenGLCoreCacheHandler.h b/source/Irrlicht/COpenGLCoreCacheHandler.h index 5726e5f..f10df91 100644 --- a/source/Irrlicht/COpenGLCoreCacheHandler.h +++ b/source/Irrlicht/COpenGLCoreCacheHandler.h @@ -104,6 +104,8 @@ class COpenGLCoreCacheHandler glEnable(curTextureType); #endif + os::Printer::log("Texture path: ", irr::core::stringc(texture->NamedPath), ELL_ERROR); + glBindTexture(curTextureType, static_cast<const TOpenGLTexture*>(texture)->getOpenGLTextureName()); } else -- 2.37.3 ```

Probably #2836

Probably #2836

Ivanhoe found anther place where the crash happens. I confirmed with my android phone

x = -28648.546875,
y = 32.5,
z = -28697.990234375
Ivanhoe found anther place where the crash happens. I confirmed with my android phone x = -28648.546875, y = 32.5, z = -28697.990234375
flux added
1. kind/bug
and removed
3. source/mod upstream
labels 2022-11-02 22:38:06 +00:00

PandaGirl found another spot: 7522, 61, 3953, facing north

PandaGirl found another spot: 7522, 61, 3953, facing north
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#2368
No description provided.