Win32 Zope 2.5 BUG

Robin Becker robin at jessikat.fsnet.co.uk
Mon Feb 4 19:48:38 CET 2002


I've been having a few problems with Zope 2.5 running as a service under win2k.

I have Python 2.1.2 already installed in C:\Python. Win32all 145 is installed in the normal way so
C:\Python\win32 is the extensions directory for win32all. I have installed Zope-2.5.0 in

c:\Python\ZOPE_2_5_0

Using ProcExp 5.23 (www.sysinternals.com) I see the DLLs that
are being used by c:\Python\Pythonservice.exe (see below).
All looks OK except that I'm getting mixed DLLs/pyds. In particular
1) C:\WINNT\system32\PyWinTypes21.dll
2) C:\Python\win32\win32api.pyd 
3) C:\Python\ZOPE_2_5_0\bin\lib\win32\PyWinTypes21.dll
    etc

This seems like a potential security hole and/or a source of very hard
to figure out bugs. I'm not sure if there's any real harm, but I have problems
starting/stopping cleanly.

NB the same problem is happening in the python.exe started by Pythonservice that
is the actual zope server.

Process: PYTHON~1.EXE Pid: 736

Base       Size       MM    Description                                      Version          Time                Path
0x240000   0x16000    *                                                                       07/12/1999 12:00    C:\WINNT\system32\unicode.nls 
0x260000   0x2F000    *                                                                       07/07/2000 19:05    C:\WINNT\system32\locale.nls 
0x290000   0x41000    *                                                                       07/12/1999 12:00    C:\WINNT\system32\sortkey.nls 
0x2E0000   0x4000     *                                                                       07/07/2000 19:05    C:\WINNT\system32\sorttbls.nls 
0x8E0000   0x2000     *                                                                       07/12/1999 12:00    C:\WINNT\system32\ctype.nls 
0xAF0000   0x10000          Common Python 2.1 types for win32                2.01.0000.0145   18/01/2002 15:29    C:\WINNT\system32\PyWinTypes21.dll 
0x1E100000 0xAF000          Python Core                                      2.01.0017.1010   25/01/2002 13:42    C:\Python\ZOPE_2_5_0\bin\lib\win32\python21.dll 
0x1E200000 0xF000           Python Win32 API extensions                      2.01.0000.0145   18/01/2002 15:29    C:\Python\win32\win32api.pyd 
0x1E600000 0x10000          Common Python 2.1 types for win32                2.01.0000.0140   22/06/2001 10:47    C:\Python\ZOPE_2_5_0\bin\lib\win32\PyWinTypes21.dll 
0x1E700000 0x8000           Python Win32 Thread and Process extensions       2.01.0000.0140   22/06/2001 10:47    C:\Python\ZOPE_2_5_0\bin\lib\win32\win32process.pyd 
0x1E800000 0x7000           Python Win32 Event extensions                    2.01.0000.0140   22/06/2001 10:47    C:\Python\ZOPE_2_5_0\bin\lib\win32\win32event.pyd 
0x1EA00000 0x7000           Python NT Service extensions                     2.01.0000.0140   22/06/2001 10:47    C:\Python\ZOPE_2_5_0\bin\lib\win32\win32service.pyd 
0x1EB00000 0x8000           Python Service Dispatcher Exe                    2.01.0000.0140   22/06/2001 10:47    C:\Python\ZOPE_2_5_0\bin\lib\win32\PythonService.exe 
0x75E60000 0x1A000          Windows 2000 IMM32 API Client DLL                5.00.2195.2821   04/05/2001 19:05    C:\WINNT\system32\imm32.dll 
0x779B0000 0x9B000                                                           2.40.4517.0000   04/05/2001 19:05    C:\WINNT\system32\OLEAUT32.DLL 
0x77A50000 0xF6000          Microsoft OLE for Windows                        5.00.2195.2887   04/05/2001 19:05    C:\WINNT\system32\OLE32.DLL 
0x77B50000 0x89000          Common Controls Library                          5.81.3103.1000   04/05/2001 19:05    C:\WINNT\system32\COMCTL32.DLL 
0x77C70000 0x4A000          Shell Light-weight Utility Library               5.00.3315.1000   04/05/2001 19:05    C:\WINNT\system32\shlwapi.dll 
0x77D40000 0x70000          Remote Procedure Call Runtime                    5.00.2195.2832   04/05/2001 19:05    C:\WINNT\system32\rpcrt4.dll 
0x77DB0000 0x5B000          Advanced Windows 32 Base API                     5.00.2195.2867   04/05/2001 19:05    C:\WINNT\system32\ADVAPI32.DLL 
0x77E10000 0x64000          Windows 2000 USER API Client DLL                 5.00.2195.2821   04/05/2001 19:05    C:\WINNT\system32\USER32.DLL 
0x77E80000 0xB5000          Windows NT BASE API Client DLL                   5.00.2195.2778   04/05/2001 19:05    C:\WINNT\system32\KERNEL32.DLL 
0x77F40000 0x3C000          GDI Client DLL                                   5.00.2195.2778   04/05/2001 19:05    C:\WINNT\system32\GDI32.DLL 
0x77F80000 0x7B000          NT Layer DLL                                     5.00.2195.2779   04/05/2001 19:05    C:\WINNT\system32\NTDLL.DLL 
0x78000000 0x46000          Microsoft (R) C Runtime Library                  6.01.8924.0000   04/05/2001 19:05    C:\WINNT\system32\msvcrt.dll 
0x782F0000 0x242000         Windows Shell Common Dll                         5.00.3315.2902   04/05/2001 19:05    C:\WINNT\system32\SHELL32.DLL 

-- 
Robin Becker



More information about the Python-list mailing list