PostgreSQL database error: ERROR: current transaction is aborted #1228

Closed
opened 2021-12-28 13:33:38 +00:00 by AliasAlreadyTaken · 5 comments
2021-12-28 14:16:47: ACTION[Main]: Server: Shutting down
2021-12-28 14:18:45: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback getAuth(): PostgreSQL database error: ERROR:  current transaction is aborted, commands ignored until end of transaction block
2021-12-28 14:18:45: ERROR[Main]: stack traceback:
2021-12-28 14:18:45: ERROR[Main]: 	[C]: in function 'read'
2021-12-28 14:18:45: ERROR[Main]: 	...mtlive1/5.4.1/Minetest_live/bin/../builtin/game/auth.lua:14: in function <...mtlive1/5.4.1/Minetest_live/bin/../builtin/game/auth.lua:12>
Connection to 109.205.180.172 closed by remote host.
Connection to 109.205.180.172 closed.
``` 2021-12-28 14:16:47: ACTION[Main]: Server: Shutting down 2021-12-28 14:18:45: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback getAuth(): PostgreSQL database error: ERROR: current transaction is aborted, commands ignored until end of transaction block 2021-12-28 14:18:45: ERROR[Main]: stack traceback: 2021-12-28 14:18:45: ERROR[Main]: [C]: in function 'read' 2021-12-28 14:18:45: ERROR[Main]: ...mtlive1/5.4.1/Minetest_live/bin/../builtin/game/auth.lua:14: in function <...mtlive1/5.4.1/Minetest_live/bin/../builtin/game/auth.lua:12> Connection to 109.205.180.172 closed by remote host. Connection to 109.205.180.172 closed. ```
AliasAlreadyTaken added the
2. prio/critical
1. kind/documentation
labels 2021-12-28 13:36:28 +00:00
Member

This is triggered by the same conditions as #1189, though it reflects a different, much more intractable race condition.

This is triggered by the same conditions as #1189, though it reflects a different, much more intractable race condition.
flux added the
3. source/mod upstream
label 2022-04-24 22:45:04 +00:00
Member
Discussion is also at https://github.com/minetest/minetest/issues/11877
Member

https://github.com/minetest/minetest/pull/12234 was merged; we should make use of that ASAP

https://github.com/minetest/minetest/pull/12234 was merged; we should make use of that ASAP
Author
Owner

Instead of a 5.5.1 like they should have done, they made a backport branch: https://github.com/minetest/minetest/tree/backport-5

I'll rebuild the engine based on this branch.

Instead of a 5.5.1 like they should have done, they made a backport branch: https://github.com/minetest/minetest/tree/backport-5 I'll rebuild the engine based on this branch.
Author
Owner

The backport-5 branch is in use. So far no crash. We'll reopen once that happens, until then: Yay, party! Fixed :)

The backport-5 branch is in use. So far no crash. We'll reopen once that happens, until then: Yay, party! Fixed :)
AliasAlreadyTaken added the
5. result/fixed
label 2022-05-09 23:21:23 +00:00
AliasAlreadyTaken added this to the 1.1.111 milestone 2022-05-13 05:11:05 +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#1228
No description provided.