Server crashing (Ubuntu 12.04) on login
Server crashing (Ubuntu 12.04) on login
First off - thanks so much to the DSP team. This software is awesome.
I've been running a server for about a month now on an Ubuntu 12.04 VM. It's been working great. Maybe 2 or 3 unexplained crashes.
Today, however, I cannot keep the server up. The map server is spamming a map_encipher_packet: bad packet from "ip" error whenever a user logs in. The player gets an R0 disconnection and the server crashes. No changes have been made to the host server and the DSP files have not been altered or updated. I played for a few hours this weekend, as did a few other players, with no problem.
Any thoughts? Thanks.
I've been running a server for about a month now on an Ubuntu 12.04 VM. It's been working great. Maybe 2 or 3 unexplained crashes.
Today, however, I cannot keep the server up. The map server is spamming a map_encipher_packet: bad packet from "ip" error whenever a user logs in. The player gets an R0 disconnection and the server crashes. No changes have been made to the host server and the DSP files have not been altered or updated. I played for a few hours this weekend, as did a few other players, with no problem.
Any thoughts? Thanks.
Re: Server crashing (Ubuntu 12.04) on login
Do you know what version of the client they are on?
Re: Server crashing (Ubuntu 12.04) on login
I am using Ashita 1.0.0.4, pol.exe vc11. Updated official client last week.
Perfect performance all weekend, no changes to client or server.
Perfect performance all weekend, no changes to client or server.
Re: Server crashing (Ubuntu 12.04) on login
Just got this error while trying to restart map server while a client was at "Downloading data...":
[Error] recv_parse: Cannot load session_key for charid 21828[timestamp]
Server crashes, though I can imagine this has nothing to do with my problem.
[Error] recv_parse: Cannot load session_key for charid 21828[timestamp]
Server crashes, though I can imagine this has nothing to do with my problem.
Re: Server crashing (Ubuntu 12.04) on login
Additionally, I cannot create a new account. Here is the output from the login server:
Log in as existing account
[22/Oct 17:18][Info] login_parse:<steve> was connected
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<26> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<1f> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbydata_parse:Incoming Packet:<a1> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<24> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<7> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbydata_parse:Incoming Packet:<a2> from ip:<173.161.128.169>
[22/Oct 17:18][Info] lobbydata_parse: zoneid:(230),zoneip:(162.243.8.229),zoneport:(54230) for char:(21828)
[22/Oct 17:18][Status] lobbydata_parse: client 173.161.128.169 finished work with lobbyview
[22/Oct 17:19][Info] lobbydata_parse: steve shutdown the socket
[22/Oct 17:19][Info] lobbydata_parse: steve's login_session_data is deleted
Attempt to create new account
[22/Oct 17:28][Warning] login_parse:173.161.128.169 send unreadable data
[22/Oct 17:28][Info] login_parse:173.161.128.169shutdown socket...
Log in as existing account
[22/Oct 17:18][Info] login_parse:<steve> was connected
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<26> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<1f> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbydata_parse:Incoming Packet:<a1> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<24> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbyview_parse:Incoming Packet:<7> from ip:<173.161.128.169>
[22/Oct 17:18][Debug] lobbydata_parse:Incoming Packet:<a2> from ip:<173.161.128.169>
[22/Oct 17:18][Info] lobbydata_parse: zoneid:(230),zoneip:(162.243.8.229),zoneport:(54230) for char:(21828)
[22/Oct 17:18][Status] lobbydata_parse: client 173.161.128.169 finished work with lobbyview
[22/Oct 17:19][Info] lobbydata_parse: steve shutdown the socket
[22/Oct 17:19][Info] lobbydata_parse: steve's login_session_data is deleted
Attempt to create new account
[22/Oct 17:28][Warning] login_parse:173.161.128.169 send unreadable data
[22/Oct 17:28][Info] login_parse:173.161.128.169shutdown socket...
Re: Server crashing (Ubuntu 12.04) on login
Sounds like more problems with encryption and running on Linux. Unfortunately our main Linux guy hasn't been around lately so I can't really help you that much
-- Whasf
Re: Server crashing (Ubuntu 12.04) on login
I'm getting these errors now as the server crashes:
[16:49:41][Error] Memory manager: args of aFree 0x0xb70569a4 is invalid pointer src/map/map.cpp line 230
[16:49:41][Error] Memory manager: args of aFree 0x0xb70570a4 is invalid pointer src/map/map.cpp line 231
[16:49:41][Error] Memory manager: args of aFree 0x0xb6c6402c is invalid pointer src/map/map.cpp line 233
[16:49:41][Error] Memory manager: args of aFree 0x0xb6c6408c is overflowed pointer src/map/map.cpp line 234
Segmentation fault
The lines referenced are part of the do_final function
void do_final(void)
{
230 aFree(g_PBuff);
231 aFree(PTempBuff);
233 aFree((void*)map_config.mysql_host);
234 aFree((void*)map_config.mysql_database);
itemutils::FreeItemList();
battleutils::FreeWeaponSkillsList();
battleutils::FreeSkillChainDamageModifiers();
petutils::FreePetList();
zoneutils::FreeZoneList();
luautils::free();
delete CTaskMgr::getInstance();
delete CVanaTime::getInstance();
Sql_Free(SqlHandle);
}
[16:49:41][Error] Memory manager: args of aFree 0x0xb70569a4 is invalid pointer src/map/map.cpp line 230
[16:49:41][Error] Memory manager: args of aFree 0x0xb70570a4 is invalid pointer src/map/map.cpp line 231
[16:49:41][Error] Memory manager: args of aFree 0x0xb6c6402c is invalid pointer src/map/map.cpp line 233
[16:49:41][Error] Memory manager: args of aFree 0x0xb6c6408c is overflowed pointer src/map/map.cpp line 234
Segmentation fault
The lines referenced are part of the do_final function
void do_final(void)
{
230 aFree(g_PBuff);
231 aFree(PTempBuff);
233 aFree((void*)map_config.mysql_host);
234 aFree((void*)map_config.mysql_database);
itemutils::FreeItemList();
battleutils::FreeWeaponSkillsList();
battleutils::FreeSkillChainDamageModifiers();
petutils::FreePetList();
zoneutils::FreeZoneList();
luautils::free();
delete CTaskMgr::getInstance();
delete CVanaTime::getInstance();
Sql_Free(SqlHandle);
}
Re: Server crashing (Ubuntu 12.04) on login
I've installed again on fresh Ubuntu instances on 2 different data centers and a VM on my local machine - same errors occur. In other words, in my experience, DSP is no longer compatible with linux.
Can anyone prove me wrong? Please
Can anyone prove me wrong? Please
Re: Server crashing (Ubuntu 12.04) on login
if your ubuntu is 64-bit, i don't think it's ever been compatibleryce wrote:I've installed again on fresh Ubuntu instances on 2 different data centers and a VM on my local machine - same errors occur. In other words, in my experience, DSP is no longer compatible with linux.
Can anyone prove me wrong? Please
Re: Server crashing (Ubuntu 12.04) on login
yeah - I've been careful to only use 32-bit VMs.