-
Notifications
You must be signed in to change notification settings - Fork 460
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
Fix bug recently introduced in run_program(). #2742
Conversation
In the Windows variant, the "file" argument was being ignored.
I think @JuhaSointusalo should review this PR because he made changes in this function previously |
I've verified the problem reported in #2739 across a LAN - no VM involved. No errors were logged in C:\Users\Richard Haselgrove\AppData\Roaming\BOINC. Searching Git, run_program() is called from 7 different files: tools/updater.cpp In #2713, @JuhaSointusalo only changed the call in client/gpu_detect.cpp: I'm nervous that simply reverting the change in lib/util.cpp will move the bug from one place to another, rather than fixing it. I agree that Juha should review it. |
Just in case it was missed. This change was already added to the 7.14 release branch with d5e6d95 so any changes here need be be made to the release branch too. |
The relevant parts from docs:
So, in order to have
The changes I did are not exactly correct. My changes expect The changes in this PR are not correct. I'll make a PR that fixes things right way later this week. As for the PR description. I put in some serious effort in writing good commit messages that tell not only what was changed but WHY the change was made. And then I get to read this
as well as the rubbish commit message that tells nothing about what motivated reverting my changes. I'm not too happy about that. And I see that this change was already pushed to 7.14 branch. WTF?! |
Totally agree. From my prospective, changes to release branch must never be pushed before being reviewed, approved and merged to master branch. |
I'm with @JuhaSointusalo and @AenBleidd on this being included in the current release branch before being merged into master. I think that your change needs to be backed out of the current 7.14 release branch. Note: From the BOINC Flow document that was recently approved: https://github.com/BOINC/boinc-policy/blob/master/Development_Documents/BOINC_Flow.md "Any code that is added to a release branch after it is created should be a cherry-pick of a merge commit that is present on the master branch. " Since the 7.14 branch was already created, the only code changes that can be added to that release branch are ones that are cherry-picked from the master branch. Thus, the code change you made for this needs to be reverted. Thanks, |
Please let's put this in perspective. Remember that there are serious issues on the Mac with 7.12.1 due to Apple's release of OS 10.14 Mojave. I have not released a hot fix 7.12.2 in the expectation that 7.14 will be released very soon. At this point, only critical bug fixes should go into the 7.14 branch. I am currently working on a fix for a security issue which I hope to have ready within 2 days. Juha's commit 6db39da broke several areas of important functionality. Why can't the same thing be accomplished by modifying the way The more extensive changes could then wait for 7.16 so there will be adequate time to test them. I'm very concerned that creating even more changes to fix 6db39da will create the potential for further bugs, especially on platforms other than MSWindows. If we have to wait until later this week for his changes, it will further delay the testing we need. At the very least, any changes to the calls to |
I have no problem with changing |
I'm afraid to say I started this whole sorry fandango by passing on user reports in, first, #2029, and when the fix for that proved to be flawed, again in #2657. I think we've now reached the point where we should revert #2713 and veto this (dependent) PR. Although I'm a great believer in responding to user reports in the next available client release, this issue is not a blocker and there are more important issues for v7.14 That means reverting the associated commits 388dcea and d5e6d95 too. Then, we can all take a deep breath, work out what went wrong, and fix the problem fully and properly in v7.16 (or v8.0, if we go there instead), with everyone's informed consent beforehand. |
I've created pull request #2747 as a proposal to allow us to move forward (it is based on @RichardHaselgrove's suggestion). @davidpanderson and @JuhaSointusalo - can you review #2747 and see if it makes sense and if you agree with the approach? |
I think this should be closed without merging. |
I agree, but the bug introduced by Juha's commit 6db39da [which ignored the second argument file in |
After writing my previous comment, I see that @JuhaSointusalo has said his PR #2748 is ready for review. I have not reviewed it, but that PR is designed to fix Show Graphics and screensaver on MS Windows. So I withdraw my previous comment. |
I'm closing this PR without merging if favor of issue fix in #2748 |
In the Windows variant, the "file" argument was being ignored (??).