Welcome to LEAD Technologies Support Forum Login | Register | Faq  

    LEAD Technologies Support Forum
  Resource to find answers and post technical questions about LEADTOOLS products.
Search    
   

System.AccessViolationException during file save
Started by Megadino at 04-21-2011 11:19. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  04-21-2011, 11:19
Megadino is not online. Last active: 4/21/2011 3:44:22 PM Megadino

Not Ranked
Joined on 04-21-2011
Posts 1
System.AccessViolationException during file save
Reply Quote
I receive this error whilst trying to write multi-frame TIFF files to disk.
The app is written in C#, uses .NET4, compiled to target x86 platform.
Version of Leadtools is 17
files are:
Leadtools.dll 17.0.0.5
Leadtools.Codecs.dll 17.0.0.2
Leadtools.Codecs.Tif.dll 17.0.0.2

exception sometimes is happened during saving process of large RasterImage object with 96 frames
when it is happened I usually receive two records in Windows Event log, they are:
-------------------------
Event Type:    Error
Event Source:    .NET Runtime
Event Category:    None
Event ID:    1026
Date:        21/04/2011
Time:        11:30:32 AM
User:        N/A
Computer:    MATROX-5MCUWVP1
Description:
Application: CellcuraWorkstation.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at .L_MemoryCopy(Void*, Void*, UInt32)
   at .LT_Namespace.L_CopyMemory(Byte*, Byte*, UInt32)
   at .L_CopyBitmap(_BITMAPHANDLE*, _BITMAPHANDLE*, UInt32)
   at .L_CopyBitmap(_BITMAPHANDLE*, _BITMAPHANDLE*, UInt32)
   at .L_SaveFile(Char*, _BITMAPHANDLE*, Int32, Int32, Int32, UInt32, Int32 (_BITMAPHANDLE*, Byte*, UInt32, UInt32, Void*), Void*, _SAVEFILEOPTION*)
   at Leadtools.Codecs.RasterCodecs.SaveOnePage(Int32, Leadtools.Codecs.SaveParams)
   at Leadtools.Codecs.RasterCodecs.DoSave(Leadtools.Codecs.SaveParams)
   at Leadtools.Codecs.RasterCodecs.Save(Leadtools.RasterImage, System.IO.Stream, Leadtools.RasterImageFormat, Int32, Int32, Int32, Int32, Leadtools.Codecs.CodecsSavePageMode)
   at IHMedDrawTools.MultiImageObject.SaveMultiPage(System.String, Int32)
   at IHMedControls.SavingManager.Monitoring()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

-----------------------
Event Type:    Error
Event Source:    .NET Runtime 4.0 Error Reporting
Event Category:    None
Event ID:    1000
Date:        21/04/2011
Time:        11:12:51 AM
User:        N/A
Computer:    MATROX-5MCUWVP1
Description:
Faulting application cellcuraworkstation.exe, version 1.0.0.0, stamp 4db037ed, faulting module msvcr90.dll, version 9.0.21022.8, stamp 47313dce, debug? 0, fault address 0x0002463e.

Could you help me to solve this issue?
There are some related topics:
http://support.leadtools.com/SupportPortal/CS/forums/16897/ShowPost.aspx
http://support.leadtools.com/SupportPortal/CS/forums/34328/ShowPost.aspx

the same issue was detected in version 16, but still remains.
What can I do to fix this?
Thanks,
Anton




   Report 
  04-22-2011, 15:55
Walter is not online. Last active: 4/18/2014 2:27:09 PM Walter



Top 10 Posts
Joined on 04-14-2008
Charlotte, NC
Posts 563
Re: System.AccessViolationException during file save
Reply Quote
Hello Anton,

Your DLLs are not the latest available. I'd suggest downloading the latest main installer to update your existing installation. If the problem still exists with the latest dlls, please send a small sample project that isolates this issue along with a sample image to support@leadtools.com. Please also include the following information:
1. The company you work for
2. The LEADTOOLS serial number(s) you own (if you are evaluating, just say so)
3. The name(s) of the developer(s) using the serial number
4. A link to this forum post
Walter
Technical Support
LEADTOOLS
support@leadtools.com
   Report 
Post
LEAD Technologi... » Developer » Image Processin... » System.AccessViolationException during file save

Powered by Community Server, by Telligent Systems