Bsxpcmessage Received Error for Message: Connection Interrupted

BSXPCMessage received error for message: Connection interrupted

The message you are getting is due to a CIFilter bug in iOS 8.

XPC Services are meant to reduce crashes by isolating less stable components such as filters and plugins. This is usually not fatal and the connection will be restored by launchd restarting the service. Since this is not a long running service, but simply an operation, chances are that your image filter is not actually being applied.

This is very much a bug in iOS 8, and you should file a Radar (bug report) to let Apple know that (yet another piece of) iOS 8 has a bug.

If you are going to do that, you should install Quick Radar, keep track of the Radar number, and reply to the many other similar questions on Stack Overflow with the same issue. Encourage other people to file a duplicate Radar report referencing your original issue. That will give the bug more attention at Apple.

Apple really rushed this one out. The previously mentioned workaround is fine if you can make a different CIFilter subclass do what you want. Otherwise, you will just have to tinker around with copying the image, saving its NSData representation, or otherwise removing it from the CIImage workflow in some other way.

BSXPCMessage received error for message: Connection interrupted on CIContext with iOS 8

I'm having the same problem: I get the "BSXPCMessage..." message in iOS 8, but not iOS 7.

I traced it to where I create the CIContext:

self.ciContext = [CIContext contextWithOptions:@{kCIContextUseSoftwareRenderer : @(NO)}];

If you set kCIContextUseSoftwareRenderer to YES, the error goes away. Maybe iOS 8 requires you to enable CPU rendering?

Swift SKEmitter Node - BSXPCMessage received error for message: Connection interrupted

Seems to be a xCode bug using SKEffectNode. I was having other problems as well with SKEffectNode where they would not render SKEmitter children using ios 9 so I am not sure if it is fixed with ios 10.

unable to Get GPS Location BSXPCMessage received error for message: Connection interrupted

I got the same error message, still can't fix 'BSXPCMessage' error, but about the location part, I guess you're running iOS 7 version codes on iOS 8?
If so, try this:

  1. Add [locationManager requestAlwaysAuthorization] or [locationManager requestWhenInUseAuthorization] above [locationManager startUpdatingLocation]
  2. open Info.plist, add NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription into 'information property list' with a message

That's it, hope this can help you.

Sending an email causes - Connection interrupted

  1. From this Apple Guide I can understand that XPC services are supposed to prevent apps from crashing by separating unstable components somehow.

  2. The crash itself is caused by some kind of a bug in CIFilter.
    It's hard to tell what actually is wrong with your code, since the issue is obviously not with MFMailComposeViewController. If you are creating CIContext with options like this:

[CIContext contextWithOptions: @{kCIContextUseSoftwareRenderer : @(NO)}];

Try to replace NO with YES



Related Topics



Leave a reply



Submit