-
Notifications
You must be signed in to change notification settings - Fork 92
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
The 64-bit server crashes when executing print or printf in the scripts #835
Comments
Is your script compiled with a x64 pawn compiler? |
yes |
Just use the commonly used compilers, aka 32bit versions of them, scripts compiled with 32bit compilers work with omp x64 |
Just of curiosity, I compiled my test gamemode with x64 pawn compiler exactly from the archive above, compiled .amx script works good on omp server x64/x32 and even samp server (so, as I understand, x64 compiler generates regular .amx file). My next step was to also add filterscript of the example above, the omp server crashed. Then I compiled the same filterscript with x32 compiler and tested again, it crashed again. Here are the two minidump files: omp_minidump (x64 compiler).zip I'm almost sure they are identical because the compiler (most likely) is not related to the issue itself, it's only about x64 omp server AND the fact that print function is called exactly from filterscript, not gamemode. |
Can confirm the issue is still reproducible on the latest nightly build ( Additional details which may be useful: |
Describe the bug
If you run the 'print' or 'printf' function in OnGamemodeInit/OnFilterScriptInit on an open.mp x64 server, the server will immediately shut down. It works correctly on the Win32 server.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The filter script should execute the print function, and the server should not close.
Screenshots and/or logs
If applicable, add screenshots and/or log output to help explain your problem.
Commit hash in master
Link
The text was updated successfully, but these errors were encountered: