when I will run this code then it works few times (+- 10 loops) and then it will crash at a random line.
Code: Select all
Repeat
HttpRequest = HTTPRequest(#PB_HTTP_Post, "https://www.google.com", "", #PB_HTTP_Asynchronous)
If HttpRequest
Debug "started"
AbortHTTP(HttpRequest)
FinishHTTP(HttpRequest)
Debug "aborted"
EndIf
ForEver
[12:08:35] Waiting for executable to start...
[12:08:35] Executable type: Windows - x86 (32bit, Unicode)
[12:08:35] Executable started.
[12:08:35] [ERROR] Line: 2
[12:08:35] [ERROR] Invalid memory access. (read error at address 74608671)
[12:08:35] [ERROR] Line: 2
[12:08:35] [ERROR] Invalid memory access. (write error at address 74047512)
[12:08:35] The Program execution has finished.
After this crash any further execution of Purebasic code can start crashig on random lines (opening windows for example) and it needs a restart.
Happens on:
PureBasic 5.71 beta 3 LTS (Windows - x86)