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

Linux server crashes with a warning of unclosed inject.so file being garbage collected #306

Closed
ArtyomKhydyakov opened this issue Aug 6, 2018 · 25 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ArtyomKhydyakov
Copy link

ArtyomKhydyakov commented Aug 6, 2018

I communicate through a translator, because I don't know English well, sorry. Every 30 minutes, my server shuts down on its own. Server crash occurs. We managed to see only one error that came out. Hosting, where is the server does not help me, but I know for sure that it is not the resources. Here's a list of the mistakes that were made.

WARNING: Unclosed file (inject.so ) was garbage collected. Check your resource for dereferenced files.

MTA:SA Server v1.5.5-r12250-release crash report.
2018-08-04 18:31
Caught 37 addresses ...

Backtrace:
#0 - ./core.so(+0x53881) [0xf74c2881]
#1 - ./core.so(+0x760d6) [0xf74e50d6]
#2 - ./core.so(+0x76572) [0xf74e5572]
#3 - linux-gate.so.1(kernel_rt_sigreturn+0) [0xffffe410]
#4 - linux-gate.so.1(kernel_vsyscall+0x5) [0xffffe425]
#5 - /lib/libc.so.6(gsignal+0xc2) [0xf760e9c2]
#6 - /lib/libc.so.6(abort+0x193) [0xf7610353]
#7 - /lib/libc.so.6(+0x27d4b) [0xf7606d4b]
#8 - /lib/libc.so.6(+0x27dab) [0xf7606dab]
#9 - /game/mods/deathmatch/deathmatch.so(+0x2a06c0) [0xf66836c0]
#10 - /game/mods/deathmatch/deathmatch.so(+0x335656) [0xf6718656]
#11 - /game/mods/deathmatch/deathmatch.so(+0x49b24c) [0xf687e24c]
#12 - /game/mods/deathmatch/deathmatch.so(+0x4b182f) [0xf689482f]
#13 - /game/mods/deathmatch/deathmatch.so(+0x49b6ab) [0xf687e6ab]
#14 - /game/mods/deathmatch/deathmatch.so(+0x490ab5) [0xf6873ab5]
#15 - /game/mods/deathmatch/deathmatch.so(+0x49a5a3) [0xf687d5a3]
#16 - /game/mods/deathmatch/deathmatch.so(+0x49b902) [0xf687e902]
#17 - /game/mods/deathmatch/deathmatch.so(lua_pcall+0x66) [0xf6876ef6]
#18 - /game/mods/deathmatch/deathmatch.so(+0x314a51) [0xf66f7a51]
#19 - /game/mods/deathmatch/deathmatch.so(+0x2ccdea) [0xf66afdea]
#20 - /game/mods/deathmatch/deathmatch.so(+0x1b31f9) [0xf65961f9]
#21 - /game/mods/deathmatch/deathmatch.so(+0x1b4703) [0xf6597703]
#22 - /game/mods/deathmatch/deathmatch.so(+0x146ec3) [0xf6529ec3]
#23 - /game/mods/deathmatch/deathmatch.so(+0x15a834) [0xf653d834]
#24 - /game/mods/deathmatch/deathmatch.so(+0x16db2d) [0xf6550b2d]
#25 - /game/mods/deathmatch/deathmatch.so(+0x16de77) [0xf6550e77]
#26 - /game/mods/deathmatch/deathmatch.so(+0x46a7de) [0xf684d7de]
#27 - /game/mods/deathmatch/deathmatch.so(+0x46ac23) [0xf684dc23]
#28 - /game/mods/deathmatch/deathmatch.so(+0x15e726) [0xf6541726]
#29 - /game/mods/deathmatch/deathmatch.so(+0xb3218) [0xf6496218]
#30 - ./core.so(+0x55d27) [0xf74c4d27]
#31 - ./core.so(+0x56fc2) [0xf74c5fc2]
#32 - ./core.so(+0x589ae) [0xf74c79ae]
#33 - ./core.so(Run+0x82) [0xf74d6c72]
#34 - ./mta-server(main+0x408) [0x809a558]
#35 - /lib/libc.so.6(__libc_start_main+0xf3) [0xf75f75b3]
#36 - ./mta-server() [0x809a9fd]
@patrikjuvonen patrikjuvonen changed the title error BUG Linux server crashes with a warning of unclosed inject.so file being garbage collected Aug 6, 2018
@patrikjuvonen patrikjuvonen added the bug Something isn't working label Aug 6, 2018
@Dezash
Copy link
Contributor

Dezash commented Aug 6, 2018

What is inject.so? Is that a module of some sort?

@Lpsd
Copy link
Member

Lpsd commented Aug 6, 2018

We have been continuing this discussion on Discord. It appears this is not an MTA bug and is something weird with the way his hosting handles the MTA installation (host gives very little control over the server itself and is all operated via their own Control Panel, including (re)installation of MTA server, which probably means they have a custom "build" to work with their system)...

inject.so is definitely not a default module, but the hosting says they do not know anything about it. Solution here: change hosts.

@ArtyomKhydyakov
Copy link
Author

ArtyomKhydyakov commented Aug 6, 2018 via email

@patrikjuvonen

This comment has been minimized.

@Dezash
Copy link
Contributor

Dezash commented Aug 6, 2018

What does iprint(getLoadedModules()) output?

@ArtyomKhydyakov
Copy link
Author

ArtyomKhydyakov commented Aug 6, 2018 via email

@ArtyomKhydyakov
Copy link
Author

ArtyomKhydyakov commented Aug 6, 2018 via email

@CrosRoad95
Copy link
Contributor

you can ask mta developers to resign old ip to new

@Lpsd
Copy link
Member

Lpsd commented Aug 6, 2018

Contact ccw to get your server rank fixed when you move hosts. iirc he's the one that deals with all of that.

@ArtyomKhydyakov
Copy link
Author

ArtyomKhydyakov commented Aug 6, 2018 via email

@ccw808
Copy link
Member

ccw808 commented Aug 6, 2018

I don't think it is a hosting problem. Are there any files in /game/mods/deathmatch/dumps ?

@ArtyomKhydyakov
Copy link
Author

A lot of files appear after the server crashes. Previously, there was no name for them: server_1.5.5-release-12250_20180805_0745.dmp

@ArtyomKhydyakov
Copy link
Author

@ArtyomKhydyakov
Copy link
Author

ArtyomKhydyakov commented Aug 6, 2018 via email

@ccw808
Copy link
Member

ccw808 commented Aug 6, 2018

Yes. Make .zip or .rar

@ArtyomKhydyakov
Copy link
Author

@ccw808
Copy link
Member

ccw808 commented Aug 6, 2018

Thanks. Please email me ccw808@gmail.com

@ArtyomKhydyakov
Copy link
Author

Help, my server is crashing. They say that this is a flood inside the game, hosting does not help. What to do?

@ccw808
Copy link
Member

ccw808 commented Aug 7, 2018

Maybe a resource is using up memory

@ArtyomKhydyakov
Copy link
Author

Even without a resource, it turns off

@ccw808
Copy link
Member

ccw808 commented Aug 7, 2018

Crash caused by calling setAccountPassword with an empty password

@ArtyomKhydyakov
Copy link
Author

ArtyomKhydyakov commented Aug 7, 2018 via email

@ccw808
Copy link
Member

ccw808 commented Aug 7, 2018

Ask your host to update the 32 bit server binaries from https://nightly.mtasa.com/multitheftauto_linux-1.5.5-rc-13989.tar.gz

@ArtyomKhydyakov
Copy link
Author

I'm not sure that they will do it :(

@Dezash
Copy link
Contributor

Dezash commented Aug 7, 2018

Then fix your scripts or change the host.

@patrikjuvonen patrikjuvonen added this to the 1.5.6 milestone Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants