Issue Information
-
#008201
-
2 - Fair
-
Fixed
Issue Confirmations
-
Yes (1)No (0)
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.
@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.