Jump to content

[Warning]: Connection to Char Server lost.

closed

Darkpurple
2013-12-06 04:21:16
When I running my rAthena(svn 17690) for 3~4 days...

It will occur this problem suddenly...It need to restart server.

when I running my server again, after few days...

and this problem now occur again...I didn't found any error in my log file..

so I post it here and need help please.!/_\


edit: Still occurring in Last Git of rathena (Pre-re)...

solid2005
2013-12-06 07:06:56
1. Check your firewall accept the port.
2. Check your router on port forwarding.
3. Check your IP.

Elias
2013-12-06 12:50:19
Confirmed.

Elias
2013-12-06 12:50:53
Try to update I think lighta released a patch already.

Dissidia
2013-12-07 19:22:05
same.. players disconnect on 3 days..

Darkpurple
2013-12-13 13:07:46
[quote name="Dissidia" post="23583" timestamp="1386444125"]
same.. players disconnect on 3 days..[/quote]


[color=rgb(40,40,40)] again.. [/color]

[color=rgb(40,40,40)] again.. [/color]

[color=rgb(40,40,40)] again!!!! [/color]

[color=rgb(40,40,40)] It is the third times to appear this problem today!!!! [/color]

[color=rgb(40,40,40)] any help?! [/color]

Darkpurple
2013-12-13 13:12:25
[quote name="solid2005" post="23571" timestamp="1386313616"]
1. Check your firewall accept the port.2. Check your router on port forwarding.3. Check your IP.[/quote]

[color=rgb(40,40,40)] 1. Check your firewall accept the port. [/color]

Firewall turned off.
[color=rgb(40,40,40)] 2. Check your router on port forwarding. [/color]

I running my server in IDC few months. I sure Not port forwarding problem.
[color=rgb(40,40,40)] 3. Check your IP. [/color]

I running my server in IDC few months. I sure Not IP problem.

Darkpurple
2013-12-25 18:58:46
[quote name="Dissidia" post="23583" timestamp="1386444125"]
same.. players disconnect on 3 days..[/quote]

did you using no-ip??

Darkpurple
2013-12-28 01:35:25
No one has this problem?……

Shio Devs
2013-12-28 23:34:22
Confirmed,very glad to see this, thought it was and error from source edits i recently completed but guess not no errors, and others confirming the same issue.

Darkpurple
2013-12-29 11:56:12
Why I only noticed that only 3 people disguise this..... /oops it means that so many people do not has this issue?!

Darkpurple
2013-12-30 06:21:55
This bug is holly shxx........I need to reboot my server every weeks 2-3 times!!

Darkpurple
2013-12-30 06:32:24
[Status]: Shutting down...
[Error]: Memory manager: args of aFree 0x00F80060 is invalid pointer ..\src\comm
on\socket.c line 616

Lighta
2013-12-30 08:03:28
I'll look into this, what are your OS and arch ?

Darkpurple
2013-12-30 09:02:58
Here attached with My OS Environment.

Does it need to change to other machine to solve this problem / bug ?

Darkpurple
2013-12-31 12:13:07
Any other information need me to provide?…

I want fix this as soon as possible😢😢😢I don't want received player complain again again again……

Darkpurple
2014-01-02 04:24:24
After Map server crash and lost connection yesterday...

