Repository navigation
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.79.0
Framework Version
@sentry/wasm (7.77.0)
Link to Sentry event
SDK Setup
Sentry.init({
dsn: "my-dns",
integrations: [new WasmIntegration()],
});
Steps to Reproduce
I'm using MacOS and sentry-cli 2.21.2 and wasm-split 23.10.1
I'm trying to use Sentry with WebAssembly and c++ native code. I did everything like you said in tutorial.
- I have
.wasmbinary compiled withemcc - I added build id to my binary and created file with debug info with
wasm-split
wasm-split main.wasm -d main.debug.wasm --strip
- And finally I upload debug info to sentry:
sentry-cli debug-files upload -t wasm -o <org> -p <project> main.debug.wasm
Then I force my native code to invoke runtime error.
I can see event is registered in my Sentry's project.
Expected Result
I can see call stack but only with functions names.
I believe that I should see also file names and line numbers etc in that call stack but I don't.
I far as I know I should also see section Loaded Images in my event, with id which was embedded with wasm-split but I also don't.
Actual Result
What I noticed and I think that may be an issue wasm-split displays ID added, but during uploading debug info to sentry with sentry-cli this ID is always modified with the same pattern.
ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
is transformed into: 10xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(adds prefix 10 and cuts last two signs).
I wonder if that is the problem why my event isn't connected with its debug info I uploaded?
Or if it (changing id) is expected behaviour what else can be the problem?
Thanks a lot for any help!
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsNo status

Activity
[-]Problem with uploading debug information to Sentry.[/-][+]Problem with uploading debug information to `@sentry/wasm`[/+][-]Problem with uploading debug information to `@sentry/wasm`[/-][+]Problem with uploading debug information to with `@sentry/wasm`[/+]mydea commentedon Nov 9, 2023
Hey, thanks for writing in.
Could you share the link to the issue (or any example issue, really) where you can observe this, then we can take a look at this and see what we need to adjust!
AnDevi commentedon Nov 9, 2023
8 remaining items
AnDevi commentedon Dec 12, 2023
Hi, Is there any progress in that issue ? ;)
Lms24 commentedon Dec 12, 2023
Hi, sorry, no progress at this time as we're busy with other tasks.
github-actions commentedon Mar 5, 2025
A PR closing this issue has just been released 🚀
This issue was referenced by PR #15572, which was included in the 9.4.0 release.
fix(wasm): Skip length prefix in 16-byte build IDs (#24857)