Code Monkey home page Code Monkey logo

Comments (5)

strib avatar strib commented on May 30, 2024

@gabriel: that's not really a KBFS crash. It looks like something on the device unmounted the FUSE mountpoint or removed the kernel extension, leaving KBFS with nothing to talk to. Maybe we should look into the system logs to figure out if anything happened in the kernel around then?

from kbfs.

AlexClineBB avatar AlexClineBB commented on May 30, 2024

@strib @gabriel, here are the logs from around that time. I see a lot of entries for 'virusbarrierb' which I believe to be Panda Antivirus, my company's AV program. To debug, I disabled real-time scanning in Panda and the crashing seems to have stopped.

Can you provide a list of Mac directories that I should add to the AV whitelist?

zgrep -E "(Keybase|kbfs|kbfuse)" system.log.1.gz 
Feb 14 10:08:13 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.
Feb 14 10:08:14 alexcline-L141 kernel[0]: kbfuse: starting (3.5.2, Sep 27 2016, 10:56:03)
Feb 14 10:08:55 alexcline-L141.local WindowServer[208]: disable_update_timeout: UI updates were forcibly disabled by application "Keybase" for over 1.00 seconds. Server has re-enabled them.
Feb 14 10:08:55 alexcline-L141.local WindowServer[208]: common_reenable_update: UI updates were finally reenabled by application "Keybase" after 1.20 seconds (server forcibly re-enabled them after 1.00 seconds)
Feb 14 10:28:00 alexcline-L141.local WindowServer[208]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 0.250 second wait for reply from "Keybase" for synchronous notification type 100 (kCGSDisplayWillReconfigure) (CID 0x15307, PID 448)
Feb 14 11:10:06 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs[646]): Service exited due to signal: Terminated: 15
Feb 14 11:11:09 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:12:11 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:12:12 alexcline-L141 kernel[0]: process kbfs[2000] caught causing excessive wakeups. Observed wakeups rate (per sec): 537; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 67980
Feb 14 11:14:25 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.
Feb 14 11:14:28 alexcline-L141 kernel[0]: process Keybase[2105] caught causing excessive wakeups. Observed wakeups rate (per sec): 10918; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 108757
Feb 14 11:14:29 alexcline-L141 kernel[0]: process Keybase[2093] caught causing excessive wakeups. Observed wakeups rate (per sec): 2820; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 47796
Feb 14 11:15:28 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:15:28 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/menubarIcon/[email protected]
Feb 14 11:16:30 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/SharedSupport/bin/keybase
Feb 14 11:16:30 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:17:00 alexcline-L141.local spindump[500]: Saved wakeups_resource.diag report for Keybase version 1.0.18-20170209165653+17b641d (1.0.18-20170209165653+17b641d) to /Library/Logs/DiagnosticReports/Keybase_2017-02-14-111700_alexcline-L141.wakeups_resource.diag
Feb 14 11:17:32 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /System/Library/ColorSync/Profiles/sRGB Profile.icc
Feb 14 11:17:32 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:18:00 alexcline-L141 com.apple.xpc.launchd[1] (keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.
Feb 14 11:18:06 alexcline-L141 kernel[0]: process Keybase[2238] caught causing excessive wakeups. Observed wakeups rate (per sec): 3674; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45149
Feb 14 11:18:06 alexcline-L141 kernel[0]: process Keybase[2241] caught causing excessive wakeups. Observed wakeups rate (per sec): 24225; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 268060
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/icons/[email protected]
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Application Support/Keybase/Cookies
Feb 14 11:19:03 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/icons/icon-computer-32.png
Feb 14 11:20:05 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Application Support/Keybase/app-state.json
Feb 14 11:20:05 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:20:05 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Applications/Keybase.app/Contents/Resources/app/images/menubarIcon/[email protected]
Feb 14 11:20:37 alexcline-L141.local spindump[500]: Saved wakeups_resource.diag report for Keybase version 1.0.18-20170209165653+17b641d (1.0.18-20170209165653+17b641d) to /Library/Logs/DiagnosticReports/Keybase_2017-02-14-112037_alexcline-L141.wakeups_resource.diag
Feb 14 11:21:07 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Application Support/Keybase/Cookies
Feb 14 11:21:07 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout Keybase -> /Users/alex.cline/Library/Preferences/com.apple.symbolichotkeys.plist
Feb 14 11:21:07 alexcline-L141.local virusbarrierb[211]: Blocking file access after 60 seconds timeout kbfs -> /Applications/Keybase.app/Contents/Resources/ExtendedAttributeFinderInfo.bin
Feb 14 11:21:09 alexcline-L141 kernel[0]: process kbfs[2279] caught causing excessive wakeups. Observed wakeups rate (per sec): 315; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 59311

from kbfs.

strib avatar strib commented on May 30, 2024

(keybase.kbfs): This service is defined to be constantly running and is inherently inefficient.

Ouch, that's harsh.

Can you provide a list of Mac directories that I should add to the AV whitelist?

/keybase is the only mountpoint we add to your system, hopefully you can whitelist that and your problems will go away? If there's a way to whitelist processes too, I guess you should put "keybase.kbfs" (or just "kbfs") on there too.

from kbfs.

gabriel avatar gabriel commented on May 30, 2024

This service is defined to be constantly running and is inherently inefficient. is shown in log for any launchd that has KeepAlive as true. You can pretty much ignore it.

Yeah, /keybase is the mountpoint and the kbfs process is /Applications/Keybase.app/Contents/SharedSupport/bin/kbfs.

from kbfs.

gabriel avatar gabriel commented on May 30, 2024

@strib I wonder if we can fail more gracefully if AV software blocks something?

from kbfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.