-
Notifications
You must be signed in to change notification settings - Fork 332
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
DDXMLNode XMLStringWithOptions crash. #113
Comments
This is a dupe of #105 What is your proposed patch and have you confirmed it fixes the crashes you are experiencing in production? |
Hey @chrisballinger thanks for your quick response, so basically we are having these 2 crashes one in DDXMLNode.m - Line 1171 and the other on DDXMLNode.m line 1187. I am attaching screenshots for our crash logs: |
@chrisballinger According to libxml2 library you should be using xmlBufNodeDump() instead, but we have no certainty this will solve the issue, since right now we couldn't reproduce this issue. it seems to be related to #105. We think it might be because of the way this functions try to convert the xml children, but tried with multiple XML stanzas and didn't succeed reproducing this. |
@ifgs1 @diegosalazarCO Have you tried running a patched version and seeing if it affects the crash rate? If it resolves the issue please submit a pull request. Thank you! |
Hello, i am creating this issue since there is a crash that is continuously growing and we already identified.
The crash is due to a code that is using a function that is deprecated.
According to libxml2 library, we found that XMLNodeDump is deprecated based on: http://www.xmlsoft.org/html/libxml-tree.html#xmlNodeDump
"structures it is limited to 2GB and somehow deprecated, use xmlBufNodeDump() instead"
The issue is really hard to reproduce but we where able to track the root cause.
The text was updated successfully, but these errors were encountered: