View Single Post
  #4  
Old 09-10-2019, 03:25 AM
mushko
Fire Beetle
 
Join Date: Aug 2019
Posts: 12
Default

Some more information from journalctl -xe:

Code:
kernel: traps: ucs[1394] general protection ip:7fab0f107676 sp:7fffed51fd38 error:0
kernel:  in libc-2.24.so[7fab0f087000+195000]
kernel: traps: queryserv[1398] general protection ip:7f8219af8676 sp:7ffef156aec8 error:0
kernel:  in libc-2.24.so[7f8219a78000+195000]
And Valgrind:

Code:
==6770== Command: ./ucs
==6770== 
[UCS Server] Starting EQEmu Universal Chat Server.
[UCS Server] Connecting to MySQL...
==6770== Invalid read of size 1
==6770==    at 0x4C2F1E2: strlen (vg_replace_strmem.c:460)
==6770==    by 0x69D2DA7: vfprintf (vfprintf.c:1637)
==6770==    by 0x69F9E88: vsnprintf (vsnprintf.c:114)
==6770==    by 0x18F135: vStringFormat[abi:cxx11](char const*, __va_list_tag*) (string_util.cpp:47)
==6770==    by 0x17D765: EQEmuLogSys::Out(Logs::DebugLevel, unsigned short, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ...) (eqemu_logsys.cpp:378)
==6770==    by 0x17DA03: EQEmuLogSys::StartFileLogs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (eqemu_logsys.cpp:493)
==6770==    by 0x146D4E: main (ucs.cpp:101)
==6770==  Address 0x100010001000100 is not stack'd, malloc'd or (recently) free'd
==6770== 
==6770== 
==6770== Process terminating with default action of signal 11 (SIGSEGV)
==6770==  General Protection Fault
==6770==    at 0x4C2F1E2: strlen (vg_replace_strmem.c:460)
==6770==    by 0x69D2DA7: vfprintf (vfprintf.c:1637)
==6770==    by 0x69F9E88: vsnprintf (vsnprintf.c:114)
==6770==    by 0x18F135: vStringFormat[abi:cxx11](char const*, __va_list_tag*) (string_util.cpp:47)
==6770==    by 0x17D765: EQEmuLogSys::Out(Logs::DebugLevel, unsigned short, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ...) (eqemu_logsys.cpp:378)
==6770==    by 0x17DA03: EQEmuLogSys::StartFileLogs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (eqemu_logsys.cpp:493)
==6770==    by 0x146D4E: main (ucs.cpp:101)
==6770== 
==6770== HEAP SUMMARY:
==6770==     in use at exit: 125,720 bytes in 223 blocks
==6770==   total heap usage: 511 allocs, 288 frees, 275,468 bytes allocated
==6770== 
==6770== LEAK SUMMARY:
==6770==    definitely lost: 0 bytes in 0 blocks
==6770==    indirectly lost: 0 bytes in 0 blocks
==6770==      possibly lost: 0 bytes in 0 blocks
==6770==    still reachable: 125,720 bytes in 223 blocks
==6770==                       of which reachable via heuristic:
==6770==                         length64           : 34,160 bytes in 17 blocks
==6770==         suppressed: 0 bytes in 0 blocks
==6770== Rerun with --leak-check=full to see details of leaked memory
==6770== 
==6770== For counts of detected and suppressed errors, rerun with: -v
==6770== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault
Reply With Quote