Linux Server dsconnect error (memory leak)

Post Reply
Abriasffxi
Posts: 10
Joined: Mon Jul 18, 2016 6:57 pm

Linux Server dsconnect error (memory leak)

Post by Abriasffxi » Mon Jul 18, 2016 11:12 pm

Hi All-

First time setting up a server, trying to get a little semi-private deal going for me and some friends.

I have Ubuntu server 16.04 and followed the wiki (exactly, I hope) for linux install.

When starting ./dsconnect, I get the following error:

Memory manager: Memory leaks found at 2016/07/18 23h14m09s.

0001 : src/login/login.cpp line 312 size 13 address blah blah
0002: src/login/login.cpp line 320 size 13 address blah blah
0003: src/login/login.cpp line 328 size 13 address blah blah
0004: src/login/login.cpp line 421 size 11 address blah blah

Memory manager: memory leaks found and fixed.
dsconnect: /usr/include/zmq.hpp:406: zmq::context_t::~context_t(): Assertion `rc == 0' failed.
Aborted (core dumped)


So, after I checked the login.cpp file I saw mostly references to the config file in ~/conf, so I changed the IP in the login_server.conf back to 127.0.0.1 and restarted and it worked. Changed it back to my real external IP and I get the error again. My external xp is of the format 136.63.X.XXX

Any ideas? I tried to force a recomplie by make -B but it has the same error. I did see a few warnings in the compile but they were mostly (I think) related to mob spawn issues or pet hp or whathaveyou in dsgame.

Abriasffxi
Posts: 10
Joined: Mon Jul 18, 2016 6:57 pm

Re: Linux Server dsconnect error (memory leak)

Post by Abriasffxi » Mon Jul 18, 2016 11:19 pm

Looking through the conf file, I see lan_config.conf that seems to have references to the IPs, but I don't really see them referenced anywhere in the .cpp. Anyway, still pretty confused and can't figure out what is causing it.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Linux Server dsconnect error (memory leak)

Post by kjLotus » Mon Jul 18, 2016 11:36 pm

most likely you're trying to bind to an address you can't - try 0.0.0.0

Abriasffxi
Posts: 10
Joined: Mon Jul 18, 2016 6:57 pm

Re: Linux Server dsconnect error (memory leak)

Post by Abriasffxi » Mon Jul 18, 2016 11:42 pm

Yep- works without a hitch with 0.0.0.0 and 127.0.0.1

Will that affect the ability for friends to connect via external? If so, I went through and copied the relevant warnings in the complier and could paste them. Most are int8 warnings.

Abriasffxi
Posts: 10
Joined: Mon Jul 18, 2016 6:57 pm

Re: Linux Server dsconnect error (memory leak)

Post by Abriasffxi » Mon Jul 18, 2016 11:49 pm

Alright, not to waste your time, it works.

Thanks a ton.

Abriasffxi
Posts: 10
Joined: Mon Jul 18, 2016 6:57 pm

Re: Linux Server dsconnect error (memory leak)

Post by Abriasffxi » Mon Jul 18, 2016 11:55 pm

So, not to flood the forum, but slightly separate issue everyone is getting an incorrect client version.

Terminal says incorrect client version: got 031606xx_x, expected 301604xx_x.

Pretty sure the clients are up to date, as via PlayOnline, and I used the stable branch for the server compile. Anything else to change that I missed?

Abriasffxi
Posts: 10
Joined: Mon Jul 18, 2016 6:57 pm

Re: Linux Server dsconnect error (memory leak)

Post by Abriasffxi » Tue Jul 19, 2016 12:27 am

Ok, edited the version.info and got it working.

Thanks!

Post Reply