Zeex/dynamic_call — Issue #1: Heap underflow - Stack corrupted
Author: xxmitsu
Created: 2012-01-05 06:14:17+00:00
State: open

Hello,

I'm a curious person, I've seed that you created a new repository "dynamic_call" and decided to try it and see what is all about.

After I included amx_hdr.inc into my GM, I get the following

[01:49:06] ------------------------
[01:49:06] AMX Header:
[01:49:06] ------------------------
[01:49:06] size 1914378
[01:49:06] magic F1E0
[01:49:06] file_version 8
[01:49:06] amx_version 8
[01:49:06] flags 6
[01:49:06] defsize 8
[01:49:06] cod 0x0000526C
[01:49:06] dat 0x001882F4
[01:49:06] hea 0x0057A440
[01:49:06] stp 0x0057E440
[01:49:06] cip 0x0015DD8C
[01:49:06] publics 0x00000038
[01:49:06] natives 0x00001710
[01:49:06] libraries 0x00001EA0
[01:49:06] pubvars 0x00001EE8
[01:49:06] tags 0x00001EE8
[01:49:06] nametable 0x00001F18
[01:49:06] ------------------------

and the error:
[08:07:52] Error information:
[08:07:52] Heap index (HEA) is 0x8B, heap bottom (HLW) is 0x3F214C
[08:07:52] Call stack (most recent call first):
[08:07:52] Stack corrupted!
[08:07:52] Script[gamemodes/newegDB.amx]: In file 'I:\_eGaming\samp\_new_mysql-0.3d\__CORECTAT0.3c\pawno-3\include\float.inc' at line 108:
[08:07:52] Script[gamemodes/newegDB.amx]: Run time error 8: "Heap underflow"
[08:07:52] Error information:
[08:07:52] Heap index (HEA) is 0x8B, heap bottom (HLW) is 0x3F214C
[08:07:52] Call stack (most recent call first):
[08:07:52] Stack corrupted!
[08:07:53] Script[gamemodes/newegDB.amx]: In file 'I:\_eGaming\samp\_new_mysql-0.3d\__CORECTAT0.3c\pawno-3\include\float.inc' at line 108:
[08:07:53] Script[gamemodes/newegDB.amx]: Run time error 8: "Heap underflow"
[08:07:53] Error information:
[08:07:53] Heap index (HEA) is 0x8B, heap bottom (HLW) is 0x3F214C
[08:07:53] Call stack (most recent call first):
[08:07:53] Stack corrupted!
[08:07:53] Script[gamemodes/newegDB.amx]: In file 'I:\_eGaming\samp\_new_mysql-0.3d\__CORECTAT0.3c\pawno-3\include\float.inc' at line 108:
[08:07:53] Script[gamemodes/newegDB.amx]: Run time error 8: "Heap underflow"
[08:07:53] Error information:
[08:07:53] Heap index (HEA) is 0x8B, heap bottom (HLW) is 0x3F214C
[08:07:53] Call stack (most recent call first):
[08:07:53] Stack corrupted!
[08:07:53] Script[gamemodes/newegDB.amx]: In file 'I:\_eGaming\samp\_new_mysql-0.3d\__CORECTAT0.3c\pawno-3\include\float.inc' at line 108:
[08:07:53] Script[gamemodes/newegDB.amx]: Run time error 8: "Heap underflow"
[08:07:53] Error information:
[08:07:53] Heap index (HEA) is 0x8B, heap bottom (HLW) is 0x3F214C
[08:07:53] Call stack (most recent call first):
[08:07:53] Stack corrupted
[08:07:53] Keyboard interrupt
. ---------------------------------------------

float.inc is the standard from samp package.

Do you know why?
Thanks in advance,
Mike.