tour reports: we seem to run an outdated version of core.serialize ... #8483
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/petz
3. source/testserver
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/possible close
4. step/QA main
4. step/QA NOK
4. step/QA OK
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
kind/standalone
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#8483
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tour reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
As tour investigated, this version has some pretty serious issues (one of them caused my luac to malfunction).
Very nice detective work, I was clueless :)
introduced in
e12eb9728b, probably bc. of #44Serializer got an update in the meantime: https://github.com/luanti-org/luanti/pull/11427
This causes multiple problems:
the easiest solution would be to remove that strange override, but serializing userdata would crash again:
/eval core.serialize(me)On the other hand it seems like mobs_redo was the only mod having troubles with that and they implemented counter measures long time ago (
68b25c9d08/api.lua (L2780))We should definitely remove the buggy override. I'm also convinced that mods fixed themselves and try no longer to serialize userdata.
2bcf3efc5dWe spent some time on test just visiting places and spawning random mobs - didn't notice any issues so far.
Got this in my test world:
It's logging code:
285d9ed136/builtin.lua (L113)I just swapped
serializetodump754ab385ecI guess we should try grepping for more sus usages of serialize.