View Issue Details

IDProjectCategoryView StatusLast Update
0009787Multi Theft Auto : San AndreasServerpublic2018-01-04 12:21
ReporterasturelAssigned Toccw 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.5.5 
Target Version1.5.6Fixed in Version1.5.6 
Summary0009787: Self-compiled server crash on callRemote
Description

compiled from https://github.com/multitheftauto/mtasa-blue/commit/13c1eb3d5c8fc02b1afc391ab20f44b874b3873f on debian jessie
while the multitheftauto_linux_x64-1.5.5-rc-11798.tar.gz official build works fine, mine crashing on callRemote (at startup), backstrace:

Program received signal SIGABRT, Aborted.
0x00007ffff6e23067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6e23067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6e24448 in __GI_abort () at abort.c:89
#2  0x00007ffff792db3d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff792bbb6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff792bc01 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff792be19 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff792c339 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff5dd36ff in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
   from /home/asturel/mtadev/x64/net.so
#8  0x00007ffff5cccf77 in ?? () from /home/asturel/mtadev/x64/net.so
#9  0x00007ffff4d84a3b in MakeCall (this=0x3622d10) at ../Server/mods/deathmatch/logic/CRemoteCalls.cpp:218
#10 CRemoteCalls::Call (this=0xa13b00, szURL=0x25a7ca8 "http://*SECRET*.php", arguments=arguments@entry=0x7fffffffc610, luaMain=0x25562e0, iFunction=..., strQueueName=..., uiConnectionAttempts=10, uiConnectTimeoutMs=10000)
    at ../Server/mods/deathmatch/logic/CRemoteCalls.cpp:43
#11 0x00007ffff4e40a92 in CLuaFunctionDefs::CallRemote (luaVM=0x25411a0) at ../Server/mods/deathmatch/logic/lua/CLuaFunctionDefs.Server.cpp:602
#12 0x00007ffff50209bd in luaD_precall (L=L@entry=0x25411a0, func=<optimized out>, func@entry=0x1137390, nresults=nresults@entry=0) at ../vendor/lua/src/ldo.c:338
#13 0x00007ffff50364e7 in luaV_execute (L=L@entry=0x25411a0, nexeccalls=2, nexeccalls@entry=1) at ../vendor/lua/src/lvm.c:591
#14 0x00007ffff5020e7d in luaD_call (L=0x25411a0, func=0x1137340, nResults=<optimized out>) at ../vendor/lua/src/ldo.c:400
#15 0x00007ffff501fcdb in luaD_rawrunprotected (L=L@entry=0x25411a0, f=f@entry=0x7ffff5016750 <f_call>, ud=ud@entry=0x7fffffffc9f0) at ../vendor/lua/src/ldo.c:127
#16 0x00007ffff50210ea in luaD_pcall (L=L@entry=0x25411a0, func=func@entry=0x7ffff5016750 <f_call>, u=u@entry=0x7fffffffc9f0, old_top=160, ef=<optimized out>) at ../vendor/lua/src/ldo.c:486
#17 0x00007ffff5019ec6 in lua_pcall (L=0x25411a0, nargs=<optimized out>, nresults=-1, errfunc=<optimized out>) at ../vendor/lua/src/lapi.c:846
#18 0x00007ffff4e65ad5 in CLuaMain::PCall (this=this@entry=0x25562e0, L=L@entry=0x25411a0, nargs=1, nresults=nresults@entry=-1, errfunc=errfunc@entry=0) at ../Server/mods/deathmatch/logic/lua/CLuaMain.cpp:617
#19 0x00007ffff4e17d08 in CLuaArguments::Call (this=this@entry=0x7fffffffce60, pLuaMain=0x25562e0, iLuaFunction=..., returnValues=returnValues@entry=0x0) at ../Server/mods/deathmatch/logic/lua/CLuaArguments.cpp:231
#20 0x00007ffff4d0fe79 in CMapEvent::Call (this=this@entry=0xa7f6a0, Arguments=...) at ../Server/mods/deathmatch/logic/CMapEvent.cpp:41
#21 0x00007ffff4d10a6e in CMapEventManager::Call (this=0x87c7b0, szName=szName@entry=0x7ffff522020e "onResourceStart", Arguments=..., pSource=pSource@entry=0x2555790, pThis=pThis@entry=0x87b4f0, pCaller=pCaller@entry=0x0)
    at ../Server/mods/deathmatch/logic/CMapEventManager.cpp:242
#22 0x00007ffff4caf12e in CallParentEvent (pCaller=0x0, pSource=0x2555790, Arguments=..., szName=0x7ffff522020e "onResourceStart", this=0x2555790) at ../Server/mods/deathmatch/logic/CElement.cpp:1080
#23 CElement::CallEvent (this=0x2555790, szName=szName@entry=0x7ffff522020e "onResourceStart", Arguments=..., pCaller=pCaller@entry=0x0) at ../Server/mods/deathmatch/logic/CElement.cpp:464
#24 0x00007ffff4d9a701 in CResource::Start (this=this@entry=0xa4a2c0, dependents=dependents@entry=0x0, bStartedManually=bStartedManually@entry=true, bStartIncludedResources=bStartIncludedResources@entry=true,
    bConfigs=bConfigs@entry=true, bMaps=bMaps@entry=true, bScripts=true, bHTML=true, bClientConfigs=true, bClientScripts=true, bClientFiles=true) at ../Server/mods/deathmatch/logic/CResource.cpp:1023
#25 0x00007ffff4d05ca4 in CMainConfig::LoadExtended (this=0x8a67c0) at ../Server/mods/deathmatch/logic/CMainConfig.cpp:731
#26 0x00007ffff4ccdae2 in CGame::Start (this=0x869240, iArgumentCount=<optimized out>, szArguments=<optimized out>) at ../Server/mods/deathmatch/logic/CGame.cpp:895
#27 0x00007ffff6baa312 in CModManagerImpl::Load (this=0x605f60, szModName=szModName@entry=0x7ffff6bdd43a "deathmatch", iArgumentCount=iArgumentCount@entry=3, szArguments=szArguments@entry=0x7fffffffe0b8)
    at ../Server/core/CModManagerImpl.cpp:109
#28 0x00007ffff6bac8fc in CServerImpl::Run (this=this@entry=0x7fffffffda10, iArgumentCount=iArgumentCount@entry=3, szArguments=szArguments@entry=0x7fffffffe0b8) at ../Server/core/CServerImpl.cpp:374
#29 0x00007ffff6bbe78d in Run (iArgumentCount=3, szArguments=0x7fffffffe0b8) at ../Server/core/Server.cpp:62
#30 0x00000000004018e9 in main (argc=3, argv=0x7fffffffe0b8) at ../Server/launcher/Main.cpp:159
(gdb)
Additional Information
Debian GNU/Linux 8.10 (jessie)

# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
TagsNo tags attached.

Issue History

Date Modified Username Field Change