Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crashed after editing a removed subtask #136

Open
thesystman opened this issue Apr 14, 2019 · 1 comment
Open

Server crashed after editing a removed subtask #136

thesystman opened this issue Apr 14, 2019 · 1 comment

Comments

@thesystman
Copy link

thesystman commented Apr 14, 2019

We removed a subtask and after that we tried to edit it. The following error appears in the server:

58766.428 Error MainLoop.cpp:1177: Exception at tick 31636297: The mod Todo List caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Todo-List::on_gui_click (ID 1)
Todo-List/todo/features/subtasks.lua:66: attempt to index local 'subtask' (a nil value)
stack traceback:
#011__Todo-List__/todo/features/subtasks.lua:66: in function 'update_subtask'
#011__Todo-List__/todo/features/subtasks.lua:55: in function 'on_edit_subtask_save_click'
#011__Todo-List__/todo/todo.lua:163: in function 'on_gui_click'
#011__Todo-List__/control.lua:20: in function <Todo-List/control.lua:19
58766.428 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Todo List caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Todo-List::on_gui_click (ID 1)
Todo-List/todo/features/subtasks.lua:66: attempt to index local 'subtask' (a nil value)
stack traceback:
#011__Todo-List__/todo/features/subtasks.lua:66: in function 'update_subtask'
#011__Todo-List__/todo/features/subtasks.lua:55: in function 'on_edit_subtask_save_click'
#011__Todo-List__/todo/todo.lua:163: in function 'on_gui_click'
#011__Todo-List__/control.lua:20: in function <Todo-List/control.lua:19>
58766.428 Info ServerMultiplayerManager.cpp:760: updateTick(31636297) changing state from(InGame) to(Failed)
58766.442 Quitting: multiplayer error.
58766.442 Info GlobalContext.cpp:684: Waiting for child processes to exit:
58766.871 Info ServerMultiplayerManager.cpp:138: Quitting multiplayer connection.
58766.871 Info ServerMultiplayerManager.cpp:760: updateTick(4294967295) changing state from(Failed) to(Closed)
58766.871 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/4978613
58766.959 Info UDPSocket.cpp:210: Closing socket
58766.959 Info UDPSocket.cpp:240: Socket closed
58766.959 Info UDPSocket.cpp:210: Closing socket
58766.997 Info UDPSocket.cpp:210: Closing socket
58766.998 Info UDPSocket.cpp:240: Socket closed
58766.998 Goodbye

Server version: 0.17.31
Mod version: 17.2.1

After the error the server stopped.

@JonasJurczok
Copy link
Owner

Thanks for the report. I'll take a look :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants