You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I created an envelope with such a payload and tried to send it, the following error occurred.
/work # sentry-cli --version
sentry-cli 2.27.0
/work # sentry-cli send-envelope 6ef9b5d41dbc4262a9fd8eece598ccf6.envelope
ERROR: invalid item payload
suggested by: unknown variant `elf`, expected one of `apple`, `symbolic`, `proguard`, `wasm` at line 1 column 76243
Add --log-level= [info|debug] or export SENTRY_LOG_LEVEL= [info|debug] to see more output.
Please attach the full debug log to all bug reports.
I use sentry-cli of the latest version of getsentry/sentry-cli.
The content of debug_meta looks like this:
I changed this to symbolic and adjust a few items, I succeeded to send it.
However, it seems that symbol paths are resolved by LLDB rules for Mach-O directory layout.
What I want to check is the following.
Is debug_meta.type: elf discontinued?
The type called symbolic is not described in the documentation, but which rule is applied in the case of Platform-Specific?
My understand is there is basically no problem with the LLDB directory layout, but I'd like to know the specification about symbolic.
I also feel like it would be nice to set it to Unified Layout, but what do you think about this. (edited)
The text was updated successfully, but these errors were encountered:
The debug_meta.type: elf is alive and well. The reason sentry-cli complains about it is that the parser definition that is used to validate these payloads is hopelessly outdated. You can use sentry-cli send-event --raw to avoid this parsing/validation step.
I would ignore the debug_meta.type: symbolic notation for now. Its possible that is does have some consequence on symbol lookup, but switching over to the proper type: elf should resolve that confusion as well.
I got the following question from a partner:
Hello.
We've started sending envelopes to projects within an organization.
At this time, there are several issues with symbol resolution, so let me check.
We are trying to use a directory layout of the "ELF" and the "Platform-Specific" found in the Sentry documentation "Symbol Servers".
https://docs.sentry.io/platforms/native/data-management/debug-files/symbol-servers/
Our path rule is BuildID.
The reason we chose this is because symbol files we are using are ELF files that contain ID in the GNU BuildID format.
My understanding is that the resolution of symbol files by the directory layout is resolved by specifying
elf
in the Payload's Debug Meta type.https://develop.sentry.dev/sdk/event-payloads/debugmeta/
When I created an envelope with such a payload and tried to send it, the following error occurred.
I use sentry-cli of the latest version of getsentry/sentry-cli.
The content of debug_meta looks like this:
I changed this to
symbolic
and adjust a few items, I succeeded to send it.However, it seems that symbol paths are resolved by LLDB rules for Mach-O directory layout.
What I want to check is the following.
debug_meta.type
:elf
discontinued?symbolic
is not described in the documentation, but which rule is applied in the case of Platform-Specific?symbolic
.The text was updated successfully, but these errors were encountered: