Skip to content
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

[SR-14977] (DUPLICATE to SR-14976) Swift Package Manager (SPM) on Windows: BUFFER OVERFLOW on PreferredUILanguages/MuiCached\MachinePreferredUILanguages #4397

Closed
swift-ci opened this issue Jul 26, 2021 · 0 comments
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-14977
Radar None
Original Reporter Stefan Springer (JIRA User)
Type Bug
Status Closed
Resolution Invalid
Environment

Windows 10 Home in a Parallels 16 VM on macOS 11.5 (Intel) using swift-5.4.2-RELEASE; the Swift package is https://github.com/stefanspringer1/SwiftXMLParserDemo.

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 4a205efa5224485c3765f6a674314abe

duplicates:

  • SR-14976 Swift Package Manager (SPM) on Windows: BUFFER OVERFLOW on PreferredUILanguages/MachinePreferredUILanguages

Issue Description:

Sorry, this is a duplicate to SR-14976 because I already tried to add the issue before, but did not see it then.

I had a Windows system with German as the only installed language, and SPM got stuck after displaying the first "Fetching ..." (see my comments from July 25 and 26, 2021 on https://forums.swift.org/t/stochastic-errors-resolving-dependencies-and-or-building-with-feb-18-2021-snapshot/44929/10). Using Process Monitor I found:

swift.exe: RegQueryValue: BUFFER OVERFLOW: HKCU\Control Panel\Desktop\PreferredUILanguages
swift.exe: RegQueryValue: BUFFER OVERFLOW: HKCU\Control Panel\Desktop\MuiCached\MachinePreferredUILanguages

After adding "English (United States)" as additional language and then setting the system language to English, SPM then got further (and displayed another uncorrect error message about versions of the packages being not right, but this should be another issue), but on another try, I again git the above errors with SPM getting stuck after the "Fetching ...".

The following error was always display in Process Monitor:

swift.exe: RegQueryValue: BUFFER TOO SMALL: HKLM\System\CurrentControlSet\Control\Notifications\418A073AA3BC8075

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant