Attempted to read or write protected memory - Very Serious Error :-(
TaviTruman opened this issue · 2 comments
System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
I have about 100 or so items in the local memory cloud. This application is a WPF app using TGE for a local (Embedded) Knowledge graph.
This is the second time I have encountered this problem in the past week or so. I have been using the TGE for ten years now and I have never had this type of low-level memory management error.
Here is the offending C# code calling in the TGE API:
Here is the corresponding TSL Schema Code:
There error as far as I tell occurs on line 3343:
I have uploaded the C# part of the app that encounters the error and the part of the TSL Schema
TGE-Write Protected Memory Error.zip
Okay, I have more research and the problem stems from a corrupted TGE Image source file on disk. I took a look at the TGE log files and I did see something strange; to remedy the problem I deleted the TGE image sources and reran my test and this error did not reoccur. I need to do some more systems engineering design work on the hardware (storage) side of things as well as make some changes to the "storage" configuration for GE.