Bug: Frequent crashes with print/export (System.AccessViolationException)

Page 1 of 1 (7 items)
This post has 6 Replies | 0 Followers

Posts 13397
Mark Barnes | Forum Activity | Posted: Sun, May 19 2013 1:38 PM

I'm getting fairly frequent crashes when using print/export. Unfortunately, the crash isn't writing an error message or call stack to the logs. But looking at Windows event view, I see this:

Application: Logos.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at .ParaListDisplayState.SetLayoutEvaluator(ParaListDisplayState*, IColumnPositionCallback*)
   at Libronix.DigitalLibrary.Logos.LogosContentDisplayElement.SetLayoutEvaluator(Libronix.DigitalLibrary.IResourceDisplayColumnLayoutEvaluator)
   at Libronix.DigitalLibrary.Logos.LogosResourceDisplayModel.OnLayoutEvaluatorChanged(Libronix.DigitalLibrary.IResourceDisplayColumnLayoutEvaluator)
   at LDLS4.Panels.ResourcePanel.ResourceViewModelPanelExporter+d__2.MoveNext()
   at Libronix.Utility.Threading.AsyncWorkerTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].EnumMoveNext()
   at Libronix.Utility.Threading.AsyncWorkerTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ContinueExecution(System.Object)
   at Libronix.Utility.Threading.AsyncWorker.DoStart[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Libronix.Utility.Threading.AsyncWorkGroup, System.Collections.Generic.IEnumerable`1, Libronix.Utility.Threading.AsyncWorkOptions, System.Threading.CancellationToken, Libronix.Utility.Threading.ISynchronizationContext, System.Func`3<Libronix.Utility.Threading.AsyncWorkItem`1<System.__Canon>,System.Threading.CancellationTokenSource[],System.__Canon>)
   at Libronix.Utility.Threading.AsyncWorker.Start[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Libronix.Utility.Threading.AsyncWorkGroup, System.Collections.Generic.IEnumerable`1, Libronix.Utility.Threading.AsyncWorkOptions, System.Threading.CancellationToken, Libronix.Utility.Threading.ISynchronizationContext)
   at Libronix.Utility.Threading.AsyncActions.Execute[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1, Libronix.Utility.Threading.AsyncWorkOptions, Libronix.Utility.Threading.AsyncWorkItem`1<System.__Canon> ByRef)
   at LDLS4.Panels.ExportPanel.ExportViewModel+d__58.MoveNext()
   at Libronix.Utility.Threading.AsyncWorkerTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].EnumMoveNext()
   at Libronix.Utility.Threading.AsyncWorkerTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ContinueExecution(System.Object)
   at Libronix.Utility.Threading.AsyncWorker.DoStart[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Libronix.Utility.Threading.AsyncWorkGroup, System.Collections.Generic.IEnumerable`1, Libronix.Utility.Threading.AsyncWorkOptions, System.Threading.CancellationToken, Libronix.Utility.Threading.ISynchronizationContext, System.Func`3<Libronix.Utility.Threading.AsyncWorkItem`1<System.__Canon>,System.Threading.CancellationTokenSource[],System.__Canon>)
   at Libronix.Utility.Threading.AsyncWorker.Start(Libronix.Utility.Threading.AsyncWorkGroup, System.Collections.Generic.IEnumerable`1, Libronix.Utility.Threading.AsyncWorkOptions, System.Threading.CancellationToken, Libronix.Utility.Threading.ISynchronizationContext)
   at Libronix.Utility.Windows.Threading.DispatcherAsyncWorker.Start(System.Windows.Threading.Dispatcher, Libronix.Utility.Threading.AsyncWorkGroup, System.Collections.Generic.IEnumerable`1, Libronix.Utility.Threading.AsyncWorkToken ByRef)
   at LDLS4.Panels.ExportPanel.ExportViewModel.StartRefreshPrintPreviewWork()
   at Libronix.Utility.Windows.DispatcherCaller.DispatcherTimer_Tick(System.Object, System.EventArgs)
   at System.Windows.Threading.DispatcherTimer.FireTick(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   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.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at LDLS4.OurApp.InitializeAndRun(System.Collections.ObjectModel.ReadOnlyCollection`1, Libronix.Utility.Threading.SingleInstanceManager)
   at LDLS4.OurApp.Main(System.String[])
Posts 25653
Forum MVP
Dave Hooton | Forum Activity | Replied: Sun, May 19 2013 6:06 PM

I can't reproduce. Can you give an example where this occurs?

Dave
===

Windows 10 & Android 8

Posts 295
LogosEmployee
Toby Steele (Faithlife) | Forum Activity | Replied: Mon, May 20 2013 11:55 AM

Mark,

I'm able to replicate this on Windows as I click through the different articles in the Print/Export panel. Does this jive with what you're experiencing?

Posts 13397
Mark Barnes | Forum Activity | Replied: Mon, May 20 2013 12:16 PM

Toby Steele:

Mark,

I'm able to replicate this on Windows as I click through the different articles in the Print/Export panel. Does this jive with what you're experiencing?

Yes, that's right. It happens when I'm clicking to add a section.

Posts 295
LogosEmployee
Toby Steele (Faithlife) | Forum Activity | Replied: Mon, May 20 2013 12:39 PM

I've opened a case and will let you know when it's been corrected. Thanks for the report.

Posts 777
Brisa Davis | Forum Activity | Replied: Tue, May 21 2013 11:18 AM

This issue will be fixed in 5.1 Beta 9.

Posts 13397
Mark Barnes | Forum Activity | Replied: Tue, May 21 2013 2:42 PM

Brisa Davis:

This issue will be fixed in 5.1 Beta 9.

Great. Thanks.

Page 1 of 1 (7 items) | RSS