Run time error 3: Stack/heap collision (insufficient stack size) - 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 3: Stack/heap collision (insufficient stack size) (
/showthread.php?tid=585502)
Run time error 3: Stack/heap collision (insufficient stack size) -
HarrisonC - 14.08.2015
Can somebody offer me some advice on why this code is throwing the Run time error 3?
I've printed out the result of the concatenated string and it is as I expected.
The full URL that I am trying to read XML data from is this
http://query.yahooapis.com/v1/public...Falltables.env
Код:
new query[300] = "query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance%0A.quotes%20where%20symbol%20in%20(%22";
strcat(query, ticker);
strcat(query, "%22)%0A%09%09&diagnostics=true&env=http%3A%2F%2Fdatatables.org%2Falltables.env");
HTTP(SessionIndex, HTTP_GET, query, "", "OnSearchResponse");
When it gets to the HTTP method, the error below is thrown and OnSearchResponse isn't called.
Код:
[14:09:22] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[14:09:22] [debug] Stack pointer (STK) is 0x3A6F80C, heap pointer (HEA) is 0x3A710B8
[14:09:22] [debug] AMX backtrace:
Re: Run time error 3: Stack/heap collision (insufficient stack size) -
HarrisonC - 15.08.2015
Bump
Re: Run time error 3: Stack/heap collision (insufficient stack size) -
HarrisonC - 16.08.2015
Anyone?