EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Anyone using CentOS? (https://www.eqemulator.org/forums/showthread.php?t=37293)

HnathBST 09-16-2013 02:50 AM

Anyone using CentOS?
 
Hi all,
Does anyone on here use CentOS for their server? I know the main supported distro is ubuntu, but I'd prefer to keep my server running Cent OS for other reasons.

I have gotten the server to run, but I encounter a Seg Fault (from the login server) when I attempt to login. It works fine for the public server, just not the private.

Thanks,
Hnath

provocating 09-16-2013 11:38 AM

I am using Debian, having no problems with the login server so far.

Vexyl 09-16-2013 01:24 PM

My home server runs Debian, but I only run EQEmu for testing purposes on my main desktop which runs Arch Linux. I haven't had any OS-related trouble so far. I'm sure CentOS will run EQEmu just as well, but if you are having any problems, feel free to post them with additional information (log, backtrace, etc).

joligario 09-16-2013 06:59 PM

I had it running on centos enterprise 6 until nullptr introduced. My gcc was not high enough to support.

HnathBST 09-17-2013 12:49 AM

Quote:

Originally Posted by joligario (Post 224266)
I had it running on centos enterprise 6 until nullptr introduced. My gcc was not high enough to support.

I had the same issue. I did a TON of searching and managed to get a dev-tool (I think) version of gcc, had to change the path in cmake but I managed to get it compiled and it runs just fine.

I was just trying to get the login server working, I am using the fedora dependencies. It just seg faults when I login. Log shows nothing. I'll run a backtrace and post the results.

HnathBST 09-17-2013 07:24 AM

Here is a gdb output from the LS crashing:
Code:

[Network] [09.17.13 - 07:20:36] New SoD client connection from 72.78.180.49:55909
[Network] [09.17.13 - 07:20:36] Application packet received from client (size 14)
[Network] [09.17.13 - 07:20:36] Session ready received from client.
[Network] [09.17.13 - 07:20:36] Application packet received from client (size 44)
[Network] [09.17.13 - 07:20:36] Login received from client.

Program received signal SIGSEGV, Segmentation fault.
0x00000000005117cd in CryptoPP::BufferedTransformation::ChannelCreatePutSpace (this=0x86e4c0, channel=Traceback (most recent call last):
  File "/usr/lib64/../share/gdb/python/libstdcxx/v6/printers.py", line 558, in to_string
    return self.val['_M_dataplus']['_M_p'].lazy_string (length = len)
RuntimeError: Cannot access memory at address 0xffffffffffffffe8
, size=@0x7fffffffd678) at cryptlib.cpp:341
341    cryptlib.cpp: No such file or directory.
        in cryptlib.cpp
(gdb) bt
#0  0x00000000005117cd in CryptoPP::BufferedTransformation::ChannelCreatePutSpace (this=0x86e4c0, channel=Traceback (most recent call last):
  File "/usr/lib64/../share/gdb/python/libstdcxx/v6/printers.py", line 558, in to_string
    return self.val['_M_dataplus']['_M_p'].lazy_string (length = len)
RuntimeError: Cannot access memory at address 0xffffffffffffffe8
, size=@0x7fffffffd678) at cryptlib.cpp:341
#1  0x0000000000563f4e in HelpCreatePutSpace (this=0x7fffffffd930, inString=0x86e588 "\343A\001\353T\240\062\aj\273@m\022G\027*\230@\227Í\313\313\005\005\325t_*\177\027*", length=32)
    at filters.h:63
#2  CryptoPP::StreamTransformationFilter::NextPutMultiple (this=0x7fffffffd930, inString=0x86e588 "\343A\001\353T\240\062\aj\273@m\022G\027*\230@\227Í\313\313\005\005\325t_*\177\027*",
    length=32) at filters.cpp:599
#3  0x000000000056399e in CryptoPP::FilterWithBufferedInput::PutMaybeModifiable (this=0x7fffffffd930,
    inString=0x86e588 "\343A\001\353T\240\062\aj\273@m\022G\027*\230@\227Í\313\313\005\005\325t_*\177\027*", length=<value optimized out>, messageEnd=0, blocking=true,
    modifiable=<value optimized out>) at filters.cpp:391
#4  0x0000000000509559 in CryptoPP::BufferedTransformation::Put(unsigned char const*, unsigned long, bool) ()
#5  0x0000000000506237 in DecryptUsernamePassword(char const*, unsigned int, int) ()
#6  0x00000000004d7055 in Client::Handle_Login (this=0x854330, data=0x7fffdc003a80 "\003", size=Unhandled dwarf expression opcode 0xf3
) at /home/eqemu/Source/Server/loginserver/Client.cpp:213
#7  0x00000000004d7832 in Client::Process (this=0x854330) at /home/eqemu/Source/Server/loginserver/Client.cpp:76
#8  0x00000000004d7c4b in ClientManager::Process (this=0x855a40) at /home/eqemu/Source/Server/loginserver/ClientManager.cpp:126
#9  0x00000000004e13a6 in main () at /home/eqemu/Source/Server/loginserver/Main.cpp:252

Crytopp is installed:
Code:

Setting up Install Process
Package cryptopp-5.6.2-2.el6.x86_64 already installed and latest version
Nothing to do

I don't know what I'm missing here...


All times are GMT -4. The time now is 05:33 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.