The other error was also reported in Sentry with the identifier: TRN_UndoManagerDestroy. Not sure if it’s connected, but also has to be fixed. (Please see attached image):
Could you please provide insight into what might be causing this issue or suggest any possible workarounds? Let me know if you need any additional information.
Thank you for reaching out to us through our Forum. In order to further assist you, we will need you to reproduce this issue and provide a video and sample of the issue you are encountering. You can submit a support ticket with all necessary materials here: Submit a ticket : Apryse
Hello, could an update be posted as to what was the outcome here, its not easy to reproduce this issue as there is no clear indicator as to its cause, we have ~300 users experiencing this issue ~4,000 times in a 90 day period
Thank you for your response. If you could create a ticket and submit it here: Submit a ticket : Apryse
Be sure to include reproduction steps, a sample project that can reproduce the issue, and a video demonstrating the issue you are experiencing. This would be best handled as a support ticket as it requires thorough investigation. I look forward to your response.
Thank you for reaching out through our Forum. At this time, in order for us to further investigate this issue, we would require more information. You can submit a support ticket here: Submit a ticket : Apryse
and I’ll be able to follow up accordingly. Thank you for your cooperation.
Thank you for the boilerplate response, but let’s be realistic here.
The necessary source code and crash logs are already laid out perfectly in this thread. Saying you “require more information” is factually incorrect and comes across as pure professional laziness to avoid digging into the code.
We pay for Apryse/PDFTron as a premium enterprise solution, not to play ticketing ping-pong. I am experiencing the exact same production block as the OP.
Instead of making your users do your administrative work, please copy-paste the data already provided here, forward it to your dev team, and give us a real, technical answer. What is the status of this crash?
My sincerest apologies that you feel this is an inadequate response, however, it is known among our Engineering Team that the error message that arises from the UndoManagerDestroy is multifaceted in nature, and requires individual assistance for each case, as it can be any number of things, and does not pinpoint to an immediate issue. If you were to submit a Support Ticket, the investigation into the issue would be streamlined for your specific use-case. If you are looking for a solution and investigation into your project as to why this is happening, this would be the most adequate and investigative format for resolution. I look forward to your response and to further assisting you. Thank you for your understanding.
Following up on my previous post, I want to share a highly disappointing update regarding Apryse’s support.
I raised a formal Support Ticket (#96758) providing complete crash logs. Instead of actually investigating, the support team simply asked for a static “sample project” and then quietly let the ticket auto-close.
Let’s address the technical reality of this crash so other developers using this SDK are aware:
It is an asynchronous streaming race condition: The crash occurs intermittently inside TRN_UndoManagerDestroy, specifically when using PTPDFViewCtrl.OpenUrlAsync under poor network conditions.
A static sample project cannot reproduce this: Because this is a multi-threaded destruction issue tied to network latency (when a user exits the viewer while the PDF stream is still active/interrupted), a 10-line local demo will not replicate the race condition.
The bug lies in the SDK’s internal lifecycle: We have already explicitly called pdfViewCtrl.undoManager?.disableUndoRegistration() during initialization, yet the crash inside TRN_UndoManagerDestroy still persists. This strongly indicates that when the streaming view controller is being torn down, the SDK attempts to access or double-free a null/dangling pointer inside the closed-source C++ core.
Asking a paying customer to do your QA department’s job by providing a 100% reproducible demo for an intermittent, network-dependent multi-threading bug is completely unreasonable.
We do not have access to your proprietary C++ source code. But your Engineering Team does. They have our crash logs, the symbols, and the code paths for TRN_UndoManagerDestroy.
I urge the Apryse team to reopen Ticket #96758 and escalate this to an L2/L3 Mobile SDK Engineer who actually understands the memory management and asynchronous lifecycle of PTPDFViewCtrl.
We deserve a real technical analysis, not another automated ticket closure.