http://bugs.winehq.org/show_bug.cgi?id=21349
Summary: Python.exe crashes Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jackson+winehq-bugzilla@jacksonc.com
Created an attachment (id=25706) --> (http://bugs.winehq.org/attachment.cgi?id=25706) Wine debug output
When Python 2.6.4 runs a packaging application called "PyInstaller" it crashes. It's been working fine, except this is the first time it's been using the audio libraries listed. eg. Phonon/Quartz. I tried running this in Windows 7, and it works fine.
http://bugs.winehq.org/show_bug.cgi?id=21349
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-13 08:35:43 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
Install Wine debug symbols and attach back trace with function names.
http://bugs.winehq.org/show_bug.cgi?id=21349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.python.org
http://bugs.winehq.org/show_bug.cgi?id=21349
--- Comment #2 from Jackson Cooper jackson+winehq-bugzilla@jacksonc.com 2010-01-13 11:59:45 --- Created an attachment (id=25710) --> (http://bugs.winehq.org/attachment.cgi?id=25710) winedbg output
Not sure if this's a backtrace... Let me know what I should do if it isn't.
http://bugs.winehq.org/show_bug.cgi?id=21349
Jackson Cooper jackson+winehq-bugzilla@jacksonc.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25706|0 |1 is obsolete| |
--- Comment #3 from Jackson Cooper jackson+winehq-bugzilla@jacksonc.com 2010-01-13 12:00:26 --- Created an attachment (id=25711) --> (http://bugs.winehq.org/attachment.cgi?id=25711) Application output
http://bugs.winehq.org/show_bug.cgi?id=21349
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.python.org |http://www.python.org/ftp/p | |ython/2.6.4/python-2.6.4.ms | |i CC| |00cpxxx@gmail.com
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2011-11-19 17:19:18 CST --- Works for me in 1.3.33 in a clean prefix. Tested in GNU/Linux with Alsa. Can anyone with phonon/quarts installed retest?
http://bugs.winehq.org/show_bug.cgi?id=21349
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #5 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-05-21 04:47:35 CDT --- I have very standard Ubuntu 12.04 installation, and everything (installer and python.exe) runs OK. I believe, however, that my Ubuntu doesn't use phonon library.
http://bugs.winehq.org/show_bug.cgi?id=21349
--- Comment #6 from Jackson Cooper jackson+winehq-bugzilla@jacksonc.com 2012-05-21 05:49:42 CDT --- Created attachment 40249 --> http://bugs.winehq.org/attachment.cgi?id=40249 Example Phonon Python app
http://bugs.winehq.org/show_bug.cgi?id=21349
--- Comment #7 from Jackson Cooper jackson+winehq-bugzilla@jacksonc.com 2012-05-21 05:56:59 CDT --- This is a bit of a tricky one. To clarify, I wasn't running a Phonon application in Wine. I was running Python in wine, which was running a Python to Exe script, where the script I was packaging imports Phonon.
I have re-produced the bug with wine 1.4 (the version Ubuntu 12.04 ships). I downloaded some simple Python phonon script off the net and attached it here to be used for testing.
Steps to reproduce bug: - Install wine 1.4 (the one that ships with Ubuntu 12.04 as of 21st May 2012) - Install Python 32-bit 2.7.3 (latest on website as of 21st May 2012) - Install PyWin32 extensions build 217 - Install PyQt4 - Version using Python 2.7, 32-bit version 4.9.1-1 - Download and extract PyInstaller (v1.5.1) - Download the example phonon Python app - Run "wine C:/Python27/python.exe path/to/pyinstaller/Configure.py" - Run "wine C:/Python27/python.exe path/to/pyinstaller/pyinstaller.exe path/to/example-app.py"
Expected Behaviour This should package the application just fine.
Actual behaviour Wine.exe crashes.
I understand the packaging of the script (functionality of the program being executed) may or may not work depending on the current implementation status of wine, however I would assume this is a bug because wine should not crash in any case. Currently it no longer outputs the same error, it ends with "wine: Unhandled page fault on write access to 0x00000000 at address 0x7d345768 (thread 002b), starting debugger...".
http://bugs.winehq.org/show_bug.cgi?id=21349
Guto Maia guto@guto.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guto@guto.net
https://bugs.winehq.org/show_bug.cgi?id=21349
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Resolution|--- |FIXED Summary|Python.exe crashes |Python 2.6/2.7 crashes | |during run of 'PyInstaller' | |packaging application
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
I can't reproduce this, works fine here.
You could have at least provided all the download URLs to make reproduction easier.
https://www.python.org/ftp/python/2.7.3/python-2.7.3.msi
http://switch.dl.sourceforge.net/project/pywin32/pywin32/Build%20217/pywin32...
http://heanet.dl.sourceforge.net/project/pythbinconv/additional%20packages/P...
http://optimate.dl.sourceforge.net/project/pyinstaller/1.5/pyinstaller-1.5.z...
https://qt.gitorious.org/pyside/pyside-examples/archive/060dca8e4b82f301dfb3...
--- snip --- $ wine "C:\python27\python.exe" ./pyinstaller-1.5/pyinstaller.py pyside-pyside-examples/examples/phonon/videoplayer.py I: skip Configure.py, use existing config ./pyinstaller-1.5\config.dat wrote Z:\home\focht\Downloads\videoplayer.spec I: Dependent assemblies of C:\python27\python.exe: I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww checking Analysis building Analysis because outAnalysis0.toc non existent running Analysis outAnalysis0.toc Analyzing: ./pyinstaller-1.5\support_mountzlib.py Analyzing: ./pyinstaller-1.5\support\useUnicode.py Analyzing: pyside-pyside-examples/examples/phonon/videoplayer.py I: Analyzing C:\python27\python.exe I: Dependent assemblies of C:\python27\python.exe: I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww Adding Microsoft.VC90.CRT to dependent assemblies of final executable I: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww... I: Found manifest C:\windows\WinSxS\Manifests\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375.manifest I: Searching for file msvcr90.dll I: Found file C:\windows\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcr90.dll I: Searching for file msvcp90.dll I: Found file C:\windows\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcp90.dll I: Searching for file msvcm90.dll I: Found file C:\windows\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\msvcm90.dll I: Adding Microsoft.VC90.CRT.manifest I: Adding msvcr90.dll I: Adding msvcp90.dll I: Adding msvcm90.dll I: Adding python27.dll dependency of python.exe I: Skipping KERNEL32.dll dependency of python.exe I: Analyzing C:\windows\system32\python27.dll I: Dependent assemblies of C:\windows\system32\python27.dll: I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww I: Skipping KERNEL32.dll dependency of python27.dll I: Skipping USER32.dll dependency of python27.dll I: Skipping ADVAPI32.dll dependency of python27.dll I: Skipping SHELL32.dll dependency of python27.dll I: Analyzing C:\python27\DLLs_hashlib.pyd I: Skipping KERNEL32.dll dependency of _hashlib.pyd I: Skipping USER32.dll dependency of _hashlib.pyd I: Skipping ADVAPI32.dll dependency of _hashlib.pyd I: Analyzing C:\python27\lib\site-packages\win32\win32api.pyd I: Skipping USER32.dll dependency of win32api.pyd I: Skipping ADVAPI32.dll dependency of win32api.pyd I: Skipping SHELL32.dll dependency of win32api.pyd I: Skipping VERSION.dll dependency of win32api.pyd I: Adding pywintypes27.dll dependency of win32api.pyd I: Skipping KERNEL32.dll dependency of win32api.pyd I: Analyzing C:\python27\DLLs\select.pyd I: Skipping WS2_32.dll dependency of select.pyd I: Skipping KERNEL32.dll dependency of select.pyd I: Analyzing C:\python27\DLLs\unicodedata.pyd I: Skipping KERNEL32.dll dependency of unicodedata.pyd I: Analyzing C:\python27\DLLs\bz2.pyd I: Skipping KERNEL32.dll dependency of bz2.pyd I: Analyzing C:\windows\system32\pywintypes27.dll I: Skipping ADVAPI32.dll dependency of pywintypes27.dll I: Skipping USER32.dll dependency of pywintypes27.dll I: Skipping ole32.dll dependency of pywintypes27.dll I: Skipping OLEAUT32.dll dependency of pywintypes27.dll I: Skipping KERNEL32.dll dependency of pywintypes27.dll Warnings written to Z:\home\focht\Downloads\warnvideoplayer.txt checking PYZ rebuilding outPYZ1.toc because outPYZ1.pyz is missing building PYZ outPYZ1.toc checking PKG rebuilding outPKG3.toc because outPKG3.pkg is missing building PKG outPKG3.pkg checking EXE rebuilding outEXE2.toc because videoplayer.exe missing building EXE from outEXE2.toc Appending archive to EXE Z:\home\focht\Downloads\build\pyi.win32\videoplayer\videoplayer.exe checking COLLECT building because outCOLLECT4.toc missing or bad building COLLECT outCOLLECT4.toc --- snip ---
--- snip --- $ ls -p build/*/*
build/pyi.win32/capabilities: capabilities.exe capabilities.exe.manifest outAnalysis0.toc outCOLLECT4.toc outEXE2.toc outPKG3.pkg outPKG3.toc outPYZ1.pyz outPYZ1.toc
build/pyi.win32/musicplayer: musicplayer.exe musicplayer.exe.manifest outAnalysis0.toc outCOLLECT4.toc outEXE2.toc outPKG3.pkg outPKG3.toc outPYZ1.pyz outPYZ1.toc
build/pyi.win32/videoplayer: outAnalysis0.toc outCOLLECT4.toc outEXE2.toc outPKG3.pkg outPKG3.toc outPYZ1.pyz outPYZ1.toc videoplayer.exe videoplayer.exe.manifest --- snip ---
$ wine --version wine-1.7.24-14-gd1749b5
Regards
https://bugs.winehq.org/show_bug.cgi?id=21349
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.25.
https://bugs.winehq.org/show_bug.cgi?id=21349
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com