Issue information

Issue ID
#7464
Status
Needs more Info
Severity
None
Started
mofo
Jul 4, 2013 7:49
Last Post
ToiletMaster
Jul 11, 2013 3:04
Confirmation
Yes (3)
No (0)

mofo - Jul 4, 2013 7:49

Program terminated with signal 11, Segmentation fault.
[code=auto:0] #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) [/code]


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

This post has been edited by mofo on Jul 4, 2013 7:51

ToiletMaster - Jul 4, 2013 14:54

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.

mkbu95 - Jul 4, 2013 20:48

Could you bt full so we can have detailed information?

ToiletMaster - Jul 6, 2013 16:35

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
[code=auto:0] [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- [/code]

Hope it helps >_>

Ind - Jul 6, 2013 20:05

[quote name="ToiletMaster" timestamp="1373128507"]
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[code=auto:0][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- [/code]Hope it helps >_>

[/quote]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.

ToiletMaster - Jul 9, 2013 12:34

This happened again,

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

where can i get those information to help you out?

malufett - Jul 9, 2013 12:39

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

:meow:

Ind - Jul 9, 2013 16:19

[quote name="ToiletMaster" timestamp="1373373285"]
This happened again,

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

where can i get those information to help you out?[/quote]For Example:[quote]
[Error]: Memory manager: args of aFree 0x0xb3e242fc is invalid pointer pc.c line 7931[/quote]You'd copy me content of the line 7931 in your src/map/pc.c file

ToiletMaster - Jul 10, 2013 1:20

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.
[code=auto:0] [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' [/code]

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

ToiletMaster - Jul 10, 2013 4:23

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

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!

This post has been edited by ToiletMaster on Jul 10, 2013 7:06

ToiletMaster - Jul 10, 2013 11:08

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.

This post has been edited by ToiletMaster on Jul 10, 2013 13:16

KeiKun - Jul 10, 2013 14:32

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

[code=auto:0][Error]: skill_blockpc_start: 'Shido' got over '84' skill cooldowns, no room to save![/code]

This post has been edited by KeiKun on Jul 10, 2013 14:33

ramzelle100 - Jul 10, 2013 14:46

confirmed on my test server.

1. Change to Sura
2. Use reloc a lot.
3. [color=rgb(102,102,0)][[/color][color=rgb(102,0,102)]Error[/color][color=rgb(102,102,0)]]:[/color] skill_blockpc_start[color=rgb(102,102,0)]:[/color] [color=rgb(0,136,0)]'Jaun'[/color] got over [color=rgb(0,136,0)]'84'[/color] skill cooldowns[color=rgb(102,102,0)],[/color] [color=rgb(0,0,136)]no[/color] room to save[color=rgb(102,102,0)]! 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.[/color]

Beret - Jul 10, 2013 19:25

[quote name="ToiletMaster" timestamp="1373128507"]
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[code=auto:0] [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- [/code]
Hope it helps >_>[/quote]


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

ToiletMaster - Jul 11, 2013 1:11

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.

This post has been edited by ToiletMaster on Jul 11, 2013 1:22

Ind - Jul 11, 2013 2:21

I've fixed the cooldown thing in [url="https://github.com/HerculesWS/Hercules/commit/ba16e1a787491cddbf54e8749a05520a36b71ea9"]https://github.com/HerculesWS/Hercules/commit/ba16e1a787491cddbf54e8749a05520a36b71ea9[/url]

ToiletMaster - Jul 11, 2013 3:04

[quote name="Ind" timestamp="1373509291"]
I've fixed the cooldown thing in [url="https://github.com/HerculesWS/Hercules/commit/ba16e1a787491cddbf54e8749a05520a36b71ea9"]https://github.com/HerculesWS/Hercules/commit/ba16e1a787491cddbf54e8749a05520a36b71ea9[/url][/quote]

Thanks ind!

Hopefully this can result in fixing the crash as well

Cheers! You definitely made my day xD