Replies: 1 comment
-
Hi, Please contact EDRLab for issues related to the LCP library, it's a different project from the Readium Swift toolkit. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello R2LCPLibrary Support,
I hope this message finds you well. I am a developer working on an iPad app running iPadOS 16.5.1, Model: iPad (8th generation). Recently, I've been encountering a recurring crash in the R2LCPLibrary, and I am seeking your assistance in resolving this issue.
Crash Details:
Device: iPadOS 16.5.1, Model: iPad (8th generation)
Crash Occurrence: Repetitive
Crash Reason: EXC_BAD_ACCESS KERN_PROTECTION_FAILURE
Crash Location: R2LCPClient, check_buffer_for_errors_ method
Crash Stack Trace:
R2LCPClient 0xa1e8c check_buffer_for_errors_ + 492
R2LCPClient 0xa1e8c check_buffer_for_errors_ + 492
R2LCPClient 0xadd50 lcp::DRMService::decrypt(lcp::DRMContext const&, std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator>*&) + 228
R2LCPClient 0x5f3c +[LCPWrapper decrypt:encryptedData:] + 296
R2LCPClient 0x67f4 $s11R2LCPClient7decrypt4data5using10Foundation4DataVSgAG_AA10DRMContextVtF + 120
Additionally, the crash is also reported to be occurring in the following part of my app's codebase:
File: LCPLibraryService.swift
Line: 96
Issue: protocol witness for LCPClient.decrypt(data:using:) in conformance LCPClient + 96
I have attempted to review my code, but I'm unable to identify the root cause of the crash. The crash seems to be associated with the decryption process using the R2LCPClient.
Could you kindly provide me with some insights into the potential cause of this crash and any suggestions for resolving it? I would greatly appreciate your support in resolving this issue, as it is affecting the stability and user experience of my app.
Thank you very much for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions