Kenix

Segmentation fault (+ all logs/dumps/backtraces)

Recommended Posts

Posted (edited)

VM: Virtual Box
Error name: Segmentation fault
OS: Debian 9.9 (x64)
RAM: 1.7GB
CPU: 2
Version: MTA version r16569 (stable) (failed in another versions HEAD/etc)
Additional: i had the same error using Docker with "ubuntu" image.
Task: Just need to compile a custom MTA server.

================

Debian 9.9 (compile MTA SA r16569)
gcc version:
6.3.0-18+deb9u1

Dump log:
https://pastebin.com/itVUvLWQ

Backtrace (using gdb mta-server64):
https://pastebin.com/acSvH4BU

Dump:
https://upload.mtasa.com/u/974313768/server_1.5.6-custom_20190503_1231.dmp_

================
Debian 8.11 (compile MTA SA r16569)

gcc version:
4.9.2-10+deb8u2

Dump log:
https://pastebin.com/DyPJxPC9

Backtrace:
https://pastebin.com/utxwMnde

Dump:
https://upload.mtasa.com/u/287394891/server_1.5.6-custom_20190503_1611.dmp_

================
Debian 9.9 (compile MTA SA HEAD)

gcc 7.4.0.9 (updated)

Dump log:
https://pastebin.com/4CNAAW1V

Backtrace:
https://pastebin.com/LrResDcr

Dump:
https://upload.mtasa.com/u/218452296/server_1.5.6-custom_20190503_1814.dmp_

UPD: Stable version r16569 (from linux.mtasa.com) works well. This error affects only on self-compiled version.

 

UPD2:
starting mta-server64 with -n flag doesn't help.

 

Edited by Kenix

Share this post


Link to post

Has the source been modified?

Share this post


Link to post
5 hours ago, ccw said:

Has the source been modified?

No, original from github

Share this post


Link to post

What can i try? any suggestions

Share this post


Link to post
On 03/05/2019 at 23:30, Kenix said:

Debian 8.11 (compile MTA SA r16569)

gcc version:
4.9.2-10+deb8u2

Dump log:
https://pastebin.com/DyPJxPC9

Backtrace:
https://pastebin.com/utxwMnde

Dump:
https://upload.mtasa.com/u/287394891/server_1.5.6-custom_20190503_1611.dmp_

The net.so (referenced in the dump file) is not the one from https://nightly.mtasa.com/multitheftauto_linux_x64-1.5.6-rc-16569.tar.gz

Where did you get it?

Share this post


Link to post
Posted (edited)

I just run after compile

./linux-install-data.sh
Edited by Kenix

Share this post


Link to post

Great!
Thanks for letting us know.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.