Revision [1868]
This is an old revision of AgSetClip1 made by admin on 2010-04-04 18:56:31.
agSetClip: can not nest agSetClip() in win32
This has been found to lead directly to this error on "clickthrough": AssertionFailed5 ***ASSERTION FAILED: aGDIWin.c:483 cp->theWindow!=NULL.
This error can occur while using automation. It is caused by a thread safety issue inside the PARIS application itself - there's a window of time in the app where a Windows screen re-draw can potentially "collide" with a thread of PARIS automation data, resulting in this "agSetClip" error. Even older single-CPU computers were theoretically vulnerable to it, but the chance of getting this error whenever you used automation was miniscule on single-core CPUs sine the window of time in which it could happen was tiny. When multiple processor use was enabled by Mike's drivers, the chance of encountering this "window" increased - not just as simple direct multiples of probability but by an enormously greater factor. Now a heavy automation session has a better chance of triggering it than not - you're actually the third user who's reported it now. In fact Mike can replicate it there at his place with a heavy automation session.
Mike has included a workaround for this issue in a soon-to-be-released update of the PSCL; it drops the chance of encountering it back down to the original numbers (ie very unlikely), as well as containing a number of other tweaks, enhancements and updates. Contact Mike directly for an update if you encounter this error before he rolls out the update publicly.
Back to BugsTroubleshooting Bugs and Troubleshooting