teamview won't open on Mac - osx-elcapitan

suddenly my Mac's TeamViewer seems to have disappeared so i'm trying to download and install another version, for personal use. Mac is El Capitan/10.11.6, TeamViewer is v13. I install TeamViewer then try to start it, and the Apple>About this Mac>System Report>Logs shows this message:
Error Domain=NSCocoaErrorDomain Code=260 "The file “TeamViewer.app” couldn’t be opened because there is no such file."
Yet the TeamViewer icon is in the icon tray as running. My terminal "top" shows TeamViewer process running as PID 773. Any ideas how to get TeamViewer to open?
Here is part of the log file - whole thing is too large to paste, but this has some of the TeamViewers msgs:
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: Extracting file://localhost/Volumes/TeamViewer/Install%20TeamViewer.pkg#AuthPluginPackage.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/0295EADB-C0FD-477A-A771-A0EB7BDB1316.activeSandbox/Root/Library/Security/SecurityAgentPlugins, uid=0)
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: efw_cache_update Applications/.TeamViewer/TeamViewer.app exited with 251
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: prevent user idle system sleep
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: suspending backupd
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.G3pm9U/Scripts/com.teamviewer.teamviewer12Agent.bqFYqV
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ pathToFlag=/tmp/tvserviceEnabled
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ pathToOnlyStartServiceAfterInstallFlag=/tmp/tvonlystartservice
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ pathToDesktopPath=/tmp/tvDesktopPath
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ pathToGUIPath=/tmp/tvGUIPath
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ pathToAppPath=/tmp/tvPath
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ pathToInstallerFlag=/tmp/tvinstallerrunning
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ servicePlist=/Library/LaunchDaemons/com.teamviewer.teamviewer_service
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ servicePlistTemp=/Library/LaunchDaemons/com.teamviewer.teamviewer_service_temp
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ desktopPlist=/Library/LaunchAgents/com.teamviewer.teamviewer_desktop
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ guiPlist=/Library/LaunchAgents/com.teamviewer.teamviewer
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ restarterPlist=/Library/LaunchDaemons/com.teamviewer.teamviewer_restarter
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ restarterScript=/tmp/restarter
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ deviceManagementPlists='/var/root/Library/Preferences/com.teamviewer.teamviewer*'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ migrationPrefix=migrate_
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ migrationTargetDirectory=/tmp
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ touch /tmp/tvinstallerrunning
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: + saveAgentState
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: + '[' -e /tmp/tvserviceEnabled ']'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: + '[' -e /tmp/.TeamViewer.lock ']'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ ps -A
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ grep TeamViewer_Service
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ grep .app
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: ++ awk '{print $1}'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: + servicePid=
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: + '[' '' '!=' '' ']'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./preinstall: + exit 0
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/0295EADB-C0FD-477A-A771-A0EB7BDB1316.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/0295EADB-C0FD-477A-A771-A0EB7BDB1316.activeSandbox
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/0295EADB-C0FD-477A-A771-A0EB7BDB1316.activeSandbox/Root (3 items) to /
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.G3pm9U/Scripts/com.teamviewer.teamviewer12.5MFglL
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.G3pm9U/Scripts/com.teamviewer.teamviewer12Agent.bqFYqV
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ pathToFlag=/tmp/tvserviceEnabled
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ pathToOnlyStartServiceAfterInstallFlag=/tmp/tvonlystartservice
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ pathToDesktopPath=/tmp/tvDesktopPath
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ pathToGUIPath=/tmp/tvGUIPath
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ pathToAppPath=/tmp/tvPath
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ pathToInstallerFlag=/tmp/tvinstallerrunning
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ servicePlist=/Library/LaunchDaemons/com.teamviewer.teamviewer_service
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ servicePlistTemp=/Library/LaunchDaemons/com.teamviewer.teamviewer_service_temp
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ desktopPlist=/Library/LaunchAgents/com.teamviewer.teamviewer_desktop
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ guiPlist=/Library/LaunchAgents/com.teamviewer.teamviewer
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ restarterPlist=/Library/LaunchDaemons/com.teamviewer.teamviewer_restarter
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ restarterScript=/tmp/restarter
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ deviceManagementPlists='/var/root/Library/Preferences/com.teamviewer.teamviewer*'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ migrationPrefix=migrate_
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ migrationTargetDirectory=/tmp
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ touch /tmp/tvinstallerrunning
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + launchctl load /Library/LaunchDaemons/com.teamviewer.Helper.plist
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: /Library/LaunchDaemons/com.teamviewer.Helper.plist: service already loaded
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + appName=TeamViewer.app
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + moveApp TeamViewer.app '/Volumes/TeamViewer/Install TeamViewer.pkg'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + local __appName=TeamViewer.app
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + local '__pkgPath=/Volumes/TeamViewer/Install TeamViewer.pkg'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvPath ']'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + appFolderPath=/Applications
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + destFolder=/Applications
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ basename /Applications
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + destFolderName=Applications
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' Applications == 'TeamViewer 8' ']'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' Applications == 'TeamViewer 9' ']'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /Applications/.TeamViewer/TeamViewer.app ']'
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: + appPath=/Applications/TeamViewer.app
Mar 12 13:05:53 Davids-MacBook-Pro installd[335]: ./postinstall: ++ xattr -p com.TeamViewer.ConfigurationId /Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: xattr: /Applications/TeamViewer.app: No such xattr: com.TeamViewer.ConfigurationId
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __oldConfigId=
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + saveReplace /Applications/TeamViewer.app /Applications/.TeamViewer/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __OLD=/Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __NEW=/Applications/.TeamViewer/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /Applications/.TeamViewer/TeamViewer.app ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: ++ dirname /Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + oldDir=/Applications
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: ++ basename /Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + oldFile=TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + mkdir -p /Applications
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + tempFoldeName=/Applications/old_TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /Applications/TeamViewer.app ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + mv /Applications/TeamViewer.app /Applications/old_TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + mv /Applications/.TeamViewer/TeamViewer.app /Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /Applications/old_TeamViewer.app ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + rm -rf /Applications/old_TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + rm -rf /Applications/.TeamViewer
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + customConfigurationFileName '/Volumes/TeamViewer/Install TeamViewer.pkg' /Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local '__pkgPath=/Volumes/TeamViewer/Install TeamViewer.pkg'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __appPath=/Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __pkgFolder=/Volumes/TeamViewer
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local '__configPattern=/Volumes/TeamViewer/-idc'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: ++ wc -l
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: ++ ls '/Volumes/TeamViewer/-idc'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: ++ tr -d ' '
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __fileCount=0
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' 0 '!=' 0 ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: ++ xattr -p com.TeamViewer.ConfigurationId /Applications/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: xattr: /Applications/TeamViewer.app: No such xattr: com.TeamViewer.ConfigurationId
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __newConfigId=
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' '' == '' ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' '' '!=' '' ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + restoreAgentState
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + chmod 644 /Library/LaunchDaemons/com.teamviewer.teamviewer_service_temp.plist
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + chmod 644 /Library/LaunchAgents/com.teamviewer.teamviewer.plist
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + chmod 644 /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvserviceEnabled ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + mv /Library/LaunchDaemons/com.teamviewer.teamviewer_service_temp.plist /Library/LaunchDaemons/com.teamviewer.teamviewer_service.plist
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + migrateDeviceManagementSettings
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + for filePath in '${deviceManagementPlists}'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e '/var/root/Library/Preferences/com.teamviewer.teamviewer*' ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + stopAgents
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __appPattern=
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvserviceEnabled ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + osascript -e 'tell application "TeamViewer" to quit'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + restartService TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + local __appName=TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvserviceEnabled ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvonlystartservice ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + rm -f /tmp/restarter
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + rm -f /Library/LaunchDaemons/com.teamviewer.teamviewer_restarter.plist
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' '!' -e /tmp/tvPath ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + /usr/bin/osascript -e 'tell application "Finder" to open POSIX file "/Applications/TeamViewer.app"'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + cleanup
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvinstallerrunning ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + rm -f /tmp/tvinstallerrunning
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvserviceEnabled ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /tmp/tvPath ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + '[' -e /Applications/.TeamViewer ']'
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: ./postinstall: + exit 0
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Writing receipt for com.teamviewer.teamviewer12PriviledgedHelper to /
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Writing receipt for com.teamviewer.teamviewer12 to /
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Writing receipt for com.teamviewer.teamviewer12Font to /
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Writing receipt for com.teamviewer.teamviewer12Agent to /
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Writing receipt for com.teamviewer.teamviewer12Restarter to /
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Writing receipt for com.teamviewer.teamviewer12AuthPlugin to /
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Touched bundle /Applications/.TeamViewer/TeamViewer.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Touched bundle /Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: PackageKit: Touched bundle /Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/TVNoteIntegration.framework/Versions/A/Resources/TeamViewer Note.app
Mar 12 13:05:54 Davids-MacBook-Pro installd[335]: Installed "TeamViewer" (12.0.82953)
Mar 12 13:05:55 Davids-MacBook-Pro installd[335]: PackageKit: releasing backupd
Mar 12 13:05:55 Davids-MacBook-Pro installd[335]: PackageKit: allow user idle system sleep
Mar 12 13:05:55 Davids-MacBook-Pro installd[335]: PackageKit: ----- End install -----
Mar 12 13:05:55 Davids-MacBook-Pro installd[335]: PackageKit: 3.2s elapsed install time
Mar 12 13:05:55 Davids-MacBook-Pro installd[335]: PackageKit: Running idle tasks
Mar 12 13:05:55 Davids-MacBook-Pro Installer[904]: Error getting application status info for file:///Applications/.TeamViewer/TeamViewer.app: Error Domain=NSCocoaErrorDomain Code=260 "The file “TeamViewer.app” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Applications/.TeamViewer/TeamViewer.app, NSFilePath=/Applications/.TeamViewer/TeamViewer.app, NSUnderlyingError=0x7fc18a601520 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Mar 12 13:05:55 Davids-MacBook-Pro Installer[904]: Error getting application status info for file:///Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app: Error Domain=NSCocoaErrorDomain Code=260 "The file “Autoupdate.app” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app, NSFilePath=/Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app, NSUnderlyingError=0x7fc18bb00090 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Mar 12 13:05:55 Davids-MacBook-Pro Installer[904]: Error getting application status info for file:///Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/TVNoteIntegration.framework/Versions/A/Resources/TeamViewer%20Note.app: Error Domain=NSCocoaErrorDomain Code=260 "The file “TeamViewer Note.app” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/TVNoteIntegration.framework/Versions/A/Resources/TeamViewer%20Note.app, NSFilePath=/Applications/.TeamViewer/TeamViewer.app/Contents/Frameworks/TVNoteIntegration.framework/Versions/A/Resources/TeamViewer Note.app, NSUnderlyingError=0x7fc18bc7f780 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Mar 12 13:05:55 Davids-MacBook-Pro installd[335]: PackageKit: Removing client PKInstallDaemonClient pid=904, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Mar 12 13:05:55 Davids-MacBook-Pro installd[335]: PackageKit: Done with sandbox removals

May be you can completely uninstall TeamViewer and reinstall back. You try to use uninstall app such as App Cleaner

Related

ubuntu 20.04 freeze when compiling kernel modules

I'm using ubuntu20.04 in vmware workstation. I allocate 8 cpu cores, 6G RAM, 4G swap and enough free disk space(at least 25G) to ubuntu20.04. But after running make modules -j4 for about 30 minutes the whole system freezes. The only thing I can do is moving the cursor in virtual machine, the click doesn't get response. When I click "hang up the vm" I get error "cannot hang up vm". After trying several times I can hang it up successsfully. And after I press "continue vm" vm works again but after running about 30 min the situation just occurs again.
gcc version, kernel version are listed below:(they are both compiling linux-4.8.5 kernel source code)
user#ubuntu:~$ gcc --version
gcc (GCC) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
user#ubuntu:~$ uname -r
5.15.57
user#centos7:~$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
user#centos7:~$ uname -r
5.15.86
syslog when the freeze situation occurs:
Message from syslogd#ubuntu at Jan 26 18:55:37 ...
kernel:[ 7665.562563] watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [cc1:100337]
Jan 26 18:55:37 ubuntu kernel: [ 7665.562563] watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [cc1:100337]
Jan 26 18:55:37 ubuntu kernel: [ 7665.562667] Modules linked in: btrfs ... hid_generic
Jan 26 18:55:47 ubuntu kernel: [ 7665.564688] crc32_pclmul mptspi usbhid mptscsih ahci psmouse mptbase hid e1000 pata_acpi libahci scsi_transport_spi i2c_piix4
Jan 26 18:55:47 ubuntu kernel: [ 7665.564982] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:55:47 ubuntu kernel: [ 7665.565049] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:55:47 ubuntu kernel: [ 7665.565083] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:55:47 ubuntu kernel: [ 7665.565393] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:55:47 ubuntu kernel: [ 7665.565437] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:55:47 ubuntu kernel: [ 7665.565441] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:55:47 ubuntu kernel: [ 7665.565443] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:55:47 ubuntu kernel: [ 7665.565446] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:55:47 ubuntu kernel: [ 7665.565448] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:55:47 ubuntu kernel: [ 7665.565450] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:55:47 ubuntu kernel: [ 7665.565452] FS: 00007fc500f3aac0(0000) GS:ffffa04af7f80000(0000) knlGS:0000000000000000
Jan 26 18:55:47 ubuntu kernel: [ 7665.565455] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:55:47 ubuntu kernel: [ 7665.565458] CR2: 00007fc50060f000 CR3: 000000010b0ae004 CR4: 00000000003706e0
Jan 26 18:55:47 ubuntu kernel: [ 7665.565486] Call Trace:
Jan 26 18:55:47 ubuntu kernel: [ 7665.565515] <TASK>
Jan 26 18:55:47 ubuntu kernel: [ 7665.565669] irqentry_exit_to_user_mode+0x9/0x20
Jan 26 18:55:47 ubuntu kernel: [ 7665.565844] irqentry_exit+0x1d/0x30
Jan 26 18:55:47 ubuntu kernel: [ 7665.565848] sysvec_apic_timer_interrupt+0x4e/0x90
Jan 26 18:55:47 ubuntu kernel: [ 7665.565852] asm_sysvec_apic_timer_interrupt+0x1a/0x20
Jan 26 18:55:47 ubuntu kernel: [ 7665.565886] RIP: 0033:0x12cfc00
Jan 26 18:55:47 ubuntu kernel: [ 7665.565972] Code: 33 ff ff ff 83 e6 01 48 89 df e8 4b 0c ff ff 85 c0 0f 84 29 ff ff ff 80 bb 9c 00 00 00 53 0f 85 19 ff ff ff e9 6a ff ff ff 90 <4c> 89 e0 5b 5d 41 5c c3 48 8d 15 c2 3a 79 00 be 1d 0a 00 00 48 8d
Jan 26 18:55:47 ubuntu kernel: [ 7665.565974] RSP: 002b:00007ffd36e8a930 EFLAGS: 00000246
Jan 26 18:55:47 ubuntu kernel: [ 7665.565977] RAX: 0000000002569580 RBX: 00000000023c0a00 RCX: 0000000000000005
Jan 26 18:55:47 ubuntu kernel: [ 7665.565979] RDX: 0000000000000000 RSI: 000000000241dcf0 RDI: 00000000023c0a00
Jan 26 18:55:47 ubuntu kernel: [ 7665.565980] RBP: 00000000023c0a98 R08: 000000000000000f R09: 00007fc50177c000
Jan 26 18:55:47 ubuntu kernel: [ 7665.565981] R10: 0000000002569580 R11: 0256958002569580 R12: 000000000241dcf0
Jan 26 18:55:47 ubuntu kernel: [ 7665.565983] R13: 0000000000000000 R14: 00007ffd36e8a978 R15: 00007fc5007b8f00
Jan 26 18:55:47 ubuntu kernel: [ 7665.565986] </TASK>
Message from syslogd#ubuntu at Jan 26 18:56:06 ...
kernel:[ 7693.578970] watchdog: BUG: soft lockup - CPU#6 stuck for 48s! [cc1:100337]
Jan 26 18:56:06 ubuntu kernel: [ 7693.578970] watchdog: BUG: soft lockup - CPU#6 stuck for 48s! [cc1:100337]
Jan 26 18:56:09 ubuntu kernel: [ 7693.578983] Modules linked in: btrfs ... hid_generic
Jan 26 18:56:09 ubuntu kernel: [ 7693.579073] crc32_pclmul mptspi usbhid mptscsih ahci psmouse mptbase hid e1000 pata_acpi libahci scsi_transport_spi i2c_piix4
Jan 26 18:56:09 ubuntu kernel: [ 7693.579088] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:56:09 ubuntu kernel: [ 7693.579093] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:56:09 ubuntu kernel: [ 7693.579135] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:56:09 ubuntu kernel: [ 7693.579146] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:56:09 ubuntu kernel: [ 7693.579149] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:56:09 ubuntu kernel: [ 7693.579152] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:56:09 ubuntu kernel: [ 7693.579154] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:56:09 ubuntu kernel: [ 7693.579155] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:56:09 ubuntu kernel: [ 7693.579157] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:56:09 ubuntu kernel: [ 7693.579159] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:56:09 ubuntu kernel: [ 7693.579161] FS: 00007fc500f3aac0(0000) GS:ffffa04af7f80000(0000) knlGS:0000000000000000
Jan 26 18:56:09 ubuntu kernel: [ 7693.579163] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:56:09 ubuntu kernel: [ 7693.579165] CR2: 00007fc50060f000 CR3: 000000010b0ae004 CR4: 00000000003706e0
Jan 26 18:56:09 ubuntu kernel: [ 7693.579169] Call Trace:
Jan 26 18:56:09 ubuntu kernel: [ 7693.579172] <TASK>
(same as above)
</TASK>
Message from syslogd#ubuntu at Jan 26 18:56:40 ...
kernel:[ 7729.590239] watchdog: BUG: soft lockup - CPU#6 stuck for 81s! [cc1:100337]
Message from syslogd#ubuntu at Jan 26 18:57:09 ...
kernel:[ 7757.599000] watchdog: BUG: soft lockup - CPU#6 stuck for 107s! [cc1:100337]
Message from syslogd#ubuntu at Jan 26 18:57:36 ...
kernel:[ 7785.607641] watchdog: BUG: soft lockup - CPU#6 stuck for 133s! [cc1:100337]
Message from syslogd#ubuntu at Jan 26 18:58:27 ...
kernel:[ 7813.614515] watchdog: BUG: soft lockup - CPU#6 stuck for 159s! [cc1:100337]
Message from syslogd#ubuntu at Jan 26 18:58:32 ...
kernel:[ 7841.620739] watchdog: BUG: soft lockup - CPU#6 stuck for 186s! [cc1:100337]
Jan 26 18:56:15 ubuntu kernel: [ 7702.812787] rcu: INFO: rcu_sched self-detected stall on CPU
Jan 26 18:56:15 ubuntu kernel: [ 7702.812875] rcu: 6-....: (1 GPs behind) idle=2df/1/0x4000000000000000 softirq=645654/645656 fqs=31
Jan 26 18:56:15 ubuntu kernel: [ 7702.812919] (t=15001 jiffies g=1424273 q=363)
Jan 26 18:56:15 ubuntu kernel: [ 7702.812947] rcu: rcu_sched kthread starved for 509 jiffies! g1424273 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=5
Jan 26 18:56:15 ubuntu kernel: [ 7702.812954] rcu: Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior.
Jan 26 18:56:15 ubuntu kernel: [ 7702.812956] rcu: RCU grace-period kthread stack dump:
Jan 26 18:56:15 ubuntu kernel: [ 7702.812957] task:rcu_sched state:R running task stack: 0 pid: 14 ppid: 2 flags:0x00004000
Jan 26 18:56:15 ubuntu kernel: [ 7702.813009] Call Trace:
Jan 26 18:56:15 ubuntu kernel: [ 7702.813013] <TASK>
(same as above)
</TASK>
Jan 26 18:56:15 ubuntu kernel: [ 7702.813330] rcu: Stack dump where RCU GP kthread last ran:
Jan 26 18:56:15 ubuntu kernel: [ 7702.813359] Sending NMI from CPU 6 to CPUs 5:
Jan 26 18:56:15 ubuntu kernel: [ 7702.813681] NMI backtrace for cpu 5
Jan 26 18:56:15 ubuntu kernel: [ 7702.813684] CPU: 5 PID: 843 Comm: gmain Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:56:15 ubuntu kernel: [ 7702.813688] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:56:15 ubuntu kernel: [ 7702.813690] RIP: 0010:native_write_msr+0x6/0x30
Jan 26 18:56:15 ubuntu kernel: [ 7702.813761] Code: fc ff b8 40 00 00 00 0f 00 d8 44 89 e7 e8 62 15 fc ff eb cb e8 fb d6 cc 00 66 66 2e 0f 1f 84 00 00 00 00 00 89 f9 89 f0 0f 30 <66> 90 c3 cc cc cc cc 55 48 c1 e2 20 89 f6 48 09 d6 31 d2 48 89 e5
Jan 26 18:56:15 ubuntu kernel: [ 7702.813764] RSP: 0000:ffffc251805c0f00 EFLAGS: 00000007
Jan 26 18:56:15 ubuntu kernel: [ 7702.813767] RAX: 000000009437f6ed RBX: 0000000000000000 RCX: 00000000000006e0
Jan 26 18:56:15 ubuntu kernel: [ 7702.813768] RDX: 0000000000000cb4 RSI: 000000009437f6ed RDI: 00000000000006e0
Jan 26 18:56:15 ubuntu kernel: [ 7702.813770] RBP: ffffc251805c0f08 R08: 0000000000000001 R09: 000007014874c7c1
Jan 26 18:56:15 ubuntu kernel: [ 7702.813771] R10: 7fffffffffffffff R11: ffffc251805c0ff8 R12: 000027a10367387b
Jan 26 18:56:15 ubuntu kernel: [ 7702.813772] R13: ffffa04af7f5fe00 R14: ffffa04af7f62db8 R15: ffffa04af7f62df8
Jan 26 18:56:15 ubuntu kernel: [ 7702.813796] FS: 00007f02c513e700(0000) GS:ffffa04af7f40000(0000) knlGS:0000000000000000
Jan 26 18:56:15 ubuntu kernel: [ 7702.813798] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:56:15 ubuntu kernel: [ 7702.813800] CR2: 00007f00d5bf2000 CR3: 0000000117928001 CR4: 00000000003706e0
Jan 26 18:56:15 ubuntu kernel: [ 7702.813803] Call Trace:
Jan 26 18:56:15 ubuntu kernel: [ 7702.813805] <IRQ>
Jan 26 18:56:15 ubuntu kernel: [ 7702.813848] ? lapic_next_deadline+0x2c/0x40
Jan 26 18:56:15 ubuntu kernel: [ 7702.813936] clockevents_program_event+0xa8/0x130
Jan 26 18:56:15 ubuntu kernel: [ 7702.813968] tick_program_event+0x41/0x90
Jan 26 18:56:15 ubuntu kernel: [ 7702.813971] ? hrtimer_update_next_event+0x4f/0x70
Jan 26 18:56:15 ubuntu kernel: [ 7702.813973] hrtimer_interrupt+0x136/0x230
Jan 26 18:56:15 ubuntu kernel: [ 7702.813976] __sysvec_apic_timer_interrupt+0x5e/0xe0
Jan 26 18:56:15 ubuntu kernel: [ 7702.813978] sysvec_apic_timer_interrupt+0x7b/0x90
Jan 26 18:56:15 ubuntu kernel: [ 7702.813982] </IRQ>
Jan 26 18:56:15 ubuntu kernel: [ 7702.813983] <TASK>
Jan 26 18:56:15 ubuntu kernel: [ 7702.813983] asm_sysvec_apic_timer_interrupt+0x1a/0x20
Jan 26 18:56:15 ubuntu kernel: [ 7702.813986] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:56:15 ubuntu kernel: [ 7702.813989] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:56:15 ubuntu kernel: [ 7702.813991] RSP: 0000:ffffc2518434fed8 EFLAGS: 00000202
Jan 26 18:56:15 ubuntu kernel: [ 7702.813993] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:56:15 ubuntu kernel: [ 7702.813994] RDX: ffffa04a40339900 RSI: 0000000000000000 RDI: ffffc2518434ff58
Jan 26 18:56:15 ubuntu kernel: [ 7702.813995] RBP: ffffc2518434ff08 R08: 0000000000000000 R09: 0000070146c988c1
Jan 26 18:56:15 ubuntu kernel: [ 7702.813996] R10: 00000701468c7fc1 R11: 00000000000024d8 R12: ffffc2518434ff58
Jan 26 18:56:15 ubuntu kernel: [ 7702.813998] R13: ffffa04a557ce400 R14: ffffa04a557ce400 R15: ffffa04a557ce400
Jan 26 18:56:15 ubuntu kernel: [ 7702.814000] irqentry_exit_to_user_mode+0x9/0x20
Jan 26 18:56:15 ubuntu kernel: [ 7702.814004] irqentry_exit+0x1d/0x30
Jan 26 18:56:15 ubuntu kernel: [ 7702.814007] sysvec_apic_timer_interrupt+0x4e/0x90
Jan 26 18:56:15 ubuntu kernel: [ 7702.814011] asm_sysvec_apic_timer_interrupt+0x1a/0x20
Jan 26 18:56:15 ubuntu kernel: [ 7702.814013] RIP: 0033:0x7f02c5e07508
Jan 26 18:56:15 ubuntu kernel: [ 7702.814017] Code: c0 74 0f e9 4a f5 ff ff 66 2e 0f 1f 84 00 00 00 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 31 f6 87 37 <83> fe 01 74 0b e9 ce f4 ff ff 66 0f 1f 44 00 00 c3 0f 1f 80 00 00
Jan 26 18:56:15 ubuntu kernel: [ 7702.814019] RSP: 002b:00007f02c513dc98 EFLAGS: 00000246
Jan 26 18:56:15 ubuntu kernel: [ 7702.814021] RAX: 0000000000000f6a RBX: 000000007fffffff RCX: 0000000000000004
Jan 26 18:56:15 ubuntu kernel: [ 7702.814023] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000055920b115870
Jan 26 18:56:15 ubuntu kernel: [ 7702.814024] RBP: 0000000000000002 R08: 0000000000000002 R09: 0000000000000001
Jan 26 18:56:15 ubuntu kernel: [ 7702.814025] R10: 000055920b132e00 R11: 000055920b112580 R12: 0000000000000002
Jan 26 18:56:15 ubuntu kernel: [ 7702.814026] R13: 000055920b115870 R14: 000055920b112dd0 R15: 00007f02c513dcf4
Jan 26 18:56:15 ubuntu kernel: [ 7702.814028] </TASK>
Jan 26 18:56:15 ubuntu kernel: [ 7702.814382] NMI backtrace for cpu 6
Jan 26 18:56:15 ubuntu kernel: [ 7702.814389] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:56:15 ubuntu kernel: [ 7702.814393] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:56:15 ubuntu kernel: [ 7702.814394] Call Trace:
Jan 26 18:56:15 ubuntu kernel: [ 7702.814395] <IRQ>
Jan 26 18:56:15 ubuntu kernel: [ 7702.814397] dump_stack_lvl+0x4a/0x63
Jan 26 18:56:15 ubuntu kernel: [ 7702.814484] dump_stack+0x10/0x16
Jan 26 18:56:15 ubuntu kernel: [ 7702.814487] nmi_cpu_backtrace.cold+0x4d/0x96
Jan 26 18:56:15 ubuntu kernel: [ 7702.814491] ? lapic_can_unplug_cpu+0x90/0x90
Jan 26 18:56:15 ubuntu kernel: [ 7702.814495] nmi_trigger_cpumask_backtrace+0xf3/0x100
Jan 26 18:56:15 ubuntu kernel: [ 7702.814594] arch_trigger_cpumask_backtrace+0x19/0x20
Jan 26 18:56:15 ubuntu kernel: [ 7702.814598] rcu_dump_cpu_stacks+0x132/0x16d
Jan 26 18:56:15 ubuntu kernel: [ 7702.814762] rcu_sched_clock_irq.cold+0x100/0x36a
Jan 26 18:56:15 ubuntu kernel: [ 7702.814787] ? account_system_index_time+0xa0/0xc0
Jan 26 18:56:15 ubuntu kernel: [ 7702.814831] update_process_times+0x94/0xd0
Jan 26 18:56:15 ubuntu kernel: [ 7702.814861] tick_sched_handle.isra.0+0x25/0x60
Jan 26 18:56:15 ubuntu kernel: [ 7702.814865] tick_sched_timer+0x71/0x90
Jan 26 18:56:15 ubuntu kernel: [ 7702.814868] ? tick_sched_do_timer+0x50/0x50
Jan 26 18:56:15 ubuntu kernel: [ 7702.814871] __hrtimer_run_queues+0xc8/0x1d0
Jan 26 18:56:15 ubuntu kernel: [ 7702.814873] hrtimer_interrupt+0x109/0x230
Jan 26 18:56:15 ubuntu kernel: [ 7702.814876] __sysvec_apic_timer_interrupt+0x5e/0xe0
Jan 26 18:56:15 ubuntu kernel: [ 7702.814878] sysvec_apic_timer_interrupt+0x7b/0x90
Jan 26 18:56:15 ubuntu kernel: [ 7702.814883] </IRQ>
Jan 26 18:56:15 ubuntu kernel: [ 7702.814883] <TASK>
Jan 26 18:56:15 ubuntu kernel: [ 7702.814884] asm_sysvec_apic_timer_interrupt+0x1a/0x20
Jan 26 18:56:15 ubuntu kernel: [ 7702.814887] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:56:15 ubuntu kernel: [ 7702.814890] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:56:15 ubuntu kernel: [ 7702.814893] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:56:15 ubuntu kernel: [ 7702.814896] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:56:15 ubuntu kernel: [ 7702.814897] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:56:15 ubuntu kernel: [ 7702.814899] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:56:15 ubuntu kernel: [ 7702.814927] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:56:15 ubuntu kernel: [ 7702.814929] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:56:15 ubuntu kernel: [ 7702.814932] irqentry_exit_to_user_mode+0x9/0x20
Jan 26 18:56:15 ubuntu kernel: [ 7702.814937] irqentry_exit+0x1d/0x30
Jan 26 18:56:15 ubuntu kernel: [ 7702.814940] sysvec_apic_timer_interrupt+0x4e/0x90
Jan 26 18:56:15 ubuntu kernel: [ 7702.814943] asm_sysvec_apic_timer_interrupt+0x1a/0x20
Jan 26 18:56:15 ubuntu kernel: [ 7702.814945] RIP: 0033:0x12cfc00
Jan 26 18:56:15 ubuntu kernel: [ 7702.814949] Code: 33 ff ff ff 83 e6 01 48 89 df e8 4b 0c ff ff 85 c0 0f 84 29 ff ff ff 80 bb 9c 00 00 00 53 0f 85 19 ff ff ff e9 6a ff ff ff 90 <4c> 89 e0 5b 5d 41 5c c3 48 8d 15 c2 3a 79 00 be 1d 0a 00 00 48 8d
Jan 26 18:56:15 ubuntu kernel: [ 7702.814951] RSP: 002b:00007ffd36e8a930 EFLAGS: 00000246
Jan 26 18:56:15 ubuntu kernel: [ 7702.814953] RAX: 0000000002569580 RBX: 00000000023c0a00 RCX: 0000000000000005
Jan 26 18:56:15 ubuntu kernel: [ 7702.814978] RDX: 0000000000000000 RSI: 000000000241dcf0 RDI: 00000000023c0a00
Jan 26 18:56:15 ubuntu kernel: [ 7702.814980] RBP: 00000000023c0a98 R08: 000000000000000f R09: 00007fc50177c000
Jan 26 18:56:15 ubuntu kernel: [ 7702.814981] R10: 0000000002569580 R11: 0256958002569580 R12: 000000000241dcf0
Jan 26 18:56:15 ubuntu kernel: [ 7702.814983] R13: 0000000000000000 R14: 00007ffd36e8a978 R15: 00007fc5007b8f00
Jan 26 18:56:15 ubuntu kernel: [ 7702.814985] </TASK>
Jan 26 18:56:40 ubuntu kernel: [ 7729.590239] watchdog: BUG: soft lockup - CPU#6 stuck for 81s! [cc1:100337]
Jan 26 18:56:40 ubuntu kernel: [ 7729.590249] Modules linked in: btrfs ... hid_generic
Jan 26 18:56:40 ubuntu kernel: [ 7729.590369] crc32_pclmul mptspi usbhid mptscsih ahci psmouse mptbase hid e1000 pata_acpi libahci scsi_transport_spi i2c_piix4
Jan 26 18:56:40 ubuntu kernel: [ 7729.590381] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:56:40 ubuntu kernel: [ 7729.590385] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:56:40 ubuntu kernel: [ 7729.590387] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:56:40 ubuntu kernel: [ 7729.590394] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:56:40 ubuntu kernel: [ 7729.590397] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:56:40 ubuntu kernel: [ 7729.590400] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:56:40 ubuntu kernel: [ 7729.590402] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:56:40 ubuntu kernel: [ 7729.590403] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:56:40 ubuntu kernel: [ 7729.590405] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:56:40 ubuntu kernel: [ 7729.590407] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:56:40 ubuntu kernel: [ 7729.590409] FS: 00007fc500f3aac0(0000) GS:ffffa04af7f80000(0000) knlGS:0000000000000000
Jan 26 18:56:40 ubuntu kernel: [ 7729.590411] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:56:40 ubuntu kernel: [ 7729.590412] CR2: 00007fc50060f000 CR3: 000000010b0ae004 CR4: 00000000003706e0
Jan 26 18:56:40 ubuntu kernel: [ 7729.590451] Call Trace:
Jan 26 18:56:40 ubuntu kernel: [ 7729.590453] <TASK>
(same as above)
</TASK>
Jan 26 18:57:09 ubuntu kernel: [ 7757.599000] watchdog: BUG: soft lockup - CPU#6 stuck for 107s! [cc1:100337]
Jan 26 18:57:09 ubuntu kernel: [ 7757.599009] Modules linked in: btrfs ... hid_generic
Jan 26 18:57:09 ubuntu kernel: [ 7757.599076] crc32_pclmul mptspi usbhid mptscsih ahci psmouse mptbase hid e1000 pata_acpi libahci scsi_transport_spi i2c_piix4
Jan 26 18:57:09 ubuntu kernel: [ 7757.599086] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:57:09 ubuntu kernel: [ 7757.599089] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:57:09 ubuntu kernel: [ 7757.599091] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:57:09 ubuntu kernel: [ 7757.599097] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:57:09 ubuntu kernel: [ 7757.599099] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:57:09 ubuntu kernel: [ 7757.599101] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:57:09 ubuntu kernel: [ 7757.599103] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:57:09 ubuntu kernel: [ 7757.599104] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:57:09 ubuntu kernel: [ 7757.599105] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:57:09 ubuntu kernel: [ 7757.599106] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:57:09 ubuntu kernel: [ 7757.599108] FS: 00007fc500f3aac0(0000) GS:ffffa04af7f80000(0000) knlGS:0000000000000000
Jan 26 18:57:09 ubuntu kernel: [ 7757.599110] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:57:09 ubuntu kernel: [ 7757.599111] CR2: 00007fc50060f000 CR3: 000000010b0ae004 CR4: 00000000003706e0
Jan 26 18:57:09 ubuntu kernel: [ 7757.599114] Call Trace:
Jan 26 18:57:16 ubuntu kernel: [ 7757.599116] <TASK>
(same as above)
</TASK>
Jan 26 18:57:36 ubuntu kernel: [ 7785.607641] watchdog: BUG: soft lockup - CPU#6 stuck for 133s! [cc1:100337]
Jan 26 18:57:36 ubuntu kernel: [ 7785.607651] Modules linked in: btrfs ... hid_generic
Jan 26 18:57:36 ubuntu kernel: [ 7785.607750] crc32_pclmul mptspi usbhid mptscsih ahci psmouse mptbase hid e1000 pata_acpi libahci scsi_transport_spi i2c_piix4
Jan 26 18:57:36 ubuntu kernel: [ 7785.607760] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:57:36 ubuntu kernel: [ 7785.607764] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:57:36 ubuntu kernel: [ 7785.607765] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:57:36 ubuntu kernel: [ 7785.607772] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:57:36 ubuntu kernel: [ 7785.607774] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:57:36 ubuntu kernel: [ 7785.607776] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:57:36 ubuntu kernel: [ 7785.607777] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:57:36 ubuntu kernel: [ 7785.607779] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:57:36 ubuntu kernel: [ 7785.607780] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:57:36 ubuntu kernel: [ 7785.607781] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:57:36 ubuntu kernel: [ 7785.607782] FS: 00007fc500f3aac0(0000) GS:ffffa04af7f80000(0000) knlGS:0000000000000000
Jan 26 18:57:36 ubuntu kernel: [ 7785.607784] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:57:36 ubuntu kernel: [ 7785.607785] CR2: 00007fc50060f000 CR3: 000000010b0ae004 CR4: 00000000003706e0
Jan 26 18:57:59 ubuntu kernel: [ 7785.607788] Call Trace:
Jan 26 18:58:27 ubuntu kernel: [ 7785.607790] <TASK>
(same as above)
</TASK>
Jan 26 18:58:27 ubuntu kernel: [ 7813.614515] watchdog: BUG: soft lockup - CPU#6 stuck for 159s! [cc1:100337]
Jan 26 18:58:27 ubuntu kernel: [ 7813.614524] Modules linked in: btrfs ... hid_generic
Jan 26 18:58:27 ubuntu kernel: [ 7813.614588] crc32_pclmul mptspi usbhid mptscsih ahci psmouse mptbase hid e1000 pata_acpi libahci scsi_transport_spi i2c_piix4
Jan 26 18:58:27 ubuntu kernel: [ 7813.614635] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:58:27 ubuntu kernel: [ 7813.614638] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:58:27 ubuntu kernel: [ 7813.614640] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:58:27 ubuntu kernel: [ 7813.614646] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:58:27 ubuntu kernel: [ 7813.614648] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:58:27 ubuntu kernel: [ 7813.614650] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:58:27 ubuntu kernel: [ 7813.614652] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:58:27 ubuntu kernel: [ 7813.614653] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:58:27 ubuntu kernel: [ 7813.614654] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:58:27 ubuntu kernel: [ 7813.614656] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:58:27 ubuntu kernel: [ 7813.614657] FS: 00007fc500f3aac0(0000) GS:ffffa04af7f80000(0000) knlGS:0000000000000000
Jan 26 18:58:27 ubuntu kernel: [ 7813.614659] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:58:27 ubuntu kernel: [ 7813.614660] CR2: 00007fc50060f000 CR3: 000000010b0ae004 CR4: 00000000003706e0
Jan 26 18:58:27 ubuntu kernel: [ 7813.614686] Call Trace:
(same as above)
</TASK>
Jan 26 18:58:32 ubuntu kernel: [ 7841.620739] watchdog: BUG: soft lockup - CPU#6 stuck for 186s! [cc1:100337]
Jan 26 18:58:32 ubuntu kernel: [ 7841.620748] Modules linked in: btrfs ... hid_generic
Jan 26 18:58:32 ubuntu kernel: [ 7841.620818] crc32_pclmul mptspi usbhid mptscsih ahci psmouse mptbase hid e1000 pata_acpi libahci scsi_transport_spi i2c_piix4
Jan 26 18:58:32 ubuntu kernel: [ 7841.620830] CPU: 6 PID: 100337 Comm: cc1 Tainted: G
L 5.15.0-52-generic #58~20.04.1-Ubuntu
Jan 26 18:58:32 ubuntu kernel: [ 7841.620833] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
Jan 26 18:58:32 ubuntu kernel: [ 7841.620835] RIP: 0010:exit_to_user_mode_prepare+0xea/0x1c0
Jan 26 18:58:32 ubuntu kernel: [ 7841.620842] Code: e3 02 75 71 fa 66 0f 1f 44 00 00 65 48 8b 04 25 c0 fb 01 00 48 8b 18 f7 c3 0e 30 02 00 0f 84 48 ff ff ff fb 66 0f 1f 44 00 00 <f6> c3 08 74 be e8 3c 23 c0 00 f6 c7 10 74 b9 4c 89 e7 e8 ff 49 13
Jan 26 18:58:32 ubuntu kernel: [ 7841.620844] RSP: 0000:ffffc251922e7ed8 EFLAGS: 00000202
Jan 26 18:58:32 ubuntu kernel: [ 7841.620847] RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000000006e0
Jan 26 18:58:32 ubuntu kernel: [ 7841.620848] RDX: ffffa04a4033cb00 RSI: 0000000000000000 RDI: ffffc251922e7f58
Jan 26 18:58:32 ubuntu kernel: [ 7841.620886] RBP: ffffc251922e7f08 R08: 0000000000000000 R09: 000006f3506a78c1
Jan 26 18:58:32 ubuntu kernel: [ 7841.620888] R10: 000006f3502d6fc1 R11: 0000000000512638 R12: ffffc251922e7f58
Jan 26 18:58:32 ubuntu kernel: [ 7841.620890] R13: ffffa04a460d3200 R14: ffffa04a460d3200 R15: ffffa04a460d3200
Jan 26 18:58:32 ubuntu kernel: [ 7841.620891] FS: 00007fc500f3aac0(0000) GS:ffffa04af7f80000(0000) knlGS:0000000000000000
Jan 26 18:58:32 ubuntu kernel: [ 7841.620893] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 18:58:32 ubuntu kernel: [ 7841.620895] CR2: 00007fc50060f000 CR3: 000000010b0ae004 CR4: 00000000003706e0
Jan 26 18:58:32 ubuntu kernel: [ 7841.620898] Call Trace:
Jan 26 18:58:32 ubuntu kernel: [ 7841.620900] <TASK>
(same as above)
</TASK>
Jan 26 19:05:42 ubuntu NetworkManager[768]: <info> [1674788384.3036] manager: NetworkManager state is now CONNECTED_SITE
I encountered freezing once, by adding RAM I solved the problem. But this time I add RAM to 8G, freezing still occurs. What also confuses me is that my centos vm with 3G RAM and 8 cpu cores run make modules -j8 successfully. I have no idea about the difference.
To check the cpu and memory usage I execute top at the same time. the picture is top's output when freezing occurs. top command output

Awk sort by last column and the print the whole line

How to sort by the $NF|"sort -u" and then print the whole line
Raw_data:
column1 COlumn2 column3
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
ov0001 1.45 Jun 27 2019 I42 v2.32 (03/09/2020) ov0001
ov0001 1.45 Jun 27 2019 I42 v2.32 (03/09/2020) ov0001
ov0001 1.45 Jun 27 2019 I42 v1.26 (11/14/2017) ov0001
ov0001 1.35 Aug 14 2018 I42 v1.42 (06/20/2018) ov0001
ov0001 1.35 Aug 14 2018 I42 v1.42 (06/20/2018) ov0001
ov0001 1.35 Aug 14 2018 I42 v1.42 (06/20/2018) ov0001
Tried:
trying below but did not work.
$ awk '{print $NF;$0}' hwversion
OR
$ awk '{if (print $NF|"sort -u"), print $0}' hwversion
Expected:
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
Here is a gnu-awk command to get this in single command:
awk 'NR > 1 && (!($NF in map) || $2 > map[$NF]) {map[$NF] = $2; rec[$NF] = $0}
END {PROCINFO["sorted_in"]="#ind_str_desc"; for (i in rec) print rec[i]}' file
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
You can get header row as well if you want:
awk 'NR == 1 {print; next} !($NF in map) || $2 > map[$NF] {map[$NF] = $2; rec[$NF] = $0}
END {PROCINFO["sorted_in"]="#ind_str_desc"; for (i in rec) print rec[i]}' file
column1 COlumn2 column3
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
With your shown samples, please try following. This will get maximum value of 2nd column based on last column, it will also keep multiple occurrences of 2nd column with same last column(in case maximum value in 2nd field is same for more than 1 line with respect to last column).
awk '
FNR==1{
print
next
}
{
arr[$NF]=(arr[$NF]>=$2?arr[$NF]:$2)
val[$NF,$2]=(val[$NF,$2]?val[$NF,$2] ORS:"")$0
}
END{
for(key in arr){
print val[key,arr[key]] | "sort -k" NF "r"
}
}
' Input_file
If you know the number of fields, just sort on the last field.
sort -u -k9,9 hwversion
If you don't know the number of fields, but expect it to be consistent, you can get Awk to print the number of fields, and use that.
nfields=$(awk 'NR==2 { print NF; exit }' hwversion)
sort -u -k"$nfields,$nfields" hwversion
I skipped to the second line because the first seems to have the wrong number of labels. If you want to force that line to be the first one, extract it separately.
head -n 1 hwversion >sorted
tail -n +1 hwversion | sort -u -k9,9 hwversion >>sorted
Or a slightly different pipeline that uses the NF for the keydef for sort:
tail -n+2 file | sort -u -k$(awk 'FNR!=1{print NF; exit}' file)r
Output
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
It seems like this is all you really need:
$ tail -n +2 file | sort -k1,1r -u
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
or if you wanted the header line too then:
$ awk -v OFS='\t' '{print (NR>1), $0}' file | sort -k1,1n -k2,2r -u | cut -f2-
column1 COlumn2 column3
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
and if you HAD to use $NF to sort on instead of just using the value duplicated in $1 then:
$ awk -v OFS='\t' '{print (NR>1), $NF, $0}' file | sort -k1,1n -k2,2r -u | cut -f3-
column1 COlumn2 column3
ov0002 1.40 Feb 05 2019 I42 v2.04 (04/18/2019) ov0002
ov0001 1.46 Jul 25 2019 I42 v2.14 (09/05/2019) ov0001
The above use mandatory POSIX tools in any shell.

