Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7206] 64 bit python fails on Windows 7

 

 

First page Previous page 1 2 Next page Last page  View All Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 5, 2009, 5:48 AM

Post #26 of 30 (279 views)
Permalink
[issue7206] 64 bit python fails on Windows 7 [In reply to]

Carey <carey.metcalfe [at] gmail> added the comment:

In the other issue there was a fix that involved unhiding the recent
files list. I unhid the files in the .idlerc folder and everthing works now.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 17, 2009, 9:38 PM

Post #27 of 30 (262 views)
Permalink
[issue7206] 64 bit python fails on Windows 7 [In reply to]

Rich Healey <richo [at] psych0tik> added the comment:

I've done some more fiddling with the debugger, once I discovered the
Windows symbol servers, and a tool called application verifier some
things started to fall into place.

LuaPriv takes care of user privelidges, the program runs fine when I run
it as administrator. I believe that disabling UAC has caused the issue.

I will attempt 2 things
a) Create a new user account on this machine to see if the issue is
ongoing.
b) Try to fiddle more with the debugger to find the last python call in
the stack.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 17, 2009, 9:46 PM

Post #28 of 30 (262 views)
Permalink
[issue7206] 64 bit python fails on Windows 7 [In reply to]

Rich Healey <richo [at] psych0tik> added the comment:

I have an apology to make for wasting your time.

Further investigation demonstrates that it was evidently fiddling with
the Application Verifier that broke everything (although I installed it
during my debugging attempts- I'm guessing that something else in VS has
the same capabilities).

By disabling all tests the application runs, by reenabling them it stops
again.

I now have a few questions

1) How can the verifier add the flags to the loading mechanism to add
the breaks? In that when I installed different versions/clean reinstall
of the same version it was still broken. Clearly it doesn't patch the
binary, but leaves a flag somewhere (???) about the binary?

2) OK by the looks of it I only had one question ;)

thanks for all your help!

----------
status: open -> closed

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 17, 2009, 10:13 PM

Post #29 of 30 (263 views)
Permalink
[issue7206] 64 bit python fails on Windows 7 [In reply to]

Martin v. Löwis <martin [at] v> added the comment:

See the section "How Does AppVerifier Work?" in

http://msdn.microsoft.com/en-us/library/aa480483.aspx

This doesn't answer your question fully, as it fails to explain how
precisely they hook into the app.

ISTM that they use the HKLM\Software\Microsoft\Windows
NT\CurrentVersion\Image File Execution Options registry hook. For each
executable (such as python.exe), you can specify an alternative binary
that gets launched whenever somebody is asking to launch python.exe
(IIUC, by setting the "Debugger" value on the registry key). In case of
appverifier, they probably then load the original binary, do their entry
point rewriting, and start the binary.

There actually *is* a second question: what is it that AppVerifier
complains about? It may be useful to run Python in AppVerifier to detect
bugs - but any outcome of this is out of scope of this report, it seems.
If you are curious to look into this further, that would be much
appreciated.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 18, 2009, 6:57 PM

Post #30 of 30 (261 views)
Permalink
[issue7206] 64 bit python fails on Windows 7 [In reply to]

Rich Healey <richo [at] psych0tik> added the comment:

I looked into it a bit further.

With some trial and error I narrowed the source of the problem to be the
'KernelModeDriverInstall' option under compatibility. I believe this
isn't a problem, because python shouldn't be trying to install drivers,
and even if it needed to presumably that would be nested in something
loaded dynamically, rather than the original image so it could catch the
issue and deal with it.

I will try to reproduce this on another machine to double check my
logic. Thanks again for all your help Martin.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

First page Previous page 1 2 Next page Last page  View All Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.