[fpc-pascal] what is the possible cause of EPrivilege Privileged instruction ?

Snorkl e tony.caduto at gmail.com
Wed Oct 26 18:19:34 CEST 2016


Your not using teventobject in your threads are you?
There is a bug in the RTL which could cause weird issues with threads if
you are using teventobject.create.

On Oct 26, 2016 10:58 AM, "Dennis" <dec12 at avidsoft.com.hk> wrote:

> I have a multi threaded program which executes a list of tasks in real
> time.
> It is difficult to debug with a debugger on this program (since debugging
> will pause the execution which will be messy for this application).
>
> So, I log the exceptions to a log file and I found this exception:
> EPrivilege    Privileged instruction
>
> What could possibly raise this exception?
>
> My program is win 32 from Lazarus 1.7  FPC 3.1.1
> and running on Win 7 64 bit.
>
> thanks in advance.
>
> Dennis
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161026/41b06ce2/attachment.html>


More information about the fpc-pascal mailing list