[color=rgb(40,40,40)] [2014-01-01 22:36:49] [Error]: map_addblock: out-of-bounds coordinates ("thor_v03",-2,46), map is 300x300 [/color]
[color=rgb(40,40,40)] [2014-01-01 22:36:49] [Error]: Server received crash signal! Attempting to save all online characters! [/color]
[color=rgb(40,40,40)] [2014-01-01 22:36:53] [Status]: Memory manager initialised: log/map-server_sql.exe.leaks [/color]
[2014-01-01 22:36:54]
[2014-01-01 22:36:54] rAthena Development Team presents
[2014-01-01 22:36:54] ___ __ __
[2014-01-01 22:36:54] _____/ | / /_/ /_ ___ ____ ____ _
[2014-01-01 22:36:54] / ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
[2014-01-01 22:36:54] / / / ___ / /_/ / / / __/ / / / /_/ /
[2014-01-01 22:36:54] /_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/
[2014-01-01 22:36:54]
[2014-01-01 22:36:54] http://rathena.org/board/
[2014-01-01 22:36:54]
[2014-01-01 22:36:54] [Info]: Git Hash: 'be05bc399b3b95af716b11b99232e1b76fbeeca5'
[2014-01-01 22:36:54] [Info]: Server supports up to '4096' concurrent connections.
[2014-01-01 22:36:54] [Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
...........................................................................................................................................
[2014-01-01 22:37:05] [Status]: Event 'OnInit' executed with '944' NPCs.
[2014-01-01 22:37:05] [Status]: Server is 'ready' and listening on port '5120'.
[2014-01-01 22:37:06] [Status]: Attempting to connect to Char Server. Please wait.
[2014-01-01 22:37:06] [Status]: Connecting to 199.101.118.90:6121
[2014-01-01 22:37:06] [Status]: Logging in to char server...
[2014-01-01 22:37:06] [Warning]: Connection to Char Server lost.
[2014-01-01 22:37:07] [Debug]: at ..\src\map\script.c:14886 - SELECT `codes`,`redeem_time` FROM `reward_logs` ORDER BY pool ASC LIMIT 25
[2014-01-01 22:37:07] [Debug]: Source (NPC): LilTrollPCodes (invisible/not on a map)
[2014-01-01 22:37:07] [Debug]: script debug : 0 110011270 : reward_logs garbage has been deleted.
[2014-01-01 22:37:07] [Status]: Connecting to 199.101.118.90:6121
[2014-01-01 22:37:07] [Status]: Logging in to char server...
[2014-01-01 22:37:07] [Warning]: Connection to Char Server lost.
[2014-01-01 22:37:08] [Status]: Connecting to 199.101.118.90:6121
[2014-01-01 22:37:08] [Status]: Logging in to char server...
[2014-01-01 22:37:08] [Warning]: Connection to Char Server lost.
[2014-01-01 22:37:09] [Status]: Connecting to 199.101.118.90:6121
[2014-01-01 22:37:09] [Status]: Logging in to char server...
[2014-01-01 22:37:09] [Warning]: Connection to Char Server lost.
[2014-01-01 22:37:10] [Status]: Connecting to 199.101.118.90:6121
[2014-01-01 22:37:10] [Status]: Logging in to char server...
[2014-01-01 22:37:10] [Warning]: Connection to Char Server lost.

Darkpurple
2014-01-02 11:14:47
I don't know what to say something....the same problem today!


[2014-01-02 19:05:55] [Info]: Character '??' logged off (using @autotrade).
[2014-01-02 19:06:29] [Info]: Character '??*??' logged off.
[2014-01-02 19:08:11] [Info]: Character '???' logged off.
[2014-01-02 19:08:31] [Status]: Attempting to connect to Char Server. Please wait.
[2014-01-02 19:08:31] [Status]: Connecting to 199.101.118.90:6121
[2014-01-02 19:08:31] [Status]: Logging in to char server...
[2014-01-02 19:09:44] [Info]: Character '???' logged off.
[2014-01-02 19:10:32] [Warning]: Connection to Char Server lost.
[2014-01-02 19:10:33] [Status]: Connecting to 199.101.118.90:6121
[2014-01-02 19:10:33] [Status]: Logging in to char server...
[2014-01-02 19:10:33] [Warning]: Connection to Char Server lost.
[2014-01-02 19:10:34] [Status]: Connecting to 199.101.118.90:6121
[2014-01-02 19:10:34] [Status]: Logging in to char server...
[2014-01-02 19:10:34] [Warning]: Connection to Char Server lost.
[2014-01-02 19:10:35] [Status]: Connecting to 199.101.118.90:6121
[2014-01-02 19:10:35] [Status]: Logging in to char server...
[2014-01-02 19:10:35] [Warning]: Connection to Char Server lost.

Lighta
2014-01-02 16:14:48
I can't test on a windows server yet is not that easy to have a VM for that.
Could you produce a coredump next time the mapserv crash.
Otherwise your charserv is probably busy in a infinit loop wich prevent him to ping mapserv and end up losing connection.

Darkpurple
2014-01-02 17:47:47
[quote name="Lighta" post="24077" timestamp="1388679288"]
I can't test on a windows server yet is not that easy to have a VM for that.Could you produce a coredump next time the mapserv crash.Otherwise your charserv is probably busy in a infinit loop wich prevent him to ping mapserv and end up losing connection.[/quote]
I couldn't find plugin_athena.conf now...
// Crash reporting for Windows
//plugin: exchndl

So that cannot easy to make coredump....

Darkpurple
2014-01-12 21:03:02
Today..!!.
This problem occurred again...! /oops
(My rathena always keep updated to last Git)

Avid
2014-01-12 22:35:16
I can confirm this.

I keep stopping and starting my server until it eventually works.

Darkpurple
2014-01-12 22:45:33
[quote name="Avid" post="24373" timestamp="1389566116"]
I can confirm this.I keep stopping and starting my server until it eventually works.[/quote]

So sad for this problem make me need to restart my server every weeks 2-3 times!!:(

Darkpurple
2014-01-13 08:21:39
Oh my God....
It [Warning]: Connection to Char Server lost again in now... Less than 24 hours~!!

Darkpurple
2014-01-13 08:34:48
[quote name="Avid" post="24373" timestamp="1389566116"]
I can confirm this.I keep stopping and starting my server until it eventually works.[/quote]

Avid, do you installed any scr mod? or one the mod like this:http://rathena.org/board/topic/71389-afk-with-afk-hat/

Daegaladh
2014-01-14 05:04:58
It's a windows-only bug, I've running several servers under linux for days and nothing happened.

Solution: stop using windows lol

Darkpurple
2014-01-14 09:58:39
I use windows for eAthena running server 3 years...
And never saw this problem....


Today (14/01/2014) my server occur this problem again again again again again again again again again !!

Darkpurple
2014-01-14 10:19:50
It is very Inconceivable for map-server lost connection with char-server suddenly...

In 1-2 days it keeping connection well, but in 2nd or 3rd day sudden lost connection and Infinite loop:



[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

[Status]: Connecting to 199.101.xxx.xx:6121
[Status]: Logging in to char server...
[Warning]: Connection to Char Server lost.

This caused a big blow to the operation of the server.!:(

Dynasty
2014-01-14 18:40:30
+1 same i left my server on and then when i wake up i saw it down :l

Darkpurple
2014-01-15 04:25:15
[quote name="Dynasty" post="24408" timestamp="1389724830"]
+1 same i left my server on and then when i wake up i saw it down :l
[/quote]
are you same on windows?

Dynasty
2014-01-15 04:43:34
im using linux.. and when the server crash this appears.
[Error]: Server received crash signal! Attempting to save all online characters!


Darkpurple
2014-01-15 10:00:06
When map-server occur this bug [Warning]: Connection to Char Server lost, 2 problems below:

1. the players cannot login to char server and map server.
2. the players which online in the game would still online, they can do anything but didn't not save the data, because the map server lost connected to char server, and the sql stop to save date.
3. you need to close the server and start again to solve this bug.

This problem very affect the running server, make my client / players loss quickly! :(

Darkpurple
2014-01-15 13:51:59
Unhandled exception at 0x1001f2fe in map-server_sql.exe: 0xC0000005: Access violation reading location 0x0000006c.

Darkpurple
2014-01-15 14:05:28
Today.....again......I don't know what I need to say...

Darkpurple
2014-01-15 16:08:43
Please face this bug and fixed as soon as possible!!
I don't want to because this bug lost players every day!!

Aleos
2014-01-15 17:51:48
There's no way for us to fix this issue without any reports of how to reproduce or anything. I don't personally have a Windows box to test right now, but I can try to get a VM up and see what happens. Obviously I won't have player connections, but does it just time out on its own?

Darkpurple
2014-01-15 18:54:01
[2014-01-16 01:51:03] [Error]: map_addblock: out-of-bounds coordinates ("thor_v03",-2,2), map is 300x300
[2014-01-16 01:51:03] [Error]: Server received crash signal! Attempting to save all online characters!
[2014-01-16 01:51:05] [Status]: Memory manager initialised: log/map-server_sql.exe.leaks
[2014-01-16 01:51:06]


does it [Error]: map_addblock problem?????????????????

Darkpurple
2014-01-15 18:59:19
because I found last crash log:

[color=rgb(40,40,40)] [font=helvetica][size=3][2014-01-01 22:36:49] [Error]: map_addblock: out-of-bounds coordinates ("thor_v03",-2,46), map is 300x300 [/size][/font][/color]
[color=rgb(40,40,40)] [font=helvetica][size=3][2014-01-01 22:36:49] [Error]: Server received crash signal! Attempting to save all online characters! [/size][/font][/color]
[color=rgb(40,40,40)] [font=helvetica][size=3][2014-01-01 22:36:53] [Status]: Memory manager initialised: log/map-server_sql.exe.leaks [/size][/font][/color]

[color=rgb(40,40,40)] [font=helvetica][size=3]also [/size][/font][/color][color=rgb(40,40,40)] [Error]: map_addblock msg! [/color]

Darkpurple
2014-01-15 20:14:36
And I found new crash information / hint !!! please look:

[Debug]: status_change_end: SC_DANCING is missing skill unit group (val1=655690,
val2=5158, val3=165, val4=0, timer=98, tid=-1, char_id=151445, map=thor_v03, x=
1, y=13, prev=<none>:0, from=..\src\map\unit.c:2346). Please report this! (#3504
)
[Debug]: skill_delunitgroup: group is NULL (source=..\src\map\status.c:10271, )!
Please report this! (#3504)

Darkpurple
2014-01-15 20:42:35
OH MY GOD!!! I think I found the bug reason !!!

when you @rura thor_v03,1,46 and using some dance skills like:
330,0,6,4,0,0x1,0,10,1,no,0,0x2020,0,misc,0, DC_SERVICEFORYOU
321,0,6,4,0,0x1,0,10,1,no,0,0x2020,0,misc,0, BA_POEMBRAGI

it will crash and showed those 2 of error:

[Debug]: status_change_end: SC_DANCING is missing skill unit group (val1=655681,
val2=5026, val3=114, val4=0, timer=65, tid=-1, char_id=156122, map=thor_v03, x=
3, y=43, prev=<none>:0, from=..\src\map\skill.c:6377). Please report this! (#350
4)
[Debug]: skill_delunitgroup: group is NULL (source=..\src\map\status.c:10271, )!
Please report this! (#3504)
[Error]: map_addblock: out-of-bounds coordinates ("thor_v03",-2,43), map is 300x
300
[Error]: Server received crash signal! Attempting to save all online characters!


I test many times and crashed many times !!! Trust me and fixed as soon as possible !!Thanks!!

Aleos
2014-01-15 21:52:11
So the crashes are coming from this bug again...

Is there a reason you specifically go to that location? Is it only in that location that it causes the crash?

Darkpurple
2014-01-15 22:05:30
[quote name="Aleos" post="24443" timestamp="1389822731"]
So the crashes are coming from this bug again...Is there a reason you specifically go to that location? Is it only in that location that it causes the crash?[/quote]



Because in my server is low rate server about 2xx online players.

Many player would like to go thor_v03 and abbey03 for up lv with team and also like to use item 12212(party wings).

This item id 12212(function is party call) would call the party members who is using the dancing skills.


So, if this bug not fixed it will crashed always in my server!!
I test in hercules is no crashed. But would crashed in rathena.!

Darkpurple
2014-01-16 11:38:24
[quote name="Darkpurple" post="24447" timestamp="1389823530"]
[quote name="Aleos" post="24443" timestamp="1389822731"]
So the crashes are coming from this bug again...Is there a reason you specifically go to that location? Is it only in that location that it causes the crash?[/quote]Because in my server is low rate server about 2xx online players.Many player would like to go thor_v03 and abbey03 for up lv with team and also like to use item 12212(party wings).This item id 12212(function is party call) would call the party members who is using the dancing skills.So, if this bug not fixed it will crashed always in my server!!I test in hercules is no crashed. But would crashed in rathena.![/quote]

[color=rgb(40,40,40)] [Debug]: status_change_end: SC_DANCING is missing skill unit group (val1=655681, [/color]
[color=rgb(40,40,40)] val2=5026, val3=114, val4=0, timer=65, tid=-1, char_id=156122, map=thor_v03, x= [/color]
[color=rgb(40,40,40)] 3, y=43, prev=<none>:0, from=..\src\map\skill.c:6377). Please report this! (#350 [/color]
[color=rgb(40,40,40)] 4) [/color]
[color=rgb(40,40,40)] [Debug]: skill_delunitgroup: group is NULL (source=..\src\map\status.c:10271, )! [/color]
[color=rgb(40,40,40)] Please report this! (#3504) [/color]
[color=rgb(40,40,40)] [Error]: map_addblock: out-of-bounds coordinates ("thor_v03",-2,43), map is 300x [/color]
[color=rgb(40,40,40)] 300 [/color]
[color=rgb(40,40,40)] [Error]: Server received crash signal! Attempting to save all online characters! [/color]

Aleos
2014-01-16 18:51:25
Your server isn't actually crashing from the Dance songs. Those are just debug messages and there are cases to catch the server from crashing. The crash is coming from the fact that you're trying to put a BL (pet, mercenary, homunculus, player) on thor_v03 at the coordinates -2, 43. You can't have a negative X value which is why you are crashing.

Hercules is missing 2 things that rA has fixed from previous bug reports which means you can't compare the two.

Darkpurple
2014-01-16 19:01:25
[quote name="Aleos" post="24474" timestamp="1389898285"]
Your server isn't actually crashing from the Dance songs. Those are just debug messages and there are cases to catch the server from crashing. The crash is coming from the fact that you're trying to put a BL (pet, mercenary, homunculus, player) on thor_v03 at the coordinates -2, 43. You can't have a negative X value which is why you are crashing.Hercules is missing 2 things that rA has fixed from previous bug reports which means you can't compare the two.
[/quote]

Thank you for your confirmed.
This bug troubled my almost 2 months.:(. Now found the truth, hope that can fix quickly. I always worry the crash every day.:(

Darkpurple
2014-01-18 18:14:11
[2014-01-19 01:54:30] [Info]: Character '??' logged off.
[2014-01-19 01:54:35] [Info]: Character '????' logged off.
[2014-01-19 01:56:33] [Info]: Character '*?*' logged off (using @autotrade).
[2014-01-19 01:56:41] [Status]: Attempting to connect to Char Server. Please wait.
[2014-01-19 01:56:41] [Status]: Connecting to 199.101.118.90:6121
[2014-01-19 01:56:41] [Status]: Logging in to char server...
[2014-01-19 01:56:41] [Warning]: Connection to Char Server lost.


Holy .../_\ Lost again Today !!!!!!

Akkarin
2014-01-21 11:38:18
You don't need to keep telling us that it's not working - once you've created a bug report all you need to do is continue to read the report for updates and answer any questions the dev team have. Euphy and myself have removed most of your "Bump" replies. Don't let me catch you doing it again please.

Darkpurple
2014-01-21 18:07:40
[quote name="Akkarin" post="24616" timestamp="1390304298"]
You don't need to keep telling us that it's not working - once you've created a bug report all you need to do is continue to read the report for updates and answer any questions the dev team have. Euphy and myself have removed most of your "Bump" replies. Don't let me catch you doing it again please.[/quote]
Okay, sorry for my rude. Because this bug let me got presses, many player dislike and always reports me.

Now, I want to give more information, I notice that when some one us @at / @autotrade, the map-server will lost connect to char-server:

[2014-01-19 01:56:33] [Info]: Character '*?*' logged off (using @autotrade).
[2014-01-19 01:56:41] [Status]: Attempting to connect to Char Server. Please wait.
[2014-01-19 01:56:41] [Status]: Connecting to 199.101.118.90:6121
[2014-01-19 01:56:41] [Status]: Logging in to char server...
[2014-01-19 01:56:41] [Warning]: Connection to Char Server lost.
[2014-01-19 01:56:42] [Status]: Connecting to 199.101.118.90:6121

2014-01-22 00:22:35] [Info]: Character '??????' logged off (using @autotrade).
[2014-01-22 00:22:36] [Status]: Attempting to connect to Char Server. Please wait.
[2014-01-22 00:22:36] [Status]: Connecting to 199.101.118.90:6121
[2014-01-22 00:22:36] [Status]: Logging in to char server...
[2014-01-22 00:22:36] [Warning]: Connection to Char Server lost.
[2014-01-22 00:22:37] [Status]: Connecting to 199.101.118.90:6121
[2014-01-22 00:22:37] [Status]: Logging in to char server...
[2014-01-22 00:22:37] [Warning]: Connection to Char Server lost.
[2014-01-22 00:22:38] [Status]: Connecting to 199.101.118.90:6121
.

Lemongrass
2014-01-23 15:09:47
Fixed in 80f7984.
×
×
  • Create New...