Wireshark

This may possibly be of help to other new WireShark users who are having trouble getting WireShark to launch in Yosemite. Some of this has been shared before, but there is a little added twist at the end which worked for me.

I made repeated attempts to use both WireShark 1.12.4 and 1.99.3, but without success. Regardless of which version I used, WireShark keep freezing up during the initialization process.

In the initialization window, WireShark would get as far as “Loading module preferences”, or about three quarters of the way done, and in the bottom of the window it would say “Please wait while Wireshark is initializing…”; and then freeze-up.

So I conducted some quick research on the web and discovered that I had to enter “sudo ln -s /opt/X11 /usr/X11” in the Terminal in order to restore a link an X11 link that Yosemite breaks. However, even that did not help.

Next, I reinstalled XQuartz 2.7.7. Again, that didn’t help either.

Then I came across an online comment where someone stated that they typed “sudo wireshark” in the Terminal. Guess what? I don’t know why, but it worked. The Terminal spit out the following, and then WireShark launched on my desktop:

void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
22:01:58 Dbg plugin_dir: /Applications/Wireshark.app/Contents/PlugIns/wireshark

Now I can click WireShark’s icon in the Dock, and it appears to be working fine.