OS X OSR - No OnPaint Called

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

OS X OSR - No OnPaint Called

Postby BronzeBeard » Thu Jan 03, 2019 3:22 am

Happy New Year Everyone!

Thanks to the "wonderful" folks at Apple dropping 32 bit support, I am replacing Berkelium in my program with CEF. I am using Ogre3d as a rendering middleware, so obviously I used qwertzui11's excellent simplified example for OSR as basis. Practically every other brief OSR example I could find on the web is based off qwertzui's as well. Unfortunately, they're all for Windows or Linux.

I am on OS X 10.12 Sierra using Spotify CEF 3.3538.1852.gcb937fc bin and Xcode 9.2 (9C40b).

The above example worked flawlessly for me on Linux with only minor corrections for newer CEF. But it does not work on OS X. When I run the code on OS X I get several calls to get GetRenderHandler(...) and GetViewRect(...) but no calls to OnPaint(...)

Seeing this thread: viewtopic.php?f=6&t=16371 , I downgraded CEF to Spotify 3.3359 and 3.2704. And had the same results. GetRenderHandler and GetViewRect called, but OnPaint is not.

There are no errors in the logs for 3.3538. Older builds had this complaint:
Code: Select all
[1225/092303.885191:ERROR:service_manager_context.cc(258)] Attempting to run unsupported native service: /Users/ericjones/Documents/programming/gearcity/Client-Bin/GearCity.app/Contents/Frameworks/Chromium Embedded Framework.framework/content_renderer.service


My full code can be found here (forked from qwertzui11's, cmake probably doesn't work) : https://github.com/VisualEntertainmentA ... es/cef_osr

Relevant pieces are below, I chopped out a lot of the non-CEF stuff:

Main binary:
Code: Select all

#include <include/cef_app.h>
#include <include/cef_client.h>
#include <include/cef_render_handler.h>
#include "include/wrapper/cef_library_loader.h"

class RenderHandler : public Ogre::FrameListener, public CefRenderHandler
{
public:
    Ogre::TexturePtr m_renderTexture;

   
    RenderHandler(Ogre::TexturePtr texture, Ogre::SceneNode *renderNode)
    : m_renderTexture(texture)
    {;}
   
    //MAIN LOOP FrameListener interface
public:
    bool frameStarted(const Ogre::FrameEvent &evt) override
    {
        CefDoMessageLoopWork();
       
        return true;
    }
   
    // CefRenderHandler interface
public:
    bool GetViewRect(CefRefPtr<CefBrowser> browser, CefRect &rect) override
    {
        rect = CefRect(0, 0, m_renderTexture->getWidth(), m_renderTexture->getHeight());
        printf("\ngetview\n");
        return true;
    }
    void OnPaint(CefRefPtr<CefBrowser> browser, PaintElementType type, const RectList &dirtyRects, const void *buffer, int width, int height) override
    {
        Ogre::HardwarePixelBufferSharedPtr texBuf = m_renderTexture->getBuffer();
        texBuf->lock(Ogre::HardwareBuffer::HBL_DISCARD);
        memcpy(texBuf->getCurrentLock().data, buffer, width*height*4);
        texBuf->unlock();
        printf("\nonpaint\n");
    }
   
    // CefBase interface
public:
    IMPLEMENT_REFCOUNTING(RenderHandler);
   
};


// for manual render handler
class BrowserClient : public CefClient
{
public:
    BrowserClient(RenderHandler *renderHandler)
    : m_renderHandler(renderHandler)
    {;}
   
    virtual CefRefPtr<CefRenderHandler> GetRenderHandler() override
    {
        printf("\ngetrenderhandler\n");
        return m_renderHandler;
    }
   
    CefRefPtr<CefRenderHandler> m_renderHandler;
   
    IMPLEMENT_REFCOUNTING(BrowserClient);
};


int main(int argc, char *argv[])
{
    CefScopedLibraryLoader library_loader;
    if (!library_loader.LoadInMain())
        return 1;
   
    printf("\nstart\n");
    CefMainArgs args(argc, argv);
   
    {
        CefRefPtr<CefCommandLine> command_line = CefCommandLine::CreateCommandLine();
        command_line->InitFromArgv(argc, argv);
       
        int result = CefExecuteProcess(args, nullptr, nullptr);
        // checkout CefApp, derive it and set it as second parameter, for more control on
        // command args and resources.
        if (result >= 0) // child proccess has endend, so exit.
        {
            return result;
        }
        if (result == -1)
        {
            // we are here in the father proccess.
        }
    }
   
    {
       
       
        CefSettings settings;
        // Tried many of these, Including no_sandbox, windowless_rendering_enabled, etc.       
        //CefString(&settings.log_file).FromASCII("/Users/ericjones/Documents/programming/gearcity/Client-Bin/debug.log");
        settings.log_severity = LOGSEVERITY_VERBOSE;
        settings.no_sandbox = true;
        settings.windowless_rendering_enabled = true;
        printf("\nsettings");
       
        bool result = CefInitialize(args, settings, nullptr, nullptr);
        if (!result)
        {
            // handle error
            return -1;
        }
  }

//init Ogre, etc

    RenderHandler* renderHandler;
    {
        renderHandler = new RenderHandler(renderTexture, renderNode);
       
        renderSystem->addFrameListener(renderHandler);
    }
   
    // create browser-window
    CefRefPtr<CefBrowser> browser;
    CefRefPtr<BrowserClient> browserClient;
    {
        CefWindowInfo window_info;
        CefBrowserSettings browserSettings;
       
        //Passed NSView here as well, didnt' work either...
        window_info.SetAsWindowless(nullptr);
       
        browserClient = new BrowserClient(renderHandler);
        printf("\n website \n");
        browser = CefBrowserHost::CreateBrowserSync(window_info, browserClient.get(), "http://www.google.com", browserSettings, nullptr);
       
    }
   
    // start rendering and calling method RenderHandler::frameStarted / Start Main Loop
    {
        renderSystem->startRendering();
    }

// clean up code on exit...
}



Helper Program:
Code: Select all
#include "include/cef_app.h"
#include "include/wrapper/cef_library_loader.h"
//#include "include/cef_sandbox_mac.h"

int main(int argc, char* argv[])
{
    /*CefScopedSandboxContext sandbox_context;
    if(!sandbox_context.Initialize(argc,argv))
        return 1;
    */
    CefScopedLibraryLoader library_loader;
    if (!library_loader.LoadInHelper())
        return 1;
   
    CefMainArgs main_args(argc, argv);
    //CefRefPtr<ClientApp> app(new ClientApp);
    return CefExecuteProcess(main_args,nullptr,nullptr);
}



Current File Tree for the "App" (unimportant data removed): https://github.com/VisualEntertainmentA ... leTree.txt

I have looked at the CEFClient example, and could not see any major differences other than creating a CefApp and creating a bunch more overrides via that class. I am not sure if it is necessary as they have nothing to do with painting. And it is not needed on Linux. The CEFClient does run. I have enlisted the help of qwertzui11, and he is looking into it. But any additional help would be very much appreciated.

There isn't much in the way of documentation as to what is needed in the Helper program. Perhaps that is the cause? Speaking of documentation, a small note, both the Tutorial and General Useage wikis are missing information about the dylibs being dynamically linked now. May want to work that in there.


Thanks again!
Eric

