Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Jan 19, 2011 3:33 pm

Hi,...we are testing and evaluating your interesting software.
Our environment is W7 x64 8GB and VS 2010 with your latest demo release. 3.7.0.4.

We noticed that with some files. .doc (ie Word 97-2003) the system crashes with a memory violation.

In particular, we received an memory exception testing your example MailMerageReplaceDemo.zip taken from your site.

Code: Select all
 document.LoadFromFile (@".. \ .. \ Fax.doc ");


This is the detail.

Code: Select all

System.AccessViolationException non è stata gestita
  Message=Tentativo di lettura o scrittura della memoria protetta. Spesso questa condizione indica che altre parti della memoria sono danneggiate.
  Source=mscorlib
  StackTrace:
       in System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr source, Object destination, Int32 startIndex, Int32 length)
       in al.a(ib A_0)
       in al.a(vl A_0, Guid A_1, IDictionary A_2, PropertyType A_3)
       in al.e()
       in al.ab()
       in v6.a(al A_0, Document A_1)
       in Spire.Doc.Document.LoadFromFile(String fileName)
       in MailMerage.Form1.button1_Click(Object sender, EventArgs e) in C:\Downloads\MailMerageReplaceDemo\MailMerageReplaceDemo\Form1.cs:riga 31
       in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       in System.Windows.Forms.Control.WndProc(Message& m)
       in System.Windows.Forms.ButtonBase.WndProc(Message& m)
       in System.Windows.Forms.Button.WndProc(Message& m)
       in System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       in System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       in System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       in MailMerage.Program.Main() in C:\Downloads\MailMerageReplaceDemo\MailMerageReplaceDemo\Program.cs:riga 17
       in System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       in System.Threading.ThreadHelper.ThreadStart()
  InnerException:


With other files. doc we have the same result .... otherwise with .docx everything works fine.

Thanks in advance.

Flavio

flaviob
 
Posts: 4
Joined: Mon Jan 17, 2011 10:31 am

Thu Jan 20, 2011 2:41 am

Dear Flavio Boscarol,

Sorry for any inconvenience caused by us.
We have taken some test on 32bit Windows OS, it works fine, we will take more researches on x64 Windows OS to find the spot and fix it.

If you have any other question, please let us know.
Harry
Technical Support / Developer,
e-iceblue Support Team
User avatar

harry.support
 
Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Tue Jan 25, 2011 9:35 am

Dear Flavio Boscarol,

The bug (System.AccessViolationException on Win7 x64) posted by you has been fixed. Thank you very much.
The new Spire.Doc v3.7.1 has been released, please get it from http://www.e-iceblue.com/Download/downl ... -v371.html
Harry
Technical Support / Developer,
e-iceblue Support Team
User avatar

harry.support
 
Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Tue Jan 25, 2011 2:50 pm

Well done!! Thanks....

flaviob
 
Posts: 4
Joined: Mon Jan 17, 2011 10:31 am

Return to Spire.Doc