We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Log Infos from Insiede


We have the Problem with the new Version 4.2.1, that in some constaltions, the Procces usse 100% CPU and not come back frome the Save() Methode.

In 4.1.1 the same stuff works fine.

We think that in the Save a Endless Loop is. But only with special Conditions. Is it possible to get some Log Info's from inside the Save?

Did you have a nother idee, how we find the problem?

In the moment, i can not build some example code.

Regards Markus

Hello Markus,

I am afraid until or unless we test the scenario, we might not be able to figure out the actual reasons of the problem. Please try sharing some code snippet so that we can test the scenario at our end.

We apologize for your inconvenience.


Here a peace of Code to reproduce the Problem:

//The ListSection has set a default FormatArray of three levels.

//The user can use the default three levels' list without the pain of defining the list's format.

//But if you want to define your own list format, you should define it before using the list like the example.

Pdf pdf = new Pdf();

//Add four headings.

Section sec1 = pdf.Sections.Add();

for (int Level = 1; Level != 10; Level++)


Heading heading2 = new Heading(pdf, sec1, Level);

Segment segment2 = new Segment(heading2);


heading2.IsAutoSequence = true;

segment2.Content = "this is heading of level ";

segment2.Content += Level.ToString();

//Add the heading into Table Of Contents.

//heading2.IsInList = true;

//heading2.LabelWidth = 60;

//heading2.Margin = right;



// Save the resultant PDF document



This works under 4.1.2 and under 4.2.1 it do not work.



Hello Markus,

Thanks for sharing the code snippet.

I have tested the scenario with latest version of Aspose.Pdf for .NET 4.2.0 and I am unable to notice any problem. The PDF document is being generated without any issue. For your reference, I have also attached the document, please take a look.

Can you please try using the latest release version which can be accessed over this link.


Now with this Dll it works.