Attempted to read or write protected memory when resizing window
Hi Noesis team,
I'm getting a System.AccessViolationException when, under certain circumstances, resizing the MainWindow of my application. My question is, what can I do to find the root cause of the exception. The stack trace tells me that Noesis.App.dll throws the exception but I have no other information as to what is causing it.
The exception: Exception thrown: 'System.AccessViolationException' in Noesis.App.dll
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The stack trace:
Noesis.App.dll!NoesisApp.Window.Render(double time)
Noesis.App.dll!NoesisApp.Application.Run.AnonymousMethod__51_0(NoesisApp.Display d)
Noesis.App.Displays.Win32.dll!NoesisApp.Win32Display.EnterMessageLoop(bool runInBackground)
Noesis.App.dll!NoesisApp.Application.Run()
I cannot reproduce this in a simpler scenario and I also cannot reproduce it using one of the samples.
Thank you
I'm getting a System.AccessViolationException when, under certain circumstances, resizing the MainWindow of my application. My question is, what can I do to find the root cause of the exception. The stack trace tells me that Noesis.App.dll throws the exception but I have no other information as to what is causing it.
The exception: Exception thrown: 'System.AccessViolationException' in Noesis.App.dll
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The stack trace:
Noesis.App.dll!NoesisApp.Window.Render(double time)
Noesis.App.dll!NoesisApp.Application.Run.AnonymousMethod__51_0(NoesisApp.Display d)
Noesis.App.Displays.Win32.dll!NoesisApp.Win32Display.EnterMessageLoop(bool runInBackground)
Noesis.App.dll!NoesisApp.Application.Run()
I cannot reproduce this in a simpler scenario and I also cannot reproduce it using one of the samples.
Thank you
-
sfernandez
Site Admin
- Posts: 3107
- Joined:
Re: Attempted to read or write protected memory when resizing window
Could you please create a ticket in our bugtracker attaching the crash dump?
Are you using the original source code for the NoesisApp library or do you have any local modifications?
Are you using the original source code for the NoesisApp library or do you have any local modifications?
Re: Attempted to read or write protected memory when resizing window
I have no local modifications, using the original NoesisApp.
I just posted an issue to the bugtracker. Thank you.
https://www.noesisengine.com/bugs/view.php?id=3600
I just posted an issue to the bugtracker. Thank you.
https://www.noesisengine.com/bugs/view.php?id=3600
Who is online
Users browsing this forum: Google [Bot], sfernandez and 16 guests