issue when a player talks to Sigrun #106

Closed
opened 2020-12-04 00:35:44 +00:00 by AliasAlreadyTaken · 5 comments
2020-12-04 01:31:06: ACTION[Server]: tobias20 leaves game. List of players: 
2020-12-04 01:31:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'yl_speak_up' in callback on_playerReceiveFields(): /home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1558: attempt to index field 'd_options' (a nil value)
2020-12-04 01:31:27: ERROR[Main]: stack traceback:
2020-12-04 01:31:27: ERROR[Main]: 	/home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1558: in function 'func'
2020-12-04 01:31:27: ERROR[Main]: 	...inetest_live/bin/../builtin/profiler/instrumentation.lua:106: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2020-12-04 01:31:27: ERROR[Main]: 	...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:429: in function <...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:413>

``` 2020-12-04 01:31:06: ACTION[Server]: tobias20 leaves game. List of players: 2020-12-04 01:31:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'yl_speak_up' in callback on_playerReceiveFields(): /home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1558: attempt to index field 'd_options' (a nil value) 2020-12-04 01:31:27: ERROR[Main]: stack traceback: 2020-12-04 01:31:27: ERROR[Main]: /home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1558: in function 'func' 2020-12-04 01:31:27: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:106: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100> 2020-12-04 01:31:27: ERROR[Main]: ...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:429: in function <...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:413> ```
Author
Owner

I made a quickfix for the situation, to find occasions where it went wrong we need to search the tag [#106] in the log. Also, it won't result in a crash anymore.

I made a quickfix for the situation, to find occasions where it went wrong we need to search the tag `[#106]` in the log. Also, it won't result in a crash anymore.
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
4. step/help wanted
labels 2020-12-05 21:03:10 +00:00
Author
Owner

It did result in a crash again, I made another fix.

2020-12-07 10:55:15: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'yl_speak_up' in callback on_playerReceiveFields(): /home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1566: attempt to index local 'd_option' (a nil value)
2020-12-07 10:55:15: ERROR[Main]: stack traceback:
2020-12-07 10:55:15: ERROR[Main]: 	/home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1566: in function 'func'
2020-12-07 10:55:15: ERROR[Main]: 	...inetest_live/bin/../builtin/profiler/instrumentation.lua:106: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2020-12-07 10:55:15: ERROR[Main]: 	...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:429: in function <...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:413>
It did result in a crash again, I made another fix. ``` 2020-12-07 10:55:15: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'yl_speak_up' in callback on_playerReceiveFields(): /home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1566: attempt to index local 'd_option' (a nil value) 2020-12-07 10:55:15: ERROR[Main]: stack traceback: 2020-12-07 10:55:15: ERROR[Main]: /home/mtlive1/.minetest/mods/yl_speak_up/functions.lua:1566: in function 'func' 2020-12-07 10:55:15: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:106: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100> 2020-12-07 10:55:15: ERROR[Main]: ...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:429: in function <...ve1/5.3.0/Minetest_live/bin/../builtin/game/register.lua:413> ```
Author
Owner

Hasn't happened since. Fix seems to have worked.

Hasn't happened since. Fix seems to have worked.
Author
Owner

Unfortunately wrong. Had I searched right, I'd have found this.

cat Minetest_live.out | grep "\[\#106\]"

2020-12-07 19:53:08: ERROR[Server]: [#106] n_dialog={
2020-12-07 19:53:08: ERROR[Server]: [#106] o="o_7"
2020-12-08 00:42:33: ERROR[Server]: [#106] n_dialog={
2020-12-08 00:42:33: ERROR[Server]: [#106] o="o_2"
2020-12-08 00:43:39: ERROR[Server]: [#106] n_dialog={
2020-12-08 00:43:39: ERROR[Server]: [#106] o="o_6"
2020-12-08 01:09:17: ERROR[Server]: [#106] n_dialog={
2020-12-08 01:09:17: ERROR[Server]: [#106] o="o_6"
2020-12-08 19:46:18: ERROR[Server]: [#106] n_dialog={
2020-12-08 19:46:18: ERROR[Server]: [#106] o="o_2"
2020-12-09 10:51:15: ERROR[Server]: [#106] n_dialog={
2020-12-09 10:51:15: ERROR[Server]: [#106] o="o_3"
2020-12-09 10:51:15: ERROR[Server]: [#106] n_dialog={
2020-12-09 10:51:15: ERROR[Server]: [#106] o="o_3"
2020-12-12 10:13:07: ERROR[Server]: [#106] n_dialog={
2020-12-12 10:13:07: ERROR[Server]: [#106] o="o_1"
2020-12-18 22:40:24: ERROR[Server]: [#106] n_dialog={
2020-12-18 22:40:24: ERROR[Server]: [#106] o="o_5"
2020-12-19 12:15:21: ERROR[Server]: [#106] n_dialog={
2020-12-19 12:15:21: ERROR[Server]: [#106] o="o_6"
2020-12-22 01:06:01: ERROR[Server]: [#106] n_dialog={
2020-12-22 01:06:01: ERROR[Server]: [#106] o="o_2"
Unfortunately wrong. Had I searched right, I'd have found this. `cat Minetest_live.out | grep "\[\#106\]"` ``` 2020-12-07 19:53:08: ERROR[Server]: [#106] n_dialog={ 2020-12-07 19:53:08: ERROR[Server]: [#106] o="o_7" 2020-12-08 00:42:33: ERROR[Server]: [#106] n_dialog={ 2020-12-08 00:42:33: ERROR[Server]: [#106] o="o_2" 2020-12-08 00:43:39: ERROR[Server]: [#106] n_dialog={ 2020-12-08 00:43:39: ERROR[Server]: [#106] o="o_6" 2020-12-08 01:09:17: ERROR[Server]: [#106] n_dialog={ 2020-12-08 01:09:17: ERROR[Server]: [#106] o="o_6" 2020-12-08 19:46:18: ERROR[Server]: [#106] n_dialog={ 2020-12-08 19:46:18: ERROR[Server]: [#106] o="o_2" 2020-12-09 10:51:15: ERROR[Server]: [#106] n_dialog={ 2020-12-09 10:51:15: ERROR[Server]: [#106] o="o_3" 2020-12-09 10:51:15: ERROR[Server]: [#106] n_dialog={ 2020-12-09 10:51:15: ERROR[Server]: [#106] o="o_3" 2020-12-12 10:13:07: ERROR[Server]: [#106] n_dialog={ 2020-12-12 10:13:07: ERROR[Server]: [#106] o="o_1" 2020-12-18 22:40:24: ERROR[Server]: [#106] n_dialog={ 2020-12-18 22:40:24: ERROR[Server]: [#106] o="o_5" 2020-12-19 12:15:21: ERROR[Server]: [#106] n_dialog={ 2020-12-19 12:15:21: ERROR[Server]: [#106] o="o_6" 2020-12-22 01:06:01: ERROR[Server]: [#106] n_dialog={ 2020-12-22 01:06:01: ERROR[Server]: [#106] o="o_2" ```
Author
Owner

Problem never occured again after the xmas event ended.

Even when, the error is caught and doesn't lead to a server crash anymore.

Problem never occured again after the xmas event ended. Even when, the error is caught and doesn't lead to a server crash anymore.
AliasAlreadyTaken added
5. result/fixed
and removed
4. step/help wanted
labels 2021-02-08 05:00:42 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#106
No description provided.