Crash in waypoint_lib.lua:231 when unwielding compass #6896

Closed
opened 2024-06-06 03:17:33 +02:00 by AliasAlreadyTaken · 1 comment

When unwielding the waypoint compass:

2024-06-06 03:15:55: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'waypoint_compass' in callback environment_Step(): ...etest/5.9.0/minetest-dev/bin/../builtin/common/after.lua:152: attempt to index local 'self' (a nil value)
2024-06-06 03:15:55: ERROR[Main]: stack traceback:
2024-06-06 03:15:55: ERROR[Main]: 	...etest/5.9.0/minetest-dev/bin/../builtin/common/after.lua:152: in function 'cancel'
2024-06-06 03:15:55: ERROR[Main]: 	...netest-dev/bin/../mods/waypoint_compass/waypoint_lib.lua:231: in function 'hide'
2024-06-06 03:15:55: ERROR[Main]: 	...5.9.0/minetest-dev/bin/../mods/waypoint_compass/init.lua:117: in function 'hide_hud_waypoint'
2024-06-06 03:15:55: ERROR[Main]: 	...5.9.0/minetest-dev/bin/../mods/waypoint_compass/init.lua:191: in function 'update_hud_waypoint'
2024-06-06 03:15:55: ERROR[Main]: 	...5.9.0/minetest-dev/bin/../mods/waypoint_compass/init.lua:204: in function 'func'
2024-06-06 03:15:55: ERROR[Main]: 	...minetest-dev/bin/../builtin/profiler/instrumentation.lua:124: in function <...minetest-dev/bin/../builtin/profiler/instrumentation.lua:117>
2024-06-06 03:15:55: ERROR[Main]: 	...st/5.9.0/minetest-dev/bin/../builtin/common/register.lua:26: in function <...st/5.9.0/minetest-dev/bin/../builtin/common/register.lua:12>

When unwielding the waypoint compass: ``` 2024-06-06 03:15:55: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'waypoint_compass' in callback environment_Step(): ...etest/5.9.0/minetest-dev/bin/../builtin/common/after.lua:152: attempt to index local 'self' (a nil value) 2024-06-06 03:15:55: ERROR[Main]: stack traceback: 2024-06-06 03:15:55: ERROR[Main]: ...etest/5.9.0/minetest-dev/bin/../builtin/common/after.lua:152: in function 'cancel' 2024-06-06 03:15:55: ERROR[Main]: ...netest-dev/bin/../mods/waypoint_compass/waypoint_lib.lua:231: in function 'hide' 2024-06-06 03:15:55: ERROR[Main]: ...5.9.0/minetest-dev/bin/../mods/waypoint_compass/init.lua:117: in function 'hide_hud_waypoint' 2024-06-06 03:15:55: ERROR[Main]: ...5.9.0/minetest-dev/bin/../mods/waypoint_compass/init.lua:191: in function 'update_hud_waypoint' 2024-06-06 03:15:55: ERROR[Main]: ...5.9.0/minetest-dev/bin/../mods/waypoint_compass/init.lua:204: in function 'func' 2024-06-06 03:15:55: ERROR[Main]: ...minetest-dev/bin/../builtin/profiler/instrumentation.lua:124: in function <...minetest-dev/bin/../builtin/profiler/instrumentation.lua:117> 2024-06-06 03:15:55: ERROR[Main]: ...st/5.9.0/minetest-dev/bin/../builtin/common/register.lua:26: in function <...st/5.9.0/minetest-dev/bin/../builtin/common/register.lua:12> ```
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
3. source/testserver
labels 2024-06-06 03:17:47 +02:00
AliasAlreadyTaken added this to the minetest 5.9.0 milestone 2024-08-01 03:23:21 +02:00
Member

whosit/waypoint_compass#10 and
whosit/waypoint_announce#3

hope @whosit is still around and can merge it...

https://gitea.your-land.de/whosit/waypoint_compass/pulls/10 and https://gitea.your-land.de/whosit/waypoint_announce/pulls/3 hope @whosit is still around and can merge it...
AliasAlreadyTaken added the
4. step/ready to QA test
4. step/QA OK
labels 2024-08-15 16:49:30 +02: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#6896
No description provided.