Runtime error from mod '*builtin*' in callback on_chat_message(): String too long #2580
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/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/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
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#2580
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
2022-08-30 17:45:59: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'builtin' in callback on_chat_message(): String too long
2022-08-30 17:45:59: ERROR[Main]: stack traceback:
2022-08-30 17:45:59: ERROR[Main]: [C]: in function 'old_chat_send_player'
2022-08-30 17:45:59: ERROR[Main]: ...test_live/bin/../mods/yl_commons/chatcommands/ignore.lua:118: in function 'chat_send_player'
2022-08-30 17:45:59: ERROR[Main]: /home/mt/5.5.1/Minetest_live/bin/../builtin/game/chat.lua:103: in function 'func'
2022-08-30 17:45:59: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2022-08-30 17:45:59: ERROR[Main]: .../mt/5.5.1/Minetest_live/bin/../builtin/game/register.lua:429: in function <.../mt/5.5.1/Minetest_live/bin/../builtin/game/register.lua:415>
2022-08-30 17:54:01: ERROR[Main]: The following mods could not be found: "along_shore" "flowers_plus" "junglegrass" "mokapi"
ah, interesting. looks like the result of
/profile print
was too large to send as a chat message. well, don't do that...Not sure, did anyone use
/profiler print
? Because I didn't, as far as I know?That this command runs into an error is a very known issue
i did, see #2578. i've had that error using
/list_areas
(before i fixed it). i wonder what sort of fix upstream would want.upstream issues:
/profiler print
crash, closed as a duplicate of the thing below)fixed via
f246064cd1
This one doesn't appear to be fixed, I crashed the server again with
This was the result:
Looks like the ignore functionality grabs the content before the overwrite does?
the fix for too-long messages became part of my builtin_overrides mod; i can re-insert the relevant code into yl_commons if you prefer.
then again it's not a perfect solution, but it should handle... 99.99% of messages.
this is live
We can do that as part of yl_commons cleanup, if license permits. No rush though.