-
Notifications
You must be signed in to change notification settings - Fork 438
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
[Manager] wxWidgets debug alert when switching between advanced and simple view. #4783
Comments
I can't reproduce this debug error message on the Mac debug (pre-release) build, which uses wxWidgets 3.1.5, and have never seen it in previous versions either. I don't have access to an MS Windows or Ubuntu system. It is possible that it only occurs for certain projects or active tasks currently running. Note that the parent of CSimpleTaskPanel is CSimpleGUIPanel, whose parent is CSimpleFrame. In other words, CSimpleFrame is the grandparent of CSimpleTaskPanel. I would expect that should be OK, but without knowing which line of code (which wxSizer) triggered the alert I can't look into this further. I also can't reproduce the unexpected close of the Manager when switching back to Advanced View. |
Correction: pre-release builds are not necessarily debug builds. I meant that I can't reproduce this on a debug build of BOINC which was built with wxWidgets 3.1.5 debugging alerts enabled.
It's also possible that this is a new error message / debugging check in wxWidgets 3.1.6. @Vulpine05 Did you build the executables yourself? BOINC 7.20.0 should not display "Pre-release" in the version number. Also, assuming that the build project is set up properly, wxWidgets debug alerts should appear only in debug builds of BOINC, and should be suppressed in non-debug builds. |
I just checked, and indeed the code which tests for this is new in wxWidgets 3.1.6. It is in src/common/sizer.cpp. |
And it is an active problem under Windows 7 - just confirmed. This with the pre-release version downloaded on 7 June, the v7.20.0 with 2020 copyright date. |
On switching to simple view, I get 5 debug check warnings, relating to:
There's no problem on returning to advanced view. |
I have not been able to reproduce the error on my box Ubuntu22.04 wxwidgets3.0.5 I have yet to try the Windows version under WINE. Only project running is CPDN Edit: This was built myself. |
@Vulpine05, thank you for the report. I'll handle it |
That should be a release version (release candidate), not pre-release. Does "About BOINC Manager" say "7.20.0 (Pre-release)" or just "7.20.0"? Commit 7be1ea0 removed the BOINC_PRERELEASE flag, and was followed by commit f35e562 which is the client_release/7.20/7.20.0 tag. Also, the release build should have been linked with the non-debug build of wxWidgets, which should suppress wxWidgets debugging alerts. Something is very wrong here. |
This is reproducible on Release 7.20.0 (I have correct version saying it's a 7.20.0).
Sometimes wxWidgets is very weird. I'll check this but according to file size it definitely contains no Debug symbols. I'll working on fixing this issue and provide a fix soon. |
My test was with the release version made available on GitHub on 7 June. That was labelled 'pre-release' on the Github download page, but does not display pre-release internally when running. I've just confirmed that the version deployed at the BOINC website is exactly the same: that has the 'use only for testing' warning on the download_all page, but does not identify as pre-release internally. Replacing the 7 June download with the 14 June download triggers the 'Repair?' dialog in the Windows installer, suggesting that they are in fact identical. This bug occurs in the 14 June download too. |
Linux is offering me
from @LocutusOfBorg PPA. I'll download and test that later today, at a convenient stopping point. |
Non-debug builds of wxWidgets should always be built with wxDEBUG_LEVEL=0 defined to suppress wxWidgets' debugging asserts which are used to trigger the debugging error messages, and which can also cause the Manager to crash. It is not sufficient to build a non-debug version. See this documentation and this documentation. This page says that defining NDEBUG will also disable the asserts. |
Both flags are specified for release builds but I'll double check this. Thanks for the hint |
No. I had been running a version of the manager that I built to test a different bug. When I saw 7.20.0 was available on BOINC's website I downloaded that, uninstalled BOINC, then installed the pre-release that I had downloaded. For my problem on my Ubuntu system (different computer), I had just updated BOINC when the updater listed it. |
This fixes BOINC#4783. Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
I have found the issue: #4786 that is on the side of vcpkg. I'll provide a hotfix to our repo and on vcpkg mainstream. |
I have this problem too... |
Describe the bug
wxWidgets has an error message when switching from advanced to simple view in the manager. Or, the Manager will close unexpectedly (see additional context below).
Steps To Reproduce
Expected behavior
A seamless transition from the two views.
Screenshots
System Information
Additional context
For my Ubuntu system, it switches to simple view with no problems, but it will close the Manager unexpectedly when switching back to advance view. No debug or other warning message displayed.
The text was updated successfully, but these errors were encountered: