SA-MP Forums Archive
debug problem host. - 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: debug problem host. (/showthread.php?tid=656092)



debug problem host YSI - PaulCrouseVS - 06.07.2018

Код:
[19:23:02] [debug] Run time error 12: "(sleep mode)"
[19:23:02] [debug] Backtrace (most recent call first):
[19:23:02] [debug] #0  Malloc_SolidifyHeap()+0xac at heapalloc.inc:331
includes:

pawn Код:
#include  <a_samp> //Team SA-MP
#include  SOR\crashdetect //Zeex - https://github.com/Zeex/samp-plugin-crashdetect/releases
//******, Missiur
#include  YSI\YSI_Data\y_foreach
#include  YSI\YSI_Storage\y_ini
#include  YSI\YSI_Data\y_iterate
#include  YSI\YSI_Core\y_utils

#include  YSF //kurta999 https://github.com/IllidanS4/YSF
#include  izcmd //Zeex, Yashas https://sampforum.blast.hk/showthread.php?tid=576114
#include  streamer //incognito https://github.com/samp-incognito/samp-streamer-plugin/releases
#include  sscanf2 //******, Emmet, continuado por maddinat0r - https://github.com/maddinat0r/sscanf/releases
#include  mSelection //d0 https://sampforum.blast.hk/showthread.php?tid=407045
Sorry for my bad english.


Re: debug problem host. - PaulCrouseVS - 07.07.2018

uppp


Re: debug problem host. - PaulCrouseVS - 10.07.2018

upppp


Re: debug problem host. - JasonRiggs - 10.07.2018

The problem is in heapalloc.inc include the line 331..

But i don't think this is the real problem, I believe there are more debugs...


Re: debug problem host. - PaulCrouseVS - 25.07.2018

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
The problem is in heapalloc.inc include the line 331..

But i don't think this is the real problem, I believe there are more debugs...
which is..?

line 331:

Код:
static Malloc_SolidifyHeap()
{
	if (YSI_g_sHeapSetup == 2) return 1;
	++YSI_g_sHeapSetup;
	#emit LCTRL      3
	#emit MOVE.alt
	#emit SCTRL      5
	#emit SCTRL      4 // Set the original stack pointer.
	// Call to save "stk" and "frm", since they aren't in early builds.
	#emit PUSH.C      0
	#emit SYSREQ.C    heapspace // The pre-processor can't touch this.
	#emit STACK       4
	// Unfortunately, "heapspace" has a parameter pushed first so it saves the
	// wrong stack value (the value 4 below where it should be).  The only other
	// opcode that reliably saves "stk" in "amx->stk" without trying to call a
	// native function is "OP_RETN", so let's BADLY invoke it!  Note that we
	// still need the "heapspace" call (or any function call) to save "hea" and
	// "frm", which are NOT saved by "OP_RETN" but are by "OP_SYSREQ_C".
	#emit PUSH.C      0 // No parameters
	#emit LCTRL       6 // Return to the next instruction...
	#emit ADD.C       20
	#emit PUSH.pri
	#emit PUSH.alt      // Same frame.
	#emit RETN
	// "return" to here...
	#emit HALT        12
	return 0; //line 331
}



Re: debug problem host. - PaulCrouseVS - 28.07.2018

uppppppppp