Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failure in PDFsharp: "Should not come here" #152

Open
equin0x80 opened this issue Dec 5, 2021 · 0 comments
Open

Assertion failure in PDFsharp: "Should not come here" #152

equin0x80 opened this issue Dec 5, 2021 · 0 comments

Comments

@equin0x80
Copy link

equin0x80 commented Dec 5, 2021

The attached simple C# code should create a copy of the attached PDF file, copying the pages one at a time into a new PDF. Instead, it produces an assertion failure ("Should not come here") in PdfCrossReferenceTable.TransitiveClosureImplementation, as shown in the screenshot.

The equivalent code works fine with every other PDF file I have tried.

code.cs.txt
2304.pdf
scrshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants