Bug: Frequent crashes with print/export (System.AccessViolationException)
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[])
This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!
Comments
-
I can't reproduce. Can you give an example where this occurs?
Dave
===Windows 11 & Android 13
0 -
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?
0 -
Toby Steele said:
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.
This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!
0 -
I've opened a case and will let you know when it's been corrected. Thanks for the report.
0 -
This issue will be fixed in 5.1 Beta 9.
0 -
This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!
0