-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
Linux server freeze with empty file src #738
Comments
Can't reproduce this one, I just get |
Yes, with your resource:
I'm using a custom debug build though, so it could be release-only. |
proof of work |
|
Linux DESKTOP-O9QIRJK 4.4.0-17134-Microsoft # 471-Microsoft Fri Dec 07 20:04:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux my linux, on my hosting provider ( serverproject.pl ) this resource also cause freeze could someone else test it? |
Can't reproduce with
|
I can reproduce the #738 (comment) if you unzip the resource. edit: this is actually |
The server tries to generate a checksum for a directory and the implementation opens the directory with fopen, which actually works on Linux, and then reads repeatedly 65536 bytes in a loop.
mtasa-blue/vendor/bochs/bochs_internal/crc32.cpp Lines 40 to 51 in 13771a4
|
Describe the bug
If you provide resource with
<file src=""/>
linux server go freeze.To reproduce
freeze.zip
just let your server load this resource. copy script into resource directory and start server, if you have linux, server will freeze.
Expected behaviour
Don't freeze and print that could not find
Screenshots
Version
MTA:SA Server v1.5.6-release-14688
Additional context
Working only on linux, i tested on windows and everything working.
I noticed that my server consume a lot of cpu.
The text was updated successfully, but these errors were encountered: