Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 7, 2022

Backport of #64908 to release/6.0

/cc @steveisok @lateralusX

Customer Impact

When running dotnet trace against a MAUI application targeting Android, a runtime crash would occur when loader events (image/assembly load/unload) were included. The crash occurred due to Mono.Android assembly no longer including a debug directory entry on a release build. As a result, the runtime had a field that was uninitialized and would lead to the crash.

The fix makes sure the struct always gets initialized and that we explicitly set that field (module_il_pdb_path) to an empty string if assembly doesn't include a debug directory entry.

Testing

Manual validation

Risk

Low

@github-actions github-actions bot requested a review from marek-safar as a code owner February 7, 2022 16:03
@ghost ghost added the area-Tracing-mono label Feb 7, 2022
@akoeplinger akoeplinger added the Servicing-consider Issue for next servicing release review label Feb 7, 2022
@akoeplinger akoeplinger added this to the 6.0.x milestone Feb 7, 2022
@steveisok steveisok added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 7, 2022
@steveisok
Copy link
Member

Approved by tactics over email.

@safern
Copy link
Member

safern commented Feb 7, 2022

@steveisok ping me if you need merge and you've gotten an approval.

@steveisok
Copy link
Member

@safern - this is good to go. Please merge when you can.

@steveisok steveisok self-requested a review February 7, 2022 21:37
@akoeplinger akoeplinger modified the milestones: 6.0.x, 6.0.3 Feb 7, 2022
@akoeplinger akoeplinger merged commit dbda62f into release/6.0 Feb 8, 2022
@akoeplinger akoeplinger deleted the backport/pr-64908-to-release/6.0 branch February 8, 2022 00:07
@ghost ghost locked as resolved and limited conversation to collaborators Mar 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Tracing-mono Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants