python2.1 pythonw.exe base address
Tim Roberts
timr at probo.com
Wed Jul 18 01:48:44 EDT 2001
Robin Becker <robin at jessikat.fsnet.co.uk> wrote:
>I don't know how much this is of real interest, but using the latest
>proc explorer from http://www.sysinternals.com/ I notice that
>pythonw.exe has a base address of 0x1e190000, but that python21.dll
>wants to reside at 0x1e100000 and has a length of 0xAF000, the result is
>that python21.dll gets relocated.
Yes; "link /dump /headers" shows the same thing.
Why isn't pythonw.exe based at 00400000 like most well-behaved executables?
Rebasing to 1E190000 unnecessarily fragments linear space.
>Redefining the base address of pythonw to be something non-controversial
>that didn't overlap would be a zero cost win for tk apps.
>
>as an aside it seems that tcl83.dll and _tkinter.pyd are also relocated,
>but I don't know the desired base address.
tcl83.dll is at the default base of 10000000. _tkinter.pyd is set to
1E190000, same as pythonw.exe.
I have to believe the pythonw.exe base address is a bug.
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list