Failed to uninstall java xpc connection error

failed to uninstall Java: XPC Connection Error («redux» . solved) «How very, very interesting.» I just encountered this error when Java offered to update itself on my machine. The «automatic updater» recognized that an old version of Java was installed, offered to remove both it and the cache, and failed to do so with […]

Содержание

  1. failed to uninstall Java: XPC Connection Error («redux» . solved)
  2. Java XPC Error
  3. Similar questions
  4. Same launchd error in console each 10 second
  5. xpc-connection refuses to install #30
  6. Comments
  7. XPC connection interrupted Error #683
  8. Comments
  9. Problem
  10. What is expected to happen?
  11. What does actually happen?
  12. Information
  13. Command or Code
  14. Environment, Platform, Device
  15. Version information
  16. Checklist

failed to uninstall Java: XPC Connection Error («redux» . solved)

«How very, very interesting.» I just encountered this error when Java offered to update itself on my machine. The «automatic updater» recognized that an old version of Java was installed, offered to remove both it and the cache, and failed to do so with an «XPC Connection Error,» after which it simply quit! (And basically disappeared altogether.)

(MacOS Monterey latest, etc.)

Anyhow, I followed the recommendations given in another now-closed thread on this forum, and it worked: go to the Oracle website, and first run the uninstaller . which completed successfully. Next, run the installer, which also completed successfully.

«But to me, this is some kind of a bug that really should be reported to Oracle, if it hasn’t already been.» Their automatic-update process ought not encounter any sort of error . particularly since the two-step process didn’t. Let alone «fail and completely disappear!» (Note: I ran first the uninstaller, then the installer . I did not try running their installer first. Maybe that’s part of the bug – in their installer? Dunno.)

Anyhow: here’s what I just encountered and here’s what worked to solve the problem. (I recall having had this problem for quite some time, actually . I just didn’t bother to pay attention to it or try seriously to fix it.)

Источник

Java XPC Error

I am trying to install the latest Java 8 update (Java 8 Update 271) but every time I try to update, either via the Settings App or by downloading the installer manually from their site, I get the following error. There are a bunch of posts around the internet about this, but none that I have found that provide a solution to the issue. I have tried rebooting and that doesn’t fix the issue either.

MacBook Pro 15″, macOS 11.0

Posted on Nov 23, 2020 5:40 AM

Similar questions

Loading page content

Page content loaded

Have you tried going directly through http://www.java.com/

I have, but even the standalone installer results in the same error.

in that event, it may be some data corruption or something installed that shouldn’t. Let us know your Etrecheck results:

Here’s what the report contains.

Are there any applications in the list you don’t recognize?

No, I recognize them all.

Then I would contact the company whose software depends on Java and ask them to make an update that works with the Java on your system.

What has been rather an oddity on the side, which could be impacting it, is many corporate users are now having to pay for licensing Java 8v203 and later, and this is restricting their access on Windows 10. This may also create problems for companies wanting a nice open platform to develop their software around. It may be time simply to find a different app.

Источник

Same launchd error in console each 10 second

I see the following messages on my console each 10 Seconds:

2/01/2016 20:10:31,844 xpcproxy[2034]: CFPreferences could not connect to its daemon.

Preferences using the connection 0x0 will be volatile and will not be persisted to disk.

12/01/2016 20:10:31,864 xpcproxy[2034]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:31,864 xpcproxy[2034]: LaunchServices: Database mapping failed with result -10822, retrying

12/01/2016 20:10:31,864 xpcproxy[2034]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:31,864 com.apple.xpc.launchd[1]: (com.apple.photostream-agent[2034]) Could not find and/or execute program specified by service: 149: Could not find a bundle of the given identifier through LaunchServices: com.apple.photostream-agent

12/01/2016 20:10:31,865 com.apple.xpc.launchd[1]: (com.apple.photostream-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

12/01/2016 20:10:41,876 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,876 xpcproxy[2036]: LaunchServices: Database mapping failed with result -10822, retrying

12/01/2016 20:10:41,876 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,880 xpcproxy[2036]: CFPreferences could not connect to its daemon.

Preferences using the connection 0x0 will be volatile and will not be persisted to disk.

12/01/2016 20:10:41,900 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,900 xpcproxy[2036]: LaunchServices: Database mapping failed with result -10822, retrying

12/01/2016 20:10:41,900 xpcproxy[2036]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

12/01/2016 20:10:41,901 com.apple.xpc.launchd[1]: (com.apple.photostream-agent[2036]) Could not find and/or execute program specified by service: 149: Could not find a bundle of the given identifier through LaunchServices: com.apple.photostream-agent

I think that the problem is photostream-agent. But I have no more iPhoto, and I don’t find a com.apple.photostream-agent on my Mac

How I can remove this call from com.apple.pc.launchd ?

iMac (21.5-inch, Late 2012), OS X El Capitan (10.11.2), Bad uninstall iPhoto

Posted on Jan 14, 2016 7:50 AM

I’ve solved this!

The problem is not with Spotlight, but with Launch Services. There are two steps to solving the problem:

  1. sudo mkdir /private/var/db/lsd
  2. sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra mework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network

The first one creates the folder that the launch services daemon needs to store the database. That’s why LaunchServices is getting an -10822 error, because it can’t create the database, so it keeps resetting the connection. The second command tells launch services to kill the old database and create a new one from scratch. Voila!

Loading page content

Page content loaded

Please triple-click anywhere in the line below on this page to select it:

Right-click or control -click the highlighted line and select

Services ▹ Show Info in Finder (or just Show Info )

from the contextual menu.* An Info dialog should open. Close it. If instead of the Info dialog, you get a notice that «the item can’t be found,» ask for further instructions.

*If you don’t see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C . Open a TextEdit window and paste into it ( command-V ). Select the line you just pasted and continue as above.

I see a infos windows on com.apple.xpchelper.cache

In the iCloud preference pane, please uncheck the box marked Photos.

Same Error messages in system.log

Even after restart of my iMac

What functional problem do you have, if any? Log messages are not a problem in themselves.

Sometimes I have temporary frreeze. It doesn’t seem to be directly in relation with these messages

But I don’t think that it is a normal behaviour. Perhaps there is a more serious problem which has apparently no consequence now.

Sometimes I have temporary frreeze

How often? How long? What are you doing at the time?

Not often, perhaps once by week

I do nothing special

I am suspicious about iphoto and stream photo with it, because it didn’t worked when photo came.

And I have deleted iPhoto.app in the finder

It’s not clear to me that you actually have a problem. If you do have one, you would have to describe it in more detail. A brief lag in responsiveness once in a while is not abnormal. I suggest that you avoid reading the log unless something is really going wrong. You’ll always find frightening messages in there, even when the computer is working perfectly.

It is clear that I have no functionnal problem at this moment

But for me, when a computer or other system display error messages, somthing goes wrong an I try to solve the problem before a real fuctionnal problem appears.

Thanks a lot for your time

I am having nearly the same issue as the one described above, though my functional problem is an absurd amount of lagging. While typing this sentence, I’ve had two beach balls, one for 5 seconds, and the other for 7 seconds. Try to cmd-shift between two apps or open multiple tabs in Safari? Forget it. The time can increase to 10-15 seconds with each lag, while doing so multiple times within a minute. It’s maddening! While this computer has certainly been getting a little slower as the years have gone by, this behavior is totally uncharacteristic and started within the last week. My first inclination was that my hard drive is going bad, but I’ve checked SMART status’ in Disk Utility and everything appears to be okay. At some point in my search, it was suggested that I turn off Spotlight by dragging my entire volume into the «Privacy» list. This helped tremendously — I would say the lagging has been roughly cut in half, both in time and frequency. However, again, I’m still getting an uncharacteristic amount of lag when doing to simplest of things — like typing — multiple times per minute! Here is what the console is saying:

1/18/16 11:09:02.000 PM kernel[0]: disk0s2: I/O error.

1/18/16 11:09:02.838 PM systemstatsd[502]: assertion failed: 15C50: systemstatsd + 6747 [5BD3E614-1FAF-3820-8738-F2D7DE8F3FAE]: 0xa

1/18/16 11:08:03.462 PM xpcproxy[4440]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

1/18/16 11:08:03.462 PM xpcproxy[4440]: LaunchServices: Database mapping failed with result -10822, retrying

1/18/16 11:08:03.463 PM xpcproxy[4440]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

1/18/16 11:08:03.464 PM com.apple.xpc.launchd[1]: (com.apple.photostream-agent[4440]) LaunchServices returned a bundle URL that does not match with the LoginItem’s known association.

1/18/16 11:08:03.465 PM com.apple.xpc.launchd[1]: (com.apple.photostream-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

This is repeated over and over, 4001 times, within the last 68 minutes. The I/O error is what had me thinking the HD is going, though I don’t know what to think anymore. Any help would be greatly appreciated.

iMac (21.5-inch, Mid 2011)
2.7 GHz Intel Core i5
32GB 1333 MHz DDR3

OS X El Capitan, Version 10.11.2

Time Machine is running to an external drive (unmounting it does not appear to have any positive or negative effect).

Источник

xpc-connection refuses to install #30

I have attempted to install xpc connection but my Mac refuses to install it. I have changed the directory, followed instructions in issue #2 with nothing changed.

Below is what I have.

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer

$ xcode-select -v
xcode-select version 2354.

$ gcc -v
Configured with: —prefix=/Applications/Xcode.app/Contents/Developer/usr —with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.3)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ which gcc
/usr/bin/gcc

$ sudo npm i -g xpc-connection

xpc-connection@0.1.4 install /Users/ernest/.npm-global/lib/node_modules/xpc-connection
node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/Users/ernest/.npm-global/lib/node_modules/xpc-connection/build’
gyp ERR! System Darwin 18.2.0
gyp ERR! command «/usr/local/bin/node» «/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js» «rebuild»
gyp ERR! cwd /Users/ernest/.npm-global/lib/node_modules/xpc-connection
gyp ERR! node -v v11.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! xpc-connection@0.1.4 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the xpc-connection@0.1.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ernest/.npm/_logs/2019-04-01T13_20_38_392Z-debug.log

The text was updated successfully, but these errors were encountered:

Try: sudo npm i -g xpc-connection —unsafe-perm

Still has errors even with the —unsafe-perm syntax:

Источник

XPC connection interrupted Error #683

Problem

XPC connection interrupted

What is expected to happen?

application running several hours in the background

What does actually happen?

After several hours, the application freezes and issues the broken XPC connection error and invalidating cache.

Information

Just leave APP in the background communicating with a SIP client

Command or Code

Just leave the APP running doing some light processing with the network

Environment, Platform, Device

Version information

cordova-ios@5.0.0
Xcode 11.0
cordova-plugin-sip

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

The text was updated successfully, but these errors were encountered:

Hello
XPC connection interrupted Error alos happened in our Ionic Cordova App, after running 1,5h.
Triggered through opening View with Cordova Plugin Camera Preview. App freezes after push Button to routing next View and start Plugin in Background. Plugin seems to stop and App Freezes in View with button.
In Konsole: XPC connection interrupted Error
No other Life Sign anymore.
Perhaps Problem with Plugin or Cordova himself, plugin should not freeze app without an error Message.

Versions:
IOS 14.1
Cordova 8
Cordova IOS 6.1.0
Ioinc Angular 4

Источник

Details


    • Type:


      Bug

    • Status:

      Closed


    • Priority:


      P3

    • Resolution:

      Cannot Reproduce


    • Affects Version/s:



      8u211

    • Fix Version/s:




      8-pool


    • Component/s:



      install


    • Labels:

      • bugdb_31270099
      • sn_67
      • sn_87


    • Subcomponent:


      install

    Description

      XPC connection error when installing java to MacOS 10.15 catalina.

      Attachments

        Attachments

          • Sort By Name
          • Sort By Date
          • Ascending
          • Descending
          • Thumbnails
          • List
          • Download All
        1. failgrammer.png

          failgrammer.png
          78 kB
          2021-02-23 09:31

        Activity

          People

            Assignee:

            almatvee
            Alexander Matveev

            Reporter:

            shadowbug
            Shadow Bug

            Votes:
            0

            Vote for this issue

            Watchers:

            7

            Start watching this issue

            Dates

              Created:

              2020-05-01 19:28
              Updated:

              2021-02-24 14:51
              Resolved:

              2021-02-23 16:30

              failed to uninstall Java: XPC Connection Error («redux» . solved)

              «How very, very interesting.» I just encountered this error when Java offered to update itself on my machine. The «automatic updater» recognized that an old version of Java was installed, offered to remove both it and the cache, and failed to do so with an «XPC Connection Error,» after which it simply quit! (And basically disappeared altogether.)

              (MacOS Monterey latest, etc.)

              Anyhow, I followed the recommendations given in another now-closed thread on this forum, and it worked: go to the Oracle website, and first run the uninstaller . which completed successfully. Next, run the installer, which also completed successfully.

              «But to me, this is some kind of a bug that really should be reported to Oracle, if it hasn’t already been.» Their automatic-update process ought not encounter any sort of error . particularly since the two-step process didn’t. Let alone «fail and completely disappear!» (Note: I ran first the uninstaller, then the installer . I did not try running their installer first. Maybe that’s part of the bug – in their installer? Dunno.)

              Anyhow: here’s what I just encountered and here’s what worked to solve the problem. (I recall having had this problem for quite some time, actually . I just didn’t bother to pay attention to it or try seriously to fix it.)

              Источник

              XPC connection interrupted

              I am getting this error, «XPC connection interrupted» and caused my app to crash.

              Any idea what is this?

              I had tried to simulate but can’t seems to get it to «crash». It happened at random moment while in app without any pattern (be it trying to call server API or processing json, etc).

              The error message that I’m getting is «XPC connection interrupted» and nothing else. I have no idea what ios version that causes it to crash.

              Appreciate if anyone can help.

              Replies

              An XPC connection is interrupted when the remote process terminates. This can happen for abnormal reasons (for example, the remote process crashing) and for normal reasons (the system terminating the remote process to recover memory). If you’re using XPC directly, which is typically only done on macOS [1], you must be prepared to handle either eventuality.

              However, it seems that you’re on iOS, in which case you rarely use XPC directly but rather use it via some framework, and it’s the framework’s responsibility to handle interruptions. So the actual problem here is a bit of a mystery.

              I am getting this error, «XPC connection interrupted» and caused my app to crash.

              Please post the crash report you got.

              Share and Enjoy

              Quinn “The Eskimo!”
              Apple Developer Relations, Developer Technical Support, Core OS/Hardware

              [1] XPC is available on iOS starting with iOS 11, but the only supported use case is custom calls to file providers, which is a pretty obscure part of the system. If you’re using XPC directly, please do let me know.

              now i have a trouble with xpc.

              I need to load a dynamic library use xpc..this library need to display UI.Then console catch error :

              *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason:

              ‘NSWindow drag regions should only be invalidated on the Main Thread!’

              *** First throw call stack:

              0 CoreFoundation 0x00007fff49eceecd __exceptionPreprocess + 256

              1 libobjc.A.dylib 0x00007fff75f96720 objc_exception_throw + 48

              2 CoreFoundation 0x00007fff49ee895d -[NSException raise] + 9

              3 AppKit 0x00007fff473e9c8e -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 324

              4 AppKit 0x00007fff473e707c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488

              5 AppKit 0x00007fff473e6aa6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45

              6 AppKit 0x00007fff473e4fb7 -[NSWindowTemplate nibInstantiate] + 495

              7 AppKit 0x00007fff4736004e -[N

              how can i run it ? thanks ..

              ‘NSWindow drag regions should only be invalidated on the Main Thread!’

              Something in your process is calling AppKit from a secondary thread. It’s hard to say what because you’ve posted a truncated backtrace. What does the full backtrace look like?

              Share and Enjoy

              Quinn “The Eskimo!”
              Apple Developer Relations, Developer Technical Support, Core OS/Hardware

              That is all backtrace..

              After that ,there is have a log .

              I have been try it with dispatch_async in main quque.

              testView *tv = [[testView alloc] initWithWindowNibName:@»testView»];

              -(void)showSelfWindow

              [NSApp activateIgnoringOtherApps:YES];

              [[self window] makeKeyAndOrderFront:self];

              [[self window] setLevel:NSFloatingWindowLevel];

              [NSApp beginModalSessionForWindow:[self window]];

              Then,this xpc process is crashed. such as:

              Process: xpcHelp [24703]

              Code Type: X86-64 (Native)

              Parent Process: . [24682]

              Responsible: BrowserExt [24688]

              Date/Time: 2019-02-18 11:50:05.637 +0800

              OS Version: Mac OS X 10.14.3 (18D32a)

              Report Version: 12

              Bridge OS Version: 3.3 (16P53129a)

              Anonymous UUID: 7E1DE390-4665-9E9B-5FE8-F973A45D07C5

              Sleep/Wake UUID: 9424F2D7-4B0C-41F7-9917-14B1C774054C

              Time Awake Since Boot: 230000 seconds

              Time Since Wake: 69000 seconds

              System Integrity Protection: enabled

              Crashed Thread: 4 Dispatch queue: com.apple.main-thread

              Exception Type: EXC_CRASH (SIGABRT)

              Exception Codes: 0x0000000000000000, 0x0000000000000000

              Exception Note: EXC_CORPSE_NOTIFY

              External Modification Warnings:

              Debugger attached to process.

              Application Specific Information:

              *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘NSWindow drag regions should only be invalidated on the Main Thread!’

              terminating with uncaught exception of type NSException

              Application Specific Backtrace 1:

              0 CoreFoundation 0x00007fff49eceecd __exceptionPreprocess + 256

              1 libobjc.A.dylib 0x00007fff75f96720 objc_exception_throw + 48

              2 CoreFoundation 0x00007fff49ee895d -[NSException raise] + 9

              3 AppKit 0x00007fff473e9c8e -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 324

              4 AppKit 0x00007fff473e707c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488

              5 AppKit 0x00007fff473e6aa6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45

              6 AppKit 0x00007fff473e4fb7 -[NSWindowTemplate nibInstantiate] + 495

              7 AppKit 0x00007fff4736004e -[NSIBObjectData instantiateObject:] + 267

              8 AppKit 0x00007fff4735f3bc -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 579

              9 AppKit 0x00007fff4735d5e9 loadNib + 401

              10 AppKit 0x00007fff4735cab1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 696

              11 AppKit 0x00007fff474e90d2 +[NSBundle(NSNibLoadingInternal) _loadNibFile:externalNameTable:options:withZone:] + 156

              12 AppKit 0x00007fff474e8e8f -[NSWindowController loadWindow] + 322

              13 AppKit 0x00007fff4744b618 -[NSWindowController window] + 84

              14 xpcHelp 0x00000001099e71da -[testView showSelfWindow] + 58

              15 xpcHelp 0x0000000109a3a747 __48-[xpcHelp sendToXpcWith:withUserInfo:withReply:]_block_invoke + 87

              16 libdispatch.dylib 0x00007fff77015d53 _dispatch_call_block_and_release + 12

              17 libdispatch.dylib 0x00007fff77016dcf _dispatch_client_callout + 8

              18 libdispatch.dylib 0x00007fff7701d124 _dispatch_lane_serial_drain + 618

              19 libdispatch.dylib 0x00007fff7701dc0c _dispatch_lane_invoke + 436

              20 libdispatch.dylib 0x00007fff77024d26 _dispatch_root_queue_drain + 325

              21 libdispatch.dylib 0x00007fff770254bd _dispatch_worker_thread2 + 90

              22 libsystem_pthread.dylib 0x00007fff772576dd _pthread_wqthread + 619

              23 libsystem_pthread.dylib 0x00007fff77257405 start_wqthread + 13

              0 libsystem_kernel.dylib 0x00007fff771a207a __semwait_signal_nocancel + 10

              1 libsystem_c.dylib 0x00007fff770b7962 nanosleep$NOCANCEL + 188

              2 libsystem_c.dylib 0x00007fff770ddf2a sleep$NOCANCEL + 41

              3 libdispatch.dylib 0x00007fff77026838 _dispatch_queue_cleanup2 + 112

              4 libsystem_pthread.dylib 0x00007fff772586c2 _pthread_tsd_cleanup + 550

              5 libsystem_pthread.dylib 0x00007fff7725b679 _pthread_exit + 70

              6 libsystem_pthread.dylib 0x00007fff77258473 pthread_exit + 30

              7 libdispatch.dylib 0x00007fff77022291 dispatch_main + 110

              8 libxpc.dylib 0x00007fff7729ceda _xpc_objc_main + 583

              9 libxpc.dylib 0x00007fff7729c9bd xpc_main + 433

              10 com.apple.Foundation 0x00007fff4c189ce4 -[NSXPCListener resume] + 162

              11 com.ftsafe.xpcHelp 0x00000001099e73de main + 142 (main.m:47)

              12 libdyld.dylib 0x00007fff77064ed9 start + 1

              Thread 1:: Dispatch queue: com.apple.NSXPCConnection.user.24688

              0 libsystem_kernel.dylib 0x00007fff771a1eae __semwait_signal + 10

              1 libsystem_c.dylib 0x00007fff7712c830 nanosleep + 199

              2 libsystem_c.dylib 0x00007fff7712c692 sleep + 41

              3 com.ftsafe.xpcHelp 0x0000000109a3a603 -[xpcHelp sendToXpcWith:withUserInfo:withReply:] + 371 (xpcHelp.mm:25)

              4 com.apple.Foundation 0x00007fff4c1acd93 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S3__ + 12

              5 com.apple.Foundation 0x00007fff4c18bb38 -[NSXPCConnection _decodeAndInvokeMessageWithEvent:flags:] + 2609

              6 com.apple.Foundation 0x00007fff4c18ae9c message_handler + 227

              7 libxpc.dylib 0x00007fff77298a28 _xpc_connection_call_event_handler + 56

              8 libxpc.dylib 0x00007fff772969be _xpc_connection_mach_event + 933

              9 libdispatch.dylib 0x00007fff77016e6f _dispatch_client_callout4 + 9

              10 libdispatch.dylib 0x00007fff7702bb0f _dispatch_mach_msg_invoke + 449

              11 libdispatch.dylib 0x00007fff7701cfc9 _dispatch_lane_serial_drain + 271

              12 libdispatch.dylib 0x00007fff7702c639 _dispatch_mach_invoke + 485

              13 libdispatch.dylib 0x00007fff7701cfc9 _dispatch_lane_serial_drain + 271

              14 libdispatch.dylib 0x00007fff7701dc0c _dispatch_lane_invoke + 436

              15 libdispatch.dylib 0x00007fff77026090 _dispatch_workloop_worker_thread + 603

              16 libsystem_pthread.dylib 0x00007fff7725760b _pthread_wqthread + 409

              17 libsystem_pthread.dylib 0x00007fff77257405 start_wqthread + 13

              Thread 2:: Dispatch queue: com.apple.root.default-qos.overcommit

              0 libsystem_kernel.dylib 0x00007fff771a20a2 __sigsuspend_nocancel + 10

              1 libdispatch.dylib 0x00007fff770268b5 _dispatch_sigsuspend + 21

              2 libdispatch.dylib 0x00007fff770268a0 _dispatch_sig_thread + 53

              0 libsystem_pthread.dylib 0x00007fff772573f8 start_wqthread + 0

              1 . 0xffffffffffffff00 0 + 18446744073709551360

              Thread 4 Crashed:: Dispatch queue: com.apple.main-thread

              0 libsystem_kernel.dylib 0x00007fff771a423e __pthread_kill + 10

              1 libsystem_pthread.dylib 0x00007fff7725ac1c pthread_kill + 285

              2 libsystem_c.dylib 0x00007fff7710d1c9 abort + 127

              3 libc++abi.dylib 0x00007fff7478d231 abort_message + 231

              4 libc++abi.dylib 0x00007fff7478d3cd default_terminate_handler() + 265

              5 libobjc.A.dylib 0x00007fff75f98c87 _objc_terminate() + 97

              6 libc++abi.dylib 0x00007fff74798dfe std::__terminate(void (*)()) + 8

              7 libc++abi.dylib 0x00007fff74798e73 std::terminate() + 51

              8 libdispatch.dylib 0x00007fff77016de3 _dispatch_client_callout + 28

              9 libdispatch.dylib 0x00007fff7701d124 _dispatch_lane_serial_drain + 618

              10 libdispatch.dylib 0x00007fff7701dc0c _dispatch_lane_invoke + 436

              11 libdispatch.dylib 0x00007fff77024d26 _dispatch_root_queue_drain + 325

              12 libdispatch.dylib 0x00007fff770254bd _dispatch_worker_thread2 + 90

              13 libsystem_pthread.dylib 0x00007fff772576dd _pthread_wqthread + 619

              14 libsystem_pthread.dylib 0x00007fff77257405 start_wqthread + 13

              Oh, you’re running this within an XPC Service! That’s a critical tibit.

              Consider this snippet from your crash report:

              What’s weird about this is that the main queue is being run by thread 4. In normal application code, the main queue is always run by the main thread, that is, thread 0.

              The reason this is happening is that you’re inside an XPC Service. By default an XPC Service’s main thread calls

              (see its man page), and that triggers a very nice but very unusual behaviour: It terminates the main thread but leaves the process running!

              This is nice because it saves resources. If the XPC Service is dormant, there’s no point leaving a thread lying around doing nothing.

              It’s weird because of its impact on main queue operations. When you dispatch something to the main queue, you expect it to run on the main thread, but here there’s no main thread to run the main queue. Instead, Dispatch temporarily assigns some other worker thread to run your main queue work. Main queue work is still serialised, it’s just not running on the main thread.

              The problem comes when you call AppKit, which has all sorts of ‘must run on the main thread’ checks. In situation like this these checks will fail, throwing an exception that terminates your XPC Service process.

              Fortunately there’s an easy fix: Configure your XPC Service to not call

              . You do this by setting the property to . See the man page for details.

              Share and Enjoy

              Quinn “The Eskimo!”
              Apple Developer Relations, Developer Technical Support, Core OS/Hardware

              Источник

              xpc-connection refuses to install #30

              Comments

              MetromapSVG commented Apr 1, 2019

              I have attempted to install xpc connection but my Mac refuses to install it. I have changed the directory, followed instructions in issue #2 with nothing changed.

              Below is what I have.

              $ xcode-select -p
              /Applications/Xcode.app/Contents/Developer

              $ xcode-select -v
              xcode-select version 2354.

              $ gcc -v
              Configured with: —prefix=/Applications/Xcode.app/Contents/Developer/usr —with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
              Apple LLVM version 10.0.1 (clang-1001.0.46.3)
              Target: x86_64-apple-darwin18.2.0
              Thread model: posix
              InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

              $ which gcc
              /usr/bin/gcc

              $ sudo npm i -g xpc-connection

              xpc-connection@0.1.4 install /Users/ernest/.npm-global/lib/node_modules/xpc-connection
              node-gyp rebuild

              gyp ERR! configure error
              gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/Users/ernest/.npm-global/lib/node_modules/xpc-connection/build’
              gyp ERR! System Darwin 18.2.0
              gyp ERR! command «/usr/local/bin/node» «/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js» «rebuild»
              gyp ERR! cwd /Users/ernest/.npm-global/lib/node_modules/xpc-connection
              gyp ERR! node -v v11.13.0
              gyp ERR! node-gyp -v v3.8.0
              gyp ERR! not ok
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! xpc-connection@0.1.4 install: node-gyp rebuild
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the xpc-connection@0.1.4 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

              npm ERR! A complete log of this run can be found in:
              npm ERR! /Users/ernest/.npm/_logs/2019-04-01T13_20_38_392Z-debug.log

              The text was updated successfully, but these errors were encountered:

              piersbarrios commented Apr 1, 2019

              Try: sudo npm i -g xpc-connection —unsafe-perm

              MetromapSVG commented Apr 2, 2019 •

              Still has errors even with the —unsafe-perm syntax:

              Источник

              `> xpc-connection@0.1.4 install /Users/ernest/.npm-global/lib/node_modules/xpc-connection
              > node-gyp rebuild
              
                CXX(target) Release/obj.target/binding/src/XpcConnection.o
              ../src/XpcConnection.cpp:103:41: warning: 'IntegerValue' is deprecated: Use
                    maybe version [-Wdeprecated-declarations]
                  xpcObject = xpc_int64_create(value->IntegerValue());
                                                      ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8.h:2570:3: note: 'IntegerValue'
                    has been explicitly marked deprecated here
                V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8config.h:326:29: note: expanded
                    from macro 'V8_DEPRECATED'
                declarator __attribute__((deprecated(message)))
                                          ^
              ../src/XpcConnection.cpp:113:40: warning: 'ToObject' is deprecated: Use maybe
                    version [-Wdeprecated-declarations]
                  Local<Object> valueObject = value->ToObject();
                                                     ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8.h:2549:10: note: 'ToObject' has
                    been explicitly marked deprecated here
                inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
                       ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8config.h:326:29: note: expanded
                    from macro 'V8_DEPRECATED'
                declarator __attribute__((deprecated(message)))
                                          ^
              ../src/XpcConnection.cpp:123:40: warning: 'ToObject' is deprecated: Use maybe
                    version [-Wdeprecated-declarations]
                  Local<Object> valueObject = value->ToObject();
                                                     ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8.h:2549:10: note: 'ToObject' has
                    been explicitly marked deprecated here
                inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
                       ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8config.h:326:29: note: expanded
                    from macro 'V8_DEPRECATED'
                declarator __attribute__((deprecated(message)))
                                          ^
              ../src/XpcConnection.cpp:143:89: error: too few arguments to function call,
                    expected 2, have 1
                ...propertyValue = object->GetRealNamedProperty(propertyName->ToString());
                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8.h:3668:3: note: 
                    'GetRealNamedProperty' declared here
                V8_WARN_UNUSED_RESULT MaybeLocal<Value> GetRealNamedProperty(
                ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8config.h:418:31: note: expanded
                    from macro 'V8_WARN_UNUSED_RESULT'
              #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                            ^
              ../src/XpcConnection.cpp:143:79: warning: 'ToString' is deprecated: Use maybe
                    version [-Wdeprecated-declarations]
                ...propertyValue = object->GetRealNamedProperty(propertyName->ToString());
                                                                              ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8.h:2548:10: note: 'ToString' has
                    been explicitly marked deprecated here
                inline V8_DEPRECATED("Use maybe version", Local<String> ToString() const);
                       ^
              /Users/ernest/.node-gyp/11.13.0/include/node/v8config.h:326:29: note: expanded
                    from macro 'V8_DEPRECATED'
                declarator __attribute__((deprecated(message)))
                                          ^
              ../src/XpcConnection.cpp:254:12: warning: 'MakeCallback' is deprecated
                    [-Wdeprecated-declarations]
                    Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").T...
                         ^
              ../node_modules/nan/nan.h:980:3: note: 'MakeCallback' has been explicitly marked
                    deprecated here
                NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                ^
              ../node_modules/nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED'
              # define NAN_DEPRECATED __attribute__((deprecated))
                                                     ^
              ../src/XpcConnection.cpp:263:12: warning: 'MakeCallback' is deprecated
                    [-Wdeprecated-declarations]
                    Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").T...
                         ^
              ../node_modules/nan/nan.h:980:3: note: 'MakeCallback' has been explicitly marked
                    deprecated here
                NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                ^
              ../node_modules/nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED'
              # define NAN_DEPRECATED __attribute__((deprecated))
                                                     ^
              6 warnings and 1 error generated.
              make: *** [Release/obj.target/binding/src/XpcConnection.o] Error 1
              gyp ERR! build error 
              gyp ERR! stack Error: `make` failed with exit code: 2
              gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:193:13)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12)
              gyp ERR! System Darwin 18.2.0
              gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /Users/ernest/.npm-global/lib/node_modules/xpc-connection
              gyp ERR! node -v v11.13.0
              gyp ERR! node-gyp -v v3.8.0
              gyp ERR! not ok 
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! xpc-connection@0.1.4 install: `node-gyp rebuild`
              npm ERR! Exit status 1
              npm ERR! 
              npm ERR! Failed at the xpc-connection@0.1.4 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /Users/ernest/.npm/_logs/2019-04-02T12_00_22_411Z-debug.log`
              

              Понравилась статья? Поделить с друзьями:
            • Failed to store acl rollback information with error 0x80070002
            • Failed to stop discovery org bluez error failed
            • Failed to stop check point watchdog service как исправить
            • Failed to start winring0 driver error 183 nicehash
            • Failed to start updater rage mp как исправить