Commaide killed by OOM when analyzing a file

Comma is always killed by oom when I try to edit a file in which I use 10 modules (mainly Cro::HTTP ) and after the start of analysis. I can see that many raku process are running (in order to analyze?) :
journalctl :
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 4722] 1000 4722 654 29 40960 0 0 comma.sh
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 4771] 1000 4771 1085318 155576 1949696 0 0 java
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 4825] 1000 4825 783 35 40960 0 0 fsnotifier64
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5036] 1000 5036 52039 24008 364544 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5038] 1000 5038 51119 25114 372736 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5039] 1000 5039 52391 23805 368640 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5047] 1000 5047 51473 22787 352256 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5049] 1000 5049 51129 22929 356352 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5050] 1000 5050 49796 21981 348160 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5052] 1000 5052 50929 25154 368640 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5057] 1000 5057 52078 23535 364544 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5066] 1000 5066 51071 22735 348160 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5075] 1000 5075 51254 22555 356352 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5081] 1000 5081 49423 21271 335872 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5093] 1000 5093 49375 21590 344064 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5100] 1000 5100 50784 22763 352256 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5104] 1000 5104 49360 21141 335872 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: [ 5115] 1000 5115 46338 14169 282624 0 0 rakudo
janv. 09 19:47:42 samuel-Virtual-Machine kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user#1000.service,task=java,pid=4771,uid=1000
janv. 09 19:47:42 samuel-Virtual-Machine kernel: Out of memory: Killed process 4771 (java) total-vm:4341272kB, anon-rss:622236kB, file-rss:0kB, shmem-rss:68kB, UID:1000 pgtables:1904kB oom_score_adj:0
janv. 09 19:47:42 samuel-Virtual-Machine kernel: oom_reaper: reaped process 4771 (java), now anon-rss:0kB, file-rss:0kB, shmem-rss:68kB
Is this a normal behavior? Is there an option to limit the number of parallel raku process ?
(I work on a small Vm with 4GB of memory).
It's expected that Comma will invoke the selected Raku compiler in order to obtain symbols from modules. That should take place once at the start of editing a file using a particular module and then be cached (and the caching is across the project as a whole).
Aside from the number of rakudo instances spawned, the memory usage of the java process itself looks a bit on the high side. Probably it's worth asking the Comma developers to take a look at it, and providing some more detailed information. Of note, the Help menu has a "Collect Logs and Diagnostic Data" option (which will provide a zip file that can be sent to the developers, although note it may also include some data about the project you are working on). Any other information to aid reproduction (such as the list of modules being used) would also be useful.

how to wite the date fuctionality for below output

I want the output like this for whole year:
Jan 01 - Jan 14 - 2021
Jan 15 - Jan 28 - 2021
Jan 29 - Feb 11 - 2021
Feb 12 - Feb 25 - 2021
Feb 26 - Mar 11 - 2021
Mar 12 - Mar 25 - 2021
Mar 26 - Apr 08 - 2021
Apr 09 - Apr 22 - 2021
Apr 22 - May 06 - 2021
May 07 - May 20 - 2021
May 21 - Jun 03 - 2021
Jun 04 - Jun 17 - 2021
Jun 18 - Jul 01 - 2021
Jul 02 - Jul 15 - 2021
Jul 16 - Jul 29 - 2021
Jul 30 - Aug 12 - 2021
Aug 13 - Aug 26 - 2021
Aug 27 - Sep 09 - 2021
Sep 10 - Sep 23 - 2021
Sep 24 - Oct 07 - 2021
Oct 08 - Oct 21 - 2021
Oct 22 - Nov 04 - 2021
Nov 05 - Nov 18 - 2021
Dec 19 - Dec 02 - 2021
Dec 03 - Dec 16 - 2021
Dec 17 - Dec 30 - 2021
One option uses generate_series():
select d.dt dt_start, d.dt + '13 days'::interval dt_end
from generate_series(
date_trunc('year', current_date),
date_trunc('year', current_date) + '1 year'::interval - '13 days'::interval,
'14 days'::interval
) d(dt)
order by dt_start
SELECT to_char(d, 'Mon DD - ')
|| to_char(d + INTERVAL '13 days', 'Mon DD - YYYY')
FROM generate_series(
TIMESTAMP '2021-01-01',
TIMESTAMP '2021-12-17',
INTERVAL '14 days'
) AS d;
?column?
------------------------
Jan 01 - Jan 14 - 2021
Jan 15 - Jan 28 - 2021
Jan 29 - Feb 11 - 2021
Feb 12 - Feb 25 - 2021
Feb 26 - Mar 11 - 2021
Mar 12 - Mar 25 - 2021
Mar 26 - Apr 08 - 2021
Apr 09 - Apr 22 - 2021
Apr 23 - May 06 - 2021
May 07 - May 20 - 2021
May 21 - Jun 03 - 2021
Jun 04 - Jun 17 - 2021
Jun 18 - Jul 01 - 2021
Jul 02 - Jul 15 - 2021
Jul 16 - Jul 29 - 2021
Jul 30 - Aug 12 - 2021
Aug 13 - Aug 26 - 2021
Aug 27 - Sep 09 - 2021
Sep 10 - Sep 23 - 2021
Sep 24 - Oct 07 - 2021
Oct 08 - Oct 21 - 2021
Oct 22 - Nov 04 - 2021
Nov 05 - Nov 18 - 2021
Nov 19 - Dec 02 - 2021
Dec 03 - Dec 16 - 2021
Dec 17 - Dec 30 - 2021
(26 rows)

axis2c_http_server can't find axis2.xml

I am trying to use Axis2/c on OS X but when I launch axis2c_http_server, I get the following errors:
[Fri Mar 16 12:26:19 2012] [info] Starting Axis2 HTTP server....
[Fri Mar 16 12:26:19 2012] [info] Apache Axis2/C version in use : 1.6.0
[Fri Mar 16 12:26:19 2012] [info] Server port : 9090
[Fri Mar 16 12:26:19 2012] [info] Repo location : ../
[Fri Mar 16 12:26:19 2012] [info] Read Timeout : 60000 ms
[Fri Mar 16 12:26:19 2012] [error] dep_engine.c(324) Axis2 Configuration file name not found
[Fri Mar 16 12:26:19 2012] [error] conf_init.c(56) Creating deployment engine failed for repository ../
[Fri Mar 16 12:26:19 2012] [error] http_receiver.c(126) unable to create private configuration contextfor repo path ../
[Fri Mar 16 12:26:19 2012] [error] http_server_main.c(215) Server creation failed: Error code: 18 :: Configuration file cannot be found
It seems the server cannot locate the file axis2.xml.
I have put axis2.xml in the repo's root. I have correctly set the environment variable $AXIS2C_HOME because the server write the logs in the right folder.
Here is my repo's structure:
antoine#Antoines-MacBook-Air:repo $ pwd
/Users/antoine/Documents/axis2c_test/repo
antoine#Antoines-MacBook-Air:repo $ ll -R
total 16
-rw-r--r--# 1 antoine staff 5.8K Mar 16 10:06 axis2.xml
drwxr-xr-x 53 antoine staff 1.8K Mar 16 10:06 lib
drwxr-xr-x 4 antoine staff 136B Mar 16 12:26 logs
drwxr-xr-x 4 antoine staff 136B Mar 16 11:14 services
./lib:
total 25816
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.0.dylib
-rw-r--r-- 1 antoine staff 1.3M Mar 16 10:06 libaxis2_axiom.a
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.dylib
-rwxr-xr-x 1 antoine staff 1.0K Mar 16 10:06 libaxis2_axiom.la
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.0.dylib
-rw-r--r-- 1 antoine staff 2.6M Mar 16 10:06 libaxis2_engine.a
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.dylib
-rwxr-xr-x 1 antoine staff 1.1K Mar 16 10:06 libaxis2_engine.la
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.0.dylib
-rw-r--r-- 1 antoine staff 484K Mar 16 10:06 libaxis2_http_common.a
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.dylib
-rwxr-xr-x 1 antoine staff 1.1K Mar 16 10:06 libaxis2_http_common.la
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.0.dylib
-rw-r--r-- 1 antoine staff 57K Mar 16 10:06 libaxis2_http_receiver.a
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.dylib
-rwxr-xr-x 1 antoine staff 1.2K Mar 16 10:06 libaxis2_http_receiver.la
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.0.dylib
-rw-r--r-- 1 antoine staff 355K Mar 16 10:06 libaxis2_http_sender.a
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.dylib
-rwxr-xr-x 1 antoine staff 1.2K Mar 16 10:06 libaxis2_http_sender.la
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.0.dylib
-rw-r--r-- 1 antoine staff 139K Mar 16 10:06 libaxis2_parser.a
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.dylib
-rwxr-xr-x 1 antoine staff 982B Mar 16 10:06 libaxis2_parser.la
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.0.dylib
-rw-r--r-- 1 antoine staff 190K Mar 16 10:06 libaxis2_xpath.a
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.dylib
-rwxr-xr-x 1 antoine staff 902B Mar 16 10:06 libaxis2_xpath.la
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.0.dylib
-rw-r--r-- 1 antoine staff 982K Mar 16 10:06 libaxutil.a
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.dylib
-rwxr-xr-x 1 antoine staff 867B Mar 16 10:06 libaxutil.la
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.0.dylib
-rw-r--r-- 1 antoine staff 191K Mar 16 10:06 libguththila.a
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.dylib
-rwxr-xr-x 1 antoine staff 923B Mar 16 10:06 libguththila.la
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.0.6.0.dylib
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.0.dylib
-rw-r--r-- 1 antoine staff 1.4M Mar 16 10:06 libneethi.a
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.dylib
-rwxr-xr-x 1 antoine staff 1.0K Mar 16 10:06 libneethi.la
drwxr-xr-x 3 antoine staff 102B Mar 16 10:06 pkgconfig
./lib/pkgconfig:
total 8
-rw-r--r-- 1 antoine staff 256B Mar 16 10:06 axis2c.pc
./logs:
total 24
-rw-r--r-- 1 antoine staff 12K Mar 16 12:26 axis2.log
./services:
total 32
-rwxr-xr-x 1 antoine staff 10K Mar 16 12:26 libhello.dylib
-rw-r--r-- 1 antoine staff 209B Mar 16 10:06 services.xml
Does someone see what I am doing wrong?
I am using the client side consumer only, but maybe the solution I have can help you.
In order to run the server you need to set AXIS2C_HOME environment variable to point to the AXIS2C installation.
For the client you don't need to, you just specifiy the location of the axis2.xml file when creating a new instance of axis2c_stub_t type (aka set the client_home parameter.)