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

Stephen Chrzanowski pontiac76 at gmail.com
Thu Oct 27 12:07:06 CEST 2016


If you can, change the app so that it'll also output what parameters and
calls are being passed in as well.  Drop in a debug statement or two on
entrance and exit to any and all functions within the thread.  Then keep an
eye on the logs.

Check this thread on Stack Overflow;

http://stackoverflow.com/questions/89607/what-is-a-privileged-instruction


On Wed, Oct 26, 2016 at 11:57 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/20161027/0d1abcc1/attachment.html>


More information about the fpc-pascal mailing list