http://bugs.winehq.org/show_bug.cgi?id=33337
Bug #: 33337 Summary: Wine crashing when execute distutils installer Product: Wine Version: 1.5.2 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: guto@guto.net Classification: Unclassified
Created attachment 44094 --> http://bugs.winehq.org/attachment.cgi?id=44094 Makefile that will reproduce the same scenario
I found a problem when I try to install pywin32 or twisted when on wine. Wine is crashing while executing the installer. What I notice is that both uses distutils to install the libs. Well, not long ago the use to work.
In my wine context I already have a Python2.7 executable installed. That scenario is used on a very specific context in order to build a program.
I'm using Ubuntu 12.10 with ubuntu-wine/ppa and wine wine-1.5.27.
Also just to help you build the same scenario, I've added a Makefile that I allow you to reproduce the same error.
Thanks
http://bugs.winehq.org/show_bug.cgi?id=33337
Guto Maia guto@guto.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
--- Comment #1 from Guto Maia guto@guto.net 2013-04-06 12:17:27 CDT --- I've changed to major, after trying other distutil installers.
Looks like every single distutil installer is broken.
http://bugs.winehq.org/show_bug.cgi?id=33337
Guto Maia guto@guto.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guto@guto.net See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=21349
http://bugs.winehq.org/show_bug.cgi?id=33337
--- Comment #2 from Austin English austinenglish@gmail.com 2013-04-08 21:49:59 CDT --- Can you please provide instructions to reproduce for someone unfamiliar with python on windows?
http://bugs.winehq.org/show_bug.cgi?id=33337
--- Comment #3 from Guto Maia guto@guto.net 2013-04-09 08:33:34 CDT --- Austin, did you try the Makefile attached and mentioned on the first comment?
The part that is broken, is not python related, but it is related to the distutil installer. For example, PyWin32 and Twisted package use distutil installer. To see the error, you must first install Python 2.7.3, witch in the latest version, should install perfectly. And then, after try to install PyWin32 and Twisted.
Just to make things clear, the following commands are the ones performed by the Make file, and like I said, first you need to download everything, and the you install Pyhon, pywin32 and Twisted. Just the Python instalation should work. Either pywin32 or Twisted should fail.
wget http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi wget http://downloads.sourceforge.net/project/pywin32/pywin32/Build%5C%20218/pywi... wget http://twistedmatrix.com/Releases/Twisted/12.3/Twisted-12.3.0.win32-py2.7.ex...
msiexec /i python-2.7.3.msi /qb wine pywin32-218.win32-py2.7.exe wine Twisted-12.3.0.win32-py2.7.exe
PS: if you want to test it right away, just download the Makefile and type "make"!
http://bugs.winehq.org/show_bug.cgi?id=33337
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Status|UNCONFIRMED |NEW CC| |piotr@codeweavers.com Component|-unknown |msvcrt Ever Confirmed|0 |1 Severity|major |normal
--- Comment #4 from Austin English austinenglish@gmail.com 2013-04-09 13:10:51 CDT --- Thanks. It's a bug in msvcrt. CC'ing Piotr.
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored wine: Unhandled page fault on read access to 0x34801e69 at address 0x1e06a9d9 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x34801e69 in 32-bit code (0x1e06a9d9).
winetricks vcrun2008 vcrun2010 works around it.
http://bugs.winehq.org/show_bug.cgi?id=33337
--- Comment #5 from Austin English austinenglish@gmail.com 2013-04-09 13:11:12 CDT --- Created attachment 44129 --> http://bugs.winehq.org/attachment.cgi?id=44129 WINEDEBUG=msvcrt,tid,seh
http://bugs.winehq.org/show_bug.cgi?id=33337
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #6 from Piotr Caban piotr.caban@gmail.com 2013-04-12 17:47:03 CDT --- It should be working now. Please retest.
http://bugs.winehq.org/show_bug.cgi?id=33337
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3f39f69f41721d51dfa42dc435d | |643dd3b8bb508 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Piotr Caban piotr.caban@gmail.com 2013-04-15 03:23:30 CDT --- The attached makefile works now. Marking as fixed.
http://bugs.winehq.org/show_bug.cgi?id=33337
--- Comment #8 from Guto Maia guto@guto.net 2013-04-15 06:46:20 CDT --- Thanks,
How do I test it? Where is the branch/commit with the fix? I couldn't found it on the git repository.
Also, when it's gonna be available on a devel tagged version?
Again, thanks a lot!
http://bugs.winehq.org/show_bug.cgi?id=33337
--- Comment #9 from Piotr Caban piotr.caban@gmail.com 2013-04-15 07:26:30 CDT --- (In reply to comment #8)
Also, when it's gonna be available on a devel tagged version?
It's in wine-1.5.28 release.
http://bugs.winehq.org/show_bug.cgi?id=33337
--- Comment #10 from Guto Maia guto@guto.net 2013-04-15 09:02:40 CDT --- Guys,
Just tested here... It's confirmed. It does work!
It might sound silly to add a comment just to notify what is already being confirmed, however I do have a scenario more complex than the one described on the make file.
thanks again.
http://bugs.winehq.org/show_bug.cgi?id=33337
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2013-04-26 13:16:41 CDT --- Closing bugs fixed in 1.5.29.