Wireshark 无法启动,分段错误,Kali Linux

Wireshark 无法启动,分段错误,Kali Linux

以 root 或普通用户身份登录时,Wireshark 无法启动。每次我都会在终端窗口中收到分段错误。

终端的输出(对于 root 用户和普通用户来说相同):

root@kali:~# wireshark
Segmentation fault
root@kali:~# 

gdb 的输出:

(gdb) run
Starting program: /usr/bin/wireshark 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe135e700 (LWP 1799)]
[New Thread 0x7fffd5d10700 (LWP 1800)]
[New Thread 0x7fffd550f700 (LWP 1801)]
[New Thread 0x7fffcc871700 (LWP 1802)]
[New Thread 0x7fffc7fff700 (LWP 1803)]

**Thread 1 "wireshark" received signal SIGSEGV, Segmentation fault.
0x00007ffff0ab175b in wtap_encap_string ()
   from /usr/lib/x86_64-linux-gnu/libwiretap.so.6**

(gdb) bt
#0  0x00007ffff0ab175b in wtap_encap_string ()
   from /usr/lib/x86_64-linux-gnu/libwiretap.so.6
#1  0x00007ffff445af9d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libwireshark.so.8
#2  0x00007ffff4ccf38f in register_all_protocols ()
   from /usr/lib/x86_64-linux-gnu/libwireshark.so.8
#3  0x00007ffff4172868 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libwireshark.so.8
#4  0x00007ffff414ddc7 in epan_init ()
   from /usr/lib/x86_64-linux-gnu/libwireshark.so.8
#5  0x00005555556a26fa in main ()

欢迎提出任何建议。在互联网上搜索了一些解决方案,但一无所获。谢谢。

答案1

我在使用 2.2.5 版本时也遇到了同样的错误,最后我彻底删除了 wireshark

sudo apt-get remove wireshark

然后我重新安装了 qt 版本,似乎修复了这个问题,虽然我不知道为什么

sudo apt-get install wireshark-qt

我认为是当前版本出了问题,但我不能肯定

相关内容