https://bugs.winehq.org/show_bug.cgi?id=40309
Bug ID: 40309 Summary: Cygwin 2.4.1 crashes on install. Every cygwin executable will crash in the same way. Product: Wine Version: 1.8.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: badkins79@msn.com Distribution: ---
Created attachment 53949 --> https://bugs.winehq.org/attachment.cgi?id=53949 Wine crash log
When trying to install Cygwin 2.4.1 in Wine, the post install invocations of bash.exe and dash.exe crash immediately. If you manually copy a cygwin executable and the cygwin1.dll from a working Windows system into Wine, and try to execute it in Wine, it fails in exactly the same way. Even an application that immediately returns 0 in main will show this crash.
It looks to be an issue somewhere in the application load step.
To reproduce: 1. Install Wine stable. 2. Install minimal cygwin system. You will get lots of crashes during the post install step. Each one seems to take about a minute to popup though.
I am including a sample of one of the crash logs, but they all look exactly the same.
https://bugs.winehq.org/show_bug.cgi?id=40309
badkins79@msn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |badkins79@msn.com
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #1 from badkins79@msn.com --- Created attachment 53960 --> https://bugs.winehq.org/attachment.cgi?id=53960 Backtrace from Wine 1.9.5
I just removed the stable version of wine, and built 1.9.5 from source. It fails the same way. Attaching the backtrace for this one.
https://bugs.winehq.org/show_bug.cgi?id=40309
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #2 from super_man@post.com --- Can you provide a download link to the exact version you are trying to run?
https://bugs.winehq.org/show_bug.cgi?id=40309
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #3 from Qian Hong fracting@gmail.com --- It might be a duplicate of one of known bugs about Wine Cygwin.
We are still working on improving Wine Staging patch to sent to upstream.
For now you can try Wine Staging + Cygwin, which is much better. See also https://github.com/fracting/wine-fracting/wiki/MSYS2-on-Wine for Wine Staging + MSYS2
If you have any good news use Wine (Staging) + Cygwin, please also let me know!
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #4 from badkins79@msn.com --- Hi,
I'm using the cygwin installer right from their install page: https://www.cygwin.com/setup-x86.exe
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #5 from badkins79@msn.com --- (In reply to Qian Hong from comment #3)
It might be a duplicate of one of known bugs about Wine Cygwin.
We are still working on improving Wine Staging patch to sent to upstream.
For now you can try Wine Staging + Cygwin, which is much better. See also https://github.com/fracting/wine-fracting/wiki/MSYS2-on-Wine for Wine Staging + MSYS2
If you have any good news use Wine (Staging) + Cygwin, please also let me know!
So there is a ton of stuff on that page. I'm not sure which parts I would need to do to test this out. Which sections of this page should I follow to test this out? I am on a CentOS 6 machine, so I don't have access to prebuilt packages for the newest versions.
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #6 from Qian Hong fracting@gmail.com --- (In reply to badkins79 from comment #5)
(In reply to Qian Hong from comment #3)
So there is a ton of stuff on that page. I'm not sure which parts I would need to do to test this out. Which sections of this page should I follow to test this out? I am on a CentOS 6 machine, so I don't have access to prebuilt packages for the newest versions.
Hi, try install Wine Staging https://github.com/wine-compholio/wine-staging/wiki/Installation or build by yourself.
You can ignore my wiki first.
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #7 from badkins79@msn.com --- (In reply to Qian Hong from comment #6)
(In reply to badkins79 from comment #5)
(In reply to Qian Hong from comment #3)
So there is a ton of stuff on that page. I'm not sure which parts I would need to do to test this out. Which sections of this page should I follow to test this out? I am on a CentOS 6 machine, so I don't have access to prebuilt packages for the newest versions.
Hi, try install Wine Staging https://github.com/wine-compholio/wine-staging/wiki/Installation or build by yourself.
You can ignore my wiki first.
Ok, got wine staging built off the 1.9.5 codebase, and I got the same error. I was able to test against an older version of the cygwin1.dll, and it didn't crash though. Maybe this is a cygwin bug? I don't know enough about either cygwin or wine to say whose problem this really is.
On the good side, it is dead simple to replicate.
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #8 from Qian Hong fracting@gmail.com ---
Ok, got wine staging built off the 1.9.5 codebase, and I got the same error. I was able to test against an older version of the cygwin1.dll, and it didn't crash though. Maybe this is a cygwin bug? I don't know enough about either cygwin or wine to say whose problem this really is.
On the good side, it is dead simple to replicate.
I just retested 32 bit Wine Staging 1.9.4 + 32 bit Cygwin 2.4.1, and it works for me.
$ uname -a CYGWIN_NT-5.1 2.4.1(0.293/5/3) 2016-01-24 11:24 i686 Cygwin
Could you show `wine --version` and the new crash log?
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #9 from badkins79@msn.com --- Created attachment 53977 --> https://bugs.winehq.org/attachment.cgi?id=53977 Crash log from wine-staging.
Very surprising to me.
wine --version wine-1.9.5 (Staging)
Attached is a crash log from trying to execute uname -a.
If it works for you then maybe its my system. I am running this on a CentOS 6 VirtualBox VM. Could the fact that is in a VM be messing with it somehow?
I'm going to try this in my real machine, but it is Debian Jessie.
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #10 from badkins79@msn.com --- (In reply to badkins79 from comment #9)
Created attachment 53977 [details] Crash log from wine-staging.
Very surprising to me.
wine --version wine-1.9.5 (Staging)
Attached is a crash log from trying to execute uname -a.
If it works for you then maybe its my system. I am running this on a CentOS 6 VirtualBox VM. Could the fact that is in a VM be messing with it somehow?
I'm going to try this in my real machine, but it is Debian Jessie.
I tried installing the official Debian Jessie Wine package which was version 1.6.2. Cygwin failed to install at all on it. Seemed to fail trying to untar each of the downloaded packages.
However, I tried just pulling in cygwin executables and it fails almost the same way as before, but not quite.
Can you share with me what kind of machine you were successful with installing cygwin on?
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #11 from super_man@post.com ---
I tried installing the official Debian Jessie Wine package which was version 1.6.2. Cygwin failed to install at all on it. Seemed to fail trying to untar each of the downloaded packages.
However, I tried just pulling in cygwin executables and it fails almost the same way as before, but not quite.
Can you share with me what kind of machine you were successful with installing cygwin on?
1.6.2 is just so outdated that it's no wonder it doesnt work. There has been no updates to that wine version around 2 years or something like that while the development versions has gained every 2 weeks new version status. There is a bug 34259, it's reported against 1.7.0. My understanding is that you really need some of the wine-staging patches.
I tried the installer with wine-git and I get
"AddAccessAllowedAce(, group) failed: 1337"
errors I don't know if that's something to worry about or not, but it still goes on installing stuff. I set everything as default I just changed the install path from default z to c.
I seem to get a crash too. Don't know the cause. It goes quite far installing stuff. update-info-dir.dash is the (file?) it hangs finally.
I tried the same procedure with wine-staging (deleted wineprefix before trying) and I can finnish the installer. I also get AddAccessAllowedAce(, group) failed: 1337 errors, but I wasnt able to spot a crash during install.
wine-staging version used was 1.9.5- Linux mint here.
https://bugs.winehq.org/show_bug.cgi?id=40309
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- Marking this a duplicate of bug 41824 as that bug has more information and less clutter.
*** This bug has been marked as a duplicate of bug 41824 ***
https://bugs.winehq.org/show_bug.cgi?id=40309
--- Comment #13 from Zebediah Figura z.figura12@gmail.com --- (In reply to Zebediah Figura from comment #12)
Marking this a duplicate of bug 41824 as that bug has more information and less clutter.
*** This bug has been marked as a duplicate of bug 41824 ***
Apologies, marking this and 41824 as duplicate of bug #40528 instead.
*** This bug has been marked as a duplicate of bug 40528 ***
https://bugs.winehq.org/show_bug.cgi?id=40309
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicates