Updating locator from 1.4.1 to 1.5.3 breaks x86 processes
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- build-system
Research direction
Start with the linked PR validation log and the failing tests BuildIntegrationLibGit2Tests.PublicRelease_RegEx_SatisfiedByCI and GetBuildVersion_CustomBuildNumberOffset. Read test/Nerdbank.GitVersioning.Tests/BuildIntegrationTests.cs around line 117, then compare behavior in x86 and x64 processes. Done means identifying and correcting the architecture mismatch, with the affected tests passing in both modes.
Written by the indexing model from the issue text.
Description
This simple upgrade PR updates Microsoft.Build.Locator from 1.4.1 to 1.5.3, the PR validation shows that the program now fails, exclusively when run in an x86 process. x64 is fine.
[xUnit.net 00:00:25.18] BuildIntegrationLibGit2Tests.PublicRelease_RegEx_SatisfiedByCI(serverProperties: [[APPVEYOR_REPO_TAG_NAME, ], [BUILD_SOURCEBRANCH, refs/heads/release], [APPVEYOR_PULL_REQUEST_NUMBER, ], [APPVEYOR_REPO_TAG, ], [APPVEYOR, ], ...]) [FAIL]
Error Message:
System.BadImageFormatException : An attempt was made to load a program with an incorrect format. (0x8007000B)
Stack Trace:
at BuildIntegrationTests.Init()
at BuildIntegrationTests..ctor(ITestOutputHelper logger) in D:\a\1\s\test\Nerdbank.GitVersioning.Tests\BuildIntegrationTests.cs:line 117
at BuildIntegrationLibGit2Tests..ctor(ITestOutputHelper logger) in D:\a\1\s\test\Nerdbank.GitVersioning.Tests\BuildIntegrationTests.cs:line 71
Failed BuildIntegrationLibGit2Tests.GetBuildVersion_CustomBuildNumberOffset [1 ms]
Error Message:
System.BadImageFormatException : An attempt was made to load a program with an incorrect format. (0x8007000B)
Stack Trace:
at BuildIntegrationTests.Init()
at BuildIntegrationTests..ctor(ITestOutputHelper logger) in D:\a\1\s\test\Nerdbank.GitVersioning.Tests\BuildIntegrationTests.cs:line 117
Is the Locator finding the x64 binaries when it should be finding x86 binaries?
- Dominant language
- C#
- Stars
- 262
- Forks
- 91
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/MSBuildLocator
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
microsoft/MSBuildLocator#390 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
microsoft/MSBuildLocator#389 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/MSBuildLocator#380 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
microsoft/MSBuildLocator#377 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
microsoft/MSBuildLocator#371 · 1 comment ·
All issues in microsoft/MSBuildLocator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nightscout/nocturne#1379 ·
-
priority-0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
StackExchange/StackExchange.Redis#3249 ·
-
[Feat] 조합 영역 구분선 개선 Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100