[Bug 38900] VIDLE for VPython: crashes when trying to run a module, check a module, or open the Python shell (VPython 6 ships Python library incompatible to Python 2.7.4+)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 11 06:39:19 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38900

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
            Version|unspecified                 |1.7.44
       Distribution|---                         |Ubuntu
                URL|                            |http://vpython.org/contents
                   |                            |/download_linux.html
           Keywords|                            |download
                 CC|                            |focht at gmx.net
         Resolution|---                         |INVALID
            Summary|VIDLE for VPython: crashes  |VIDLE for VPython: crashes
                   |when trying to run a        |when trying to run a
                   |module, check a module, or  |module, check a module, or
                   |open the Python shell.      |open the Python shell
                   |                            |(VPython 6 ships Python
                   |                            |library incompatible to
                   |                            |Python 2.7.4+)

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

invalid.

Whoever provides/bundles the Python libary at the VPython website seems not
aware about API/ABI dependencies to upstream.

You can't distribute a custom Python library based on an older upstream Python
version and at the same time refer to a newer upstream Python package, mixing
them together. Sheesh.

Also some howto instructions are seemingly wrong.
Why does 'python27.dll' need native override?

--- snip ---
Unhandled exception: unimplemented function python27.dll._PyInt_AsInt called in
32-bit code (0x7bc55130).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7bc55130 ESP:0042bf04 EBP:0042bf68 EFLAGS:00000206(   - --  I   - -P- )
 EAX:006589dc EBX:7bccb000 ECX:00000001 EDX:0047e530
 ESI:0042bf10 EDI:00653120
...
Backtrace:
=>0 0x7bc55130 call_dll_entry_point+0x2f0() in ntdll (0x0042bf68)
0x7bc55130 call_dll_entry_point+0x2f0 in ntdll: subl    $4,%esp
Modules:
Module    Address            Debug info    Name (100 modules)
PE      650000-  65e000    Deferred        _socket.pyd
PE      8a0000-  8ab000    Deferred        _tkinter.pyd
PE      8b0000-  98e000    Deferred        tcl85
PE      990000-  a52000    Deferred        _hashlib.pyd
PE    10000000-1012a000    Deferred        _ssl.pyd
PE    10220000-10369000    Deferred        tk85
PE    1d000000-1d00a000    Deferred        pythonw
PE    1d110000-1d116000    Deferred        select.pyd
PE    1d1a0000-1d1b8000    Deferred        _ctypes.pyd
PE    1e000000-1e239000    Deferred        python27
ELF    7b800000-7ba65000    Deferred        kernel32<elf>
  \-PE    7b810000-7ba65000    \               kernel32
...
Threads:
process  tid      prio (all id:s are in hex)
...
00000039 (D) C:\Python27\pythonw.exe
    00000036    2
    00000035    0 <==
...
--- snip ---

The Python library 'python27.dll' from original installer:
http://www.python.org/ftp/python/2.7.9/python-2.7.9.msi

--- snip ---
1 VERSIONINFO
FILEVERSION 2,7,9150,1013
PRODUCTVERSION 2,7,9150,1013
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
    BLOCK "000004b0"
    {
        VALUE "CompanyName", "Python Software Foundation"
        VALUE "FileDescription", "Python Core"
        VALUE "FileVersion", "2.7.9"
        VALUE "InternalName", "Python DLL"
        VALUE "LegalCopyright", "Copyright © 2001-2014 Python Software
Foundation. Copyright © 2000 BeOpen.com. Copyright © 1995-2001 CNRI. Copyright
© 1991-1995 SMC."
        VALUE "OriginalFilename", "python27.dll"
        VALUE "ProductName", "Python"
        VALUE "ProductVersion", "2.7.9"
    }
}
--- snip ---

The VPython provided 'python27.dll':

--- snip ---
1 VERSIONINFO
FILEVERSION 2,7,150,1013
PRODUCTVERSION 2,7,150,1013
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
    BLOCK "000004b0"
    {
        VALUE "CompanyName", "Python Software Foundation"
        VALUE "FileDescription", "Python Core"
        VALUE "FileVersion", "2.7"
        VALUE "InternalName", "Python DLL"
        VALUE "LegalCopyright", "Copyright © 2001-2008 Python Software
Foundation. Copyright © 2000 BeOpen.com. Copyright © 1995-2001 CNRI. Copyright
© 1991-1995 SMC."
        VALUE "OriginalFilename", "python27.dll"
        VALUE "ProductName", "Python"
        VALUE "ProductVersion", "2.7"
    }
}
--- snip ---

Also:
http://upstream.rosalinux.ru/compat_reports/python/2.7.3_to_2.7.4/abi_compat_report.html
(change introduced with 2.7.4)

$ sha1sum *
719832e0159eebf9cd48104c7db49aa978f6156c  python-2.7.9.msi
d92392d23c9cc1669c8ffbeca795d4e76aaefbf7  python27.dll
3a324d3de4dec500d4219500b4bf25e8b066b14d  VPython-Win-32-Py2.7-6.11.exe

$ du -sh *
18M    python-2.7.9.msi
2.2M    python27.dll
39M    VPython-Win-32-Py2.7-6.11.exe

$ wine --version
wine-1.7.47

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list