launch hang MacOS 10.11.6 El Cap “Finding local interfaces”
Hi, first visit. I had some odd crashes during last night, older Wireshark was running at the time (not sure how to determine version if needed, is there an installations log) I'd guess v2.x. WS has been running most of recent week, normally 20Mb/day but last night 333Mb logged, I saved the capture OK but it then hung. All 3 crashes seemed not to produce logs in /Library/Logs/DiagnosticReports/ -even more odd
(The other 2 apps to crash were lnav and Thunderbird. TB is the target of my research at present.) Force quit and restart (the old version WS) hung in progress bar something like "loading module preferences" but I could not find any candidate prefs file!
I'm reluctant to reboot I must add; I have a ramdisk with a great deal of complex permissions and ACLs so though the data is backed regularly & should survive I want to avoid a rebuild...
I have also been running tcpdump during most of this last week. I have stopped it while rerunning some attempts at running WS, no difference. Tcpdump runs fine...
I went to get new WS 2.6.5, installed and ran that. 4 hangs no full runs, same if I tried to open old cap files. Runs to 85% progress and hangs at “Finding local interfaces” (Progress bar at window bottom says Please wait while initialising…), take a sample force quit. Rerun, same a .hang spin dump was also generated looks like it is just waiting some child… Syslog:
12:44:13 ··· com.apple.xpc.launchd[1] (org.wireshark.Wireshark.1245152[81449]): Service exited due to signal: Terminated:
15 Dec 15 12:44:24 ··· spindump[1310]: Saved hang Wireshark v(2.6.5) to /Library/Logs/DiagnosticReports/Wireshark_2018-12-15-124424_
from the system crash dumps:
Heaviest stack for the main thread of the target process:
16 start + 52 (Wireshark + 39284) [0x10f005974] 16 main + 5420 (Wireshark + 46332) [0x10f0074fc] 16 ??? (<94810710-91FA-308D-B210-3166F83FCA81> + 2338535) [0x11434dee7] 16 ??? (<94810710-91FA-308D-B210-3166F83FCA81> + 2324909) [0x11434a9ad] 16 ??? (<11698C69-9848-3320-B311-B5F9CF22C1FE> + 128484) [0x114ac95e4] 16 -[NSApplication run] + 682 (AppKit + 249216) [0x7fff8e143d80] 16 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 (AppKit + 295462) [0x7fff8e14f226] 16 _DPSNextEvent + 1067 (AppKit + 298486) [0x7fff8e14fdf6] 16 ReceiveNextEventCommon + 432 (HIToolbox + 198511) [0x7fff9768f76f] 16 RunCurrentEventLoopInMode + 235 (HIToolbox + 198965) [0x7fff9768f935] 16 CFRunLoopRunSpecific + 296 (CoreFoundation + 560680) [0x7fff90085e28] 16 __CFRunLoopRun + 927 (CoreFoundation + 562223) [0x7fff9008642f] 16 __CFRunLoopDoSources0 + 556 (CoreFoundation + 565004) [0x7fff90086f0c] 16 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 698337) [0x7fff900a77e1] 16 ??? (<11698C69-9848-3320-B311-B5F9CF22C1FE> + 125013) [0x114ac8855] 16 ??? (<94810710-91FA-308D-B210-3166F83FCA81> + 2691478) [0x1143a4196] 16 ??? (<94810710-91FA-308D-B210-3166F83FCA81> + 2337074) [0x11434d932] 16 ??? (<878A2FA0-18EB-3632-AC77-0F295CF0E7F3> + 195259) [0x10f9ecabb] 16 ??? (<878A2FA0-18EB-3632-AC77-0F295CF0E7F3> + 184316) [0x10f9e9ffc] 16 ??? (<94810710-91FA-308D-B210-3166F83FCA81> + 2521507) [0x11437a9a3] 16 ??? (<94810710-91FA-308D-B210-3166F83FCA81> + 2550639) [0x114381b6f] 16 InterfaceTree::updateStatistics() + 44 (Wireshark + 964668) [0x10f0e783c] 16 capture_stat_start + 40 (Wireshark + 3687880) [0x10f3805c8] 16 sync_interface_stats_open + 579 (Wireshark + 3804579) [0x10f39cda3] 16 __wait4 + 10 (libsystem_kernel.dylib + 95618) [0x7fff9048b582] *16 ??? (kernel + 5988080) [0xffffff80007b5ef0]
OP further note: I want Wireshark as its detail analysis of TCP packet timings was showing highlighted retransmissions that I simply was not able to spot in the stream from tcpdump. Also the filtering options at both capture and then display give me an extra set of useful options. I read something about running tcpdump with -I (cap i) but is this a change recently? I was fine capturing what I needed for over a week before last night!
Further: all 3 apps that crashed/hung were working together. Wireshark monitoring my wifi traffic, TB creating the traffic plus creating MOZ_LOG file of IMAP traffic and lastly LNAV collating all logging data
First, note:
so the lack of logs in /Library/Logs/DiagnosticReports may have a simple explanation.
Does it run if you just run it without sudo, or do you have to run it with sudo?
And what does
ls -l /dev/bpf0
print?~/.config/wireshark/preferences? ~/.wireshark/preferences?
Thanks Guy:
2 of the 3 asked if I wanted to send crash reports. I said yes to Thunderbird and no to LNAV. tcpdump has always been run under sudo, my UI login is not admin but in terminal I su -l to an admin enabled pid.
ls -l /dev/bpf0
Thanks for the clue on WS prefs. recent & recent_common files are old and look like from earlier versions and now unused, the files etc they ref are from Aug though I have done much more since then...
(more)There is also an empty directory at /Users/myadminuser/.config/wireshark/profiles