Uploaded image for project: 'Swift'
  1. Swift
  2. SR-14977

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Invalid
    • Component/s: Package Manager
    • Labels:
      None
    • Environment:

      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

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Stefan Springer Stefan Springer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: