Memory error - possible threading issue?


Author
Message
Andria Jensen
Andria Jensen
StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)StrataFrame User (422 reputation)
Group: Forum Members
Posts: 336, Visits: 497
Ok, let me start by saying I'm not sure if this error is occuring with you guys (StrataFrame) or with DevExpress, since I am using both here and am a little confused about where the error is occuring.  With that said, this is what is happening:

I have a lot of inherited forms, on which are XtraGrid controls.  In my application, I am getting some seemingly random memory errors on bringing up the right click menu of a grid header.  I figured this was a DevExpress issue and have already posted with them, however on further looking into it I thought I would post here as well.  In the IDE, I turned on the showing of more exceptions, including system and CLR exceptions.  When the error is occuring, I am getting the following error:

 

It then goes through the HandleThreadException method and pops this error message:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

After I let it finish I then get this:

Now, I thought this was a DevExpress issue but they are saying it is possibly because I have threads which are not handled properly and causing this error to occur.  I am not using any threads, so the only thing I could think of was possibly StrataFrame has some threading going on which is conflicting with the threading that DevExpress has going on.  If you can think of anything that might be causing an issue like this please let me know. 

Once again, this is all happening when I right click the grid header to go to the column chooser, etc.  It doesn't always happen, but it does about 80-90% of the time.  Also, when I mouse over the context menu items, the icons are now disappearing in the same menu i'm getting the errors in.  Let me know if you have any input on this or if you know of any possibly causes.  Thanks!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search