Page 1 of 1

What's happen?

Posted: Mon Sep 30, 2019 5:27 pm
by Alexandre24
server@server-Precision-WorkStation-T3500 ~/darkstar $ ./dsgame
[Info] DarkStar[Status] do_init: begin server initialization...terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::at: __n (which is 18446744073709551615) >= this->size() (which is 0)
[30/Sep] [18:24:31][Fatal Error] --- gdb backtrace ---
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f541210c204 in __waitpid (pid=17555, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
Saved corefile core.17554
#0 0x00007f541210c204 in __waitpid (pid=17555, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1 0x000055fabb6a22f3 in dump_backtrace () at src/common/kernel.cpp:128
#2 0x000055fabb6a2695 in sig_proc (sn=6) at src/common/kernel.cpp:162
#3 <signal handler called>
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#5 0x00007f5410f11801 in __GI_abort () at abort.c:79
#6 0x00007f54115731f2 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007f541157ee36 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007f541157ee81 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007f541157f0b5 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f54115759ab in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x000055fabb741bd0 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::at (__n=<optimized out>, this=<optimized out>) at /usr/include/c++/7/bits/basic_string.h:1098
#12 map_config_read (cfgName=0x55fabb7f89a7 "./conf/map_darkstar.conf") at src/map/map.cpp:1383
#13 0x000055fabb743a3e in do_init (argc=<optimized out>, argv=<optimized out>) at src/map/map.cpp:166
#14 0x000055fabb691918 in main (argc=1, argv=0x7ffe2680d218) at src/common/kernel.cpp:262
[Inferior 1 (process 17554) detached]
[30/Sep] [18:24:31][Status] luautils::free:lua free...[30/Sep] [18:24:33][Fatal Error] --- gdb backtrace ---
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f541210c204 in __waitpid (pid=17569, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
Saved corefile core.17554
#0 0x00007f541210c204 in __waitpid (pid=17569, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1 0x000055fabb6a22f3 in dump_backtrace () at src/common/kernel.cpp:128
#2 0x000055fabb6a2695 in sig_proc (sn=11) at src/common/kernel.cpp:162
#3 <signal handler called>
#4 0x00007f5412980917 in lua_close () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#5 0x000055fabb70c8aa in luautils::free () at src/map/lua/luautils.cpp:190
#6 0x000055fabb73fbfd in do_final (code=code@entry=1) at src/map/map.cpp:269
#7 0x000055fabb73fcae in do_abort () at src/map/map.cpp:295
#8 0x000055fabb6a269a in sig_proc (sn=6) at src/common/kernel.cpp:163
#9 <signal handler called>
#10 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#11 0x00007f5410f11801 in __GI_abort () at abort.c:79
#12 0x00007f54115731f2 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007f541157ee36 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#14 0x00007f541157ee81 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#15 0x00007f541157f0b5 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x00007f54115759ab in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#17 0x000055fabb741bd0 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::at (__n=<optimized out>, this=<optimized out>) at /usr/include/c++/7/bits/basic_string.h:1098
#18 map_config_read (cfgName=0x55fabb7f89a7 "./conf/map_darkstar.conf") at src/map/map.cpp:1383
#19 0x000055fabb743a3e in do_init (argc=<optimized out>, argv=<optimized out>) at src/map/map.cpp:166
#20 0x000055fabb691918 in main (argc=1, argv=0x7ffe2680d218) at src/common/kernel.cpp:262
[Inferior 1 (process 17554) detached]
[30/Sep] [18:24:33][Status] luautils::free:lua free...Segmentation fault
server@server-Precision-WorkStation-T3500 ~/darkstar $

Re: What's happen?

Posted: Mon Sep 30, 2019 6:26 pm
by whasf
something's out of range, what is at src/common/kernel.cpp line 262?