Skip to content

Failed to run on termux on Android #1509

@lost22git

Description

@lost22git

Version

error, should be latest

Dotnet Info

  • Installing method
dotnet tool install -g fsautocomplete
  • Run
fsautocomplete --adaptive-lsp-server-enabled
  • Error report
fsautocomplete --adaptive-lsp-server-enabled
Could not load ICU data. UErrorCode: 2

=================================================================
        Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

No native Android stacktrace (see debuggerd output).

=================================================================
        Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x765a3a34f0):0x765a3a34e0  e0 03 13 aa e1 03 14 aa e8 03 15 aa 01 00 00 d4  ................
0x765a3a34f0  c8 05 00 d0 e1 03 00 91 08 01 3e 91 00 05 40 ad  ..........>...@.
0x765a3a3500  02 00 80 d2 e0 07 1f 32 e0 07 00 ad 03 e1 ff 97  .......2........
0x765a3a3510  e0 03 1f 32 a1 63 00 d1 02 00 80 d2 fb e0 ff 97  ...2.c..........

=================================================================
        Managed Stacktrace:
=================================================================
          at <unknown> <0xffffffff>
          at Globalization:LoadICU <0x00007>
          at System.Globalization.GlobalizationMode:LoadICU <0x00023>
          at Settings:.cctor <0x000bb>
          at System.Object:runtime_invoke_void <0x0007f>
          at <unknown> <0xffffffff>
          at <unknown> <0xffffffff>
          at System.Globalization.GlobalizationMode:get_Invariant <0x00023>
          at System.Resources.ManifestBasedResourceGroveler:GetNeutralResourcesLanguage <0x0005b>
          at System.Resources.ResourceManager:CommonAssemblyInit <0x0016b>
          at System.Resources.ResourceManager:.ctor <0x0012b>
          at System.CommandLine.Properties.Resources:get_ResourceManager <0x00087>
          at System.CommandLine.Properties.Resources:get_HelpOptionDescription <0x00023>
          at System.CommandLine.LocalizationResources:HelpOptionDescription <0x00023>
          at System.CommandLine.Help.HelpOption:.ctor <0x0004b>
          at System.CommandLine.Help.HelpOption:.ctor <0x000cb>
          at System.CommandLine.RootCommand:.ctor <0x00067>
          at <StartupCode$fsautocomplete>.$Parser:.cctor <0x00e53>
          at System.Object:runtime_invoke_void <0x0007f>
          at <unknown> <0xffffffff>
          at System.Object:__icall_wrapper_mono_generic_class_init <0x00007>
          at FsAutoComplete.Parser:parse <0x0003b>
          at FsAutoComplete.Parser:invoke <0x0002f>
          at FsAutoComplete.Program:entry <0x0002b>
          at <Module>:runtime_invoke_int_object <0x00087>
=================================================================

  • Dotnet info
.NET SDK:
 Version:           10.0.105
 Commit:            a612c2a105
 Workload version:  10.0.100-manifests.0793c108
 MSBuild version:   18.0.11

Runtime Environment:
 OS Name:     Linux
 OS Version:  
 OS Platform: Linux
 RID:         linux-bionic-arm64
 Base Path:   /data/data/com.termux/files/usr/lib/dotnet/sdk/10.0.105/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
  Version:      10.0.5
  Architecture: arm64
  Commit:       a612c2a105

.NET SDKs installed:
  10.0.105 [/data/data/com.termux/files/usr/lib/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 10.0.5 [/data/data/com.termux/files/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 10.0.5 [/data/data/com.termux/files/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_BUNDLE_EXTRACT_BASE_DIR           [/data/data/com.termux/files/home/.cache/dotnet_bundle_extract]
  DOTNET_ROOT                              [/data/data/com.termux/files/usr/lib/dotnet]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Steps to reproduce

  • install dotnet-sdk-10.0
pkg i dotnet-sdk-10.0
  • install fsautocomplete
dotnet tool install -g fsautocomplete
  • run fsautocomplete
fsautocomplete --adaptive-lsp-server-enabled

Details

Expected: lsp server is running well
Actual: error

Logs

see first part above...

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that that this bug is reproducible on the latest version of the package
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I or my company would be willing to contribute this fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions