用的好好的百度云突然就打不开了,有没有人知道是什么情况?
发表于 : 2022-02-22 10:46
详情如下:
系统Ubuntu 20.04.3,AMD集成显卡16GB
2月21日突然发现打不开百度云了,直接去终端执行:/opt/baidunetdisk/baidunetdisk,发现是如下情况:
username@localhost:~$ /opt/baidunetdisk/baidunetdisk
(node:28595) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
段错误 (核心已转储)
这就是主要错误了,网上说centos也有类似错误了,以下是我自己做的一些排错的过程
提示段错误信息,使用VBox跑了一个相同版本Ubuntu20.04.3发现百度云可以打开,终端运行如下:
username@localhost:~$ /opt/baidunetdisk/baidunetdisk
(node:28595) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
应该就是那个段错误的问题,然后使用gdb调试查看了一下详情,结果如下:
(gdb) run
Starting program: /opt/baidunetdisk/baidunetdisk
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff2fdd700 (LWP 29057)]
[Detaching after fork from child process 29058]
[Detaching after fork from child process 29059]
[Detaching after fork from child process 29060]
[New Thread 0x7ffff27dc700 (LWP 29063)]
[New Thread 0x7ffff1ace700 (LWP 29064)]
[此处相同代码省略]
[Detaching after fork from child process 29080]
(node:29053) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[New Thread 0x7fffec2fe700 (LWP 29173)]
[New Thread 0x7fffebafd700 (LWP 29174)]
[此处相同代码省略]
[New Thread 0x7fffdf79d700 (LWP 29242)]
--Type <RET> for more, q to quit, c to continue without paging--
实机卡在了这里,虚拟机则会继续运行,并加载libbrowserengine.so组件。
按回车或上述提示的任意字符,得到如下错误信息:
Thread 1 "baidunetdisk" received signal SIGSEGV, Segmentation fault.
0x00007ffff49db7c9 in EVP_MD_CTX_clear_flags ()
from /lib/x86_64-linux-gnu/libcrypto.so.1.1
提示为 libcrypto.so.1.1 组件的 EVP_MD_CTX_clear_flags 函数有问题,于是sudo apt-get --reinsall install libcrypt* 重新装了一下该组件,错误依旧,从虚拟机中拷贝的正常的libcrypto.so.1.1也是如此,技术有限,我没辙了!
查看syslog发现上一次正常打开百度云是19号,查看bash_history发现有sudo apt autoremove的过程,不知道是不是删掉了一些库导致错误,从虚拟机里面拷贝了一份完整的软件列表,根据软件列表安装了一系列库文件,还是未能解决问题。
缩小问题范围,这两天因为需要使用源代码安装了 e2fsprogs 和 util-linux 两个软件,目前尚不知晓会不会和这两个软件有关,水平有限,还请知道详情的大佬给一些线索或解决方案,在此多谢了
系统Ubuntu 20.04.3,AMD集成显卡16GB
2月21日突然发现打不开百度云了,直接去终端执行:/opt/baidunetdisk/baidunetdisk,发现是如下情况:
username@localhost:~$ /opt/baidunetdisk/baidunetdisk
(node:28595) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
段错误 (核心已转储)
这就是主要错误了,网上说centos也有类似错误了,以下是我自己做的一些排错的过程
提示段错误信息,使用VBox跑了一个相同版本Ubuntu20.04.3发现百度云可以打开,终端运行如下:
username@localhost:~$ /opt/baidunetdisk/baidunetdisk
(node:28595) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
应该就是那个段错误的问题,然后使用gdb调试查看了一下详情,结果如下:
(gdb) run
Starting program: /opt/baidunetdisk/baidunetdisk
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff2fdd700 (LWP 29057)]
[Detaching after fork from child process 29058]
[Detaching after fork from child process 29059]
[Detaching after fork from child process 29060]
[New Thread 0x7ffff27dc700 (LWP 29063)]
[New Thread 0x7ffff1ace700 (LWP 29064)]
[此处相同代码省略]
[Detaching after fork from child process 29080]
(node:29053) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[New Thread 0x7fffec2fe700 (LWP 29173)]
[New Thread 0x7fffebafd700 (LWP 29174)]
[此处相同代码省略]
[New Thread 0x7fffdf79d700 (LWP 29242)]
--Type <RET> for more, q to quit, c to continue without paging--
实机卡在了这里,虚拟机则会继续运行,并加载libbrowserengine.so组件。
按回车或上述提示的任意字符,得到如下错误信息:
Thread 1 "baidunetdisk" received signal SIGSEGV, Segmentation fault.
0x00007ffff49db7c9 in EVP_MD_CTX_clear_flags ()
from /lib/x86_64-linux-gnu/libcrypto.so.1.1
提示为 libcrypto.so.1.1 组件的 EVP_MD_CTX_clear_flags 函数有问题,于是sudo apt-get --reinsall install libcrypt* 重新装了一下该组件,错误依旧,从虚拟机中拷贝的正常的libcrypto.so.1.1也是如此,技术有限,我没辙了!
查看syslog发现上一次正常打开百度云是19号,查看bash_history发现有sudo apt autoremove的过程,不知道是不是删掉了一些库导致错误,从虚拟机里面拷贝了一份完整的软件列表,根据软件列表安装了一系列库文件,还是未能解决问题。
缩小问题范围,这两天因为需要使用源代码安装了 e2fsprogs 和 util-linux 两个软件,目前尚不知晓会不会和这两个软件有关,水平有限,还请知道详情的大佬给一些线索或解决方案,在此多谢了