You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 804416000 (LWP 100119/tfs)]
0x000000000045d8c8 in std::__1::function<void ()(Player&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)>::function ()
Current language: auto; currently minimal
#0 0x000000000045d8c8 in std::__1::function<void ()(Player&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)>::function () #1 0x000000000045a7ee in Commands::Commands () #2 0x00000000004ea698 in Game::Game () #3 0x00000000007df6e7 in __cxx_global_var_init.13 () #4 0x00000000007e2865 in _GLOBAL__sub_I_otserv.cpp () #5 0x000000000098c602 in __do_global_ctors_aux () #6 0x000000000040a3f6 in _init () #7 0x00007fffffffe580 in ?? () #8 0x0000000800c75e9d in objlist_call_init (list=,
lockstate=) at /usr/src/libexec/rtld-elf/rtld.c:2535 #9 0x0000000800c754e4 in _rtld (sp=,
exit_proc=, objp=)
at /usr/src/libexec/rtld-elf/rtld.c:690 #10 0x0000000800c735c9 in .text ()
at /usr/src/libexec/rtld-elf/amd64/rtld_start.S:39 #11 0x0000000000000000 in ?? ()
The text was updated successfully, but these errors were encountered:
On the environment, please mention all related software versions (gcc, lua/luajit, mysql, etc). Also compile in debug mode (cmake -DCMAKE_BUILD_TYPE=Debug) for better crash log.
I see you have something with the Commands class, but it's been removed lately and you should update your sources.
There was a crash that only happened on FreeBSD in the past which was because global variables on FreeBSD were initialized in a different order than on other operating systems. It could be something similar here.
Before creating an issue, please ensure:
support matter (use https://otland.net/forums/support.16/ for support)
Steps to reproduce (include any configuration/script required to reproduce)
Expected behavior
The server runs as it should.
Actual behavior
Segmentation fault (core dumped).
Environment
Latest version of FreeBSD and official vanilla version of TFS.
Here is the log:
Starting program: /root/gameserver/tfs
(no debugging symbols found)...(no debugging symbols found)...[New LWP 100119]
[New Thread 804416000 (LWP 100119/tfs)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 804416000 (LWP 100119/tfs)]
0x000000000045d8c8 in std::__1::function<void ()(Player&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)>::function ()
Current language: auto; currently minimal
#0 0x000000000045d8c8 in std::__1::function<void ()(Player&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)>::function ()
#1 0x000000000045a7ee in Commands::Commands ()
#2 0x00000000004ea698 in Game::Game ()
#3 0x00000000007df6e7 in __cxx_global_var_init.13 ()
#4 0x00000000007e2865 in _GLOBAL__sub_I_otserv.cpp ()
#5 0x000000000098c602 in __do_global_ctors_aux ()
#6 0x000000000040a3f6 in _init ()
#7 0x00007fffffffe580 in ?? ()
#8 0x0000000800c75e9d in objlist_call_init (list=,
lockstate=) at /usr/src/libexec/rtld-elf/rtld.c:2535
#9 0x0000000800c754e4 in _rtld (sp=,
exit_proc=, objp=)
at /usr/src/libexec/rtld-elf/rtld.c:690
#10 0x0000000800c735c9 in .text ()
at /usr/src/libexec/rtld-elf/amd64/rtld_start.S:39
#11 0x0000000000000000 in ?? ()
The text was updated successfully, but these errors were encountered: