question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Capture data for Mono server side symbolication

See original GitHub issue

#578 added parsing of Mono stacktraces. Part of the data it reads can be used to symbolicate frames with pdbs. But until Sentry adds support to it, there’s no where to add it to the event.

https://github.com/getsentry/sentry-dotnet/pull/578/files#diff-591366d18813202fbdb64620c836b9f60442259c02a5e44d20e71895eef0c513R56

Platform = "mono", // needs to be agreed with the backend
ModuleVersionId = f.Mvid,
AotId = f.Aotid,
MethodIndex = f.MethodIndex.ToString("x4"),
IsILOffset = f.IsILOffset,

https://github.com/getsentry/sentry-dotnet/pull/578/files#diff-001afbb90f9f04a40a0eb9edcce5ac4a00b22e5d94a4622244d7901bee4cafbbR147

Protocol needs:

/// Module Version Id.
/// </summary>
/// <remarks>Used by the Mono AOT compiler</remarks>
[DataMember(Name = "mvid", EmitDefaultValue = false)]
public string? ModuleVersionId { get; set; }

/// <summary>
/// AOT Id.
/// </summary>
/// <remarks>Used by the Mono AOT compiler</remarks>
[DataMember(Name = "aotid", EmitDefaultValue = false)]
public string? AotId { get; set; }

/// <summary>
/// Method Index.
/// </summary>
/// <remarks>Used by the Mono AOT compiler</remarks>
[DataMember(Name = "method_index", EmitDefaultValue = false)]
public string? MethodIndex { get; set; }

/// <summary>
/// Is IL offset.
/// </summary>
/// <remarks>Used by the Mono AOT compiler</remarks>
[DataMember(Name = "is_il_offset", EmitDefaultValue = false)]
public bool? IsILOffset { get; set; }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bruno-garciacommented, Nov 28, 2020

@jan-auer this is what I was referring to in terms of protocol change.

0reactions
mattjohnsonpintcommented, Feb 17, 2023

Closing this issue, as it was handled by #2050 and corresponding Symbolic changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Symbolication for AOT-compiled stack traces on iOS #2180
Symbolication for AOT-compiled stack traces on iOS #2180. Open. Tracked by #1174 ... Capture data for Mono server side symbolication #579.
Read more >
objective c - ios Symbolication Server side
First, you need to install libdwarf-dev , dwarfdump , binutils-dev and libiberty-dev . E.g. on Ubuntu: $ sudo apt-get install libdwarf-dev ...
Read more >
Utilizing crash.dmp files
I've attached a screenshot of as far as I've been able to get with the dump file so far. Is there currently any...
Read more >
The current state of Swift for Server and Linux - #18 by cukr
Hi there! I would like to start a discussion about the current state of Swift for Server. The real "for server" - No...
Read more >
Manual: Android symbols
Symbol files contain a table that translates active memory addresses into information you can use, like a method name. The translation process ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found