Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

AccessViolationException #14

Open
CorellianAle opened this issue Nov 14, 2017 · 1 comment
Open

AccessViolationException #14

CorellianAle opened this issue Nov 14, 2017 · 1 comment
Assignees

Comments

@CorellianAle
Copy link

I've ran into AccessViolationException after the initial setup window (where you choose online/retail and export folder path).

Here is the event log data:

Application: OBJExporterUI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at OpenTK.Graphics.OpenGL.GL.BindFragDataLocation(Int32, Int32, System.String)
   at OBJExporterUI.Shader.CompileShader(System.String)
   at OBJExporterUI.PreviewControl.RenderCanvas_Load(System.Object, System.EventArgs)
   at System.Windows.Forms.UserControl.OnLoad(System.EventArgs)
   at System.Windows.Forms.UserControl.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean)
   at System.Windows.Forms.Control.CreateControl(Boolean)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)

I am running it on a Windows 8.1 inside Parallels Virtual Machine for macOS.
I could be related to graphics and the my weird setup, but other complicated software runs fine (playstation emulators, various native rendering programs and so on). WoW runs just fine.
I am also using this setup for day-to-day C++ and C# development, so I can assist you with debug if you need, just not familiar with graphics, although I played with XNA so I might understand.

@Marlamin
Copy link
Owner

Hmm, interesting. My OpenGL implementation isn't really capable of handling different setups well yet. I've tested it on recent Intel, AMD and NVIDIA drivers but I guess Parallels runs its own graphics stack seeing it's a VM. The BindFragDataLocation call seems to be causing the access violation. Maybe I'm relying on some functionality that isn't by the standard. I'll take a look, thanks!

@Marlamin Marlamin self-assigned this Nov 14, 2017
@Marlamin Marlamin transferred this issue from Marlamin/WoWFormatTest Mar 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants