Jump to content
  • 0

Map server crashes


sizenine

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

Since I started using rA (used 3ceam before), I've been getting map servers quite frequently:

"Crash signal was sent! Attempting to save all.."

I want to help but I'm not sure how to find out the cause of the issue. Any advice? I'm currently on r15689 so I'm pretty up to date too..

I have a feeling it's caused by skills though and I also found these leaks, but I'm not sure if that helps..

[H[2J[24;1H"map-server_sql.leaks" 22 lines, 1093 characters[2;1HMemory manager: Memory leaks found at 2012/02/28 07h23m32s (Revision 15627).

0001 : clif.c line 849 size 24 address 0x0xea5caea4

0002 : clif.c line 849 size 24 address 0x0xea5caf04

0003 : clif.c line 849 size 24 address 0x0xea5caff4

0004 : clif.c line 849 size 24 address 0x0xea5cb0e4

0005 : clif.c line 849 size 24 address 0x0xea5cb114

0006 : clif.c line 849 size 24 address 0x0xea5cb1d4

0007 : clif.c line 849 size 24 address 0x0xea5cb234

0008 : clif.c line 849 size 24 address 0x0xea5cb264

0009 : clif.c line 849 size 24 address 0x0xea5cb294

0010 : clif.c line 849 size 24 address 0x0xea5cb2c4

0011 : clif.c line 849 size 24 address 0x0xea5cb2f4

0012 : clif.c line 849 size 24 address 0x0xea5cb324

0013 : clif.c line 849 size 24 address 0x0xea5cb354

0014 : clif.c line 849 size 24 address 0x0xea5cb384

0015 : clif.c line 849 size 24 address 0x0xea5cb3b4

0016 : clif.c line 849 size 24 address 0x0xea5cb984

Memory manager: Memory leaks found at 2012/03/13 13h44m56s (Revision 15627).

0001 : skill.c line 14803 size 604 address 0x0xf2204bcc

0002 : line 2280 size 2280 address 0x0xf2204e3c

Here are the lines in my src...

clif.c line 849:

void clif_clearunit_delayed(struct block_list* bl, clr_type type, unsigned int tick)

{

struct block_list *tbl;

tbl = (struct block_list*)aMalloc(sizeof (struct block_list));

memcpy (tbl, bl, sizeof (struct block_list));

add_timer(tick, clif_clearunit_delayed_sub, (int)type, (intptr_t)tbl);

}

14803 in skill.c function skill_blockpc_start_():

skillid = skill_get_index(skillid);

if (skillid == 0)

return -1;

if (tick < 1) {

sd->blockskill[skillid] = 0;

return -1;

}

if( battle_config.display_status_timers )

2280 in skill.c

case WL_TETRAVORTEX_FIRE:

case WL_TETRAVORTEX_WATER:

case WL_TETRAVORTEX_WIND:

case WL_TETRAVORTEX_GROUND:

dmg.dmotion = clif_skill_damage(src,bl,tick,dmg.amotion,dmg.dmotion,damage,1,WL_TETRAVORTEX_FIRE,-2,type);

break;

UPDATE:

Some more error messages I get from the map server:

[Error]: status_change_timer: Mismatch for type 25: 126 != 2 (bl id 110015935)

[info]: Saved guild (...): members

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

[info]: Saved char ....: status skills.

[info]: Saved char ....: status.

[info]: Saved char ....: inventory status skills hotkeys.

[status]: Map-server #0 has disconnected.

Segmentation fault (core dumped)

UPDATE:

I've finally pinpointed down to who's causing the crashes. For some reason I don't know why, but only a specific player's character on my server is able to crash the server with her Rune Knight. She has no equips on, no status icons on, nothing. But when she cast skills on monsters, the map server crashes after she kills a few monsters guaranteed, regardless if it was single target skill, AoE skill, or even if it was a Melee attack.

Here are some more errors we've encountered through our testing sessions with her character:

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

[Error]: map_clearflooritem_timer : error

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

UPDATE:

I think I have pinpointed the cause... >.<

Apparently, if you have tax on a guildmember, that taxed character will crash the server when he attacks monsters.

And I bumped into some more errors:

[Error]: delete_timer error : function mismatch 0x817f210(party_send_xy_timer) != 0x80cf820(status_change_timer)

[Error]: delete_timer error : function mismatch 0x817f210(party_send_xy_timer) != 0x80cf820(status_change_timer)

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

[status]: Map-server #0 has disconnected.

Segmentation fault (core dumped)

Edited by sizenine
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...