Issue information

Issue ID
#8201
Status
Fixed
Severity
Fair
Started
AnyThing
May 17, 2014 3:45
Last Post
pan
May 19, 2014 15:24
Confirmation
Yes (1)
No (0)

AnyThing - May 17, 2014 3:45

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.

This post has been edited by AnyThing on May 18, 2014 10:23

Dastgir - May 17, 2014 6:11

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

AnyThing - May 17, 2014 8:03

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.

This post has been edited by AnyThing on May 18, 2014 10:22

pan - May 19, 2014 15:23

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/dfc1165e002487ba5fcb8945676381f1709ec469"]https://github.com/HerculesWS/Hercules/commit/dfc1165e002487ba5fcb8945676381f1709ec469[/url]
Thank you for reporting