Jump to content
  • 0

Crash in map server


Feilor

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   17
  • Joined:  12/31/11
  • Last Seen:  

Hi, could I get more info when map-server crash? In the console the only thing i get is this:
 

Quote

[Error]: Server received crash signal! Attempting to save all online characters!

And isn't usefull to search the problem....

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

It's a known issue. We're working on it. For further informations, see https://github.com/rathena/rathena/issues/2359

If you want to help us, please add a crash dump there.

  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

Enable debugging if you're using windows by attaching the map server process to Visual Studio so we can see the problem.

If you're using Linux you should try running with gdb so we can obtain a core dump.

No one will be able to help you with just the information you've provided.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   17
  • Joined:  12/31/11
  • Last Seen:  

6 minutes ago, Akkarin said:

Enable debugging if you're using windows by attaching the map server process to Visual Studio so we can see the problem.

If you're using Linux you should try running with gdb so we can obtain a core dump.

No one will be able to help you with just the information you've provided.

 

6 minutes ago, Jey said:

It's a known issue. We're working on it. For further informations, see https://github.com/rathena/rathena/issues/2359

If you want to help us, please add a crash dump there.

I found in rA wiki how use gdb, but i have two questions, can I keep the server running with GDB? If yes could you guys show me the command I should use to keep it running in bg.

I alredy have it in my machine, i'm using centos 7

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

Just now, luan122 said:

If yes could you guys show me the command I should use to keep it running in bg.

First of all, you need to compile a server with supporting GDB (install gdb, and then try make clean && ./configure --enable-64bit --enable-debug=gdb), then:

 

  1. gdb map-server
  2. r
  3. enter

It will launch map-server under gdb, but you still need to ran char, and login server. you can try to do it in separate screen windows (

screen -amdS char ./char-server && screen -amdS login ./login-server

)

If a map-server server will crash, everything in the game will freeze and you will see it. Then do

bt full

to show a trace of the crash.

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   17
  • Joined:  12/31/11
  • Last Seen:  

30 minutes ago, Anacondaqq said:

First of all, you need to compile a server with supporting GDB (install gdb, and then try make clean && ./configure --enable-64bit --enable-debug=gdb), then:

 

  1. gdb map-server
  2. r
  3. enter

It will launch map-server under gdb, but you still need to ran char, and login server. you can try to do it in separate screen windows (


screen -amdS char ./char-server && screen -amdS login ./login-server

)

If a map-server server will crash, everything in the game will freeze and you will see it. Then do


bt full

to show a trace of the crash.

I forgot about the screen command thank you, I will post it when I get the dump since it just happens after more or less 12h...

@edit

I started with a screen to map server this command:
gdb map-server map-server.core

Edited by luan122
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...