Welcome Guest Search | Active Topics | Sign In | Register

Crash in EO 2023.1.45 Options
JW
Posted: Friday, March 24, 2023 11:34:59 AM
Rank: Advanced Member
Groups: Member

Joined: 2/8/2019
Posts: 57
We've recently moved to the latest EO build and have seen the following crash in our production app. No crash dump was produced, just this exception which we logged.

Any thoughts about what may have caused this? It happen as the application was starting up.

2023-03-24 15:22:30,708 [1] ERROR App - Unhandled exception detected
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> EO.Internal.ivpr+meqc: Child process exited unexpectedly.
at EO.Internal.ivpr.ufsd(Exception nmz, Boolean nna)
at EO.Internal.ivpr.ufsc(ivlq nmw)
at EO.Internal.ivpr.ufrq(Boolean& nlu, Type[] nlv, String nlw, String nlx)
at EO.Internal.ivpr.tlob(Type[] nlr, String nls, String nlt)
at EO.Internal.fojq.uolo()
at EO.Internal.ivlg.aekt(Action lui)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.mqqi..ctor(WebView d)
at EO.WebBrowser.WebView.wlms()
at EO.WebBrowser.WebView.wlms(IntPtr ff, Boolean fg)
at EO.Wpf.WebViewHost.ltvz.gswx()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)



I'm not sure if this helps, but when we tried to close the app we then got a second unhandled exception (which I assume was due to the process crash reported in the first):

2023-03-24 15:23:01,805 [1] FATAL App - Unhandled exception detected - Terminating
System.Exception: Destroy must be called from the same thread the WebView is created.
at EO.WebBrowser.WebView.vcfj(Boolean fo)
at EO.Wpf.WebViewHost.ltvz.Dispose(Boolean disposing)
at System.Windows.Interop.HwndHost.WeakEventDispatcherShutdown.OnShutdownFinished(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(Object state)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.Dispatcher.ShutdownImpl()
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at App.Main()
eo_support
Posted: Monday, March 27, 2023 11:04:15 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

Can you try to capture our internal runtime logs when this occurs? You can collect the log by handling Application.Current.DispatcherUnhandledException event and then use the following code inside your event handler:

Code: C#
string logs = EO.Base.Runtime.GetLogs();
File.WriteAllText(log_file, logs);


You can then send the log file to us through contact us page:

https://www.essentialobjects.com/forum/topics3_Support.aspx

Once we receive the logs, we will look into it and see what we can find.

Thanks!

JW
Posted: Tuesday, March 28, 2023 4:39:46 AM
Rank: Advanced Member
Groups: Member

Joined: 2/8/2019
Posts: 57
Thanks, we've amended our code to include this logging. I'm struggling to reproduce the crash on the bench. If I can, I'll reply to this post. If not, there isn't a lot more any of us can do! :)
eo_support
Posted: Tuesday, March 28, 2023 1:48:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
No problem. Please keep us updated.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.