Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #007464

  • 0 - None Assigned

  • Needs More Info

Issue Confirmations

  • Yes (3)No (0)
Photo

Crashed twice on 2 different revisions.

Posted by mofo on 04 July 2013 - 07:49 AM

Program terminated with signal 11, Segmentation fault.
#0 0x08113d78 in mob_dead (md=0xb332e674, src=0x0, type=3) at mob.c:2632
2632 if (battle_config.mvp_tomb_enabled && md->spawn->state.boss && map[md->bl.m].flag.notomb != 1)


As per title, this has happened 2 times. I think it has something to do with script spawned (like town invasion) MVPs. Not sure, though. XP

My server did crash, but no error message came out.

All players were disconnected and unable to re-enter.

My login server stated that they're online where-as they're not.

Could you bt full so we can have detailed information?

Ind 
changed status to: Needs More Info

recently it just crashed again. not sure what's causing it but i managed to get a glimpse of the error.

here's what it writes
[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer pc.c line 7931
[Error]: Memory manager: args of aFree 0x0xb3e273bc is invalid pointer pc.c line 7931
[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer db.c line 1058
[Error]: Memory manager: args of aFree 0x0xb3e2533c is invalid pointer script.c line 588
[Error]: Memory manager: args of aFree 0x0xb3e273bc is invalid pointer script.c line 588
[Error]: Server received crash signal! Attempting to save all online characters!
 
-In between there were some characters that were saved but i left them out-

Hope it helps >_>

recently it just crashed again. not sure what's causing it but i managed to get a glimpse of the error.

here's what it writes

[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer pc.c line 7931
[Error]: Memory manager: args of aFree 0x0xb3e273bc is invalid pointer pc.c line 7931
[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer db.c line 1058
[Error]: Memory manager: args of aFree 0x0xb3e2533c is invalid pointer script.c line 588
[Error]: Memory manager: args of aFree 0x0xb3e273bc is invalid pointer script.c line 588
[Error]: Server received crash signal! Attempting to save all online characters!
 
-In between there were some characters that were saved but i left them out-
Hope it helps >_>

Could you show me whats the content of the these specified lines in your error? I tried checking on mine but they appear to be off, so I'll need you to show me what they are in your files
Thank you.

This happened again,

however i'm not too sure what information you need though,

where can i get those information to help you out?

it seems the crash is came from a custom script...

:meow:

This happened again,

however i'm not too sure what information you need though,

where can i get those information to help you out?

For Example:

[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer pc.c line 7931

You'd copy me content of the line 7931 in your src/map/pc.c file

Hi Ind, i'm not sure whether is the information still available to you though,

I just updated my GIT yesterday and saw this message later.

I did have issues updating my GIT yesterday, therefore I downloaded a fresh copy and then slowly replace all the files back in place.

If you'd still like the line I could still give it to you, but i'm facing a new error instead now.
[error]: skill_blockpc_start: 'Lazy' got over '84' Skill Cooldowns, no room to save!
repeat this x10-15 times
[error]: skill_blockpc_end: 'Lazy' : no data found for '271'
[error]: skill_blockpc_end: 'Lazy' : no data found for '1223'

This repeats alot of times, other characters as well. Please let me know if you still require the original information thanks!

a small update on this, it only affects Sura based on the map server errors that keep coming out.

after running more tests found out that more jobs were affected as well.
more and more map server crashes are happening. As more player enters the game, the time of the crash may occur from every 20 minutes. No choice but to shutdown the server at the moment ._.

Hope someone could really check this out please!

Edited by ToiletMaster, 10 July 2013 - 07:06 AM.


Bump for this.

Found a way to reproduce.

Download the latest trunk without any edits / scripts. (Therefore scripts are unrelated to this matter)

Use sura, use body relocation at least 100 times.

See your map server flows with error message.

Please confirm thanks! I suspect all jobs are facing this issue with specific skills. Warlocks are one of them as well, but i can't confirm which skill.

Edited by ToiletMaster, 10 July 2013 - 01:16 PM.


i got no crash
though, I got this on my first
body reloc

[Error]: skill_blockpc_start: 'Shido' got over '84' skill cooldowns, no room to save!

Edited by KeiKun, 10 July 2013 - 02:33 PM.


confirmed on my test server.

1. Change to Sura
2. Use reloc a lot.
3. [Error]: skill_blockpc_start: 'Jaun' got over '84' skill cooldowns, no room to save! will be flooded on the map server.

But so far the map server didn't crash. just keep on bouncing the error message on the map server.


recently it just crashed again. not sure what's causing it but i managed to get a glimpse of the error.

here's what it writes

[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer pc.c line 7931
[Error]: Memory manager: args of aFree 0x0xb3e273bc is invalid pointer pc.c line 7931
[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer db.c line 1058
[Error]: Memory manager: args of aFree 0x0xb3e2533c is invalid pointer script.c line 588
[Error]: Memory manager: args of aFree 0x0xb3e273bc is invalid pointer script.c line 588
[Error]: Server received crash signal! Attempting to save all online characters!
 
-In between there were some characters that were saved but i left them out-
Hope it helps >_>



Also got the same error yesterday and today in the morning.

The crash will only happen upon too much error coming out.

I've tried this on a live server and they do spam the body relocation. thus causing the crash i believe.

-additional info-

If you try using raising dragon, you'll see no data entry for '1214' or something similar to that once the error comes out.

Edited by ToiletMaster, 11 July 2013 - 01:22 AM.


I've fixed the cooldown thing in https://github.com/H...a05520a36b71ea9


Thanks ind!

Hopefully this can result in fixing the crash as well

Cheers! You definitely made my day xD