Welcome Guest Search | Active Topics | Sign In | Register

Error Message : Child process exited unexpectedly Options
Shanto
Posted: Wednesday, December 27, 2023 3:08:10 AM
Rank: Newbie
Groups: Member

Joined: 10/20/2023
Posts: 8
Can anyone help me out with this issue?
Getting this randomly on Azure App Service
Isolated v2 I2V2 Instance!



Error Message : Child process exited unexpectedly. . Inner Exception : . Stacktrace: at EO.Internal.yzay.wvmj(Exception nmy, Boolean nmz)
at EO.Internal.yzay.wvmi(yywx nmv)
at EO.Internal.yzay.wvlw(Boolean& nlt, Type[] nlu, String nlv, String nlw)
at EO.Internal.yzay.ykge(Type[] nlq, String nlr, String nls)
at EO.Internal.yyrj.qxgh()
at EO.Internal.yywn.bhrs(Action lui)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.cjba.fxqd()
at EO.Internal.cjbb.fxqd(cjba& bqu)
at EO.Internal.cjbc.fxqd(yyre bqy, cjba& bqz)
at EO.Internal.cjbf.ypjn()
at EO.Internal.cjbf..ctor(yyre brd, HtmlToPdfOptions bre)
at EO.Pdf.HtmlToPdfSession.nwur(HtmlToPdfOptions yk)
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions yh, HtmlToPdfSession yi, ResourceHandler yj)
at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options, ResourceHandler resourceHandler)
at EO.Pdf.HtmlToPdf.miug.gvue()
at EO.Internal.cjbc.ldfw[a](yywf`1 brc)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream)
at Web.Transactions.SaveNotes(String PGID, String PatID, String Receipt) in D:\a\1\s\PoW\ASPX\Utilities\Code.aspx.vb:line 851. TemUploadPath: consenttemp\. destinationFile: Receipt.pdf
Shanto
Posted: Wednesday, December 27, 2023 3:12:25 AM
Rank: Newbie
Groups: Member

Joined: 10/20/2023
Posts: 8
Also this stack trace

System.OutOfMemoryException:
at EO.Base.Runtime.ypin (EO.Base, Version=23.0.51.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc)
at EO.Base.ThreadRunnerBase.blgy (EO.Base, Version=23.0.51.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc)
at EO.Internal.yywr.blgy (EO.Base, Version=23.0.51.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc)
at System.Threading.ExecutionContext.RunInternal (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Threading.ExecutionContext.Run (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Threading.ExecutionContext.Run (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
at System.Threading.ThreadHelper.ThreadStart (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
Shanto
Posted: Wednesday, December 27, 2023 10:57:09 PM
Rank: Newbie
Groups: Member

Joined: 10/20/2023
Posts: 8
Anyone?
eo_support
Posted: Thursday, December 28, 2023 9:53:23 AM
Rank: Administration
Groups: Administration

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

We are working on this issue. We have seen this sporadically in our Azure test environment as well but we still do not have a way to reproduce it consistently. If you have any tips to reproduce it faster please share with us.

Thanks!
Shanto
Posted: Thursday, December 28, 2023 1:33:41 PM
Rank: Newbie
Groups: Member

Joined: 10/20/2023
Posts: 8
Thanks for the reply.

We also do not know how to reproduce it, it is happening randomly.

Is there an ETA for this issue as it's creating a problem for the users?
eo_support
Posted: Thursday, December 28, 2023 4:19:43 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Unfortunately we do not have an ETA yet because we have not yet found out the root cause. As we working on the issue, we will reply here again as soon as we have any update.
eo_support
Posted: Thursday, January 4, 2024 2:19:51 PM
Rank: Administration
Groups: Administration

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

We have tracked down this to low memory error and created a new build that can recover from low memory situation better. Please see your private message for the download link to the new build.

However ultimately there is no way to completely avoid crashes caused by memory restrains. Since your system is an I2V2 system which has 16GB memory, it is unlikely that a single conversion would hit this limit. As such the issue most likely occurs when you have multiple concurrent conversions. So you may want to try to reduce this value:

https://www.essentialobjects.com/doc/eo.pdf.htmltopdf.maxconcurrenttaskcount.html

This property serves as a "circuit breaker" that would fail the conversion right away if the number of concurrent conversion tasks reaches the limit. In this case a HtmlToPdfException would throw with its ErrorCode set to EngineBusy. You can detect this case in your code and act accordingly (for example, display a "server busy, please try again later" message).

If you continue to experience crashes please try to capture runtime log and send the runtime logs to us. The code would be something like this:

Code: C#
try
{
    HtmlToPdf.ConvertHtml(....);
}
catch
{
    string log = EO.Base.Runtime.GetLogs();
    //save log into a text file and send it to us
}


See here for more information on sending test file to us:

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

Make sure you update to the new build we send to you first. We will investigate further once we receive the logs.

Thanks!
Shanto
Posted: Thursday, January 4, 2024 9:31:58 PM
Rank: Newbie
Groups: Member

Joined: 10/20/2023
Posts: 8
Thanks.

Please send the new build link.
We will update it.
eo_support
Posted: Thursday, January 4, 2024 9:42:01 PM
Rank: Administration
Groups: Administration

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

We have already sent it to your through private message. Please click "Inbox" on top of the forum to view the link.

Thanks!
grchen168
Posted: Friday, January 5, 2024 12:36:34 AM
Rank: Member
Groups: Member

Joined: 8/26/2021
Posts: 28
The file in the inbox is 2023.4.8.0,

Question is: is that a "newer" version?
Because the current public release version is 2023.4.26.0.
And while trying to install the 2023.4.8.0 on a dev box with 2023.4.26.0 already installed,
the setup will complain that a "newer" version is already installed.

eo_support
Posted: Friday, January 5, 2024 9:30:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
grchen168 wrote:
The file in the inbox is 2023.4.8.0,

Question is: is that a "newer" version?
Because the current public release version is 2023.4.26.0.
And while trying to install the 2023.4.8.0 on a dev box with 2023.4.26.0 already installed,
the setup will complain that a "newer" version is already installed.



The new build was sent to Shanto. Not to you. We have now sent the new build to you.
grchen168
Posted: Friday, January 5, 2024 10:16:50 AM
Rank: Member
Groups: Member

Joined: 8/26/2021
Posts: 28
Got it, thanks.

BTW, does this build also address the performance degrdation issue reflected awhile ago by other member in converting html to pdf?
eo_support
Posted: Friday, January 5, 2024 1:45:26 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
grchen168 wrote:
Got it, thanks.

BTW, does this build also address the performance degrdation issue reflected awhile ago by other member in converting html to pdf?


No. This build does not address performance issue. There have been various performance related issues, some were resolved in previous builds, some were not reproduced/confirmed, some were closed as non issue. If you can point to a specific forum post, we should be able to give you a more definitive answer about the outcome of that particular issue.
Shanto
Posted: Monday, January 8, 2024 5:13:54 AM
Rank: Newbie
Groups: Member

Joined: 10/20/2023
Posts: 8
Thank you. I will let you know the update.


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.