Change path where MCServer looks for libraries
#10
Changed the dynamic linker, now the server seems to start up at least. A new segfault appears though...

gdb:
Code:
#0  0x00007ffff745cf9c in __printf_fp ()
   from /var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6
#1  0x00007ffff745bc5e in vfprintf ()
   from /var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6
#2  0x00007ffff7516b45 in __vsnprintf_chk ()
   from /var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6
#3  0x00000000005cd5b6 in AppendVPrintf(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, __va_list_tag*) ()
#4  0x0000000000596010 in LOG(char const*, ...) ()
#5  0x00000000005ee5cc in cSpawnPrepare::Call(int, int) ()
#6  0x0000000000592bd6 in cLightingThread::LightChunk ()
#7  0x0000000000592d88 in cLightingThread::Execute() ()
#8  0x00007ffff7b5ada0 in ?? ()
   from /var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libstdc++.so.6
#9  0x0000003000c079d1 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff7507a6d in clone ()

MCServer:
Code:
[15:57:15]   D:    | MCServer has encountered an error and needs to close
[15:57:15] Details | SIGSEGV: Segmentation fault
./MCServer(_Z15PrintStackTracev+0x14)[0x6049a4]
./MCServer(_Z14NonCtrlHandleri+0x40)[0x5f1d40]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(+0x352f0)[0x7f0bae8bc2f0]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(__printf_fp+0xf3e)[0x7f0bae8d76be]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(_IO_vfprintf+0x457e)[0x7f0bae8d519e]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(__vsnprintf_chk+0x96)[0x7f0bae99d5a6]
./MCServer(_Z13AppendVPrintfRSsPKcP13__va_list_tag+0x66)[0x5cd5b6]
./MCServer(_Z3LOGPKcz+0xb0)[0x596010]
./MCServer(_ZN13cSpawnPrepare4CallEii+0x13c)[0x5ee5cc]
./MCServer[0x592bd6]
./MCServer(_ZN15cLightingThread7ExecuteEv+0xf8)[0x592d88]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libstdc++.so.6(+0xbadd0)[0x7f0baf005dd0]
/lib64/libpthread.so.0[0x3000c079d1]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(clone+0x6d)[0x7f0bae98deed]
[15:57:15]   D:    | MCServer has encountered an error and needs to close
[15:57:15] Details | SIGABRT: Server self-terminated due to an internal fault
./MCServer(_Z15PrintStackTracev+0x14)[0x6049a4]
./MCServer(_Z14NonCtrlHandleri+0x99)[0x5f1d99]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(+0x352f0)[0x7f0bae8bc2f0]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(gsignal+0x37)[0x7f0bae8bc267]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(abort+0x16a)[0x7f0bae8bdeca]
./MCServer(_Z14NonCtrlHandleri+0x45)[0x5f1d45]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(+0x352f0)[0x7f0bae8bc2f0]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(__printf_fp+0xf3e)[0x7f0bae8d76be]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(_IO_vfprintf+0x457e)[0x7f0bae8d519e]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(__vsnprintf_chk+0x96)[0x7f0bae99d5a6]
./MCServer(_Z13AppendVPrintfRSsPKcP13__va_list_tag+0x66)[0x5cd5b6]
./MCServer(_Z3LOGPKcz+0xb0)[0x596010]
./MCServer(_ZN13cSpawnPrepare4CallEii+0x13c)[0x5ee5cc]
./MCServer[0x592bd6]
./MCServer(_ZN15cLightingThread7ExecuteEv+0xf8)[0x592d88]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libstdc++.so.6(+0xbadd0)[0x7f0baf005dd0]
/lib64/libpthread.so.0[0x3000c079d1]
/var/lib/openshift/5564cc2de0b8cdcc300000c5/app-root/data/lib/libc.so.6(clone+0x6d)[0x7f0bae98deed]
Aborted

Does anyone know what the cause for this may be? I'm on libc 2.21.
Reply
Thanks given by:


Messages In This Thread
RE: Change path where MCServer looks for libraries - by Mathias - 05-28-2015, 06:08 AM



Users browsing this thread: 3 Guest(s)