iphone-dataprotection icon indicating copy to clipboard operation
iphone-dataprotection copied to clipboard

ios_examiner: x = self.s.recv(ll-l) Memory error

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

hg id shows 
9253cb99a012 tip

Issue:
When I run IOS_examiner.py I get a very weird error, I think it's trying to 
tell me that it can't receive information about the device?

Connecting to device : 8df3e8c0698dee94ba4a991b4a3fa069601890d5
Traceback (most recent call last):
  File "python_scripts\ios_examiner.py", line 370, in <module>
    main()
  File "python_scripts\ios_examiner.py", line 362, in main
    client = RamdiskToolClient.get()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 39, in get
    RamdiskToolClient.instance = RamdiskToolClient()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 48, in __init
__
    self.getDeviceInfos()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 73, in getDev
iceInfos
    self.device_infos = self.send_req({"Request":"DeviceInfo"})
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 129, in send_
req
    r = self.recv_msg()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 115, in recv_
msg
    x = self.s.recv(ll-l)
MemoryError

Original issue reported on code.google.com by [email protected] on 27 Mar 2014 at 7:22

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter

can modify the file python_scripts\util\ramdiskclient.py 
after
    ll = struct.unpack("<L",l)[0]
add
    print "ll= 0x%x" % ll

also i see that the folder name is 124cd1bd3fe2 and hg id gives 9253cb99a012, 
did you recompile the ramdisk after updating ?
thanks

Original comment by [email protected] on 2 Apr 2014 at 1:12

  • Changed state: Accepted

GoogleCodeExporter avatar Mar 19 '15 02:03 GoogleCodeExporter