2 Intern

 • 

417 Posts

April 21st, 2010 05:00

Hi Ronald

I actually meant Andreas to point you at the SourceForge forums for the .Net wrapper but we can try and help you here.

The .Net wrapper is an Open Source community tool and as such is not an official EMC product or covered by any support.

What versions of Windows, Visual Studio and the .Net framework are you using?

Regards, Graham L. Stuart

Centera SDK Architect

April 21st, 2010 05:00

Hi Graham,

Windows Server 2003 R2 SP2, Fully patched

Visual Studio 2008 SP1

Target Framework Version is 3.5

Ciao

Ronald

2 Intern

 • 

417 Posts

April 21st, 2010 06:00

Well that all sounds ok. So you build and deploy in the same environment?

If this problem only occurs under heavy load then I don't see how I can reproduce it and I am not aware of anyone else having this issue.

As you have the source, and can reproduce it in your environment, then you are in a far better position to try and find the problem. I can assist you with any queries you may have relating to the internals / design of the code.

Regards, Graham L. Stuart

Centera SDK Architect

16 Posts

April 28th, 2010 22:00

I was experiencing similar symptoms, including the following errors:

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

COM surrogate has encountered a problem and needs to close. We are sorry for the inconvenience.

The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))   (-1)

The stub received bad data. (Exception from HRESULT: 0x800706F7)   (-1)

The instruction at reference memory at . The memory could not be "read">

Note that I believe the first error was actually the cause of all subsequent.

I tracked the cause of the error to where I was interfacing with the .Net Wrapper - specifically when retrieving an item from Centera, and calling Marshal.AllocHGlobal. For some reason I was calling this method as follows:

Dim source As IntPtr = Marshal.AllocHGlobal(Size - 1)

Dim streamref = New FPStream(source, blobSize, FPStream.StreamDirection.OutputFromCentera)

itemTag.BlobRead(streamref)

The blobread would then cause more memory than was allocated to be read/written, and hence a memory corruption was the result.

No Events found!

Top