Title: Problem with uploading debug information to with `@sentry/wasm` · Issue #9505 · getsentry/sentry-javascript · GitHub
Open Graph Title: Problem with uploading debug information to with `@sentry/wasm` · Issue #9505 · getsentry/sentry-javascript
X Title: Problem with uploading debug information to with `@sentry/wasm` · Issue #9505 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9505
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem with uploading debug information to with `@sentry/wasm`","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/browser\r\n\r\n### SDK Version\r\n\r\n7.79.0\r\n\r\n### Framework Version\r\n\r\n@sentry/wasm (7.77.0)\r\n\r\n### Link to Sentry event\r\n\r\n### SDK Setup\r\n\r\nSentry.init({\r\n dsn: \"my-dns\",\r\n integrations: [new WasmIntegration()],\r\n});\r\n\r\n### Steps to Reproduce\r\n\r\nI'm using MacOS and `sentry-cli 2.21.2` and `wasm-split 23.10.1`\r\n\r\nI'm trying to use Sentry with WebAssembly and `c++` native code. I did everything like you said in tutorial.\r\n\r\n- I have `.wasm` binary compiled with `emcc`\r\n- I added build id to my binary and created file with debug info with `wasm-split`\r\n```\r\nwasm-split main.wasm -d main.debug.wasm --strip\r\n```\r\n- And finally I upload debug info to sentry:\r\n```\r\nsentry-cli debug-files upload -t wasm -o \u003corg> -p \u003cproject> main.debug.wasm\r\n```\r\n\r\nThen I force my native code to invoke runtime error. \r\n I can see event is registered in my Sentry's project. \r\n\r\n### Expected Result\r\n\r\nI can see call stack but only with functions names. \r\nI believe that I should see also file names and line numbers etc in that call stack but I don't.\r\nI 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.\r\n\r\n\r\n\r\n### Actual Result\r\n\r\nWhat 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.\r\n\r\nID: `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`\r\nis transformed into: `10xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`\r\n(adds prefix `10` and cuts last two signs).\r\n\r\nI wonder if that is the problem why my event isn't connected with its debug info I uploaded?\r\nOr if it (changing id) is expected behaviour what else can be the problem?\r\n\r\nThanks a lot for any help!\r\n\r\n\r\n","author":{"url":"https://github.com/AnDevi","@type":"Person","name":"AnDevi"},"datePublished":"2023-11-09T10:55:42Z","url":"https://github.com/getsentry/sentry-javascript/issues/9505"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e94b0993-3e5a-e88f-a761-44354f4e3fc7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8B2:49A58:3B69B7:500DC9:6B043828 |
| html-safe-nonce | 0993bc77a86afb364d6360b3c72cd7247749fa039e0b01a5a15612107dfd4a82 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEIyOjQ5QTU4OjNCNjlCNzo1MDBEQzk6NkIwNDM4MjgiLCJ2aXNpdG9yX2lkIjoiNzU0NDc0ODY1MDEzNjg3NzA5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 90f4d64d9769d1021db7262ff622685709f42d5978a462ca499d950a0d0d1c34 |
| hovercard-subject-tag | issue:1985368985 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/9505/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9ebb99a80aac7ad0bd841816fbce44a2137ecb2f24d4975154135512c03abc72/getsentry/sentry-javascript/issues/9505 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9ebb99a80aac7ad0bd841816fbce44a2137ecb2f24d4975154135512c03abc72/getsentry/sentry-javascript/issues/9505 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AnDevi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width