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
Lua with TAStudio open: "Can't have lua running in two host threads at a time!" #2172
Comments
works fine for me in 2.4.2 and latest git. You must have forgot an important detail. |
I did use it with tasstudio open with of course multiple branches. I will compare with and without it tomorrow. Thanks. |
Just a note: I have gotten this error before under a few circumstances, but never bothered to report. One in particular occurred when using both an event callback and a |
Gee Bill! How come your mom lets you have lua running in two host threads? |
Try this (at a frame other than frame 0). It causes the same error, at least in 2.4.2.
|
I am having the same error in Bizhawk 2.4.2. |
@adelikat df538c2 was the commit that introduced this problem. It's actually a fairly serious problem because it breaks TAStudio-related Lua functions completely, including Not blaming you for this, since it's probably the Lua code at fault here. Just for reference, the stack trace is this:
|
If this is a threading issue, would an equivalent ext. tool also crash? |
Looks like e4d4c3a indeed fixed this. I guess I was wrong about Possibly related, I wonder if |
Exists in 2.4.1 and 2.4.2 Bizhawk. I know this bug does not exist in Bizhawk 2.3.1.
the following lua will have a pop constantly popping up with the attached message. The message contains the error "Can't have lua running in two host threads at a time!"
while true do
savestate.saveslot(5)
savestate.loadslot(4)
emu.frameadvance();
end
The text was updated successfully, but these errors were encountered: