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
Wesnoth crashes silently with VS2019 builds on Windows 7 (boost::iostreams::tee) #8024
Comments
I only just noticed the minimum requirements for 1.17.x on @Pentarctagon or whoever else knows: what feature needed the change in requirements? I may have been told before, but I forgot. |
Does it start on Windows 10? |
My opinion is probably in the minority, but… I think it's not unreasonable to continue to support running on Windows 7. That's much easier than trying to support building on Windows 7. Maintaining compatibility with older versions of Windows is much easier than it is for MacOS, so if it can be done with just a minor change to the code or the build process, then I think we might as well do it. |
I mean that the dlls are added as part of the process of building the installer package. Especially since libssp is apparently some sort of GCC helper library, I wouldn't expect Windows to have that natively, so if it's missing then it's probably a problem regardless of Windows version? |
True, that's a definite possibility. |
Oh dear, no it doesn't. #8132
I had hoped that to be the case too. I think it's fine to leave this closed, but I was wondering about the minimum requirements listed for 1.17 on
Yeah, I see now it seems to be related to MinGW/MSYS2, not Windows 10 vs Windows 7. |
The minimum there is because it's required for installing Wesnoth into a directory with a path containing non-ascii characters. Otherwise there's nothing I know of which would prevent Wesnoth from working on Windows 7. |
@Wedge009 if you re-add libssp, does it work on Windows 7? Also does the log file get written? |
Oh, that issue. I forgot about that. That was from the switch to fontconfig, wasn't it?
Regarding logs being written - they are fine when running the official releases. The log issue I reported here is specific to when I compile Wesnoth myself. |
Resolved by #8391. |
Game and System Information
Description of the bug
For a while I've been wondering why my builds of 1.17 don't work on Windows 7. After some investigation I've discovered the following:
--no-log-to-file
runs successfully.Steps to reproduce the behavior
Compile Wesnoth master after 25afcb3 using VS2019 on Windows 7. Run release-build Wesnoth without debugging and leaving the default setting of log-to-file, observe no Wesnoth window, no Wesnoth process in the Task Manager, and an empty log file time-stamped at the time of running.
Expected behavior
Wesnoth runs as normal.
Additional context
I set this to low priority because it really only affects developers using MSVC on Windows 7 (maybe only me?). Official Windows builds are unaffected.
Really don't know what's going on, whether it's an issue with optimised release-builds from VS2019 (since debug-builds are okay), something specific in Windows 7, something wrong with how boost implements
tee
on Windows 7, or something else entirely. Running with--no-log-to-file
obviously bypasses the use oftee
, which is why it runs okay in that scenario.I'm okay for this to be closed, as 'won't fix', I'm just logging for information purposes, as I did with other MSVC-specific oddities like #6171.
The text was updated successfully, but these errors were encountered: