Run time error 8: "Heap underflow"
#1

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(playeridparams[])
{
    
SendRconCommand("reloadfs test");
    return 
1;

The filterscript is reloading. When it's done the server crash.
Reply
#2

you can fix it temporarily using #pragma dynamic
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=309347
Reply
#4

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
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Quote:
Originally Posted by AlonzoTorres
Посмотреть сообщение
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
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?
Reply
#6

try 15000
Reply
#7

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.
Reply
#8

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.
Reply
#9

Bump.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)