Run time error 8: "Heap underflow" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Run time error 8: "Heap underflow" (
/showthread.php?tid=610789)
Run time error 8: "Heap underflow" -
Dayrion - 28.06.2016
Hi. When I do this command, the server crasha and I have this error in crash detect :
Код:
[14:16:14] [debug] Run time error 8: "Heap underflow"
[14:16:14] [debug] Heap pointer (HEA) is 0x10A3450, heap bottom (HLW) is 0x10A3490
[14:16:14] [debug] AMX backtrace:
[14:16:14] [debug] #0 00033e58 in ?? (... <4225463 arguments>) at test.pwn:1977
[14:16:14] [debug] #1 00000004 in public cmd_test () at <unknown file>:0
[14:16:14] [debug] #2 native CallLocalFunction () from samp-server.exe
[14:16:14] [debug] #3 00000664 in ?? () at C:\-\pawno\include\zcmd.inc:104
[14:16:14] [debug] #4 00000138 in public OnPlayerCommandText () at C:\-\pawno\include\float.inc:133
[14:16:14] [debug] Server crashed while executing dmsystem.amx
[14:16:14] [debug] AMX backtrace:
[14:16:14] [debug] #0 00000664 in ?? () at C:\-\pawno\include\zcmd.inc:104
[14:16:14] [debug] #1 00000138 in public OnPlayerCommandText () at C:\-\pawno\include\float.inc:133
[14:16:14] [debug] Native backtrace:
[14:16:14] [debug] #0 67b78c93 in ?? () from plugins\crashdetect.dll
[14:16:14] [debug] #1 67b709c7 in ?? () from plugins\crashdetect.dll
Command :
PHP код:
CMD:test(playerid, params[])
{
SendRconCommand("reloadfs test");
return 1;
}
The filterscript is reloading. When it's done the server crash.
Re: Run time error 8: "Heap underflow" -
SyS - 28.06.2016
you can fix it temporarily using #pragma dynamic
Re: Run time error 8: "Heap underflow" -
Konstantinos - 28.06.2016
https://sampforum.blast.hk/showthread.php?tid=309347
Re: Run time error 8: "Heap underflow" -
AlonzoTorres - 28.06.2016
Someone else got this problem before, maybe you can find the solution in there:
https://sampforum.blast.hk/showthread.php?tid=309347
Edit: Damn Konstantinos you silly robot, you're so quick
Re: Run time error 8: "Heap underflow" -
Dayrion - 28.06.2016
Quote:
Originally Posted by Konstantinos
|
Quote:
Originally Posted by AlonzoTorres
|
I've already read this but he fixed by changing float into int. That's not the same thing here.
Quote:
Originally Posted by Sreyas
you can fix it temporarily using #pragma dynamic
|
How much I should put?
Re: Run time error 8: "Heap underflow" -
SyS - 28.06.2016
try 15000
Re: Run time error 8: "Heap underflow" -
Konstantinos - 28.06.2016
Quote:
Originally Posted by Dayrion
I've already read this but he fixed by changing float into int. That's not the same thing here.
|
The reason I linked you to that thread was ******' reply about
-v flag. If that's not the case, then yes - increase the size of the stack.
Re: Run time error 8: "Heap underflow" -
Dayrion - 28.06.2016
Quote:
Originally Posted by Konstantinos
The reason I linked you to that thread was ******' reply about -v flag. If that's not the case, then yes - increase the size of the stack.
|
Oh, ok. With my editor (Sumblime Text 3) there is already those informations.
This ?
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 6072 bytes
Code size: 232712 bytes
Data size: 17446004 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:17701172 bytes
Done.
[Finished in 3.6s]
There is not this with Pawno.
Quote:
Originally Posted by Sreyas
try 15000
|
This is not* working, even with 100000.
Re: Run time error 8: "Heap underflow" -
Dayrion - 30.06.2016
Bump.