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

Access violation in _winapi.py #498

Closed
taumeson opened this issue Mar 10, 2015 · 4 comments
Closed

Access violation in _winapi.py #498

taumeson opened this issue Mar 10, 2015 · 4 comments

Comments

@taumeson
Copy link

@taumeson taumeson commented Mar 10, 2015

I'm running MySQL Workbench on Windows 8.1 and had to upgrade paramiko as part of a suggested bug fix on the MySQL bug tracker involving having pageant running at the same time (http://bugs.mysql.com/bug.php?id=76168). This was done successfully but I'm now receiving an access violation:

ERR [20150310-15:49:00.816] thr=1 paramiko.transport: File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE/python/site-packages\paramiko\_winapi.py", line 150, in read
ERR [20150310-15:49:00.816] thr=1 paramiko.transport: ctypes.windll.kernel32.RtlMoveMemory(out, self.view + self.pos, n)
ERR [20150310-15:49:00.818] thr=1 paramiko.transport: WindowsError: exception: access violation reading 0x00007FFE258A0000

Here is the gist of the full traceback:
https://gist.github.com/taumeson/8853980184673ba88188

I'm running Windows 8.1 x64, and I know that Windows is a secondary concern. Hopefully it's something obvious but I am out of my element.

@thorstenkampe
Copy link

@thorstenkampe thorstenkampe commented Mar 22, 2015

Same issue here (trying a simple dir):

 ctypes.windll.kernel32.RtlMoveMemory(out, self.view + self.pos, n)
OSError: exception: access violation reading 0xFFFFFFFFFFFFFFFF

Issue occurs with Python 3.4.3 64bit Python 2.7.9 32bit on same machine is fine. Python3 issue or 64-bit issue?

@thorstenkampe
Copy link

@thorstenkampe thorstenkampe commented Mar 22, 2015

The issue only occurs in Python3 64-bit, neither in Python 32-bit/64-bit nor in Python3 32-bit

@jaraco
Copy link
Contributor

@jaraco jaraco commented May 8, 2015

In back-porting #193 to jaraco.windows, the unit tests uncovered this bug as well. The fix has been released in jaraco.windows 3.3.

@bitprophet
Copy link
Member

@bitprophet bitprophet commented Nov 3, 2015

Rolling into #525, thanks @jaraco

@bitprophet bitprophet closed this Nov 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants