question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An error occurred while running ea-20200715 on Galaxy Kirin Desktop.on 4.4.131-20200324.kylin.desktop-generic

See original GitHub issue

Run ea-20200715 on the Galaxy Kirin desktop system and use dotnet for a hello world demo. An exception has occurred, and the error is as follows.

root@USER:/data# dotnet new console

Welcome to .NET Core 3.0!

SDK Version: 3.0.101

Telemetry

The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to ‘1’ or ‘true’ using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry


Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Find out what’s new: https://aka.ms/dotnet-whats-new Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https Use ‘dotnet --help’ to see available commands or visit: https://aka.ms/dotnet-cli-docs Write your first app: https://aka.ms/first-net-core-app

System.TypeInitializationException: The type initializer for ‘Crypto’ threw an exception. —> System.DllNotFoundException: Unable to load shared library ‘System.Security.Cryptography.Native.OpenSsl’ or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libSystem.Security.Cryptography.Native.OpenSsl: cannot open shared object file: No such file or directory at Interop.Crypto.GetMaxMdSize() at Interop.Crypto…cctor() — End of inner exception stack trace — at Interop.Crypto.EvpSha256() at Internal.Cryptography.HashProviderDispenser.CreateHashProvider(String hashAlgorithmId) at System.Security.Cryptography.SHA256.Implementation…ctor() at System.Security.Cryptography.SHA256.Create() at Microsoft.DotNet.Cli.Telemetry.Sha256Hasher.Hash(String text) in /cli/src/dotnet/Telemetry/Sha256Hasher.cs:line 16 at Microsoft.DotNet.Cli.Telemetry.Sha256Hasher.HashWithNormalizedCasing(String text) in /cli/src/dotnet/Telemetry/Sha256Hasher.cs:line 22 at Microsoft.DotNet.Cli.Utils.ApplicationInsightsEntryFormat.<>c__DisplayClass10_0.<WithAppliedToPropertiesValue>b__1(KeyValuePair2 p) in /cli/src/Microsoft.DotNet.Cli.Utils/TelemetryEventEntry.cs:line 90 at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector) at Microsoft.DotNet.Cli.Utils.ApplicationInsightsEntryFormat.WithAppliedToPropertiesValue(Func2 func) in /cli/src/Microsoft.DotNet.Cli.Utils/TelemetryEventEntry.cs:line 90 at Microsoft.DotNet.Cli.Telemetry.TelemetryFilter.<Filter>b__4_0(ApplicationInsightsEntryFormat r) in /cli/src/dotnet/Telemetry/TelemetryFilter.cs:line 78 at System.Linq.Enumerable.SelectListIterator2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Microsoft.DotNet.Cli.Telemetry.TelemetryFilter.Filter(Object objectToFilter) in /cli/src/dotnet/Telemetry/TelemetryFilter.cs:line 26 at Microsoft.DotNet.Cli.Utils.TelemetryEventEntry.SendFiltered(Object o) in /cli/src/Microsoft.DotNet.Cli.Utils/TelemetryEventEntry.cs:line 32 at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) in /cli/src/dotnet/Program.cs:line 206 at Microsoft.DotNet.Cli.Program.Main(String[] args) in /cli/src/dotnet/Program.cs:line 47 root@USER:/data# uname -a Linux USER 4.4.131-20200324.kylin.desktop-generic #kylin SMP PREEMPT Tue Mar 24 19:50:18 CST 2020 mips64 mips64 mips64 GNU/Linux

root@USER:/data# dotnet --info .NET Core SDK (reflecting any global.json): Version: 3.0.101 Commit: bc5f8df0f5

Runtime Environment: OS Name: kylin OS Version: v10 OS Platform: Linux RID: linux-x64 Base Path: /usr/local/dotnet-sdk/sdk/3.0.101/

Host (useful for support): Version: 3.0.1 Commit: 32085cbc72

.NET Core SDKs installed: 3.0.101 [/usr/local/dotnet-sdk/sdk]

.NET Core runtimes installed: Microsoft.AspNetCore.App 3.0.1 [/usr/local/dotnet-sdk/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.0.1 [/usr/local/dotnet-sdk/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download root@USER:/data#

root@USER:/data# apt-get install openssl 正在读取软件包列表… 完成 正在分析软件包的依赖关系树
正在读取状态信息… 完成
openssl 已经是最新版 (1.0.2g-1kord4.15)。 下列软件包是自动安装的并且现在不需要了: apt-clone aptdaemon aptdaemon-data busybox-static dpkg-repack gir1.2-javascriptcoregtk-4.0 gir1.2-json-1.0 gir1.2-timezonemap-1.0 gir1.2-vte-2.91 gir1.2-webkit2-4.0 gir1.2-xkl-1.0 laptop-detect libido3-0.1-0 libiw30 libtimezonemap-data libtimezonemap1 python3-aptdaemon python3-aptdaemon.gtk3widgets python3-defer python3-icu python3-pam python3-pyudev rdate 使用’sudo apt autoremove’来卸载它(它们)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 248 个软件包未被升级。

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:34

github_iconTop GitHub Comments

1reaction
theaoqicommented, Aug 19, 2020

hi @geffzhang , could you check if ea-20200819 fixes your issue?

0reactions
theaoqicommented, Aug 20, 2020

Reinstall Galaxy Kirin v10 and run dotnet run successfully.

Good to hear that:)

I think the failure of running webapp is a new one. Let’s file a new issue. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found