linux上的Dotnet核心分段错误 [英] Dotnet core segmentation fault on linux
本文介绍了linux上的Dotnet核心分段错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 AngleSharp 在 Dotnet 核心应用程序中解析网站它在 Windows 中运行良好,但在 Debian 上它因以下错误而崩溃:分段错误
I have used AngleSharp to parse a website in a Dotnet core App It works fine in Windows but on Debian It crashed with this error : Segmantion fault
当我用 http url 替换它时,我解析的 url 是 https,它起作用了!
the url that I had for parsing was https when I replaced it with an http url, It worked!
推荐答案
两个版本的libssl冲突导致的问题.您可以检查安装的版本:
The problem caused by conflicting between two version of libssl. You can check version installed :
$ ls /usr/lib/x86_64-linux-gnu/libssl.so.*
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.2
/usr/lib/x86_64-linux-gnu/libssl.so.1.1
通过删除 1.0 版,我的问题解决了:
and By removing the version 1.0 my problem resolved :
apt-get remove ssl1.0.0.0
这篇关于linux上的Dotnet核心分段错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文