Jump to content
  • 0

Map Server Crashing


Ga_Chittolina

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  05/07/16
  • Last Seen:  

My server is crashing constantly. It looks like it happens when anyone receives a debuff (a player receiving Hallucination, for example), and then is damaged, but I can't tell if that's the actual reason.
I'm using pre-renewal, packetver 20100730.
GDB output:

 

[spoiler=GDB Debug:]Program received signal SIGSEGV, Segmentation fault.
0x0816dde1 in battle_calc_damage (src=0xaa76f9ac, bl=0xcde1968, d=0xbffff434,
damage=1, skill_num=0, skill_lv=0) at battle.c:573
573 if(sce->val2)//Checagem de Mvps[sicks]
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6.i686 keyutils-libs-1.4-5.el6.i686 krb5-libs-1.10.3-33.el6.i686 libcom_err-1.41.12-21.el6.i686 libselinux-2.0.94-5.8.el6.i686 mysql-libs-5.1.73-3.el6_5.i686 nss-softokn-freebl-3.14.3-18.el6_6.i686 openssl-1.0.1e-30.el6_6.4.i686 pcre-7.8-6.el6.i686 zlib-1.2.3-29.el6.i686
[Error]: Server received crash signal! Attempting to save all online characters!
[info]: Saved char 150002 - Gabriel: status.
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x0816dde1 in battle_calc_damage (src=0xaa76f9ac, bl=0xcde1968, d=0xbffff434,
damage=1, skill_num=0, skill_lv=0) at battle.c:573
573 if(sce->val2)//Checagem de Mvps[sicks]

 

I3tAmmV.jpg

post-39086-0-40188000-1463017435_thumb.jpg

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  04/30/16
  • Last Seen:  

Same goes to mine.

 

For more details, you have to generate your COREDUMP, to identify which error cause that crashed.

 

As for me, I found my solution, I'm not sure either we are facing the same issue.

I realize that my server crashed because of MOB SKILLS.

My scenario is, "Everytime you hit some certain Mob, they will cast their skills, then, it crashed."


Then it is definitely from Mob Skill errors.

You have to determine which skill cause crashed.

Might as well, you can try to remove all MOB SKILLS in db/pre-re/mob_skill_db.txt.

To ensure is it really that crashed come from Mob Skills.

Edited by Miemie
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Upload your src/map/battle.c

i want to check something.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  05/07/16
  • Last Seen:  

Same goes to mine.

 

For more details, you have to generate your COREDUMP, to identify which error cause that crashed.

 

As for me, I found my solution, I'm not sure either we are facing the same issue.

I realize that my server crashed because of MOB SKILLS.

My scenario is, "Everytime you hit some certain Mob, they will cast their skills, then, it crashed."

Then it is definitely from Mob Skill errors.

You have to determine which skill cause crashed.

Might as well, you can try to remove all MOB SKILLS in db/pre-re/mob_skill_db.txt.

To ensure is it really that crashed come from Mob Skills.

 

How do I generate my COREDUMP ?

 

Upload your src/map/battle.c

i want to check something.

Had to upload it in another website, as I'm not allowed to upload c files here: http://filebin.ca/2gsyt4zcXNB4/battle.c

 

@Edit Found out that I had to disable renewal at src/config/renewal.h, so It's working now, but I've got some error reports about mobs and items:

[Error]: npc_parse_mob: Unknown mob ID 2198 (file 'npc/monstros/cavernas/iz_dun.txt', line '101').

[Error]: npc_parse_mob: Unknown mob ID 2201 (file 'npc/monstros/cavernas/iz_dun.txt', line '102').

[Error]: npc_parse_mob: Unknown mob ID 2203 (file 'npc/monstros/cavernas/iz_dun.txt', line '103').

[Error]: npc_parse_mob: Unknown mob ID 2204 (file 'npc/monstros/cavernas/iz_dun.txt', line '104').

[Error]: npc_parse_mob: Unknown mob ID 2202 (file 'npc/monstros/cavernas/iz_dun.txt', line '105').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2139').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2800').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2801').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2802').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2803').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2804').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2805').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2806').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2807').

[Warning]: npc_parse_shop: Invalid sell item in file 'npc/comerciantes/shops.txt', line '326' (id '2808').

Edited by Ga_Chittolina
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...