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

Issue Confirmations

  • Yes (1)No (0)
Photo

Map Server Crash

Posted by AnyThing on 17 May 2014 - 03:45 AM

Create a new character named Test

@job 4063
@joblvlup 99
@allskills

Then, type this
@clone Test
@evilclone Test

They will vs each other. Create like 10 couples and wait. Map server will crash.

When I enable debugging in VS2013, it will print this instead:
[17/May 11:40:11][Error]: --- nullpo info --------------------------------------------
[17/May 11:40:11][Error]: d:\hercules\src\map\party.c:1077: 'sd' in function `unknown'
[17/May 11:40:11][Error]: --- end nullpo info ----------------------------------------

I think one of clones is trying to do a party based skills and it isn't checked against clones without sd data.

Error shown in map-server, but map-server don't crash for me..

It will crash if you set compiler mode to "production" instead of "debug". Debug will have some sort of pointer null protection. Production mode will optimize the binary for speed and leaves out any debugging trace from the program codes. For example, I got 3mb of map server binary in production mode, and 5mb on debug mode on VS2013.

Edited by AnyThing, 18 May 2014 - 10:22 AM.


pan 
changed severity to: 2 - Fair
changed status to: Fixed