SetLicense on Aspose.PDF crashes .NET

@jeffblankenbiller

Can you please share some steps to replicate the issue in our environment? Are you using 23.12 (the latest) version of the API? Please let us know by sharing the sample application in .zip format so that we can test the scenario in our environment and address it accordingly.

I am encountering the same issue.
The application had been functioning smoothly for me.
However, in the past few days, I have been consistently encountering the following error:
An unhandled exception of type ‘System.ExecutionEngineException’ occurred in an Unknown Module.

I have identified that the error arises when the SetLicense() method is invoked for PDF.
There haven’t been any modifications to the code.
The only difference is that I have had several updates in the last couple of days:

-Windows 11, version 23H2
-2023-12 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5033375)
-Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.403.1928.0) - Current Channel (Broad)
-Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.403.1898.0) - Current Channel (Broad)
-Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.403.1679.0) - Current Channel (Broad)
-Update for Windows Security platform antimalware platform - KB5007651 (Version 1.0.2311.17002)
-Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.403.1636.0) - Current Channel (Broad)

I am using Aspose.PDF version 23.3.

@pristivo

Would you kindly try using 23.12 version of the API and in case you still face this issue, please let us know.

This is a Web Application targeting the .Net Framework 4.8.

These are my package references that I tried today:

  <package id="Aspose.Cells" version="24.1.0" targetFramework="net48" />
  <package id="Aspose.PDF" version="23.12.0" targetFramework="net48" />
  <package id="Aspose.Words" version="24.1.0" targetFramework="net48" />

The application throws the error when I make the call to SetLicense on Pdf.License() (Line 25 in the screenshot below).

image.png (69.5 KB)

Note that the addresses in error message changed a little from my first post.
Managed Debugging Assistant ‘FatalExecutionEngineError’
Message=Managed Debugging Assistant ‘FatalExecutionEngineError’ : ‘The runtime has encountered a fatal error. The address of the error was at 0x34706ff5, on thread 0x3c20. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.’

@jeffblankenbiller

The error looks related to .NET Runtime. Are you executing the code in Release mode? Can you please try debugging the project to get more meaningful error? Also, if possible, please share your sample web application in .zip format with us. We will test it in our environment and address the issue accordingly.

The site crashed in all environments. Debug mode when running from code while debugging gave me the error message that I previously provided with the previously attached screenshot.
Running in Release Mode, the site crashed on our Dev, Test, and Production servers.

I tried to put together a sample web application that I could share but I could not reproduce the crash.

So, while debugging in Visual Studio, I started to strip out everything from our site until I got down to just a basic unauthenticated logic page and what I found was that the call to SetLicense was not crashing.

I’m currently in the process of adding different parts of the site back into the project/solution to see if I can narrow down what exact combination is causing the problem.

@jeffblankenbiller

Sure. Please take your time and if you find any issues specific to Aspose API, please let us know.

Further testing has revealed that the problem is not specifically related to the SetLicense() method.
If I just try to create a PDF, then the .NET CLR crashes.

I am attaching a basic MVC project written in VB.NET using .NET Framework 4.8.

AsposeTest.zip (8.5 MB)

We upgraded to Windows 11 in December, so the problem may be related to Windows 11.

@jeffblankenbiller

We are checking your application and will be sharing our feedback with you soon.

@jeffblankenbiller

We tested again using your application and did not notice any issues. Attached is the output PDF that we obtained from your project.
HelloWorld.pdf (85.7 KB)

Can you please try to test this application in another system. The issue may be related to the missing configurations. Please try to install missing runtime packages and see if that helps.

PS: We tested in Windows 11.

A coworker working on this problem appears to have tracked the issue down to a setting in the Trellix Endpoint Security software.

Under Adaptive Threat Protection, there is an option for “Enable enhanced script scanning”. This enables integration with AMSI (Antimalware Scan Interface). When this was disabled, the test application was able to run successfully. When enabled, the test application crashed.

@jeffblankenbiller

Particular Antivirus and Antimalware can block the execution of certain applications and scripts. It does not look like the issue related to Aspose.PDF. Please let us know if you have further concerns.

After removing Trellix, we were able to get more details about the crash.

Further investigation revealed that the problem occurs when Aspose.Pdf.HtmlLoadOptions includes a basePath for the site and the HTML to be converted includes jQueryUI.

Removing the basePath allows for the HTML with jQueryUI to be converted to PDF, but images are not rendered in the PDF.
Including the basePath but removing jQueryUI allows for the HTML with images to be successfully converted to PDF, but jQueryUI is a required part of our page template.
Including the basePath and attempting to convert HTML with jQueryUI causes a StackOverflowException.

Included is a new test solution.
AsposeTest.zip (226.8 KB)

When the crash occurs, we now get:
System.StackOverflowException: ‘Exception of type ‘System.StackOverflowException’ was thrown.’

The call stack shows that there is some kind of loop occuring.
Notice the line that says [The 28 frame(s) above this were repeated 183 times]

Name Language
System.Core.dll!System.Collections.Generic.HashSet<#=zIvPn4TYx2yB36nLPRA==>.SetCapacity(int newSize, bool forceNewHashCodes) Line 986 C#
System.Core.dll!System.Collections.Generic.HashSet<#=zIvPn4TYx2yB36nLPRA==>.AddIfNotPresent(#=zIvPn4TYx2yB36nLPRA== value) Line 1040 C#
Aspose.PDF.dll!#=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=zbY4Wohrv8SJt.#=z_ebqpzGMR$WfUj8vdQ==.MoveNext() Unknown
Aspose.PDF.dll!#=zIK6vVY$L0MIAissC7a_hzHU=.#=zTR558JFaUF4Y(out #=zhysaLtvxs7f_v9lSkVKTmFs= #=zngtOmTw=) Unknown
Aspose.PDF.dll!#=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=zAktgQKMYNqA8(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=, #=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_ #=z3RqtJoE=, #=zRbJ_b0rHbpyRUXz4epNkJ_ixmEq8yT0oAgEdJv4= #=zvTEhNr4=, #=zIK6vVY$L0MIAissC7a_hzHU= #=z1pf4gpE4nzPy, #=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=zg5jGSts= #=zu9vuhUE=, #=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=zzQWTUlfb$UFB #=zap67Ee0=, #=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=z5E93h1s= #=zP26ZAAA=) Unknown
Aspose.PDF.dll!#=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=zyN3jg_UzA6xS(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zkSTIUDp4T3KTug9ERWhUx7A3lUZ_.#=zcJimS3U=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z15$IjndEk0AB1IWcJHPoX6qe_RnG9Yy$sw==.#=zfnGpyWx25sDG(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z428psxoaCGCSDpnDiJcw_prwlDbyI6etJQ==.#=zJqMAJ1cjU_c5(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z428psxoaCGCSDpnDiJcw_prwlDbyI6etJQ==.#=zyN3jg_UzA6xS(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zkSTIUDp4T3KTug9ERWhUx7A3lUZ_.#=zcJimS3U=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zmRn3bLk3DrVUZtoHhCpOJyUhBhNO.#=zVB2tKO_dzucU(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=, #=z2Bkw8fvLuz3vYSG1701bGYI= #=z5ca2A4I=, #=zIvPn4TYx2yB36nLPRA==[] #=zuB2hnI8=) Unknown
Aspose.PDF.dll!#=z12RKPagme0SU4eVsX6v9LF_NUPQp.#=zr6XzXH4=(#=zIvPn4TYx2yB36nLPRA== #=zH4hCPQygvEQm, #=zIvPn4TYx2yB36nLPRA==[] #=zQxVD02U=) Unknown
Aspose.PDF.dll!#=zQRNGhB7Y$n4VeRugGI9XBVggL0hpeKz5qg==.#=z15RS2FRKFvsL(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWN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mEq8yT0oAgEdJv4= #=zvTEhNr4=, #=zIK6vVY$L0MIAissC7a_hzHU= #=z1pf4gpE4nzPy, #=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=zg5jGSts= #=zu9vuhUE=, #=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=zzQWTUlfb$UFB #=zap67Ee0=, #=zg5XHMy$DdaVasZeAtxyoMJLD4JIdY2wsbw==.#=z5E93h1s= #=zP26ZAAA=) Unknown
[The 28 frame(s) above this were repeated 183 times]
Aspose.PDF.dll!#=zMaIMI72hcY4F8sTAoJA3iXJXFwZ5wCRGJg==.#=z15RS2FRKFvsL(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zF_DLDb0=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zvct4CgA=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z5EMgqSteAPwSkYmvefDEORKRU$5sCshp3w==.#=zRpSlRR3epvga.#=z1OGObA4=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z5EMgqSteAPwSkYmvefDEORKRU$5sCshp3w==.#=zRpSlRR3epvga.#=z15RS2FRKFvsL(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zF_DLDb0=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zvct4CgA=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
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VUZtoHhCpOJyUhBhNO.#=zVB2tKO_dzucU(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=, #=z2Bkw8fvLuz3vYSG1701bGYI= #=z5ca2A4I=, #=zIvPn4TYx2yB36nLPRA==[] #=zuB2hnI8=) Unknown
Aspose.PDF.dll!#=z12RKPagme0SU4eVsX6v9LF_NUPQp.#=zr6XzXH4=(#=zIvPn4TYx2yB36nLPRA== #=zH4hCPQygvEQm, #=zIvPn4TYx2yB36nLPRA==[] #=zQxVD02U=) Unknown
Aspose.PDF.dll!#=zQRNGhB7Y$n4VeRugGI9XBVggL0hpeKz5qg==.#=z15RS2FRKFvsL(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zF_DLDb0=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zvct4CgA=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zF_DLDb0=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zvct4CgA=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z5EMgqSteAPwSkYmvefDEORKRU$5sCshp3w==.#=zRpSlRR3epvga.#=z1OGObA4=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z5EMgqSteAPwSkYmvefDEORKRU$5sCshp3w==.#=zRpSlRR3epvga.#=z15RS2FRKFvsL(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
A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wlDbyI6etJQ==.#=zyN3jg_UzA6xS(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zkSTIUDp4T3KTug9ERWhUx7A3lUZ_.#=zcJimS3U=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zmRn3bLk3DrVUZtoHhCpOJyUhBhNO.#=zVB2tKO_dzucU(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=, #=z2Bkw8fvLuz3vYSG1701bGYI= #=z5ca2A4I=, #=zIvPn4TYx2yB36nLPRA==[] #=zuB2hnI8=) Unknown
Aspose.PDF.dll!#=z12RKPagme0SU4eVsX6v9LF_NUPQp.#=zr6XzXH4=(#=zIvPn4TYx2yB36nLPRA== #=zH4hCPQygvEQm, #=zIvPn4TYx2yB36nLPRA==[] #=zQxVD02U=) Unknown
Aspose.PDF.dll!#=zQRNGhB7Y$n4VeRugGI9XBVggL0hpeKz5qg==.#=z15RS2FRKFvsL(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zF_DLDb0=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z1d3nslpnQ5oWNZsljssGg5VZ_vJ_.#=zvct4CgA=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z5EMgqSteAPwSkYmvefDEORKRU$5sCshp3w==.#=zRpSlRR3epvga.#=z1OGObA4=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=z5EMgqSteAPwSkYmvefDEORKRU$5sCshp3w==.#=zRpSlRR3epvga.#=z15RS2FRKFvsL(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose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io= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zkSTIUDp4T3KTug9ERWhUx7A3lUZ_.#=zcJimS3U=(#=zaDDLmOqIVfPQ3ow7VvAyXio= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zowxQWMXofoqo.#=z73xUFOKImQ4R(#=zTa6de3AvJndKLF977CqHBho= #=zAKumZSUxZZho) Unknown
Aspose.PDF.dll!#=zowxQWMXofoqo.#=zmBnkydVNCLhMyPVtfKsx9e0=.#=z$DzPqYSj2Y7TEpzY9Q==() Unknown
Aspose.PDF.dll!#=zowxQWMXofoqo.#=zLFpNg$VYu9jN<System.__Canon>(bool #=z4IiqtAg=, System.Func<System.__Canon> #=z9DdzisU=) Unknown
Aspose.PDF.dll!#=zowxQWMXofoqo.#=zcJimS3U=(#=zWVxlvUM72VkqWfLHb$vN44g= #=zjYBXP98=) Unknown
Aspose.PDF.dll!#=zowxQWMXofoqo.#=zF_DLDb0=(#=zWVxlvUM72VkqWfLHb$vN44g= #=zjYBXP98=) Unknown
Aspose.PDF.dll!#=zRqQUSDZ_q9knwtkmka9dTxKJJgj29dd8onlf_ls=.#=zhEAoEf4=(#=zKZebkOJeOTUW3UaKWMKDatBJoiiMdcBgSA== #=zAKumZSUxZZho, #=zkH2AoQFDRPRJy0Po05a0UZ8= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zb9h_Ynt98ajdM$e7yZS$3l_ZX6gr.#=z5u2gYD99Xdso(#=zbVywGrBos6DlneGLEmsYgPEKDr_u #=zjYBXP98=, #=zkH2AoQFDRPRJy0Po05a0UZ8= #=zWrUpMuA=) Unknown
Aspose.PDF.dll!#=zb9h_Ynt98ajdM$e7yZS$3l_ZX6gr.#=zMSBuRqKaac4t(#=zCnBF4YqHYzJ_cqpAWrDhFOS1T2suJhxUrr7xIuc= #=zjYBXP98=, #=zUQG87uC663bi8kDuHIESnpI= #=zjHvFwv4=) Unknown
Aspose.PDF.dll!#=ztDSigxNIM53gsUtOCWBXD2Ltcv1GVjDTCuaP3Bg=.#=z1FfwRjz$VhcCcnq4Qw==.#=zXXnWEZ8oiPQ3() Unknown
Aspose.PDF.dll!#=zztuIPG_KDWYF0VuP9IOmEeNTHUJY.#=zcJimS3U=() Unknown
Aspose.PDF.dll!#=z9miKJx0rC_IjBcDgyfbksLmOyq9zUcw3wQ==.#=z5$5hmXbtd$ff(object #=zihA9NqA=) Unknown
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
mscorlib.dll!System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() Unknown
mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() Unknown
[Native to Managed Transition]

