Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreadOpenTkControl System.AccessViolationException #2

Open
MonoMaxMW opened this issue Nov 15, 2017 · 0 comments
Open

ThreadOpenTkControl System.AccessViolationException #2

MonoMaxMW opened this issue Nov 15, 2017 · 0 comments

Comments

@MonoMaxMW
Copy link
Contributor

I'm using your control in combination with AvalonDock to use dockable Panes like with VisualStudio.
When undocking or docking the pane, sometimes a System.AccessViolationException happens.

GL.ReadPixels(0, 0, _bitmapWidth, _bitmapHeight, PixelFormat.Bgra, PixelType.UnsignedByte, _backBuffer);
_previousUpdateImageTask = RunOnUiThread(() => UpdateImage(dirtyArea));

[Exception Infos]
An unhandled exception of type 'System.AccessViolationException' occurred in OpenTK.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. occurred

OpenTkControl.AvalondockExample.zip

@MonoMaxMW MonoMaxMW reopened this Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant