Unsolved

This post is more than 5 years old

3363

February 19th, 2010 10:00

reading clips in multithreaded environment

I keep getting this error when trying to read clip in multithreaded environment.

I keep reading clips at very fast pace .

It reads around 2000 and sometime more clips and then fails.

happening on call to FPTag.BlobReadPartial

It is in C# ,.NET enviroment.

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

at EMC.Centera.FPApi.SDK.FPTag_Close(FPTagRef inTag)

   at EMC.Centera.FPApi.Tag.Close(FPTagRef inTag)

   at EMC.Centera.SDK.FPTag.Close()

   at EMC.Centera.SDK.FPClip.Close()

   at EMC.Centera.SDK.FPObject.Dispose(Boolean disposing)

   at EMC.Centera.SDK.FPObject.Dispose()

Any help or pointers are appriciated.

2 Intern

 • 

417 Posts

February 19th, 2010 11:00

What Randall describes would normally result in an exception relating to authentication failure.

The problem being described sounds more like something that happened with earlier versions of the .NET wrapper and was due to a mismatch in calling convention signatures to the underlying C SDK. This was initially fixed by patching the IL, but since later versions of the framework allowed this type of change by addting attributes then this was incorporated.

I would suggest downloading the latest version from SourceForge (posted in November 2009) and trying that out.

2 Intern

 • 

337 Posts

March 2nd, 2010 12:00

We happened to have these errors when things between 32 bit and 64 bit stuff got mixed up.

Holger

Top