Random memory page errors causing crashing

For everything that's not in any way related to PureBasic. General chat etc...
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: Random memory page errors causing crashing

Post by Marc56us »

Return: If the manual doesn't mention for exit loop it, then don't use it, even if it works because it doesn't say that it will always work in all cases.
The official and therefore safe way out of a loop is: Break
Break : Continue
:wink:
BarryG
Addict
Addict
Posts: 4219
Joined: Thu Apr 18, 2019 8:17 am

Re: Random memory page errors causing crashing

Post by BarryG »

Thanks, Demivec!
User avatar
DeanH
Enthusiast
Enthusiast
Posts: 279
Joined: Wed May 07, 2008 4:57 am
Location: Adelaide, South Australia
Contact:

Re: Random memory page errors causing crashing

Post by DeanH »

Just to finish off, after a great deal of investigation, the problem turned out to be a faulty network switch. Replacing the switch solved the problem. The switch was causing brief random network disconnect. When that happened, Windows shut down the exe without generating an error. This explains the random nature, the lack of error messages with OnError active, and why changing or fixing the software made no difference. It was difficult to track down and involved considerable patience on the part of the school library and technical support staff. Thank you everyone here for the suggestions.
BarryG
Addict
Addict
Posts: 4219
Joined: Thu Apr 18, 2019 8:17 am

Re: Random memory page errors causing crashing

Post by BarryG »

@DeanH: Phew, glad that's over! Don't you just hate chasing non-existent bugs in your code? LOL.
Post Reply