idevicebackup2 fails with iOS 5.0.1/iPad2 - plist parsing error ?
-
Pierre M
After investigating the whole stack (libplist, libxml2), it seems that the XML is indeed invalid.
patching libxml2 as follows would temporarily fix itdiff --git a/parser.c b/parser.c index 72a467c..a501cdb 100644 --- a/parser.c +++ b/parser.c @@ -4431,9 +4431,9 @@ xmlParseCharDataComplex(xmlParserCtxtPtr ctxt, int cdata) { } if ((cur != 0) && (!IS_CHAR(cur))) { /* Generate the error and skip the offending character */ - xmlFatalErrMsgInt(ctxt, XML_ERR_INVALID_CHAR, - "PCDATA invalid Char value %d\n", - cur); + // xmlFatalErrMsgInt(ctxt, XML_ERR_INVALID_CHAR, + // "PCDATA invalid Char value %d\n", + // cur); NEXTL(l); } } -
Martin S.
- State changed from new to open
- Tag set to ios 5.0.1, ipad 2, idevicebackup2, parsing, plist
- Assigned user set to Nikias Bassen
- Milestone set to 1.4.0 Release
- Milestone order changed from 190954 to 0
Thanks for reporting this, we'll have to patch this higher in the stack though.
Which version of libimobiledevice do you use?
Are you using latest git master?
Would it be possible to supply a communication debug log of the process?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.