Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-34865

MacOS sandbox violation with sigar_port

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 6.5.0
    • 6.5.0
    • sigar
    • MacOS 10.13, Couchbase 6.5 build 3628
    • Untriaged
    • MacOSX 64-bit
    • Unknown

    Description

      I happened to notice the MacOS Crash Reporter using an abnormal amount of CPU when running some recent tests and the console shows sigar_port being denied some kind of access to ReportCrash.

      I don't know this was the cause of the CPU issue and I didn't notice anything not working as expected, but someone may be able to identify if the log message here indicates there's a bigger issue.

      Sandbox: sigar_port(78538) System Policy: deny(1) mach-priv-task-port ReportCrash(81336)
      Violation:       System Policy: deny(1) mach-priv-task-port ReportCrash(81336) 
      Process:         sigar_port [78538]
      Path:            /Applications/Couchbase Server 6.5.0_3628.app/Contents/Resources/couchbase-core/bin/sigar_port
      Load Address:    0x108949000
      Identifier:      sigar_port
      Version:         ??? (???)
      Code Type:       x86_64 (Native)
      Parent Process:  erl_child_setup [78508]
      Responsible:     /Applications/Couchbase Server 6.5.0_3628.app/Contents/MacOS/Couchbase Server [78392]
      User ID:         501
       
      Date/Time:       2019-07-03 14:44:35.549 PDT
      OS Version:      Mac OS X 10.13.6 (17G6030)
      Report Version:  8
       
       
      MetaData: {"process":"sigar_port","profile-flags":0,"summary":"deny(1) mach-priv-task-port ReportCrash(81336)","uid":501,"pid":78538,"operation":"mach-priv-task-port","build":"Mac OS X 10.13.6 (17G6030)","profile":"platform","target":81336,"action":"deny","hardware":"Mac","platform-binary":false,"primary-filter-value":81336,"target-pid":81336,"platform_binary":"no","platform-policy":true,"flags":21,"process-path":"\/Applications\/Couchbase Server 6.5.0_3628.app\/Contents\/Resources\/couchbase-core\/bin\/sigar_port","errno":1,"primary-filter":"target"}
       
      Thread 0 (id: 12452381):
      0   libsystem_kernel.dylib        	0x00007fff793b72a6 task_for_pid + 10
      1   sigar_port                    	0x000000010894a8b7 main + 583
      2   libdyld.dylib                 	0x00007fff79270015 start + 1
      3   sigar_port                    	0x0000000000000001
       
      Binary Images:
             0x108949000 -        0x10894aff3  sigar_port (0) <d79e53ce-4edb-3ac3-9a44-e227ca02b63b> /Applications/Couchbase Server 6.5.0_3628.app/Contents/Resources/couchbase-core/bin/sigar_port
          0x7fff7926f000 -     0x7fff7928cff7  libdyld.dylib (551.5) <49bf9e96-8297-30cf-8aa6-128cc14054b2> /usr/lib/system/libdyld.dylib
          0x7fff793a4000 -     0x7fff793caff7  libsystem_kernel.dylib (4570.71.35) <63791c4b-6118-3d55-aa3f-5065b1345410> /usr/lib/system/libsystem_kernel.dylib
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ingenthr Matt Ingenthron
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty