New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASan issue on macOS 10.12 - Wine, running winbox.exe [EDIT: XQuartz 2.7.9-2.7.10_Beta2 ASan] #2481
Comments
Can you show me the output of the following commands?
|
|
And just for completeness, can you include in this issue the full output you get when it fails? |
Hopefully this can help with any guidance / testing? Regards |
Hi Team I went back and wiped the entire machine, fresh install from fresh download on macOS 10.12. After the install I completed normal user setup, installed XQuartz 2.7.10 Beta 2, install homebrew (allowing it to install command line tools directly), then brew install wine --devel, brew install winetricks. Then I downloaded a fresh copy of winbox.exe and wine ~/winbox.exe (downloaded into my home directory). I am still seeing the same memory (address sanitiser) errors. I am starting to wonder if there could be either a hardware issue or a problem with the small amount of ram in the MacBook Air 13". Is anyone else experiencing this as an issue with anything they try? New Gist-Logs
Any guidance to locating these faults or providing further helpful information that would be much appreciated. Regards |
Do you mind providing the output of |
I will go back to 10.12 as soon as I can again, I am currently rebuilding the machine as 10.11 fresh and untouched so I can confirm that its definitely related to something in my 10.12 and not something like a bug in the latest XQuartz (also this machine is my main road machine so I have been taking my MBP to the field with me). I may also get my MBA back on track and try the same setup on the MBP and see what is different. Thank you again for all the time you putting into helping something that you can't reproduce. Regards |
I think I'm having the same issue. There's something with the ASan that keeps buggering up with installing any .exe I'm trying after a clean install of 10.12. I was able to get Wine and Winetricks installed but with any other program I am getting: ==70931==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING. It also referenced this thread. I can show you what's in my env if you'd like. |
Hi mheaton228 That does look like the same thing, If you can provide your full output when you run the apps, the gist-logs, etc as above just to validate. Also if you can send in your env then that may help. As I test last night I tried regedit in my wine and it threw the same error for me as my winbox so it seems wine wide. Can you also confirm please what kind of machine you are running it on? how much ram? what model mac? and what version of XQuartz? just to try find a commonality. Regards |
I just noticed this in your
Whereas I installed the stable release:
Can one of you downgrade to 2.7.9 and see if that resolves your issue? |
Can you confirm if you are on 2.7.10_beta2? I have been using that and I am currently in the build phase for my wine on 10.11 with 2.7.10_beta2. If this fails we may have our common factor and be able to zero in on a root cause. If this dies then I will go back up to 10.12 and try with 2.7.9. Regards |
I'm seeing a report on the XQuartz tracker that suggests that 2.7.10 (and maybe some builds of 2.7.9) are built with ASan, leading to bugs like this one: https://bugs.freedesktop.org/show_bug.cgi?id=96666 |
I wasn't able to install Wine at all until I upgraded to the 2.7.10_beta2 and XCode 8 beta, but I did the XQuartz upgrade before I did the XCode upgrade. Here's the stuff requested: |
I can confirm I see the same failure on 10.11 with 2.7.10_beta2 Tonight when I get home from work I will install 10.12 again and then install wine without XQuartz (as it should be only an optional not a requirement) then I can also try it with 2.7.8, 2.7.9, and see if I can come up with some clear advice for users. Regards |
I just realized that, while I have XQuartz 2.7.9 installed, I've been running wine using the Mac driver. You appear to be using the X driver, yes? Does this occur using the Mac driver? |
My system is building from scratch again now so hopefully results without XQuartz within an hour or so. I understood even with XQuartz installed that the system would build both available but still use Mac driver by default. But maybe not. So I will try it clean now and see how that goes. Regards |
I am having the a similar issue on El Capitan using the XCode 8 Beta: Cannot install Wine at all at the moment. Console message pointed me to this issue... |
Hi team. It looks like this can be confirmed as a problem linked to XQuartz. I can build under 10.12 without XQuartz (note you need to add --without-x11 to your install command) and have my wine apps execute. I haven't tried it built against XQuartz 2.7.8 yet but I can try that but if people could remove it and then rebuild without linking to X11 then we may be able to advise people or look at varying install if these versions are detected. Regards |
I can't seem to reproduce on 10.11 with XQuartz 2.7.9, but I'm pretty confident about what the issue is now. |
Can someone who has XQuartz 2.7.9 installed who didn't previously have 2.7.10 beta installed check if there's an This thread confirms that the beta releases of XQuartz use address sanitization for debug purposes: https://lists.macosforge.org/pipermail/xquartz-dev/2016-May/003957.html The implication is that the stable releases aren't intended to. |
@sidneys I don't think your issue is related; can you please open a new issue with the debug output specified in the troublshooting page? Thanks! |
I have just installed 2.7.9 onto my MBP (Still on 10.11.6). Was previously running 2.7.8 and confirmed the folder was not in place at that point. My install of 2.7.9 comes off a fresh download taken from the project homepage main link. After the installation I am not seeing /opt/X11/lib/asan on my drive. Regards |
wine is not compatible with asan. See https://llvm.org/bugs/show_bug.cgi?id=25466 |
@mistydemeo ASan is only used for beta builds. ASan was not used for 2.7.9_rc* and 2.7.9. |
@jeremyhu Perfect, thanks for the confirmation. |
Beta versions of XQuartz have address sanitization enabled, which breaks some software at runtime, including wine. Closes Homebrew/homebrew-core#2481.
Added a warning about beta XQuartz releases. |
Beta versions of XQuartz have address sanitization enabled, which breaks some software at runtime, including wine. Closes Homebrew/homebrew-core#2481. Closes Homebrew#459. Signed-off-by: Misty De Meo <mistydemeo@github.com>
Please follow the general troubleshooting steps first:
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step? (Python installed to non standard location - for python development - not removed)You can erase any parts of this template not applicable to your Issue.
Bug reports:
My particular builds of Wine --devel under macOS 10.12 appears to invoke / include address sanitizer in the build which causes failures to execute apps. Mistydemeo was unable to reproduce so separated from issue: 1597 Earlier discussion
Gist-Logs Output
Looks to be a local issue if it can't be reproduced by others, AFAIK there is no relationship to python at any part of this installation so my location of python shouldn't have any effect.
To try resolve this I have blown away my whole xcode installation and followed all instructions for removal of Homebrew. Then reinstalled xcode-beta and homebrew as if a new install. New install was then attempted with wine --devel as the only install (plus obviously dependencies).
I am thinking my next step may need to have a full wipe and reinstall of the system from base to eliminate the effect and rebuild my system around whats there, if anyone can provide some insight however into what could be causing this to happen or that I could try investigate.
The text was updated successfully, but these errors were encountered: