8000 [Bug] Scoop encounters timeout errors due to .NET Framework64 v4.0.30319 csc.exe on Windows 11 LTSC and Windows 11 25H2 · Issue #6301 · ScoopInstaller/Scoop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Bug] Scoop encounters timeout errors due to .NET Framework64 v4.0.30319 csc.exe on Windows 11 LTSC and Windows 11 25H2 #6301

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

Open
kenyon-wong opened this issue Mar 13, 2025 · 0 comments
Labels

Comments

@kenyon-wong
Copy link

Issue Description

Scoop experiences timeout errors due to .NET Framework64 v4.0.30319 csc.exe on Windows 11 LTSC and Windows 11 25H2


Affected Packages

The following packages are known to consistently trigger this bug:

  • git
  • liberica8-full-jdk
  • liberica11-full-jdk
  • liberica17-full-jdk
  • liberica-full-lts-jdk
  • maven

Bug Report

Current Behavior

Scoop encounters timeout errors during installation or operation on Windows 11 LTSC and Windows 11 25H2, seemingly caused by .NET Framework64 v4.0.30319 csc.exe.

Expected Behavior

Scoop should function normally without timeout errors on supported Windows versions.

Additional Context/Output

The issue occurs consistently with the listed packages and is reproducible on the specified Windows versions.

Resetting liberica11-full-jdk (11.0.26-9).
Linking D:\00PackageManager\Scoop\apps\liberica11-full-jdk\current => D:\00PackageManager\Scoop\apps\liberica11-full-jdk\11.0.26-9
Add-Type : 等待程序执行时超时。所执行的命令为 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\j137\AppData\Local\Temp\pz5me2rr\pz5me2rr.cmdline"。
所在位置 D:\00PackageManager\Scoop\apps\scoop\current\lib\system.ps1:7 字符: 9
+         Add-Type -Namespace Win32 -Name NativeMethods -MemberDefiniti ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-Type], ExternalException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.ExternalException,Microsoft.PowerShell.Commands.AddTypeCommand

找不到类型 [Win32.NativeMethods]。
所在位置 D:\00PackageManager\Scoop\apps\scoop\current\lib\system.ps1:20 字符: 5
+     [Win32.NativeMethods]::SendMessageTimeout($HWND_BROADCAST,
+     ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Win32.NativeMethods:TypeName) [],RuntimeException
    + FullyQualifiedErrorId : TypeNotFound
Linking D:\00PackageManager\Scoop\apps\git\current => D:\00PackageManager\Scoop\apps\git\2.48.1
Creating shim for 'sh'.
Creating shim for 'bash'.
Creating shim for 'git'.
Creating shim for 'gitk'.
Making D:\00PackageManager\Scoop\shims\gitk.exe a GUI binary.
Creating shim for 'git-gui'.
Making D:\00PackageManager\Scoop\shims\git-gui.exe a GUI binary.
Creating shim for 'scalar'.
Creating shim for 'tig'.
Creating shim for 'git-bash'.
Making D:\00PackageManager\Scoop\shims\git-bash.exe a GUI binary.
Creating shortcut for Git Bash (git-bash.exe)
Creating shortcut for Git GUI (git-gui.exe)
Add-Type : 等待程序执行时超时。所执行的命令为 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\j137\AppData\Local\Temp\xnbbpynk\xnbbpynk.cmdline"。
所在位置 D:\00PackageManager\Scoop\apps\scoop\current\lib\system.ps1:7 字符: 9
+         Add-Type -Namespace Win32 -Name NativeMethods -MemberDefiniti ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-Type], ExternalException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.ExternalException,Microsoft.PowerShell.Commands.AddTypeCommand

找不到类型 [Win32.NativeMethods]。
所在位置 D:\00PackageManager\Scoop\apps\scoop\current\lib\system.ps1:20 字符: 5
+     [Win32.NativeMethods]::SendMessageTimeout($HWND_BROADCAST,
+     ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Win32.NativeMethods:TypeName) [],RuntimeException
    + FullyQualifiedErrorId : TypeNotFound

Add-Type : 等待程序执行时超时。所执行的命令为 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\j137\AppData\Local\Temp\lkvf2vpl\lkvf2vpl.cmdline"。
所在位置 D:\00PackageManager\Scoop\apps\scoop\current\lib\system.ps1:7 字符: 9
+         Add-Type -Namespace Win32 -Name NativeMethods -MemberDefiniti ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-Type], ExternalException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.ExternalException,Microsoft.PowerShell.Commands.AddTypeCommand
找不到类型 [Win32.NativeMethods]。
所在位置 D:\00PackageManager\Scoop\apps\scoop\current\lib\system.ps1:20 字符: 5
+     [Win32.NativeMethods]::SendMessageTimeout($HWND_BROADCAST,
+     ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Win32.NativeMethods:TypeName) [],RuntimeException
    + FullyQualifiedErrorId : TypeNotFound

Possible Solution

Further investigation is required to determine the root cause and potential fixes.


System Details

Windows Version:

  • Windows 11 LTSC
  • Windows 11 25H2

OS Architecture:

  • 64-bit

PowerShell Version:

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      26100  1591

Additional Software:
git, Liberica JDK (various versions), Maven


Scoop Configuration

Installed apps:

Name                      Version                 Source           Updated             Info
----                      -------                 ------           -------             ----
7zip                      24.09                   main             2025-03-13 02:05:10 
aria2                     1.37.0-1                main             2025-03-13 02:05:04 
autocorrect               2.13.0                  main             2025-03-13 02:05:38 
base64                    1.2.0                   main             2025-03-13 02:05:28 
biome                     1.9.4                   main             2025-03-13 02:05:19 
burp-suite-pro-np         2024.5                  <auto-generated> 2025-03-13 02:08:28 
cacert                    2025-02-25              main             2025-03-13 02:05:25 
codeql                    2.20.6                  main             2025-03-13 02:08:58 
colortool                 1904.29002              main             2025-03-13 02:09:19 
curl                      8.12.1_4                main             2025-03-13 02:05:25 
cwrsync                   6.4.1                   main             2025-03-13 02:05:34 
dark                      3.14                    main             2025-03-13 02:05:18 
dismplusplus              10.1.1002.1B            extras           2025-03-13 02:09:22 
dupeGuru                  4.3.1                   extras           2025-03-13 02:09:22 
etcd                      3.5.19                  main             2025-03-13 02:09:19 
everything                1.4.1.1026              extras           2025-03-13 02:09:25 
everything-cli            1.1.0.27                main             2025-03-13 02:09:25 
fd                        10.2.0                  main             2025-03-13 02:05:38 
fscan                     1.8.4                   ktools           2025-03-13 02:10:42 
gawk                      5.3.1                   main             2025-03-13 02:05:29 
git                       2.48.1                  main             2025-03-13 02:05:16 
gogo                      2.13.7                  ktools           2025-03-13 02:10:41 
gradle                    8.13                    main             2025-03-13 02:06:36 
grep                      3.11                    main             2025-03-13 02:05:29 
gui-for-clash             1.9.4                   extras           2025-03-13 02:09:12 
idea-ultimate             2024.3.4.1-243.25659.59 extras           2025-03-13 02:07:16 
innounp                   2.64.2                  main             2025-03-13 02:05:18 
jadx                      1.5.1                   extras           2025-03-13 02:07:18 
jenv                      2.2.1                   extras           2025-03-13 02:06:37 
jq                        1.7.1                   main             2025-03-13 02:05:19 
keepass                   2.58                    extras           2025-03-13 02:09:18 
keepass-plugin-keepassrpc 2.0.2                   extras           2025-03-13 02:09:18 
keepassxc                 2.7.10                  extras           2025-03-13 02:09:14 
kubectl                   1.32.3                  main             2025-03-13 02:09:16 
less                      668                     main             2025-03-13 02:05:30 
liberica-full-lts-jdk     21.0.6-10               java             2025-03-13 02:06:02 
liberica11-full-jdk       11.0.26-9               java             2025-03-13 02:05:49 
liberica17-full-jdk       17.0.14-10              java             2025-03-13 02:05:55 
liberica8-full-jdk        8u442-7                 java             2025-03-13 02:05:43 
Updated   : 3/13/2025 2:04:33 AM
Manifests : 486


Name      : nirsoft
Source    : https://github.com/ScoopInstaller/Nirsoft
Updated   : 3/11/2025 4:37:47 AM
Manifests : 285


Name      : nonportable
Source    : https://github.com/ScoopInstaller/Nonportable
Updated   : 3/13/2025 2:03:11 AM
Manifests : 127


Name      : java
Source    : https://github.com/ScoopInstaller/Java
Updated   : 3/12/2025 4:22:45 AM
Manifests : 296


Name      : ktools
Source    : https://github.com/kenyon-wong/ktools
Updated   : 3/7/2025 12:53:12 PM
Manifests : 38


last_update                     : 3/13/2025 2:04:32 AM
aria2-warning-enabled           : False
aria2-enabled                   : True
aria2-retry-wait                : 4
aria2-split                     : 16
aria2-max-connection-per-server : 16
aria2-min-split-size            : 4M
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
0