RaeF_ Posted February 10, 2017 Share Posted February 10, 2017 I've been trying to build mtasa from the source, i've followed the guide in wiki and in the readme, When i tried to build with config release and nightly, the server crash on startup. Anybody know the workaround? Link to comment
RaeF_ Posted February 11, 2017 Author Share Posted February 11, 2017 Here's the crash log MTA:SA Server v1.5.3-r0-custom crash report. 2017-02-11 08:04 Caught 5 addresses ... Backtrace: #0 - ./x64/core.so(_Z12DumpCallbackRKN15google_breakpad18MinidumpDescriptorEPvb+0xce) [0x7f6d669a964e] #1 - ./x64/core.so(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x3eb) [0x7f6d669c623b] #2 - ./x64/core.so(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP9siginfo_tPv+0x98) [0x7f6d669c6598] #3 - /usr/lib/libc.so.6(+0x330b0) [0x7f6d66c190b0] #4 - [0x1cf11f0] -------------------------------------------------------------------------------- Link to comment
MTA Team ccw Posted February 11, 2017 MTA Team Share Posted February 11, 2017 Try this: 1. Update the source: git pull 2. Rebuild: ./mta-build.sh 3. Go to the server bin directory: cd Bin/server 4. Run with gdb: gdb -ex "set print thread-events off" --eval-command run --args mta-server -q -n 5. When it crashes type this command to get a backtrace: bt Show the output here 1 Link to comment
RaeF_ Posted February 11, 2017 Author Share Posted February 11, 2017 (edited) @ccw, thanks for reply!, build in ArchLinux, i had been built the source in fedora 24 and got similar result. /home/raefaldhia/Development/mtasa-blue/Bin/server/x64/net.so: symbol SSLv3_clie nt_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link t ime reference I'm using net.so from https://linux.multitheftauto.com/dl/153/multitheftauto_linux_x64-1.5.3.tar.gz the bt print "No Stack." Full gdb output GNU gdb (GDB) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from mta-server64...done. Starting program: /home/raefaldhia/Development/mtasa-blue/Bin/server/mta-server64 -q -n [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". MTA:BLUE Server for MTA:SA /home/raefaldhia/Development/mtasa-blue/Bin/server/x64/net.so: symbol SSLv3_client_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference ERROR: Loading network library (net.so) failed! Press Q to shut down the server! [Inferior 1 (process 12626) exited with code 01] (gdb) bt No stack. Edited February 11, 2017 by RaeF_ Grammar Link to comment
RaeF_ Posted February 11, 2017 Author Share Posted February 11, 2017 replaced libssl and libcrypto in /usr/lib with mta's version inside linux-libs directory, i got this [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". MTA:BLUE Server for MTA:SA ================================================================== = Multi Theft Auto: San Andreas v1.5.3-custom [64 bit] ================================================================== = Server name : Default MTA Server = Server IP address: auto = Server port : 22003 = = Log file : ../Bin/server/mods/deathmatch/logs/server.log = Maximum players : 32 = HTTP port : 22005 = Voice Chat : Disabled = Bandwidth saving : Medium ================================================================== [06:08:26] Resources: 1 loaded, 0 failed [06:08:26] Starting resources.... [06:08:26] Authorized serial account protection is enabled for the ACL group(s): `Admin` See https://mtasa.com/authserial [06:08:26] Server started and is ready to accept connections! [06:08:26] To stop the server, type 'shutdown' or press Ctrl-C [06:08:26] Type 'help' for a list of commands. Thread 1 "mta-server64" received signal SIGSEGV, Segmentation fault. CNetJobData::ProcessCallback (this=0x8f2180) at ../Server/mods/deathmatch/logic/net/CNetBuffer.cpp:1365 1365 callback.pfnNetResult( this, callback.pContext ); (gdb) bt #0 CNetJobData::ProcessCallback (this=0x8f2180) at ../Server/mods/deathmatch/logic/net/CNetBuffer.cpp:1365 #1 0x00007ffff5078db4 in CNetServerBuffer::PollCommand ( this=this@entry=0x9ac840, pJobData=0x8f2180, uiTimeout=<optimized out>, uiTimeout@entry=4294967295) at ../Server/mods/deathmatch/logic/net/CNetBuffer.cpp:910 #2 0x00007ffff507901c in CNetServerBuffer::AddCommandAndWait ( this=this@entry=0x9ac840, pArgs=<optimized out>) at ../Server/mods/deathmatch/logic/net/CNetBuffer.cpp:859 #3 0x00007ffff507910d in CNetServerBuffer::RegisterPacketHandler ( this=this@entry=0x9ac840, pfnPacketHandler=<optimized out>) at ../Server/mods/deathmatch/logic/net/CNetBuffer.cpp:279 #4 0x00007ffff507c39c in CSimControl::DoPulse () at ../Server/mods/deathmatch/logic/net/CSimControl.cpp:94 #5 0x00007ffff4db4247 in CGame::DoPulse (this=0x714960) at ../Server/mods/deathmatch/logic/CGame.cpp:416 #6 0x00007ffff4d1dd8f in CServer::DoPulse (this=0x714940) at ../Server/mods/deathmatch/CServer.cpp:97 #7 0x00007ffff6b3e771 in CServerImpl::MainLoop ( this=this@entry=0x7fffffffe030) at ../Server/core/CServerImpl.cpp:464 #8 0x00007ffff6b3fdee in CServerImpl::Run (this=this@entry=0x7fffffffe030, iArgumentCount=iArgumentCount@entry=3, szArguments=szArguments@entry=0x7fffffffe778) ---Type <return> to continue, or q <return> to quit---A Link to comment
MTA Team ccw Posted February 12, 2017 MTA Team Share Posted February 12, 2017 Not sure what is causing the problem. If you want me to check, zip up the Bin/server directory tar -zcvf binserver.tar Bin/server and upload here: https://upload.mtasa.com/ and post the link Link to comment
RaeF_ Posted February 12, 2017 Author Share Posted February 12, 2017 (edited) Sorry couldn't upload atm due to network probs, and look like the crash have nothing to do with mtasa-blue source, i'll try to build in another distro instead, May i know what distro do you use to build net.so? to avoid similar issue. Edited February 12, 2017 by RaeF_ Link to comment
MTA Team ccw Posted February 12, 2017 MTA Team Share Posted February 12, 2017 The Linux MTA server is compiled on Debian 7 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now