@jeffblankenbiller

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-56672

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

When we first deployed our HTML to PDF conversion process, we were using Aspose.PDF for .NET version 23.5.0.

We installed v23.5 for testing and the HTML with jQueryUI and a basePath was successfully converted to PDF.
We installed v23.6 and the HTML was again successfully converted to PDF.
We installed v23.7 and the HTML was successfully converted to PDF, but we got an ObjectDisposedException about a minute later.

Searching the forums found this post that exactly described what happened. ObjectDisposedException in Application eventlog when used on IIS - Free Support Forum - aspose.com where you issued PDFNET-55580.

We continued to install each version of Aspose.PDF until we found that v23.12 caused the StackOverflowException by converting HTML with jQueryUI and a basePath where you issued PDFNET-56672.

At this time, we must stay at version 23.6.0 until PDFNET-55580 and PDFNET-56672 are resolved.

I hope that this information helps to determine the cause of the problems.

@jeffblankenbiller

Thanks for sharing your findings. Yes, this information would definitely help in investigation. We will let you know once we have some updates about ticket resolution.

Hi,
I am also facing this issue with using Aspose.PDF .Net version 24.5

Is this issue resolved in the latest version

@devseclore

We are afraid that the earlier logged ticket hasn’t been closed yet. Have you tried with 24.7 version? Please let us know in case you are facing similar issue with the latest version of the API as well.

We tried with 24.7, 24.8, 24.4, 24.5 and even 23.1 and still the same behaviour

@devseclore

Is your issue also related to HTML to PDF conversion? Can you please share some more details like sample files and the code snippet along with your environment details? We will log a dedicated ticket for you and share the ID with you.