(Sorry for spelling/grammar, 3am after spending hours on a mac... :cry: )
Last edited by BronzeBeard on Thu Jan 03, 2019 7:38 pm, edited 3 times in total.
BronzeBeard
Newbie
 
Posts: 7
Joined: Thu Jan 03, 2019 2:12 am

Re: OS X OSR - No OnPaint Called

Postby Czarek » Thu Jan 03, 2019 5:01 am

Are you setting CefSettings.framework_dir_path? Check if you're not missing any binary files.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: OS X OSR - No OnPaint Called

Postby BronzeBeard » Thu Jan 03, 2019 10:28 am

Czarek wrote:Are you setting CefSettings.framework_dir_path?


Thanks, and sorry for the late reply, I have to sleep sometime.

It was my understanding that CefSettings.framework_dir_path does not work on OS X. It uses a predefined path in the .App folder. Or maybe I am confusing that with something else I saw.

Anyway when the framework is not in the correct path, it throws an error in the log. There is no errors in the log. The same holds true for the Helper program. If the helper is not in the correct place, you get an error. There are no errors in the log. So I doubt that's the issue, as they're in the default locations. But none the less, I will double check that when I am done with baby sitting duties.

Check if you're not missing any binary files.

I will double check in a few hours, but I am pretty sure the OSX build needs just the Framework (which contains all the pak, and bins, and stuff) in the correct location, the Helper.app named correctly and in the correct location, and the main binary linked to both static libraries. These are all sourced from the Spotify binaries, so there shouldn't be anything missing. The only noticeable difference in files i see compared to Linux is the lack of a chrome-sandbox binary. But OSX does have a sandboxing static lib, which I link. I have tried both with and without sandboxing enabled in the CefSettings.
BronzeBeard
Newbie
 
Posts: 7
Joined: Thu Jan 03, 2019 2:12 am

Re: OS X OSR - No OnPaint Called

Postby BronzeBeard » Thu Jan 03, 2019 7:32 pm

Just a follow up. I defined the CefSettings.framework_dir_path with an absolute path to the framework directory in the Main binary. I assume this can not be done for the helper as there is no place to set the settings in the helper. Anyway, the issue remains exactly the same using the framework path. (Didn't think this would be the issue, because if the framework location is not known, then CEF tells you in the log files.)

I also did a md5sum on a fresh Spotify's Chromium Embedded Framework.framework folder and on the .framework folder I am using. Then I diff'd the results and they're the same. Digging through the .framework folder, all the required bins, paks, and .dat file is there according to what's needed in the README. CEF makes no complaints about missing files in the logs. I assume the helper app would log as well if it could not find these things.
BronzeBeard
Newbie
 
Posts: 7
Joined: Thu Jan 03, 2019 2:12 am

Re: OS X OSR - No OnPaint Called

Postby Czarek » Fri Jan 04, 2019 5:15 am

There is also CefSettings.browser_subprocess_path.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: OS X OSR - No OnPaint Called

Postby magreenblatt » Fri Jan 04, 2019 5:30 am

Setting CefSettings.framework_dir_path and browser_subprocess_path is only necessary if you’re not using an app bundle with the required structure.

What processes and command-lines does ‘ps’ show for your application?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: OS X OSR - No OnPaint Called

Postby BronzeBeard » Fri Jan 04, 2019 11:54 am

magreenblatt wrote:What processes and command-lines does ‘ps’ show for your application?


Code: Select all
Erics-Mac-mini:~ ericjones$ ps aux | grep GearCity
ericjones         602  27.3  1.3  2993956  54184   ??  U     8:40AM   0:03.32 /Users/ericjones/Documents/programming/gearcity/Client-Bin/GearCity.app/Contents/MacOS/GearCity -psn_0_196656
ericjones        1198   0.0  0.0  2433380   1304   ??  R     8:40AM   0:00.01 (GearCity Helper)
ericjones        1194   0.0  0.0  2432804    772 s000  S+    8:40AM   0:00.00 grep GearCity
 



full ps aux output is here, unneeded I am sure:
Code: Select all
Erics-Mac-mini:~ ericjones$ ps aux
USER              PID  %CPU %MEM      VSZ    RSS   TT  STAT STARTED      TIME COMMAND
ericjones         602  26.6  1.4  2992644  57864   ??  R     8:40AM   0:22.11 /Users/ericjones/Documents/programming/gearcity/Client-Bin/GearCity.app/Contents/MacOS/GearCity -psn_0_196656
ericjones         353  20.1  0.2  2498664   8552   ??  S     8:28AM   0:14.75 /usr/libexec/secinitd
root                1  16.8  0.3  2493620  13160   ??  Ss    8:26AM   0:16.78 /sbin/launchd
_windowserver     134  12.4  2.5  3632464 103948   ??  Ss    8:27AM   0:34.77 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer -daemon
root               75   7.0  0.3  2512136  10884   ??  Ss    8:27AM   0:08.16 /usr/libexec/opendirectoryd
ericjones        4216   5.0  0.2  2496976   6304   ??  S     8:42AM   0:00.05 /System/Library/Frameworks/AddressBook.framework/Versions/A/Helpers/AddressBookSourceSync.app/Contents/MacOS/AddressBookSourceSync
ericjones        2961   4.4  3.4 87886948 144088   ??  Ss    8:41AM   0:04.93 /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent
ericjones         603   3.9  1.2  2660184  51668   ??  S     8:40AM   0:05.36 /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
ericjones         338   0.6  0.3  2501360  10564   ??  S     8:28AM   0:00.43 /System/Library/Frameworks/Accounts.framework/Versions/A/Support/accountsd
root               78   0.4  0.4  2503892  15284   ??  Ss    8:27AM   0:00.82 /System/Library/PrivateFrameworks/ApplePushService.framework/apsd
root             4239   0.4  0.0  2436320   1132 s000  R+    8:42AM   0:00.00 ps aux
ericjones         352   0.3  0.1  2471772   4360   ??  S     8:28AM   0:00.10 /System/Library/Frameworks/AddressBook.framework/Executables/ContactsAccountsService
root              100   0.1  0.0  2470268   1876   ??  Ss    8:27AM   0:01.10 /usr/sbin/notifyd
ericjones         605   0.1  0.0  2461044   1652 s000  S     8:40AM   0:00.03 -bash
ericjones         594   0.0  0.2  2474880   6636   ??  Ss    8:39AM   0:00.05 /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd.app/Contents/XPCServices/QuickLookSatellite.xpc/Contents/MacOS/QuickLookSatellite
ericjones         593   0.0  0.2  2495632   6492   ??  S     8:39AM   0:00.15 /System/Library/PrivateFrameworks/SyncedDefaults.framework/Support/syncdefaultsd
ericjones         587   0.0  0.2  3013496   8344   ??  S     8:36AM   0:00.09 /System/Library/Frameworks/QuickLook.framework/Resources/quicklookd.app/Contents/MacOS/quicklookd
ericjones         583   0.0  0.2  2480468   7868   ??  S     8:36AM   0:00.06 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-lsb -c MDSImporterWorker -m com.apple.mdworker.lsb
ericjones         568   0.0  0.1  2495624   5192   ??  S     8:35AM   0:00.07 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdwrite
ericjones         562   0.0  0.1  2469692   2276   ??  Ss    8:35AM   0:00.02 /Applications/Xcode.app/Contents/SharedFrameworks/DVTSourceControl.framework/Versions/A/XPCServices/com.apple.dt.Xcode.sourcecontrol.WorkingCopyScanner.xpc/Contents/MacOS/com.apple.dt.Xcode.sourcecontrol.WorkingCopyScanner
ericjones         559   0.0  4.3  2832192 182408   ??  Ss    8:35AM   0:08.83 /Applications/Xcode.app/Contents/SharedFrameworks/SourceKit.framework/Versions/A/XPCServices/com.apple.dt.SKAgent.xpc/Contents/MacOS/com.apple.dt.SKAgent
ericjones         555   0.0  0.1  2482264   5812   ??  Ss    8:35AM   0:00.03 /Applications/Xcode.app/Contents/SharedFrameworks/DVTSourceControl.framework/Versions/A/XPCServices/com.apple.dt.Xcode.sourcecontrol.SSHHelper.xpc/Contents/MacOS/com.apple.dt.Xcode.sourcecontrol.SSHHelper
root              550   0.0  0.0  2461744   2052   ??  Ss    8:32AM   0:00.01 /System/Library/PrivateFrameworks/InstallerDiagnostics.framework/Versions/A/Resources/installerdiagd
ericjones         548   0.0  0.1  2495272   5728   ??  S     8:32AM   0:00.07 /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/Helpers/ProtectedCloudKeySyncing
ericjones         547   0.0  0.1  2470484   3548   ??  S     8:32AM   0:00.03 /System/Library/PrivateFrameworks/StorageManagement.framework/Resources/diskspaced
ericjones         546   0.0  0.1  2469692   4412   ??  S     8:32AM   0:00.04 /System/Library/CoreServices/EscrowSecurityAlert.app/Contents/MacOS/EscrowSecurityAlert
ericjones         529   0.0  0.1  2495164   3852   ??  Ss    8:30AM   0:00.03 /Applications/Xcode.app/Contents/PlugIns/XCDocumenterExtension.appex/Contents/MacOS/XCDocumenterExtension
ericjones         528   0.0  0.1  2505764   6264   ??  Ss    8:30AM   0:00.04 /Applications/Xcode.app/Contents/PlugIns/XcodeBuiltInExtensions.appex/Contents/MacOS/XcodeBuiltInExtensions
ericjones         527   0.0  0.2  2500872   8476   ??  S     8:30AM   0:00.06 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/GPUToolsPlatform/GPUToolsAgent.app/Contents/MacOS/GPUToolsAgent
ericjones         525   0.0  0.2  2518580   8944   ??  S     8:30AM   0:00.17 /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorService
ericjones         523   0.0  9.6  4595600 404236   ??  S     8:30AM   0:29.96 /Applications/Xcode.app/Contents/MacOS/Xcode
ericjones         522   0.0  0.0  2443300   1752   ??  S     8:30AM   0:00.01 /Users/ericjones/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/ipcserver
ericjones         520   0.0  0.1  2498976   6024   ??  Ss    8:30AM   0:00.05 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/XPCServices/com.apple.CommerceKit.TransactionService.xpc/Contents/MacOS/com.apple.CommerceKit.TransactionService
root              519   0.0  0.1  2461456   3444   ??  Ss    8:30AM   0:00.02 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeinstalld
_spotlight        515   0.0  0.1  2497436   4544   ??  S     8:29AM   0:00.31 /usr/libexec/trustd --agent
_spotlight        507   0.0  0.0  2469460   1240   ??  S     8:29AM   0:00.01 /usr/sbin/distnoted agent
_spotlight        506   0.0  0.1  2477072   5840   ??  S     8:29AM   0:00.05 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
_spotlight        505   0.0  0.1  2477072   5872   ??  S     8:29AM   0:00.05 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
_spotlight        504   0.0  0.2  2480520   6452   ??  S     8:29AM   0:00.06 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
ericjones         499   0.0  0.1  2496420   5536   ??  S     8:29AM   0:00.06 /usr/libexec/swcd
ericjones         496   0.0  0.1  2462668   2128   ??  S     8:29AM   0:00.02 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter
root              483   0.0  0.0  2454476   2096   ??  S     8:29AM   0:00.01 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter
ericjones         479   0.0  0.1  2497096   5748   ??  Ss    8:28AM   0:00.06 /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iTunesLibraryService.xpc/Contents/MacOS/com.apple.iTunesLibraryService
ericjones         477   0.0  0.1  2470220   5848   ??  Ss    8:28AM   0:00.04 /System/Library/PrivateFrameworks/AssistantServices.framework/Versions/A/XPCServices/media-indexer.xpc/Contents/MacOS/media-indexer
ericjones         475   0.0  0.2  2520944   8896   ??  S     8:28AM   0:00.13 /System/Library/PrivateFrameworks/CommerceKit.framework/Resources/LaterAgent.app/Contents/MacOS/LaterAgent
ericjones         473   0.0  0.1  2496176   3164   ??  S     8:28AM   0:00.05 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storelegacy
root              472   0.0  0.1  2497320   5836   ??  Ss    8:28AM   0:00.08 /usr/libexec/wifivelocityd
ericjones         471   0.0  0.0  2469464   1536   ??  Ss    8:28AM   0:00.02 /System/Library/PrivateFrameworks/IMFoundation.framework/XPCServices/IMRemoteURLConnectionAgent.xpc/Contents/MacOS/IMRemoteURLConnectionAgent
ericjones         470   0.0  0.1  2469448   2520   ??  S     8:28AM   0:00.02 /System/Library/PrivateFrameworks/MediaRemote.framework/Support/mediaremoteagent
ericjones         469   0.0  0.2  2472108   8024   ??  S     8:28AM   0:00.07 /usr/libexec/WiFiVelocityAgent
ericjones         467   0.0  0.1  2473660   5760   ??  Ss    8:28AM   0:00.06 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/XPCServices/com.apple.CommerceKit.TransactionService.xpc/Contents/MacOS/com.apple.CommerceKit.TransactionService
ericjones         466   0.0  0.2  2496112   6708   ??  Ss    8:28AM   0:00.08 /System/Library/PrivateFrameworks/IMFoundation.framework/XPCServices/IMRemoteURLConnectionAgent.xpc/Contents/MacOS/IMRemoteURLConnectionAgent
ericjones         465   0.0  0.1  2470828   4572   ??  S     8:28AM   0:00.04 /System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdate_notify_agent
ericjones         464   0.0  0.2  2502432   7812   ??  S     8:28AM   0:00.71 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
ericjones         463   0.0  0.2  2497060   7052   ??  S     8:28AM   0:00.23 /usr/libexec/videosubscriptionsd
ericjones         462   0.0  0.2  2478900   9480   ??  S     8:28AM   0:00.08 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
ericjones         460   0.0  0.5  2487488  21924   ??  S     8:28AM   0:00.15 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
root              457   0.0  0.1  2469536   3456   ??  Ss    8:28AM   0:00.04 /System/Library/CoreServices/SubmitDiagInfo server-init
ericjones         455   0.0  0.1  2470504   4440   ??  S     8:28AM   0:00.10 /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/XPCServices/ViewBridgeAuxiliary.xpc/Contents/MacOS/ViewBridgeAuxiliary
ericjones         450   0.0  0.1  2469624   3216   ??  S     8:28AM   0:00.03 /System/Library/Frameworks/Security.framework/Versions/A/Resources/CloudKeychainProxy.bundle/Contents/MacOS/CloudKeychainProxy
ericjones         449   0.0  0.1  2469748   4328   ??  S     8:28AM   0:00.03 /System/Library/Frameworks/Security.framework/Versions/A/Resources/KeychainSyncingOverIDSProxy.bundle/Contents/MacOS/KeychainSyncingOverIDSProxy
ericjones         448   0.0  0.1  2498968   5000   ??  S     8:28AM   0:00.08 /System/Library/CoreServices/pbs
ericjones         446   0.0  0.2  2498368   9796   ??  S     8:28AM   0:00.33 /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/XPCServices/com.apple.geod.xpc/Contents/MacOS/com.apple.geod
ericjones         445   0.0  0.3  2499616  12868   ??  S     8:28AM   0:00.43 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeaccountd
ericjones         444   0.0  0.2  2471264   8904   ??  S     8:28AM   0:00.15 /System/Library/PrivateFrameworks/PrintingPrivate.framework/Versions/A/PrintUITool
ericjones         443   0.0  0.3  2499336  11648   ??  S     8:28AM   0:00.44 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeassetd
ericjones         442   0.0  0.4  2521036  15620   ??  S     8:28AM   0:00.53 /System/Library/PrivateFrameworks/CoreParsec.framework/parsecd
ericjones         441   0.0  0.1  2495584   5900   ??  Ss    8:28AM   0:00.08 /System/Library/PrivateFrameworks/CoreWLANKit.framework/Versions/A/XPCServices/WiFiProxy.xpc/Contents/MacOS/WiFiProxy
ericjones         438   0.0  0.1  2471392   4200   ??  S     8:28AM   0:00.03 /System/Library/Frameworks/CryptoTokenKit.framework/ctkd -tw
ericjones         437   0.0  0.4  2505956  16820   ??  S     8:28AM   0:00.50 /System/Library/PrivateFrameworks/CloudKitDaemon.framework/Support/cloudd
ericjones         436   0.0  0.1  2495468   3788   ??  S     8:28AM   0:00.03 /System/Library/Frameworks/LocalAuthentication.framework/Support/coreauthd
ericjones         435   0.0  0.1  2469724   2804   ??  S     8:28AM   0:00.02 /System/Library/Frameworks/CryptoTokenKit.framework/ctkahp.bundle/Contents/MacOS/ctkahp
ericjones         434   0.0  0.2  2499616   6788   ??  S     8:28AM   0:00.08 /System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistorySyncHelper
ericjones         433   0.0  0.5  2598860  21268   ??  S     8:28AM   0:00.46 /System/Library/CoreServices/SafariSupport.bundle/Contents/MacOS/SafariBookmarksSyncAgent
ericjones         432   0.0  0.5  2515232  21604   ??  S     8:28AM   0:00.53 /System/Library/PrivateFrameworks/GameCenterFoundation.framework/Versions/A/gamed
ericjones         430   0.0  0.2  2496608   8240   ??  S     8:28AM   0:00.17 /usr/libexec/fmfd
ericjones         429   0.0  0.4  2503020  14780   ??  S     8:28AM   0:00.25 /System/Library/PrivateFrameworks/AuthKit.framework/Versions/A/Support/akd
ericjones         428   0.0  0.3  2553512  13436   ??  S     8:28AM   0:00.41 /usr/libexec/SafariCloudHistoryPushAgent
ericjones         427   0.0  0.2  2499928   6404   ??  S     8:28AM   0:00.12 /usr/libexec/keyboardservicesd
ericjones         426   0.0  0.9  2618364  35840   ??  S     8:28AM   0:01.07 /System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight
root              425   0.0  0.2  2496540   6504   ??  Ss    8:28AM   0:00.17 /usr/libexec/amfid
root              423   0.0  0.0  2460744   1404   ??  Ss    8:28AM   0:00.01 /usr/libexec/taskgated -s
ericjones         422   0.0  0.1  2497120   5784   ??  S     8:28AM   0:00.10 /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesHelper
ericjones         418   0.0  0.2  2497796   8452   ??  S     8:28AM   0:00.14 /System/Library/PrivateFrameworks/PassKitCore.framework/passd
ericjones         417   0.0  0.1  2495980   6244   ??  S     8:28AM   0:00.10 /System/Library/CoreServices/diagnostics_agent
ericjones         416   0.0  0.2  2518316   7656   ??  S     8:28AM   0:00.11 /System/Library/CoreServices/WiFiAgent.app/Contents/MacOS/WiFiAgent
ericjones         414   0.0  0.1  2496284   5960   ??  S     8:28AM   0:00.08 /System/Library/CoreServices/cloudpaird
ericjones         413   0.0  0.2  2517344   8232   ??  S     8:28AM   0:00.14 /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent --launchd
ericjones         411   0.0  0.1  2495092   4144   ??  S     8:28AM   0:00.05 /System/Library/PrivateFrameworks/AskPermission.framework/Versions/A/Resources/askpermissiond
ericjones         408   0.0  0.2  2497616   8116   ??  S     8:28AM   0:00.15 /System/Library/CoreServices/AppleIDAuthAgent
ericjones         407   0.0  0.2  2496136   7828   ??  S     8:28AM   0:00.21 /System/Library/Image Capture/Support/icdd
ericjones         405   0.0  0.1  2514284   6040   ??  S     8:28AM   0:00.11 /System/Library/Frameworks/InputMethodKit.framework/Resources/imklaunchagent
ericjones         404   0.0  0.7  2588152  28688   ??  S     8:28AM   0:00.95 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter
ericjones         401   0.0  0.1  2495072   3444   ??  S     8:28AM   0:00.03 /System/Library/CoreServices/SocialPushAgent.app/Contents/MacOS/SocialPushAgent
ericjones         399   0.0  0.1  2470556   3580   ??  S     8:28AM   0:00.03 /usr/libexec/spindump_agent
ericjones         398   0.0  0.2  2521048   6648   ??  S     8:28AM   0:00.13 /System/Library/CoreServices/FolderActionsDispatcher.app/Contents/MacOS/FolderActionsDispatcher
ericjones         397   0.0  0.3  2477376  12760   ??  S     8:28AM   0:00.12 /System/Library/PrivateFrameworks/AssistantServices.framework/assistantd
ericjones         396   0.0  0.2  2500188   9924   ??  S     8:28AM   0:00.07 /System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Support/photolibraryd
ericjones         395   0.0  0.1  2495348   5640   ??  S     8:28AM   0:00.05 /System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistoryPluginHelper
ericjones         394   0.0  0.4  2513144  14960   ??  S     8:28AM   0:00.31 /System/Library/PrivateFrameworks/MessagesKit.framework/Resources/soagent.app/Contents/MacOS/soagent
ericjones         393   0.0  0.3  2500648  14136   ??  Ss    8:28AM   0:00.45 /System/Library/PrivateFrameworks/CalendarNotification.framework/Versions/A/XPCServices/CalNCService.xpc/Contents/MacOS/CalNCService
root              392   0.0  0.1  2473680   4040   ??  Ss    8:28AM   0:00.08 /usr/sbin/filecoordinationd
ericjones         391   0.0  0.4  2522536  18248   ??  Ss    8:28AM   0:00.30 /System/Library/CoreServices/Dock.app/Contents/XPCServices/com.apple.dock.extra.xpc/Contents/MacOS/com.apple.dock.extra
ericjones         390   0.0  0.5  2523072  22168   ??  S     8:28AM   0:00.28 /System/Library/CoreServices/iconservicesagent
ericjones         389   0.0  0.2  2498228   7568   ??  S     8:28AM   0:00.11 /System/Library/PrivateFrameworks/UserActivity.framework/Agents/useractivityd
ericjones         386   0.0  0.2  2495108   6668   ??  S     8:28AM   0:00.07 /System/Library/PrivateFrameworks/CloudPhotoServices.framework/Versions/A/Frameworks/CloudPhotosConfigurationXPC.framework/Versions/A/XPCServices/com.apple.CloudPhotosConfiguration.xpc/Contents/MacOS/com.apple.CloudPhotosConf
ericjones         385   0.0  0.2  2529328   8628   ??  S     8:28AM   0:00.88 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Support/fontd
ericjones         383   0.0  0.2  2497288   7840   ??  S     8:28AM   0:00.33 /usr/libexec/nsurlstoraged
ericjones         381   0.0  0.0  2469836   2080   ??  S     8:28AM   0:00.03 /System/Library/PrivateFrameworks/CoreFollowUp.framework/Versions/A/Support/followupd
ericjones         380   0.0  0.2  2496292   8092   ??  S     8:28AM   0:00.13 /System/Library/CoreServices/mapspushd
ericjones         378   0.0  0.2  2521400   9232   ??  S     8:28AM   0:00.20 /System/Library/PrivateFrameworks/Noticeboard.framework/Versions/A/Resources/nbagent.app/Contents/MacOS/nbagent
ericjones         377   0.0  0.3  2531148  14440   ??  S     8:28AM   0:00.43 /System/Library/PrivateFrameworks/CoreSuggestions.framework/Versions/A/Support/suggestd
ericjones         375   0.0  0.3  2501036  14384   ??  S     8:28AM   0:00.79 /System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent
ericjones         374   0.0  0.2  2502708   7000   ??  S     8:28AM   0:00.09 /System/Library/PrivateFrameworks/PhotoAnalysis.framework/Versions/A/Support/photoanalysisd
ericjones         373   0.0  0.2  2497652   8364   ??  S     8:28AM   0:00.24 /usr/libexec/networkserviceproxy
ericjones         372   0.0  0.2  2496756   8236   ??  S     8:28AM   0:00.30 /usr/libexec/nsurlsessiond
ericjones         371   0.0  0.2  2496660   8992   ??  S     8:28AM   0:00.35 /usr/sbin/usernoted
ericjones         368   0.0  0.1  2495816   6084   ??  S     8:28AM   0:00.18 /System/Library/CoreServices/sharedfilelistd
root              361   0.0  0.1  2469728   2996   ??  Ss    8:28AM   0:00.03 /System/Library/PrivateFrameworks/PackageKit.framework/Resources/system_installd
ericjones         360   0.0  0.1  2495128   3368   ??  S     8:28AM   0:00.05 /System/Library/PrivateFrameworks/QuickLookThumbnailing.framework/Support/com.apple.quicklook.ThumbnailsAgent
ericjones         359   0.0  0.2  2498412   6572   ??  S     8:28AM   0:00.12 /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storedownloadd
ericjones         358   0.0  0.6  2527596  24164   ??  S     8:28AM   0:00.32 /System/Library/CoreServices/cloudphotosd.app/Contents/MacOS/cloudphotosd
root              357   0.0  0.1  2469728   2980   ??  Ss    8:28AM   0:00.03 /System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd
ericjones         356   0.0  0.1  2494760   3448   ??  S     8:28AM   0:00.05 /System/Library/PrivateFrameworks/GeoServices.framework/geodMachServiceBridge
root              355   0.0  0.1  2470444   5172   ??  Ss    8:28AM   0:00.06 /System/Library/CoreServices/backupd.bundle/Contents/Resources/TMCacheDelete
_assetcache       354   0.0  0.1  2500220   6108   ??  Ss    8:28AM   0:00.09 /usr/libexec/AssetCache/AssetCache
ericjones         351   0.0  0.2  2498716   8152   ??  S     8:28AM   0:00.67 /usr/libexec/pkd
ericjones         348   0.0  0.2  2497076   6808   ??  S     8:28AM   0:00.38 /System/Library/PrivateFrameworks/CacheDelete.framework/deleted
ericjones         347   0.0  0.1  2486960   4856   ??  S     8:28AM   0:00.05 /usr/libexec/pboard
ericjones         344   0.0  0.2  2495716   6336   ??  S     8:28AM   0:00.09 /System/Library/PrivateFrameworks/IMDPersistence.framework/XPCServices/IMDPersistenceAgent.xpc/Contents/MacOS/IMDPersistenceAgent
ericjones         343   0.0  0.2  2496140   6452   ??  S     8:28AM   0:00.13 /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird
ericjones         342   0.0  0.2  2498392   7520   ??  S     8:28AM   0:00.19 /System/Library/PrivateFrameworks/TCC.framework/Resources/tccd
ericjones         341   0.0  0.2  2497392   8320   ??  S     8:28AM   0:00.19 /System/Library/PrivateFrameworks/IMCore.framework/imagent.app/Contents/MacOS/imagent
root              340   0.0  0.1  2470804   4264   ??  Ss    8:28AM   0:00.04 /usr/sbin/WirelessRadioManagerd
ericjones         339   0.0  0.4  2507016  15228   ??  S     8:28AM   0:00.32 /System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd
ericjones         336   0.0  0.4  2503028  16496   ??  S     8:28AM   0:00.48 /System/Library/PrivateFrameworks/TelephonyUtilities.framework/callservicesd
ericjones         334   0.0  0.4  2508384  18456   ??  S     8:28AM   0:00.49 /usr/libexec/sharingd
ericjones         333   0.0  0.1  2497076   4988   ??  S     8:28AM   0:00.11 /usr/libexec/secd
ericjones         332   0.0  0.2  2499836   8868   ??  S     8:28AM   0:00.84 /usr/libexec/lsd
ericjones         331   0.0  3.0  2723060 125380   ??  S     8:28AM   0:14.77 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
ericjones         330   0.0  0.2  2498436   7600   ??  S     8:28AM   0:01.77 /usr/libexec/trustd --agent
ericjones         329   0.0  0.6  2579252  26736   ??  S     8:28AM   0:00.65 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer
ericjones         327   0.0  0.9  2601924  38600   ??  S     8:28AM   0:02.12 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
ericjones         326   0.0  0.6  2518548  24052   ??  S     8:28AM   0:00.55 /System/Library/Frameworks/CoreTelephony.framework/Support/CommCenter -L
ericjones         324   0.0  0.1  2470508   2828   ??  S     8:28AM   0:00.41 /usr/sbin/distnoted agent
ericjones         322   0.0  0.4  2497340  15620   ??  S     8:28AM   0:00.68 /usr/libexec/UserEventAgent (Aqua)
ericjones         321   0.0  0.1  2471144   3136   ??  S     8:28AM   0:00.84 /usr/sbin/cfprefsd agent
root              320   0.0  0.1  2471172   2468   ??  Ss    8:28AM   0:00.09 /usr/libexec/securityd_service
root              317   0.0  0.0  2470248   2048   ??  Ss    8:28AM   0:00.01 /System/Library/Frameworks/GSS.framework/Helpers/com.apple.GSSCred
root              301   0.0  0.1  2471612   3688   ??  Ss    8:28AM   0:00.03 /usr/sbin/spindump
root              261   0.0  0.1  2495576   4276   ??  Ss    8:27AM   0:00.04 /System/Library/Frameworks/LocalAuthentication.framework/Support/coreauthd
root              260   0.0  0.1  2469984   2428   ??  Ss    8:27AM   0:00.02 /System/Library/PrivateFrameworks/AccountPolicy.framework/XPCServices/com.apple.AccountPolicyHelper.xpc/Contents/MacOS/com.apple.AccountPolicyHelper
root              251   0.0  0.2  2496892   7196   ??  Ss    8:27AM   0:00.08 /usr/libexec/secinitd
root              250   0.0  0.1  2469724   2564   ??  Ss    8:27AM   0:00.02 /System/Library/Frameworks/CryptoTokenKit.framework/ctkahp.bundle/Contents/MacOS/ctkahp -d
root              249   0.0  0.1  2496096   4888   ??  Ss    8:27AM   0:00.04 /System/Library/PrivateFrameworks/TCC.framework/Resources/tccd system
root              248   0.0  0.1  2499272   5900   ??  Ss    8:27AM   0:00.09 /usr/sbin/systemsoundserverd
_nsurlstoraged    239   0.0  0.1  2470016   3544   ??  Ss    8:27AM   0:00.04 /usr/libexec/nsurlstoraged
_captiveagent     237   0.0  0.1  2471728   4528   ??  Ss    8:27AM   0:00.05 /usr/libexec/captiveagent
root              233   0.0  0.1  2461992   2628   ??  Ss    8:27AM   0:00.04 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Resources/suhelperd
root              231   0.0  0.0  2469980   1052   ??  Ss    8:27AM   0:00.01 /usr/libexec/syspolicyd
root              230   0.0  0.0  2461744    788   ??  SNs   8:27AM   0:00.01 /usr/libexec/periodic-wrapper daily
_softwareupdate   229   0.0  0.6  4664728  25996   ??  Ss    8:27AM   0:24.03 /System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated
root              227   0.0  0.0  2461524   1816   ??  Ss    8:27AM   0:00.01 /usr/libexec/smd
root              221   0.0  0.1  2495188   4672   ??  Ss    8:27AM   0:00.10 /System/Library/CoreServices/sharedfilelistd --enable-legacy-services
root              218   0.0  0.1  2469724   2724   ??  Ss    8:27AM   0:00.07 sysmond
_netbios          215   0.0  0.1  2471740   3188   ??  SNs   8:27AM   0:00.05 /usr/sbin/netbiosd
root              214   0.0  0.1  2499008   5896   ??  Ss    8:27AM   0:00.33 /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/XPCServices/com.apple.PerformanceAnalysis.animationperfd.xpc/Contents/MacOS/com.apple.PerformanceAnalysis.animationperfd
root              212   0.0  0.1  2471912   4548   ??  Ss    8:27AM   0:00.12 /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper
root              199   0.0  0.1  2504120   2696   ??  Ss    8:27AM   0:00.05 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMServer
root              198   0.0  0.1  2496976   4892   ??  Ss    8:27AM   0:00.08 /usr/libexec/findmydeviced
root              191   0.0  1.2  3138636  49072   ??  Ss    8:27AM   0:01.24 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mds_stores
root              189   0.0  0.1  2495992   5332   ??  Ss    8:27AM   0:00.07 /System/Library/PrivateFrameworks/WirelessDiagnostics.framework/Support/awdd
root              188   0.0  0.1  2495548   4064   ??  Ss    8:27AM   0:00.06 /System/Library/PrivateFrameworks/AmbientDisplay.framework/Versions/A/XPCServices/com.apple.AmbientDisplayAgent.xpc/Contents/MacOS/com.apple.AmbientDisplayAgent
_coreaudiod       187   0.0  0.1  2495316   3464   ??  Ss    8:27AM   0:00.07 /System/Library/Frameworks/CoreAudio.framework/Versions/A/XPCServices/com.apple.audio.DriverHelper.xpc/Contents/MacOS/com.apple.audio.DriverHelper
_ctkd             185   0.0  0.1  2471376   3908   ??  Ss    8:27AM   0:00.03 /System/Library/Frameworks/CryptoTokenKit.framework/ctkd -s
root              184   0.0  0.1  2470180   2816   ??  Ss    8:27AM   0:00.02 /System/Library/Frameworks/PCSC.framework/Versions/A/XPCServices/com.apple.ctkpcscd.xpc/Contents/MacOS/com.apple.ctkpcscd
root              180   0.0  0.1  2469660   2984   ??  Ss    8:27AM   0:00.03 /System/Library/CryptoTokenKit/com.apple.ifdreader.slotd/Contents/MacOS/com.apple.ifdreader
root              178   0.0  0.1  2469660   2688   ??  Ss    8:27AM   0:00.02 /usr/libexec/thermald
root              177   0.0  0.1  2496288   5300   ??  Ss    8:27AM   0:00.05 /usr/libexec/usbd
root              175   0.0  0.1  2469476   2964   ??  Ss    8:27AM   0:00.02 /usr/libexec/corestoraged
root              174   0.0  0.1  2499868   5984   ??  Ss    8:27AM   0:00.10 /usr/libexec/nehelper
root              173   0.0  0.1  2473036   3020   ??  Ss    8:27AM   0:00.16 /usr/sbin/ntpd -c /private/etc/ntp-restrict.conf -n -g -p /var/run/ntpd.pid -f /var/db/ntp.drift
_nsurlsessiond    172   0.0  0.2  2501228   9856   ??  Ss    8:27AM   0:00.36 /usr/libexec/nsurlsessiond --privileged
root              169   0.0  0.0  2443332   1792   ??  Ss    8:27AM   0:00.01 /usr/libexec/watchdogd
root              167   0.0  0.1  2469440   3124   ??  Ss    8:27AM   0:00.02 /System/Library/CoreServices/CrashReporterSupportHelper server-init
root              161   0.0  0.1  2495080   4192   ??  Ss    8:27AM   0:00.08 /usr/sbin/ocspd
_networkd         160   0.0  0.2  2503856   6924   ??  Ss    8:27AM   0:00.42 /usr/libexec/symptomsd
root              159   0.0  0.1  2499536   5820   ??  Ss    8:27AM   0:00.28 /usr/libexec/lsd runAsRoot
root              158   0.0  0.0  2462648   1656   ??  Ss    8:27AM   0:00.03 /usr/sbin/systemstats --xpc
root              142   0.0  0.2  2499552   7412   ??  Ss    8:27AM   0:00.86 /usr/libexec/trustd
root              140   0.0  0.1  2472200   3720   ??  Ss    8:27AM   0:00.06 /System/Library/PrivateFrameworks/CoreSymbolication.framework/coresymbolicationd
_coreaudiod       137   0.0  0.2  2473776   8000   ??  Ss    8:27AM   0:00.29 /usr/sbin/coreaudiod
root              128   0.0  0.1  2495860   2864   ??  Ss    8:27AM   0:00.10 /usr/sbin/mDNSResponderHelper
_mdnsresponder    127   0.0  0.1  2497640   5788   ??  Ss    8:27AM   0:00.44 /usr/sbin/mDNSResponder
root              126   0.0  0.2  2499748   9756   ??  Ss    8:27AM   0:00.39 /usr/libexec/sandboxd
root              106   0.0  0.1  2470504   2880   ??  Ss    8:27AM   0:00.88 /usr/sbin/cfprefsd daemon
root              105   0.0  0.1  2469980   2832   ??  Ss    8:27AM   0:00.06 aslmanager
root              103   0.0  0.2  2498232   7944   ??  Ss    8:27AM   0:00.25 /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/authd.xpc/Contents/MacOS/authd
root              102   0.0  0.2  2502644   6816   ??  Ss    8:27AM   0:00.34 /System/Library/CoreServices/coreservicesd
_distnote         101   0.0  0.0  2469460   1896   ??  Ss    8:27AM   0:00.12 /usr/sbin/distnoted daemon
root               99   0.0  0.1  2496768   6256   ??  Ss    8:27AM   0:00.12 /usr/libexec/AirPlayXPCHelper
root               98   0.0  0.1  2501672   4276   ??  Ss    8:27AM   0:00.10 /usr/libexec/corebrightnessd --launchd
_hidd              97   0.0  0.1  2472584   4196   ??  Ss    8:27AM   0:06.48 /usr/libexec/hidd
root               95   0.0  0.0  2453324   1136   ??  Ss    8:27AM   0:00.01 /usr/sbin/KernelEventAgent
root               94   0.0  0.1  2469488   2928   ??  Ss    8:27AM   0:00.05 /System/Library/CoreServices/logind
ericjones          93   0.0  0.6  2560704  24996   ??  Ss    8:27AM   0:01.12 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console
root               92   0.0  0.1  2497772   4600   ??  Ss    8:27AM   0:00.17 /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Support/revisiond
ericjones        4241   0.0  0.1  2453028   2716   ??  R     8:42AM   0:00.01 (GearCity Helper)
root               88   0.0  0.2  2497776   6620   ??  Ss    8:27AM   0:00.19 /usr/sbin/blued
_displaypolicyd    87   0.0  0.0  2471828   1552   ??  Ss    8:27AM   0:01.03 /usr/libexec/displaypolicyd -k 1
root               86   0.0  0.2  2500152   6844   ??  Ss    8:27AM   0:00.30 /usr/libexec/DuetHeuristic-BM
_locationd         84   0.0  0.2  2501880   7864   ??  Ss    8:27AM   0:00.48 /usr/libexec/locationd
root               82   0.0  0.2  2498284   6976   ??  Ss    8:27AM   0:00.46 /usr/sbin/securityd -i
_usbmuxd           81   0.0  0.1  2495412   3276   ??  Ss    8:27AM   0:00.06 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd -launchd
root               80   0.0  0.2  2498176   8608   ??  Ss    8:27AM   0:01.40 /System/Library/CoreServices/launchservicesd
root               79   0.0  0.1  2496152   4148   ??  Ss    8:27AM   0:00.07 /System/Library/PrivateFrameworks/Noticeboard.framework/Versions/A/Resources/nbstated
root               76   0.0  0.1  2496236   3408   ??  Ss    8:27AM   0:00.08 /usr/sbin/wirelessproxd
root               70   0.0  0.0  2471244   2016   ??  Ss    8:27AM   0:00.03 /usr/libexec/wdhelper
root               69   0.0  0.6  2510448  24652   ??  Ss    8:27AM   0:01.19 /usr/libexec/coreduetd
root               67   0.0  0.1  2494868   3040   ??  Ss    8:27AM   0:00.18 /usr/libexec/diskarbitrationd
root               65   0.0  0.0  2471116   1416   ??  Ss    8:27AM   0:00.03 /System/Library/CoreServices/iconservicesagent
_iconservices      64   0.0  0.0  2471116   1984   ??  Ss    8:27AM   0:00.03 /System/Library/CoreServices/iconservicesd
root               59   0.0  0.9  2587348  38492   ??  Ss    8:27AM   0:03.18 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds
root               58   0.0  0.2  2497444   6984   ??  SNs   8:27AM   0:00.16 /usr/libexec/warmd
root               56   0.0  0.2  2501164   7200   ??  Ss    8:27AM   0:01.15 /usr/libexec/airportd
root               52   0.0  0.3  2530700  10948   ??  Ss    8:27AM   0:02.10 /usr/libexec/logd
root               47   0.0  0.2  2499148   9360   ??  Ss    8:27AM   0:00.36 /usr/libexec/mobileassetd
root               46   0.0  0.1  2495068   3620   ??  Ss    8:27AM   0:00.21 /System/Library/CoreServices/powerd.bundle/powerd
root               45   0.0  0.2  2499892   7208   ??  Ss    8:27AM   0:00.99 /usr/libexec/configd
_appleevents       44   0.0  0.1  2496500   4348   ??  Ss    8:27AM   0:00.12 /System/Library/CoreServices/appleeventsd --server
root               41   0.0  0.2  2496504   7260   ??  Ss    8:27AM   0:00.14 /System/Library/PrivateFrameworks/MediaRemote.framework/Support/mediaremoted
root               39   0.0  0.1  2478876   4356   ??  Ss    8:27AM   0:00.79 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/Support/fseventsd
root               38   0.0  0.3  2500272  13384   ??  Ss    8:27AM   0:00.68 /usr/libexec/kextd
root               37   0.0  0.1  2469392   2460   ??  Ss    8:27AM   0:00.08 /System/Library/PrivateFrameworks/Uninstall.framework/Resources/uninstalld
root               35   0.0  0.0  2470852   1000   ??  Ss    8:27AM   0:00.27 /usr/sbin/syslogd
root               34   0.0  0.4  2499400  16212   ??  Ss    8:27AM   0:00.89 /usr/libexec/UserEventAgent (System)
root               89   0.0  0.1  2469936   2508   ??  Ss    8:27AM   0:00.02 autofsd
ericjones        3720   0.0  0.1  2477108   6280   ??  S     8:41AM   0:00.05 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
_assetcache      3575   0.0  0.2  2497728   6852   ??  Ss    8:41AM   0:00.10 /System/Library/PrivateFrameworks/AssetCacheServices.framework/XPCServices/AssetCacheLocatorService.xpc/Contents/MacOS/AssetCacheLocatorService -d
ericjones        3330   0.0  0.6  2578172  25952   ??  S     8:41AM   0:00.65 /System/Library/Services/AppleSpell.service/Contents/MacOS/AppleSpell
ericjones        2975   0.0  0.4  2508632  15440   ??  S     8:41AM   0:00.56 /System/Library/PrivateFrameworks/SafariSafeBrowsing.framework/com.apple.Safari.SafeBrowsing.Service
ericjones        2874   0.0  0.5  2585048  19032   ??  Ss    8:41AM   0:00.23 /System/Library/StagedFrameworks/Safari/SafariShared.framework/Versions/A/XPCServices/com.apple.Safari.SearchHelper.xpc/Contents/MacOS/com.apple.Safari.SearchHelper
ericjones        2071   0.0  0.7  3638720  30416   ??  Ss    8:41AM   0:01.93 /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.Networking.xpc/Contents/MacOS/com.apple.WebKit.Networking
ericjones        1942   0.0  0.4  2581268  18112   ??  S     8:41AM   0:00.18 /System/Library/StagedFrameworks/Safari/SafariShared.framework/Versions/A/XPCServices/com.apple.Safari.History.xpc/Contents/MacOS/com.apple.Safari.History
ericjones        1895   0.0  1.7  3870728  72980   ??  S     8:41AM   0:03.59 /Applications/Safari.app/Contents/MacOS/Safari
ericjones         850   0.0  0.2  2478136   6852   ??  S     8:40AM   0:00.05 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
root              604   0.0  0.1  2469468   2664 s000  Ss    8:40AM   0:00.02 login -pf ericjones
ericjones         598   0.0  0.2  2523880   8924   ??  S     8:40AM   0:00.08 /System/Library/CoreServices/CoreServicesUIAgent.app/Contents/MacOS/CoreServicesUIAgent
ericjones         597   0.0  0.2  2500356   9052   ??  S     8:39AM   0:00.19 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker-sizing -c MDSSizingWorker -m com.apple.mdworker.sizing
root              596   0.0  0.1  2461704   3272   ??  Ss    8:39AM   0:00.01 /System/Library/Frameworks/AudioToolbox.framework/XPCServices/com.apple.audio.SandboxHelper.xpc/Contents/MacOS/com.apple.audio.SandboxHelper



I have passed a few command line arguments at it, such as --disable-gpu, --disable-gpu-compositing, --off-screen-rendering-enabled, but they seem to change nothing.

Here is CEF's Log file:
Code: Select all
[0104/084040.802188:VERBOSE1:webrtc_internals.cc(121)] Could not get the download directory.
[0104/084041.880836:VERBOSE1:pref_proxy_config_tracker_impl.cc(184)] 0x7fd6c9c13ae0: set chrome proxy config service to 0x7fd6c9d21160
[0104/084042.054007:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Argon2018' log
[0104/084042.054098:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Argon2019' log
[0104/084042.054132:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Argon2020' log
[0104/084042.054162:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Argon2021' log
[0104/084042.054190:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Aviator' log
[0104/084042.054217:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Icarus' log
[0104/084042.054251:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Pilot' log
[0104/084042.054278:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Rocketeer' log
[0104/084042.054318:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Skydiver' log
[0104/084042.054340:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Cloudflare 'Nimbus2018' Log
[0104/084042.054363:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Cloudflare 'Nimbus2019' Log
[0104/084042.054396:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Cloudflare 'Nimbus2020' Log
[0104/084042.054421:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Cloudflare 'Nimbus2021' Log
[0104/084042.054539:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Log Server
[0104/084042.054587:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Log Server 2
[0104/084042.054655:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Yeti2018 Log
[0104/084042.054690:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Yeti2019 Log
[0104/084042.054747:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Yeti2020 Log
[0104/084042.054780:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Yeti2021 Log
[0104/084042.054845:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Yeti2022 Log
[0104/084042.054914:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Symantec log
[0104/084042.054960:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Symantec 'Vega' log
[0104/084042.055017:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Symantec 'Sirius' log
[0104/084042.055045:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Venafi Gen2 CT log
[0104/084042.055071:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Comodo 'Sabre' CT log
[0104/084042.055096:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Comodo 'Mammoth' CT log
[0104/084042.055122:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: StartCom log
[0104/084042.055147:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: WoSign log
[0104/084042.055172:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Izenpe log
[0104/084042.055205:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: CNNIC CT log
[0104/084042.055227:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Venafi log
[0104/084042.055249:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Certly.IO log
[0104/084043.518567:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://www.google.com/
[0104/084043.734185:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://www.google.com/?gws_rd=ssl



I played around with it last night a little and noticed that if I did not link cef_sandbox.a then the programs would not link the libs at runtime. The console would spew out this error message in a loop as expected. However, GetRenderHandler and GetViewRect would still be called at the start of the program even without cef being properly linked. So it seems after my program is actually up and running in the main loop, it is not calling GetRenderHandler and GetViewRect. It's only calling them at initialization.
BronzeBeard
Newbie
 
Posts: 7
Joined: Thu Jan 03, 2019 2:12 am

Re: OS X OSR - No OnPaint Called

Postby Czarek » Fri Jan 04, 2019 12:20 pm

What is the code for GetViewRect? Are you calling CefBrowser::WasResized after the browser is created?
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: OS X OSR - No OnPaint Called

Postby BronzeBeard » Fri Jan 04, 2019 12:29 pm

Czarek wrote:What is the code for GetViewRect?


The code is above, but here it is:
Code: Select all
bool GetViewRect(CefRefPtr<CefBrowser> browser, CefRect &rect) override
    {
        rect = CefRect(0, 0, m_renderTexture->getWidth(), m_renderTexture->getHeight());
        printf("\ngetview\n");
        return true;
    }


Are you calling CefBrowser::WasResized?


I have called WasResized, and Invalidate in several locations, including in the main loop just after CefDoMessageLoopWork() is called. None of them, in any location, trigger an OnPaint().

I have also tried creating the browser with CreateBrowser and with CreateBrowserSync... I've combed through these forums already if you can imagine. ;)

Right now I believe the issue with the helper not launching or not getting properly set up/linked to the main binary. I found a couple of leads in the kernel console log, but I have been trying so much new stuff trying to get this to work, I am not sure if I created a new issue or if it is the cause of the main issue. I'll let you know. :)
BronzeBeard
Newbie
 
Posts: 7
Joined: Thu Jan 03, 2019 2:12 am

Re: OS X OSR - No OnPaint Called

Postby BronzeBeard » Fri Jan 04, 2019 1:30 pm

Eureka!

So my assumptions were correct.

When you run the main program from the terminal, either by "open name.app" or by running the binary directly, OS X's terminal does not spit out all the information. In typical Apple fashion, they hide system output in a utility called Console.app. (Which I knew about, but didn't know it's the only place to find ~all~ messages for my program.)

Upon reviewing the information there, I found that secinitd was denying my helper because the code signature was invalid (-67030), and then the kernel crashed the Helper. This created an infinite loop of creating the Helper, checking the signature, and crashing the Helper. So that the Helper appeared in ps...

I had set up my Helper as a an app file in Xcode 9, which requires code signature stuff now. My main program is set up as cli in Xcode 9, which does not require code signature. I entered my code signature for the Helper app, but it too failed with amfid giving an invalid signature error (-67030). However, the kernel wasn't crashing the Helper this time. It just spits out a code signature error as well.

Since I am not working on an Apple Store product, I switched my helper to a cli program in XCode, This allowed me to set the code signing to ad hoc, same as my main program. And poof. It works now...


To sum it up, if you set up your helper as an App in Xcode 9+, it will require valid code signature and that probably has to be compatible with the Main binary. If you set up the Helper as a command line program in Xcode, you do not need code signature. It may have to match your Main binary (not sure). Finally the most important part. Unlike other Unixes, OSX will not output system messages to the parent terminal, you have to watch Console.app for any system issues when the main binary is launching the sub binary.


Thanks again everyone!
BronzeBeard
Newbie
 
Posts: 7
Joined: Thu Jan 03, 2019 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 40 guests