YSI Warning || y_malloc set up via CallLocalFunction
#1

What does this error mean and how to fix it?

pawn Code:
YSI Warning: y_malloc set up via CallLocalFunction, memory corruption is a remote possibility.
Reply
#2

it seems in YSI 3.1 there wasn't that problem tho',

Try to Update your ZCMD and YSI all the files and Includes ..
and reply to see if the problem still to see what i will do
Reply
#3

Updated them same issue.
Reply
#4

http://forum.sa-mp.com/showpost.php?...&postcount=327
Reply
#5

Any fix bcz the link is dead
Reply
#6

Usually it's a problem with includes inproperly hooking OnGameModeInit. @hamzajaved780, create a new thread, and show which includes are you using.
Reply
#7

Quote:
Originally Posted by hamzajaved780
View Post
Any fix bcz the link is dead
Quote:
Originally Posted by ******
View Post
Yes, the problem can be fixed by changing the include order, I want a better solution though. Basically, if you get that and use an inline function inside OnGameModeInit, you MAY get a horrible crash. 3.1 doesn't have it because it allocates memory in a different way inside y_malloc. The new allocation method is better, but has this issue.
Put YSI at the very top of your includes, but below a_samp.
Reply
#8

Quote:
Originally Posted by Ahmad45123
View Post
Put YSI at the very top of your includes, but below a_samp.
Problem Solved +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)