Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

restore CrashLogMessageExtractor with disabled __cxa_throw swapper #3133

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

mallexxx
Copy link
Collaborator

@mallexxx mallexxx commented Jul 24, 2024

Task/Issue URL: https://app.asana.com/0/414709148257752/1207878606354585/f
BSK PR: duckduckgo/BrowserServicesKit#909
macOS PR: duckduckgo/macos-browser#3011

Description:

  • restore CrashLogMessageExtractor for unhandled NSException, cpp termination handler
  • Added swapCxaThrow: false parameter to CrashLogMessageExtractor.setUp to allow disabling __cxa_throw swapping

Steps to test this PR:

  1. run, detach debugger
  2. simulate c++ crash
  3. run from debugger
  4. validate uploaded reports is generated (without the exception stack trace)
  5. Simulate NSException and validate the stack trace is there

Definition of Done (Internal Only):

Copy Testing:

  • Use of correct apostrophes in new copy, ie rather than '

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

Copy link

github-actions bot commented Aug 1, 2024

This PR has been inactive for more than 7 days and will be automatically closed 7 days from now.

@github-actions github-actions bot added the stale label Aug 1, 2024
Copy link
Contributor

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@mallexxx mallexxx changed the base branch from main to release/7.131.0 August 2, 2024 08:44
@mallexxx mallexxx force-pushed the alex/process-mach-header branch from ffd9c1b to fe78853 Compare August 2, 2024 08:45
@mallexxx mallexxx merged commit b787bbe into release/7.131.0 Aug 2, 2024
14 checks passed
@mallexxx mallexxx deleted the alex/process-mach-header branch August 2, 2024 09:21
samsymons added a commit that referenced this pull request Aug 4, 2024
# By Alexey Martemyanov (2) and others
# Via Alexey Martemyanov (2) and GitHub (1)
* main:
  Enable favorites reordering on New Tab Page (#3169)
  [DuckPlayer]. 15. Move DuckPlayer code to BSK (#3171)
  Update autoconsent to v10.13.0 (#3178)
  application lock test and tab switcher test (#3163)
  Release 7.131.0-1 (#3179)
  restore CrashLogMessageExtractor with disabled __cxa_throw swapper (#3133)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request Aug 4, 2024
# By Alexey Martemyanov (2) and others
# Via Alexey Martemyanov (2) and GitHub (1)
* main:
  Add RMF `messageShown` attribute (#3176)
  Enable favorites reordering on New Tab Page (#3169)
  [DuckPlayer]. 15. Move DuckPlayer code to BSK (#3171)
  Update autoconsent to v10.13.0 (#3178)
  application lock test and tab switcher test (#3163)
  Release 7.131.0-1 (#3179)
  restore CrashLogMessageExtractor with disabled __cxa_throw swapper (#3133)
  Automatically add Asana task to iOS App Board (#3168)
  [DuckPlayer] 14. Potential fix to crash (#3161)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request Aug 5, 2024
# By Alexey Martemyanov (2) and others
# Via Alexey Martemyanov (2) and GitHub (1)
* main:
  Improve Bookmarks DB Setup (#3143)
  Add RMF `messageShown` attribute (#3176)
  Enable favorites reordering on New Tab Page (#3169)
  [DuckPlayer]. 15. Move DuckPlayer code to BSK (#3171)
  Update autoconsent to v10.13.0 (#3178)
  application lock test and tab switcher test (#3163)
  Release 7.131.0-1 (#3179)
  restore CrashLogMessageExtractor with disabled __cxa_throw swapper (#3133)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants