minetest-mobs_mime/core/procedures.lua:98: attempt to index local 'ent' (a nil value) #3606

Closed
opened 2023-01-24 13:59:18 +00:00 by AliasAlreadyTaken · 4 comments
2023-01-24 13:58:21: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mobs_mime' in callback luaentity_Activate(): ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: attempt to index local 'ent' (a nil value)
2023-01-24 13:58:21: ERROR[Main]: stack traceback:
2023-01-24 13:58:21: ERROR[Main]: 	..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: in function 'copy_nearby_mob'
2023-01-24 13:58:21: ERROR[Main]: 	..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:148: in function 'pr_SetTexture'
2023-01-24 13:58:21: ERROR[Main]: 	...inetest_test/bin/../mods/minetest-mobs_mime/core/mob.lua:70: in function 'on_spawn'
2023-01-24 13:58:21: ERROR[Main]: 	/home/mt/5.6.1/Minetest_test/bin/../mods/mobs_redo/api.lua:3274: in function 'func'
2023-01-24 13:58:21: ERROR[Main]: 	...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100>
``` 2023-01-24 13:58:21: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mobs_mime' in callback luaentity_Activate(): ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: attempt to index local 'ent' (a nil value) 2023-01-24 13:58:21: ERROR[Main]: stack traceback: 2023-01-24 13:58:21: ERROR[Main]: ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: in function 'copy_nearby_mob' 2023-01-24 13:58:21: ERROR[Main]: ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:148: in function 'pr_SetTexture' 2023-01-24 13:58:21: ERROR[Main]: ...inetest_test/bin/../mods/minetest-mobs_mime/core/mob.lua:70: in function 'on_spawn' 2023-01-24 13:58:21: ERROR[Main]: /home/mt/5.6.1/Minetest_test/bin/../mods/mobs_redo/api.lua:3274: in function 'func' 2023-01-24 13:58:21: ERROR[Main]: ...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100> ```
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
labels 2023-01-24 15:05:19 +00:00
flux added the
4. step/ready to QA test
3. source/mod upstream
labels 2023-01-24 16:54:42 +00:00
Member

same issue as #3597, put a nil check in: 6d1be1ddef

same issue as #3597, put a nil check in: https://github.com/fluxionary/minetest-mobs_mime/commit/6d1be1ddef033edb1684440bfa4eec187fa7151b
flux added this to the 1.1.117.1 milestone 2023-01-25 23:26:25 +00:00
Author
Owner

Happened again on the testserver, I assume the new mimic wasn't there yet.

2023-01-30 00:36:36: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mobs_mime' in callback luaentity_Step(): ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: attempt to index local 'ent' (a nil value)
2023-01-30 00:36:36: ERROR[Main]: stack traceback:
2023-01-30 00:36:36: ERROR[Main]: 	..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: in function 'copy_nearby_mob'
2023-01-30 00:36:36: ERROR[Main]: 	..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:148: in function 'pr_SetTexture'
2023-01-30 00:36:36: ERROR[Main]: 	...inetest_test/bin/../mods/minetest-mobs_mime/core/mob.lua:122: in function 'do_custom'
2023-01-30 00:36:36: ERROR[Main]: 	/home/mt/5.6.1/Minetest_test/bin/../mods/mobs_redo/api.lua:3441: in function 'func'
2023-01-30 00:36:36: ERROR[Main]: 	...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100>

I updated now

Happened again on the testserver, I assume the new mimic wasn't there yet. ``` 2023-01-30 00:36:36: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mobs_mime' in callback luaentity_Step(): ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: attempt to index local 'ent' (a nil value) 2023-01-30 00:36:36: ERROR[Main]: stack traceback: 2023-01-30 00:36:36: ERROR[Main]: ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:98: in function 'copy_nearby_mob' 2023-01-30 00:36:36: ERROR[Main]: ..._test/bin/../mods/minetest-mobs_mime/core/procedures.lua:148: in function 'pr_SetTexture' 2023-01-30 00:36:36: ERROR[Main]: ...inetest_test/bin/../mods/minetest-mobs_mime/core/mob.lua:122: in function 'do_custom' 2023-01-30 00:36:36: ERROR[Main]: /home/mt/5.6.1/Minetest_test/bin/../mods/mobs_redo/api.lua:3441: in function 'func' 2023-01-30 00:36:36: ERROR[Main]: ...inetest_test/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:100> ``` I updated now
Member

i noticed a mime on the test server that was ... much taller than it should be, not sure what was up w/ that.

EDIT: see #3691

i noticed a mime on the test server that was ... much *taller* than it should be, not sure what was up w/ that. EDIT: see #3691
AliasAlreadyTaken added the
ugh/QA main
label 2023-02-10 22:47:12 +00:00
Author
Owner

So far, hasn't happened again. I'll consider it fixed.

So far, hasn't happened again. I'll consider it fixed.
AliasAlreadyTaken added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-02-23 12:28:26 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#3606
No description provided.