Welcome Guest Search | Active Topics | Sign In | Register

WebView Preload crash with 2024.0.20 Options
Gregor Stritzinger
Posted: Tuesday, February 6, 2024 7:37:20 AM
Rank: Newbie
Groups: Member

Joined: 9/25/2018
Posts: 5
Dear essentialobjects team,

we upgraded EO.WebBrowser and EO.WebBrowser.WPF from 23.4.26 to 2024.0.20.

With the new version the same code as previous crashes.
After downgrading it works again.

Calling preload raises this exception:

Quote:

Child process exited unexpectedly.
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at EO.Internal.uxvh.fxdb..ctor(fxda nnt, String nnu)
at EO.Internal.uxvh.hqmx(uxrg nne)
at EO.Internal.uxvh.hqml(Boolean& nmc, Type[] nmd, String nme, String nmf)
at EO.Internal.uxvh.dcmv(Type[] nlz, String nma, String nmb)
at EO.Internal.uxvi.dcmv(String nrr, String nrs)
at EO.Internal.ccyh.jkgg()
at EO.Internal.ccyh.oyhm.nvfh()
at EO.Internal.uxqw.qgnc(Action luk)
at EO.Internal.ccyh.rjcg(WindowsIdentity hd)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.ujgp..ctor(WebView d)
at EO.WebBrowser.WebView.iofd()
at EO.WebBrowser.WebView.iofd(IntPtr fh, Boolean fi)
at EO.WebBrowser.ThreadRunner.kcdi(WebView aad, Int32 aae, Int32 aaf, Boolean aag)
at EO.WebBrowser.ThreadRunner.ncmd.kgbx(WebView aal, Object aam)
at EO.WebBrowser.ThreadRunner.ncmg.dgqq()
at EO.Base.ThreadRunnerBase.xyvw.qgnc()
at EO.Base.ThreadRunnerBase.xxrf(Boolean lww)
at EO.Base.ThreadRunnerBase.xxre(Boolean lwu)
at EO.Base.ThreadRunnerBase.Send(uxqo`1 action, Int32 timeoutInMS, Boolean& done)
at EO.WebBrowser.ThreadRunner.Send(WebViewCallback callback, WebView webView, Object args)
at EO.WebBrowser.ThreadRunner.kcdg(Int32 zx, Int32 zy, Boolean zz, WebViewOptions aaa)
at EO.WebBrowser.WebView.Preload(Int32 width, Int32 height, String url, WebViewCallback doneCallback, Object doneCallbackArgs)



Do you need any further information?
eo_support
Posted: Tuesday, February 6, 2024 12:45:43 PM
Rank: Administration
Groups: Administration

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

We tested Preload method here and it works fine. Please collect the runtime logs (the same log you posted in the other thread) and send it to us. See here for more details:

https://www.essentialobjects.com/doc/common/collect_logs.html

Once we have the log we will look into it and see what we can find. We may need a repro project from you if we can not find anything from the logs.

Thanks!
Gregor Stritzinger
Posted: Wednesday, February 7, 2024 4:33:29 AM
Rank: Newbie
Groups: Member

Joined: 9/25/2018
Posts: 5
Hi,

thanks for your fast response.

We fixed the issue. It was a misstake on our side.

We pass "ExtraCommandLineArgs" to the engine to modify the --user-data-dir.
The custom user-data-dir value was a invalid path. It seems the new version does not handle invalid paths as the user-data-dir value and throws a exception.
We fixed the user-data-dir value and now the preload works fine.

Thank you for your support and have a nice day.
You can close this thread.
eo_support
Posted: Wednesday, February 7, 2024 9:30:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Thanks for letting us know. Glad to hear that it's working for you now!


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.