TroubleShooting

Visit https://www.libertybasic.com/support.html for support information.

General Protection Faults

Most general protection faults in Liberty BASIC are caused by:

- Video drivers. A major problem with environments like Windows video drivers are sometimes immature and/or incompletely implemented according to spec. Try to get the most recent version of the Windows drivers for your video card. Another way to test for this condition is to try the standard VGA drivers that come with Windows to see if this solves the problem.

- Incorrectly made API calls. Once a Liberty BASIC program has incorrectly called a Windows API or third party DLL and received an error message, things can be left in a bad state so that more protection faults occur even when things are done correctly afterwards. It may be necessary to reload Liberty BASIC or even Windows in some rare cases to proceed without more errors.

The Error.log file

If when using Liberty BASIC you get an error notice that mentions the error.log file, you should send us a copy of your error.log file (at least the last entry which causes the error). This will help us to determine what is going wrong so we can tell you how to solve the trouble.

If you want to try your hand at examining the error.log file yourself, the most recent information will be at the bottom.  Sometimes a careful look will reveal that Liberty BASIC experienced a problem related to one kind of statement or function and this can often help you pinpoint the cause of the problem in your own code.