https://bugs.winehq.org/show_bug.cgi?id=38900
Bug ID: 38900 Summary: VIDLE for VPython: crashes when trying to run a module, check a module, or open the Python shell. Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sb7145@gmail.com Distribution: ---
Created attachment 51834 --> https://bugs.winehq.org/attachment.cgi?id=51834 This is the detailed error report generated by VIDLE when the application crashes.
This is a fresh from scratch install of Wine and VPython, strictly following the install/configure instructions here: http://vpython.org/contents/download_linux.html
When running any of the example programs in VIDLE (continuing with the same instructions at above link), the application completely crashes with a program error "The program pythonw.exe has encountered a serious issue and needs to close.". The details of this error begin "Unhandled exception: unimplemented function python27.dll._PyInt_AsInt called in 32-bit code (0x7bc55130).". The full bug report was saved and included as an attachment here (backtrace.txt).
This same crash and error occurs when trying to run the Python Shell or Check Module (all run from the Run menu item in VIDLE).
This crash first occurred with stable Wine 1.6. I completely removed everything and installed/configured again from scratch, this time with the more recent Wine 1.7 beta. Same crash issue.
I'm running Ubuntu 14.04 LTS.
https://bugs.winehq.org/show_bug.cgi?id=38900
Anastasius Focht focht@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@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@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... (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
https://bugs.winehq.org/show_bug.cgi?id=38900
--- Comment #2 from Stephen sb7145@gmail.com --- Thank you for taking the time to look at this (and so quickly too). I was hesitant to create a bug report but I was somewhat stumped as to what was going on. Thanks for the information here. :)
https://bugs.winehq.org/show_bug.cgi?id=38900
--- Comment #3 from Stephen sb7145@gmail.com --- For anyone else that might come across this...
As per Anastasius Focht's comments (thanks again for the info you provided), I downloaded an older compatible version of Python MSI for VPython.
Do not download the 32-bit Python-2.7.9 as instructed. Instead download python-2.7 using this modified link...
https://www.python.org/ftp/python/2.7/python-2.7.msi
This has resolved my VIDLE/VPython issue and all appears to be working now. I'll try and contact the author/devs of VPython to let them know.
Thanks, Stephen
https://bugs.winehq.org/show_bug.cgi?id=38900
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Closing invalid bugs.
https://bugs.winehq.org/show_bug.cgi?id=38900
Viktor kobkvi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kobkvi@gmail.com
--- Comment #5 from Viktor kobkvi@gmail.com --- Created attachment 52594 --> https://bugs.winehq.org/attachment.cgi?id=52594 Ones more bug
This is another kind of a bug. In Windows all works.
https://bugs.winehq.org/show_bug.cgi?id=38900
--- Comment #6 from Viktor kobkvi@gmail.com --- Stephen. Try PyGame http://www.pygame.org/download.shtml. May be, You like it.
https://bugs.winehq.org/show_bug.cgi?id=38900
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello Viktor,
please don't mix in unrelated things to already analysed/closed bugs. Besides that you're also running a severely outdated Wine hence any data/report will not be considered.
Regards