Skip to content
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

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

Open
GoogleCodeExporter opened this issue Apr 25, 2016 · 1 comment
Open

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

GoogleCodeExporter opened this issue Apr 25, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant