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

Putting A Table inside deferrals.done() function crashes the server #3030

Open
Morji789 opened this issue Dec 22, 2024 · 0 comments · May be fixed by #3084
Open

Putting A Table inside deferrals.done() function crashes the server #3030

Morji789 opened this issue Dec 22, 2024 · 0 comments · May be fixed by #3084
Labels
bug ScRT: Lua Issues/PRs related to the Lua scripting runtime triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Morji789
Copy link

Morji789 commented Dec 22, 2024

What happened?

I created a fivem auth system that checkes if a players has an account before entering the server and accidently use a table in the deferrals.done() function's argument, and when i tested it the server had a server crash

image

(i know its stupid but i wanted to report this)

Expected result

The server shouldn't crashed

Reproduction steps

  1. get a table in your code
  2. do this in your code deferrals.done(table)
  3. restart the server and try to enter it
  4. as soon as it gets to the function the server crashes

Importancy

Unknown

Area(s)

FiveM, FXServer, ScRT: Lua

Specific version(s)

FiveM Server 9572 Windows

Additional information

No response

@Morji789 Morji789 added bug triage Needs a preliminary assessment to determine the urgency and required action labels Dec 22, 2024
@github-actions github-actions bot added the ScRT: Lua Issues/PRs related to the Lua scripting runtime label Dec 22, 2024
@MoskalykA MoskalykA linked a pull request Jan 19, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ScRT: Lua Issues/PRs related to the Lua scripting runtime triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant