Wirshark won't run

asked 2021-05-22 19:01:40 +0000

phlem gravatar image

Wireshark 3.4.5 runs for a couple of minutes when I start my windows 10 pc, and then it crashes and when I try to reopen it it won't run at all.

edit retag flag offensive close merge delete

Comments

Did you try to reinstall it or run as administrator?

BigFatCat gravatar imageBigFatCat ( 2021-05-22 20:22:14 +0000 )edit

Please do NOT ever advise folks to run Wireshark as Administrator or root.

To quote section 3.11.1 Packaging Guidelines of the Wireshark Developer's Guide:

Privileges

All function calls that require elevated privileges are in dumpcap.

WIRESHARK CONTAINS OVER THREE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT.

Administrator on Windows is the same as root elsewhere.

grahamb gravatar imagegrahamb ( 2021-05-24 13:33:04 +0000 )edit

What was Wireshark initially doing when it crashed? Can you provide any further details?

Since you apparently can't start Wireshark anymore, can you please post tshark -v output? In particular, if you're not running the latest version of npcap, currently 1.31, then you might want to update that component and see if that helps.

If you're already running the latest version of npcap or upgrading it doesn't help, then in case it's related to one or more of your preferences, you could try temporarily renaming your Personal configuration directory, (run tshark -G folders to find it), and then try running Wireshark again but from a more pristine state. If that helps, then it's obviously not a real fix for the problem, because no preference should cause Wireshark to crash or prevent it from running, but at least it may help you get past ...(more)

cmaynard gravatar imagecmaynard ( 2021-05-24 14:58:41 +0000 )edit