Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Invalid crashpad handler behavior on x86 devices #149

Merged
merged 5 commits into from
Feb 1, 2022

Conversation

konraddysput
Copy link
Collaborator

Why

The crashpad handler path doesn't work correctly for x86 builds. It prevents the game from he startup because of the invalid library image. This diff adds:

  • support for x86/x64 crashpad handler,
  • different algorithm that determinates the crashpad path based on architecture path.

@konraddysput konraddysput self-assigned this Jan 18, 2022
@konraddysput konraddysput changed the base branch from master to release January 18, 2022 13:48
@konraddysput konraddysput added the bug Something isn't working label Jan 18, 2022
Copy link
Collaborator

@perf2711 perf2711 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@konraddysput
Copy link
Collaborator Author

After first round of tests, new issues related to similar behavior was detected. I'm planning more changes.

@konraddysput konraddysput merged commit e3a86b8 into release Feb 1, 2022
konraddysput added a commit that referenced this pull request Mar 14, 2022
* Native client compilation issues in older .NET platforms (#134)

* Android compilation issues

* Add missing namespace

* Apply default when value is below limit (#133)

* Apply default when value is below limit

* use defaults and different cast for backtracedatabasesettings

* Backtrace-cocoa - purge invalid report on game startup

* Improvement/prevent duplicated anrs (#135)

* Safe way to serialize Backtrace response

* Configurable ANR watchdog timeout

* Formatting + logger changes

* Code review suggestions

* Version update

* Update CHANGELOG.md

* Update CHANGELOG.md

* Avoid using unsupported property in not-native builds (#140)

* Avoid using unsupported property in not-native builds

* Filter out whole base client

* Version update

* Invalid background exception behavior (#139)

* INvalid background exception behaviour

* remove cast

* Java background exception better variable names/comments

* correcet variable name

* Updates CHANGELOG for 3.7.2

* Do not test native client on not supported platforms

* Invalid cast (#144)

* prevent monitor disposing in the disable method (#143)

* Use game object name instead of 'backtrace'

* Version update + make sure backtrace-unity don't throw an exception when disk is full

* Typo

* Changelog

* Add attributes to runtime xception

* fix unable to delete reports when db path has trailing slash

* Update README.md (#152)

NDK16b support is now baked into the main.

* Invalid crashpad handler behavior on x86 devices (#149)

* Fixed crashpad handler for x86

* Different meta guid

* Different crashpad path to x86/x64 directories

* Disable native client on x86 devices on Windows

* Disable on editor mode

* Android memory usage improvements (#150)

* Small nits that should speedup anr algorithm

* Background exception handler

* Forward crashes in the background exception handler, capture and store unhandled android Exceptions

* ANR watchdog adjustements

* Version Update

* Apply suggestions from code review

Change request changes

Co-authored-by: Lysanne Pinto <lysannepinto@gmail.com>

* Delay breadcrumbs integration initialization

* Version 3.7.4 preview 1

* Unity dynamic attributes (#154)

* Unity dynamic attributes

* background attribute

* Release improvements

* Preview version update

* Version 3.7.4

Co-authored-by: Vincent Lussenburg <vlussenburg@users.noreply.github.com>
Co-authored-by: Lysanne Pinto <lysannepinto@gmail.com>
Co-authored-by: Sarah Edkins <sedkins@backtrace.io>
Co-authored-by: Sarah Edkins <sarahedkins@users.noreply.github.com>
Co-authored-by: jasoncdavis0 <jdavis@backtrace.io>
@konraddysput konraddysput deleted the bugfix/invalid-crashpad-handler branch July 13, 2022 11:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants