05.09.2012, 16:51
(
Последний раз редактировалось NaS; 05.09.2012 в 20:38.
)
Hey samp community
I have the following problem:
This error spams my server_log until anything "happens", like Chat Message, Dialog Response, any Command.
Most things, like gangs, objects etc are loaded into the server (and are created).
I get through the class selection and see vehicles etc, so the basic things are working - but none of the callbacks.
When I compiled my script with option -d3 to make crashdetect plugin show details, it said "Stack corrupted".
I have following plugins loaded:
- Streamer plugin by Incognito
- MySQL Plugin R7
- crashdetect, obviously
No filterscripts are loaded.
There are 2 or 3 topics about this problem, but none of them help me.
I cannot try things like convert float to int (fixed the problem in another thread) because my script is big and with many complex systems.
The crash only appears on debian ("Debian 6.0 - LAMP").
On windows everything works fine.
I copied everything from the debian server, so even the scriptfiles are exactly the same - didn't help.
The problem began when I added 2 functions and a callback, which were very small.
I removed them again and the crash still appeared.
I know roughly what the error means and I tried to smaller many many arrays and did optimizations, but without effort.
Maybe it's just a small mistake which is not cought by the compiler - I read the script like a book to find those.
I hope anyone could help me, even any ideas could help much.
I don't know what to do, I already spent many hours only trying to fix this.
Greetz, NaS
PS: If you need any more info, please ask.
I have the following problem:
Код:
[14:02:06] [debug] [GM.amx]: Run time error 8: "Heap underflow" [14:02:06] [debug] [GM.amx]: Heap index (HEA) is 0xB7CDFD8C, heap bottom (HLW) is 0x3D6674 [14:02:06] [debug] [GM.amx]: Call Stack (most recent call first): [14:02:06] [debug] The server has crashed executing 'GM.amx' [14:02:06] [debug] [GM.amx]: Call Stack (most recent call first):
Most things, like gangs, objects etc are loaded into the server (and are created).
I get through the class selection and see vehicles etc, so the basic things are working - but none of the callbacks.
When I compiled my script with option -d3 to make crashdetect plugin show details, it said "Stack corrupted".
I have following plugins loaded:
- Streamer plugin by Incognito
- MySQL Plugin R7
- crashdetect, obviously
No filterscripts are loaded.
There are 2 or 3 topics about this problem, but none of them help me.
I cannot try things like convert float to int (fixed the problem in another thread) because my script is big and with many complex systems.
The crash only appears on debian ("Debian 6.0 - LAMP").
On windows everything works fine.
I copied everything from the debian server, so even the scriptfiles are exactly the same - didn't help.
The problem began when I added 2 functions and a callback, which were very small.
I removed them again and the crash still appeared.
I know roughly what the error means and I tried to smaller many many arrays and did optimizations, but without effort.
Maybe it's just a small mistake which is not cought by the compiler - I read the script like a book to find those.
I hope anyone could help me, even any ideas could help much.
I don't know what to do, I already spent many hours only trying to fix this.
Greetz, NaS
PS: If you need any more info, please ask.