Giter Site home page Giter Site logo

bugsnag / bugsnag-cocoa Goto Github PK

View Code? Open in Web Editor NEW
224.0 38.0 123.0 43.38 MB

BugSnag error monitoring & exception reporter for iOS, macOS, tvOS and watchOS

Home Page: https://docs.bugsnag.com/platforms/ios

License: MIT License

Objective-C 63.45% C 19.87% Makefile 0.56% Objective-C++ 1.28% Shell 0.22% Ruby 1.38% Gherkin 7.26% Swift 5.97%
bugsnag crash-reporting macos ios tvos crash-reports error-monitoring error-reporting error-handling crash-reporting-tool

bugsnag-cocoa's Introduction

Bugsnag error monitoring & exception reporter for iOS, macOS, tvOS and watchOS

iOS Documentation macOS Documentation tvOS Documentation watchOS Documentation Build status

The Bugsnag crash reporter for Cocoa library automatically detects crashes in your iOS 9.0+, macOS 10.11+, tvOS 9.2+ and watchOS 6.3+ applications, collecting diagnostic information and immediately notifying your development team, helping you to understand and resolve issues as fast as possible. Learn more about iOS crash reporting with Bugsnag.

Features

  • Automatically report unhandled exceptions and crashes
  • Report handled exceptions
  • Log breadcrumbs which are attached to crash reports and add insight to users' actions
  • Attach user information and custom diagnostic data to determine how many people are affected by a crash

Getting started

iOS

  1. Create a Bugsnag account
  2. Complete the instructions in the integration guide for iOS
  3. Report handled exceptions using [Bugsnag notify:]
  4. Customize your integration using the configuration options

macOS

  1. Create a Bugsnag account
  2. Complete the instructions in the integration guide for macOS
  3. Report handled exceptions using [Bugsnag notify:]
  4. Customize your integration using the configuration options

watchOS

  1. Create a Bugsnag account
  2. Complete the instructions in the integration guide for watchOS
  3. Report handled exceptions using [Bugsnag notify:]
  4. Customize your integration using the configuration options

Support

Contributing

All contributors are welcome! For information on how to build, test, and release bugsnag-cocoa, see our contributing guide.

License

The Bugsnag Cocoa library is free software released under the MIT License. See LICENSE.txt for details.

bugsnag-cocoa's People

Contributors

bengourley avatar cawllec avatar chiahan1123 avatar conradirwin avatar dependabot[bot] avatar endoze avatar fractalwrench avatar gareththackeray avatar imjoehaines avatar jessicard avatar joshedney avatar kattrali avatar keith avatar kstenerud avatar kylef avatar loopj avatar matthewjhowells avatar neil477 avatar nickdowell avatar paulz avatar plantpurecode avatar regnerjr avatar robert-smartbear avatar robinmacharg avatar samritchie avatar sberrevoets avatar snmaynard avatar tomlongridge avatar twometresteve avatar yousif-bugsnag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bugsnag-cocoa's Issues

Documentation for Swift developers

I'm attempting to install Bugsnag in an application using Swift 2. I have installed the library through Cocoapods and adding the import to my bridging header:

#ifndef GoDriver_Bridging_Header_h
#define GoDriver_Bridging_Header_h

#import "Bugsnag/Bugsnag.h"

#endif /* GoDriver_Bridging_Header_h */

I then attempted to initialize Bugsnag in my AppDelegate:

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    // Override point for customization after application launch.
    Bugsnag.startBugsnagWithApiKey("...")

    return true
}

But Xcode errors with Use of unresolved identifier 'Bugsnag' on the line in AppDelegate.

In my opinion, Bugsnag should have documentation for using the notifier with Swift as well as Objective-C applications.

cocoapod install fails on KSCrashModule

I'm currently unable to install Bugsnag via cocoapods, due to a problem with the private submodule KSCrashModule.

pod install
Analyzing dependencies

CocoaPods 0.37.2 is available.
To update use: `sudo gem install cocoapods`

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Downloading dependencies
Installing Bugsnag (4.0.6)

[!] Error installing Bugsnag
[!] /usr/bin/git submodule update --init

Submodule 'KSCrashModule' ([email protected]:bugsnag/KSCrash.git) registered for path 'KSCrashModule'
Cloning into 'KSCrashModule'...

fatal: reference is not a tree: 76836a36603fee7475731c8826b62dc1a6c47441

Unable to checkout '76836a36603fee7475731c8826b62dc1a6c47441' in submodule path 'KSCrashModule'

Steps to reproduce:

  • Remove Bugsnag from the Podfile
  • pod install
  • Re-add Bugsnag to the Podfile
  • pod install

Investigate and resolve deprecations for users supporting only newer platforms

As many users' applications support only iOS 7 or 8+, look into the usages of deprecated APIs and resolve where possible, as we may get a few performance gains as well as less future breakage.

This would be a major release (5.0.x), though we would continue to support the 4.1.x release line for future development for users supporting older versions of iOS/OS X.

Related to #79, #50.

Why don't the line numbers show by default?

I'm a bit confused by Bugsnag, because it doesn't seem to show the line numbers in the crash logs.

I was using Crashlytics previously, and it was able to show me the method names and line numbers for a crash. But I'm not getting the line numbers for Bugsnag in the crash reports.

Apparently I can upload the dsym to get this information. I'm not really sure about that, because after I ran the suggested script, it still didn't show me any line numbers in the crash report. (and it says "Still Missing" afterwards, which I don't get - maybe it's talking about other targets?).

Anyway why is it that out-of-the-box Crashlytics can show the line numbers, but Bugsnag can't? I don't have to upload any such dsym data manually for Crashlytics...

Or could there be something wrong with my Bugsnag configuration? (I installed version 4.1.0 via Cocoapods...)

Breadcrumbs not included in uncaught exceptions

It seems like breadcrumbs logged with Bugsnag+leaveBreadcrumbWithMessage: is not included when logging uncaught nsexceptions.

Root cause seems to be that the breadcrumbs are only added to configuration.metaData in notify:withData:atSeverity:atDepth: which only seems to be used for manually reported exceptions.
When KSCrash calls serialize_bugsnag_data (as it's onCrash callback) for other exception types breadcrumbs will not be in the meta data struct.

Manually hacking the situation by calling [[Bugsnag performSelector:@selector(notifier)] performSelector:@selector(serializeBreadcrumbs)]; after each call to leaveBreadcrumbWithMessage seems to work around the issue.

endless loop (?) when app itself is using Reachability

It seems, in that case there are two different instances of Reachability. Bugsnag will try to attach network information:

[event addAttribute:@"Network" withValue:self.networkReachability toTabWithName:@"device"];

but it will fail, because if the other Reachability instance is used, it has no currentReachabilityString.

This exception will continue to be thrown:

[Reachability currentReachabilityString]: unrecognized selector sent to instance

Until the app crashes.

Support for carthage

It would be great to be given support to compile the framework using Carthage! :D

You do not need much work, this tool is generic and is designed to build frameworks

Right now does not work:

# carthage update                
*** Cloning bugsnag-cocoa
*** Downloading bugsnag-cocoa at "v4.0.9"
*** Checking out bugsnag-cocoa at "v4.0.9"
*** xcodebuild output can be found in /var/folders/8l/lvcx_wld699crfslff46mxrm0000gp/T/carthage-xcodebuild.sbJOb6.log
*** Building scheme "Bugsnag" in Bugsnag.xcodeproj
** BUILD FAILED **


The following build commands failed:
    PhaseScriptExecution Run\ Script /Users/sebastian.varela/Library/Developer/Xcode/DerivedData/Bugsnag-ccxagkjsadhqelhbacgnucprwrsh/Build/Intermediates/Bugsnag.build/Release-iphoneos/Bugsnag.build/Script-938594AD1A2405560082E445.sh
    Check dependencies
(2 failures)
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
/Users/sebastian.varela/repo/ios-lib-crashreporting/Carthage/Checkouts/bugsnag-cocoa/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
fatal error: lipo: /Users/sebastian.varela/Library/Developer/Xcode/DerivedData/Bugsnag-ccxagkjsadhqelhbacgnucprwrsh/Build/Products/Release/libBugsnag-Device.a and /Users/sebastian.varela/Library/Developer/Xcode/DerivedData/Bugsnag-ccxagkjsadhqelhbacgnucprwrsh/Build/Products/Release/libBugsnag-Simulator.a have the same architectures (armv7) and can't be in the same fat output file
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “372ZUL2ZB7” were found.
A shell task failed with exit code 65

Products contains invalid products

binaries share the same codesign path:

/Contents/Frameworks/BugsnagOSX.framework/Versions/Current

Binaries:
/Contents/Frameworks/BugsnagOSX.framework/BugsnagOSX
/Contents/Frameworks/BugsnagOSX.framework/Versions/Current/BugsnagOSX

This can happen if your build process copies frameworks by following symlinks

Frameworks should use symlink , but bugsnag.framework downloaded from release has multiple files .

Set context

The context field is no longer set in the ios notifier

Unsafe signal handler?

I thought I should share this with you: http://landonf.bikemonkey.org/2011/09/index.html
It's an article written by Landon Fuller, the author of the PLCrashReporter library. He explains why a signal handler should not execute any objective-c code, or do any networking. He says that there is little that can be done safely in a signal handler.

Didn't you experience any problem with your signal handler?

My team and I were considering writing our own crash reporter as well, but ended up using PLCrashReporter instead.

Cheers.

Incorrect buffer size for hw.machine determining

When determining the hw.machine system information, the input string buffer size is left uninitialised (so it contains random data). It can trigger a false ENOMEM error. (And was it in some other context where the system info could change between buffer alloc and read it could also cause buffer overflow.)

This piece of code:

size_t machineCStringLen;
if (0 == sysctl(mib, mibLen, machineCString, &machineCStringLen, NULL, 0)
    && machineCStringLen <= machineCStringLenEstimate) {
    machine = [[NSString alloc] initWithCString:machineCString encoding:NSUTF8StringEncoding];
}

Should probably be like:

size_t machineCStringLen = machineCStringLenEstimate;
if (0 == sysctl(mib, mibLen, machineCString, &machineCStringLen, NULL, 0)) {
    machine = [[NSString alloc] initWithCString:machineCString encoding:NSUTF8StringEncoding];
}
  • Set the machineCStringLen to correct initial value
  • Remove the machineCStringLen <= machineCStringLenEstimate comparison as it is redundant (when string size is larger than buffer ENOMEM is returned, if it's smaller, it shouldn't matter)

Disclaimer: The changes I'm proposing haven't been run through a compiler nor tested. I just noticed this when looking over the code in Github.

Rake task to upload RubyMotion generated binary

I was on a HipChat room with some of your technical folks and they had mentioned adding a rake task for this. Has this been implemented?

Or it will be nice to have this info on your website.

Support end user 'onCrash' handling

Looks like KSCrash's onCrash handler is being used up for BugSnag to do its thing. We would like a way to add another handler for recording errors through our own custom tooling.

Bitcode not supported

Bitcode is not supported, so I am unable to build with Bitcode enabled.
image

To reproduce:
1.) Install Bugsnag without cocoapods
2.) Try to build with Bitcode enabled (Project/Build Settings -> Search for Bitcode)

I'm on version 7.1.1 of XCode, supporting iOS 8.1 and up. If you need any more information let me know. Thanks

'KSCrashReportWriter.h' file not found

The project was working well, I ran pod update and then I got this error despite the file is in my project folder.

/Users/XXX/Desktop/XXXX/XXX-ios-client/Pods/Headers/Public/Bugsnag/BugsnagConfiguration.h:30:9: 'KSCrashReportWriter.h' file not found

Duplicate interface definition for class 'KSCrashReportFilterPassthrough' and other

Can't run Bugsnag.

I've added Bugsnag via Cocoapods and got several error messages "Duplicate interface definition for class 'KSCrashReportFilter..." in KSCrash target.

I have YandexMetrica (https://github.com/yandexmobile/metrica-sdk-ios) in my project which also uses KSCrash. In Podfile.lock YandexMetrica's dependences explicitly written:

  • YandexMobileMetrica (2.1.1):
    • FMDB (~> 2.2)
    • KSCrash/Recording (~> 0.0.5)
    • KSCrash/Reporting/Filters/AppleFmt (~> 0.0.5)
    • protobuf-c (~> 1.0.1)

I think Bugsnag pod should have similar dependences in its settings to run with other pods such as YandexMetrica which use same subpods.

Logging from a failed network request occasionally crashes

We post a notification when a network request fails and our notification handler reports the failure to Bugsnag. Occasionally we end up with a crash while trying to report an error to Bugsnag:

Pods/Bugsnag/KSCrash/Source/KSCrash/Recording/Sentry/KSCrashSentry_User.c:73:26 kscrashsentry_reportUserException
Pods/Bugsnag/KSCrash/Source/KSCrash/Recording/KSCrash.m:382:5 -[KSCrash reportUserException:reason:lineOfCode:stackTrace:terminateProgram:]
Pods/Bugsnag/Source/Bugsnag/BugsnagNotifier.m:122:5 -[BugsnagNotifier notify:withData:atSeverity:atDepth:]
Pods/Bugsnag/Source/Bugsnag/Bugsnag.m:90:5 +[Bugsnag notify:withData:]

It's not very frequent (we've had 16 of these reports since June), but I thought we'd pass this along in case anyone had any thoughts.

Error installing Bugsnag while installing with cocoapods

Installing Bugsnag (4.0.6)

[!] Error installing Bugsnag
[!] /usr/bin/git submodule update --init

Submodule 'KSCrashModule' ([email protected]:bugsnag/KSCrash.git) registered for path 'KSCrashModule'
Cloning into 'KSCrashModule'...

Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts.

fatal: reference is not a tree: 76836a36603fee7475731c8826b62dc1a6c47441

Unable to checkout '76836a36603fee7475731c8826b62dc1a6c47441' in submodule path 'KSCrashModule'

When I run pod install, I ran into this error and this happens a lot. When I change Bugsnag to version 4.0.3, it installs without any error.

Anyone knows what am I doing wrong or what's wrong?

Spurious warning: Cache is deprecrated

Using Xcode 6.3.2, compiling Bugsnag (4.0.7) shows the following warning:

In file included from /Users/.../Pods/Bugsnag/KSCrash/Source/KSCrash/Recording/Tools/KSObjC.c:29:
/Users/.../Pods/Bugsnag/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:122:5: warning: 'Cache' is deprecated: first deprecated in iOS 2.0 [-Wdeprecated-declarations]
    Cache cache;
    ^
/Users/.../Pods/Bugsnag/KSCrash/Source/KSCrash/Recording/Tools/KSObjCApple.h:51:28: note: 'Cache' has been explicitly marked deprecated here
typedef struct objc_cache *Cache;
                           ^
1 warning generated.

This doesn't seem to be a problem. An easy fix would be to add the a #pragma to disable the warning.

Provide an optional "Do Not Pull Stack" flag for Notify items

We've got an issue where some of the time, when we're firing Notify items, there's a crash in the OS's backtrace() flow. The crash on notify is in:

KSCrashSentry_User.c, kscrashsentry_reportUserException, line 70: callstackCount = backtrace((void**)callstack, callstackCount);

We don't need the stack; in fact, we don't need anything other than the Notify item's bare minimum.

An example is here, if the dev team has access to our team's Bugsnags: https://bugsnag.com/plangrid/plangrid-ios/errors/550ac40e7c992b99ead0c2cb?event_id=553fcd69548678c57afed980

If not, I can send a copy of the relevant data; and I have attached a screenshot of the stack in case that proves to be helpful.

The underlying issue may be an Apple bug, but as there's no particular reason to expect the backtrace bug to be addressed (though we are filing it in Radar), we'd really like to be able to work around it so that we don't get spurious crashes.

screenshot 2015-04-28 11 49 54

Easy way to force a crash

Could you add a method which forces a crash? That would be handy for when testing.

Apologies if there is already such a thing, but I couldn't see it.

README sample code modifies read-only property

The README includes a code snippet on how to configure Bugsnag:

config.notifyURL = [NSURL URLWithString:@"https://bugsnag.example.com/"];

This is not possible because notifyURL is a read-only property.

How to upload dSYM

Hi Bugsnag team.

I'm trying to upload the dSYM of my project from my Mac but I failed every time that I tried.

curl https://upload.bugsnag.com/ -F [email protected]
curl -o /Users/Pedro/Desktop/MyApp.app.dSYM 'https://bugsnag.com/services/upload/xxxxxxxx' | ruby
curl 'https://bugsnag.com/services/upload/xxxxxxxx' -F dsym='@/Users/Pedro/Desktop/MyApp.app.dSYM'

xxxxxxxx is the key of my app.
Do you know any software or any code that help me to resolve it?

KSCrashReport.c:1996:67: error: conflicting types for 'time'

Pods/Bugsnag/KSCrash/Source/KSCrash/Recording/KSCrashReport.c:1996:67: error: conflicting types for 'time'
242         writer->addIntegerElement(writer, KSCrashField_Timestamp, time(NULL));                                                                                                                                                      
243                                                                   ^                                                             
244 In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/_structs.h:29:
245 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/time.h:116:8: note: previous declaration is here
246 time_t time(time_t *);                                                                                                          
247        ^                                                                                                                        
248 1 error generated.    

Line numbers are 0

I installed Bugsnag Cocoa using the Pod method. It seems to work fine, but the line numbers in the reports are always zero. For example:

/Users/thomas/Library/Developer/Xcode/DerivedData/MyApp-daxwpuwazlwktwbeipjylrhsqjps/Build/Products/Debug/MyApp.app/Contents/MacOS/MyApp:0
+[Bugsnag notify:]

/Users/thomas/Library/Developer/Xcode/DerivedData/MyApp-daxwpuwazlwktwbeipjylrhsqjps/Build/Products/Debug/MyApp.app/Contents/MacOS/MyApp:0
-[AppDelegate applicationDidFinishLaunching:]

Note the :0 at the end.

I'm using revision 3317cf2, XCode 6.1.1, Yosemite 10.10.1, and targeting OS X 10.10.

Do you know how what might go wrong?

reachability conflicts still present in 3.1.0

since fixing the reachability conflicts, the tag/podspec haven't been updated. so pod install still produces reachability conflicts.

and since you bundle your own namespaced reachability pod (which i think is good :) you shouldn't need to list Reachability as a dependency in your podspec... that pulls in the vanilla Reachability pod resulting in duplicate code.

i think you can remove this line:
https://github.com/bugsnag/bugsnag-cocoa/blob/master/Bugsnag.podspec#L80

would love to see those updated in 3.1.1 pod, as at the moment we're maintaining 3.1.0.fork on our own repo

Xcode 7 BugSnag 4.0.9

After upgrading to Xcode 7, I pulled the latest BugSnag library into my project. Now, I'm running into many warnings from Xcode (please see attached screen). Has anyone else ran into this issue?

2015-10-09_09-30-59

Bugsnag OS X and iOS frameworks ZIP files are created wrong

The framework ZIP archives that are downloadable for iOS and OS X do not have the sym links, instead they have copies of the files which makes my code signing fail, among other problems.
screen shot 2015-09-10 at 12 37 27 pm

All OS X and iOS frameworks have lots of symlinks, as per https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html

Also it seems that downloading the source and building the frameworks seems to make the frameworks correctly, so it looks like an issue where your ZIP step is following the symlinks instead of leaving them alone.

screen shot 2015-09-10 at 12 40 12 pm

[crash] Application crashes with unknown [BugsnagSink orientationChanged:] selector

segmentio/analytics-ios#279

NSInvalidArgumentException -[BugsnagSink orientationChanged:]: unrecognized selector sent to instance 0x166bd570
    Frameworks/CoreFoundation.framework/CoreFoundation:0 <redacted>
    /usr/lib/libobjc.A.dylib:0 objc_exception_throw
    Frameworks/CoreFoundation.framework/CoreFoundation:0 <redacted>
    Frameworks/CoreFoundation.framework/CoreFoundation:0 <redacted>
    Frameworks/CoreFoundation.framework/CoreFoundation:0 CF_forwarding_prep_0
    Frameworks/CoreFoundation.framework/CoreFoundation:0 <redacted>
    Frameworks/CoreFoundation.framework/CoreFoundation:0 CFXNotificationPost
    Frameworks/Foundation.framework/Foundation:0 <redacted>
    Frameworks/UIKit.framework/UIKit:0 <redacted>
    Frameworks/UIKit.framework/UIKit:0 <redacted>
    Frameworks/UIKit.framework/UIKit:0 <redacted>
    Frameworks/UIKit.framework/UIKit:0 <redacted>
    PrivateFrameworks/GraphicsServices.framework/GraphicsServices:0 <redacted>
    PrivateFrameworks/GraphicsServices.framework/GraphicsServices:0 <redacted>
    Frameworks/CoreFoundation.framework/CoreFoundation:0 <redacted>
    Frameworks/CoreFoundation.framework/CoreFoundation:0 <redacted>
    Frameworks/CoreFoundation.framework/CoreFoundation:0 <redacted>
    Frameworks/CoreFoundation.framework/CoreFoundation:0 CFRunLoopRunSpecific
    Frameworks/CoreFoundation.framework/CoreFoundation:0 CFRunLoopRunInMode
    PrivateFrameworks/GraphicsServices.framework/GraphicsServices:0 GSEventRunModal
    Frameworks/UIKit.framework/UIKit:0 UIApplicationMain
    healthjoy/main.m:18:0 main
    /usr/lib/system/libdyld.dylib:0 <redacted>

Most likely, it has been fixed (bugsnag/bugsnag-unity#6) but not adopted by segment.io
Please help.

All rubymotion exceptions have the same error message

Rubymotion support is really close, there just seems to be something slightly wrong with the actual exception type message

Currently all exceptions are marked as EXC_BAD_ACCESS

and, all error messages say

Attempted to dereference garbage pointer 0x15497beb8.

or

Attempted to dereference null pointer.

It would be great for this to include at very least the exception class, but if possible, the exception message.

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.