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

Comments

Projects
None yet
4 participants
@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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

Contributor

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

This comment has been minimized.

Member

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