rollbar / rollbar-ios

Objective-C library for crash reporting and logging with Rollbar.
https://docs.rollbar.com/docs/ios
MIT License
65 stars 61 forks source link

why rollbar always send report EXC_BREAKPOINT (5): Application terminated #345

Closed sdiik closed 3 years ago

sdiik commented 3 years ago
Screen Shot 2021-05-20 at 10 49 45

I am confused which position is wrong ??? please help me I test in develop is fine but in production always have this bugs .

Screen Shot 2021-05-20 at 10 51 12
akornich commented 3 years ago

@sdiik , just as a wild guess, maybe because the application hosting the SDK crashed?... Is it a crash report occurrence? Can you provide here a link to the item in question (on your project's Rollbar Dashboard)?

sdiik commented 3 years ago

@sdiik , just as a wild guess, maybe because the application hosting the SDK crashed?... Is it a crash report occurrence? Can you provide here a link to the item in question (on your project's Rollbar Dashboard)?

ok mr @akornich I asked for approval from my supervisor first.

mr @akornich can you provide complete rollbar documentation or reference. such as telemetry , sending correct crash reports with swift language, I read in rollbar doc website use objective-C please 🙏🏼

akornich commented 3 years ago

The SDK documentation is here: https://docs.rollbar.com/docs/ios Also, if you are just starting using Rollbar, I would recommend moving to Rollbar-Apple SDK (Rollbar-iOS is at the end of its life-cycle): https://github.com/rollbar/rollbar-apple https://docs.rollbar.com/docs/apple

sdiik commented 3 years ago

Can you provide here a link to the item in question (on your project's Rollbar Dashboard)?

mr @akornich this is my rollbar dasboard link : https://rollbar.com/HungryHub/iOS/items/16/occurrences/164708858989/

sdiik commented 3 years ago

The SDK documentation is here: https://docs.rollbar.com/docs/ios Also, if you are just starting using Rollbar, I would recommend moving to Rollbar-Apple SDK (Rollbar-iOS is at the end of its life-cycle): https://github.com/rollbar/rollbar-apple https://docs.rollbar.com/docs/apple

thank mr @akornich

akornich commented 3 years ago

@sdiik , thanks for posting the link. It looks like you are using the SDK correctly. The reason the crash report's call stack is not symboicated is that you do not have a dSYM bundle uploaded to the project for the 5.8.22 version (the latest uploaded one is 5.8.21). Once it is uploaded, all the new occurrences coming from that version of your app should be symbolicated.

akornich commented 3 years ago

The reason you are getting that specific error reported is that your app crashed and when it restarts again the SDK's crash reporter picks up the crash report created by the terminated app and sends it to rollbar. Once, the crash's call stack gets symbolicated you should be able to pinpoint the actual cause of the crash.

sdiik commented 3 years ago

@sdiik , thanks for posting the link. It looks like you are using the SDK correctly. The reason the crash report's call stack is not symboicated is that you do not have a dSYM bundle uploaded to the project for the 5.8.22 version (the latest uploaded one is 5.8.21). Once it is uploaded, all the new occurrences coming from that version of your app should be symbolicated.

thanks mr @akornich . i will check again

akornich commented 3 years ago

@sdiik , can we close the issue? i assume you are unblocked by now...

akornich commented 3 years ago

closing due to no replies...