Open jopheno opened 1 month ago
@jopheno I am not really sure where this error is coming from. Could you perhaps try uploading your debug files using this command, instead:
sentry-cli debug-files upload --include-sources /path/to/files
When using the --include-sources
flag with debug-files upload
, the Sentry CLI automatically creates the source bundles when uploading the debug files, so you do not need to call sentry-cli debug-files bundle-sources
.
Please let me know whether this suggestion fixes your problem.
@szokeasaurusrex That I had already tried before, it works, and uploads just fine, but no sources are included... The main issue is that the sources are not being sent so when looking for the backtraces on sentry dashboard, it just doesn't work... On windows it works out of the box once it uploads the .pdb file, but on Linux, it doesn't work from the ELF as, I guess, it was supposed to...
Idk where the other message went, but I also received on my email the following so I tried it out:
jopheno@lnx-tlm-dev:~/repo/sentry-cli-2.38.0/sentry-cli-2.38.0$ RUST_BACKTRACE=1 cargo run -- --log-level=debug debug-files bundle-sources /home/jopheno/repo/tlm-server/
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
Running `target/debug/sentry-cli --log-level=debug debug-files bundle-sources /home/jopheno/repo/tlm-server/`
INFO 2024-10-23 15:17:21.356066126 +00:00 Loaded config from /home/jopheno/repo/sentry-cli-2.38.0/sentry-cli-2.38.0/.sentryclirc
DEBUG 2024-10-23 15:17:21.356375511 +00:00 sentry-cli version: 2.38.0, platform: "linux", architecture: "x86_64"
INFO 2024-10-23 15:17:21.359209975 +00:00 sentry-cli was invoked with the following command line: "target/debug/sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "/home/jopheno/repo/tlm-server/"
error: No such device (os error 19)
Stack backtrace:
0: anyhow::error::<impl anyhow::Error>::new
at /home/jopheno/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.86/src/backtrace.rs:27:14
1: core::ops::function::FnOnce::call_once
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
2: core::result::Result<T,E>::map_err
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:854:27
3: sentry_cli::utils::dif::DifFile::try_open
at ./src/utils/dif.rs:220:20
4: sentry_cli::utils::dif::DifFile::open_path
at ./src/utils/dif.rs:260:21
5: sentry_cli::commands::debug_files::bundle_sources::execute
at ./src/commands/debug_files/bundle_sources.rs:76:29
6: sentry_cli::commands::debug_files::execute
at ./src/commands/debug_files/mod.rs:47:24
7: sentry_cli::commands::run_command
at ./src/commands/mod.rs:234:26
8: sentry_cli::commands::execute
at ./src/commands/mod.rs:319:11
9: sentry_cli::commands::main
at ./src/commands/mod.rs:355:27
10: sentry_cli::main
at ./src/main.rs:8:5
11: core::ops::function::FnOnce::call_once
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
12: std::sys::backtrace::__rust_begin_short_backtrace
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
13: std::rt::lang_start::{{closure}}
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
14: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
15: std::panicking::try::do_call
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
16: std::panicking::try
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
17: std::panic::catch_unwind
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
18: std::rt::lang_start_internal::{{closure}}
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
19: std::panicking::try::do_call
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
20: std::panicking::try
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
21: std::panic::catch_unwind
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
22: std::rt::lang_start_internal
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
23: std::rt::lang_start
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
24: main
25: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
26: __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
27: _start
INFO 2024-10-23 15:17:21.511170255 +00:00 Running update nagger update check
DEBUG 2024-10-23 15:17:21.511780978 +00:00 request GET https://release-registry.services.sentry.io/apps/sentry-cli/latest
DEBUG 2024-10-23 15:17:21.511830951 +00:00 retry number 0, max retries: 0
DEBUG 2024-10-23 15:17:21.543588673 +00:00 > GET /apps/sentry-cli/latest HTTP/1.1
DEBUG 2024-10-23 15:17:21.543668299 +00:00 > Host: release-registry.services.sentry.io
DEBUG 2024-10-23 15:17:21.543704205 +00:00 > Accept: */*
DEBUG 2024-10-23 15:17:21.543732546 +00:00 > Connection: TE
DEBUG 2024-10-23 15:17:21.543759377 +00:00 > TE: gzip
DEBUG 2024-10-23 15:17:21.543810713 +00:00 > User-Agent: sentry-cli/2.38.0
DEBUG 2024-10-23 15:17:21.572101511 +00:00 < HTTP/1.1 200 OK
DEBUG 2024-10-23 15:17:21.572169369 +00:00 < content-type: application/json
DEBUG 2024-10-23 15:17:21.572217008 +00:00 < Content-Length: 10402
DEBUG 2024-10-23 15:17:21.572258735 +00:00 < access-control-allow-origin: *
DEBUG 2024-10-23 15:17:21.572296856 +00:00 < x-from-cache: 1
DEBUG 2024-10-23 15:17:21.572348288 +00:00 < x-envoy-upstream-service-time: 2
DEBUG 2024-10-23 15:17:21.572392531 +00:00 < date: Wed, 23 Oct 2024 15:17:21 GMT
DEBUG 2024-10-23 15:17:21.572429695 +00:00 < server: envoy
DEBUG 2024-10-23 15:17:21.572464863 +00:00 < Via: 1.1 google
DEBUG 2024-10-23 15:17:21.572503578 +00:00 < Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
DEBUG 2024-10-23 15:17:21.572749189 +00:00 response status: 200
INFO 2024-10-23 15:17:21.572797204 +00:00 Looking for file named: sentry-cli-Linux-x86_64
DEBUG 2024-10-23 15:17:21.572825284 +00:00 body: {"canonical":"app:sentry-cli","created_at":"2024-10-22T14:47:53.794Z","file_urls":{"sentry-cli-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-2.38.0.tgz","sentry-cli-Darwin-arm64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Darwin-arm64","sentry-cli-Darwin-universal":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Darwin-universal","sentry-cli-Darwin-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Darwin-x86_64","sentry-cli-Linux-aarch64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-aarch64","sentry-cli-Linux-armv7":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-armv7","sentry-cli-Linux-i686":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-i686","sentry-cli-Linux-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-x86_64","sentry-cli-Windows-i686.exe":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Windows-i686.exe","sentry-cli-Windows-x86_64.exe":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Windows-x86_64.exe","sentry-cli-darwin-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-darwin-2.38.0.tgz","sentry-cli-linux-arm-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-arm-2.38.0.tgz","sentry-cli-linux-arm64-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-arm64-2.38.0.tgz","sentry-cli-linux-i686-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-i686-2.38.0.tgz","sentry-cli-linux-x64-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-x64-2.38.0.tgz","sentry-cli-win32-i686-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-win32-i686-2.38.0.tgz","sentry-cli-win32-x64-2.38.0.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-win32-x64-2.38.0.tgz","sentry_cli-2.38.0-py3-none-macosx_10_15_x86_64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-macosx_10_15_x86_64.whl","sentry_cli-2.38.0-py3-none-macosx_11_0_arm64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-macosx_11_0_arm64.whl","sentry_cli-2.38.0-py3-none-macosx_11_0_universal2.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-macosx_11_0_universal2.whl","sentry_cli-2.38.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl","sentry_cli-2.38.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl","sentry_cli-2.38.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl","sentry_cli-2.38.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl","sentry_cli-2.38.0-py3-none-win32.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-win32.whl","sentry_cli-2.38.0-py3-none-win_amd64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-win_amd64.whl","sentry_cli-2.38.0.tar.gz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0.tar.gz"},"files":{"sentry-cli-2.38.0.tgz":{"checksums":{"sha256-hex":"a397823452b37316f704170891a7557ca0811bfce07e90596627f9ebc69d6f8b"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-2.38.0.tgz"},"sentry-cli-Darwin-arm64":{"checksums":{"sha256-hex":"f36f7559ad0ee9d0b93a593f276a468877729d38fb0b0caf6183537facb96f0e"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Darwin-arm64"},"sentry-cli-Darwin-universal":{"checksums":{"sha256-hex":"7ebe813fa13d84fde825d27f2914ee7b0de9b9f3e18c688cce282d3cf11445c7"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Darwin-universal"},"sentry-cli-Darwin-x86_64":{"checksums":{"sha256-hex":"3bbe145c0bd6d771fe76b7f79f774c1afd571818513b22bbce332a5499c93abf"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Darwin-x86_64"},"sentry-cli-Linux-aarch64":{"checksums":{"sha256-hex":"250b194c5a79fc620079575ca4421381473683f5116393b0f6436032e39b943e"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-aarch64"},"sentry-cli-Linux-armv7":{"checksums":{"sha256-hex":"7e0624f5e5772da47ca74f473acf82785f6104d6e3db5c5685dbd4b1105e436e"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-armv7"},"sentry-cli-Linux-i686":{"checksums":{"sha256-hex":"26bae7c27a0ab72691f30cd05ad5496585ff6622f2d3561adb5a3bfbbcc80cee"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-i686"},"sentry-cli-Linux-x86_64":{"checksums":{"sha256-hex":"93348eeffec53bbcc0ca7175c342edf507bda76805938e9ecd73825e01f6533d"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Linux-x86_64"},"sentry-cli-Windows-i686.exe":{"checksums":{"sha256-hex":"2f4e3c018c4a45c3ef843b752d5cc1d5c4636fa1301dc144f4a1db2a8372a499"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Windows-i686.exe"},"sentry-cli-Windows-x86_64.exe":{"checksums":{"sha256-hex":"81d9afd6155ba009bcdead11c599e8ab782ff1b1dda02ef028c3f141acff4782"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-Windows-x86_64.exe"},"sentry-cli-darwin-2.38.0.tgz":{"checksums":{"sha256-hex":"c53b0aeb3beff96a1c735558d9184e270b89ef2016e8b86c20608dcc18ab8c48"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-darwin-2.38.0.tgz"},"sentry-cli-linux-arm-2.38.0.tgz":{"checksums":{"sha256-hex":"fa275aa3f0590f87411cdecb5c968ad9a12599656a3f0582d865bb54ff09e70b"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-arm-2.38.0.tgz"},"sentry-cli-linux-arm64-2.38.0.tgz":{"checksums":{"sha256-hex":"ded29e315682c629faeababc05d6186cf3b352f177f420ea9af78e8e21d7c9fb"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-arm64-2.38.0.tgz"},"sentry-cli-linux-i686-2.38.0.tgz":{"checksums":{"sha256-hex":"a69af141f6b97ae1082ae8b85891add525a529617e55d2de78e0debed57806a0"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-i686-2.38.0.tgz"},"sentry-cli-linux-x64-2.38.0.tgz":{"checksums":{"sha256-hex":"5fa7256009e7e4cca492a5f5563669179940cc2f5891a54b29e59de9e2e25c41"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-linux-x64-2.38.0.tgz"},"sentry-cli-win32-i686-2.38.0.tgz":{"checksums":{"sha256-hex":"353d9a211b816aea6e9e30811864fd1e4f10bf810030caad34abaf6b7eb54fdd"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-win32-i686-2.38.0.tgz"},"sentry-cli-win32-x64-2.38.0.tgz":{"checksums":{"sha256-hex":"b3e3468f749f373af29e28c2aac11d94ec2f6b7a5b5575084fd279bfad572405"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry-cli-win32-x64-2.38.0.tgz"},"sentry_cli-2.38.0-py3-none-macosx_10_15_x86_64.whl":{"checksums":{"sha256-hex":"327cb3805774e2f785ffc140ba508bd50c3bcfbccb6014640fe0ee7b6e5b9a40"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-macosx_10_15_x86_64.whl"},"sentry_cli-2.38.0-py3-none-macosx_11_0_arm64.whl":{"checksums":{"sha256-hex":"59d5db396b7f6079e26543075423685bcc565782fdd6a124d698b4bc49a8f093"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-macosx_11_0_arm64.whl"},"sentry_cli-2.38.0-py3-none-macosx_11_0_universal2.whl":{"checksums":{"sha256-hex":"7707b842d3f72f04950dc74e953b2d69a508af5f842ac4c2df75b4d25b029265"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-macosx_11_0_universal2.whl"},"sentry_cli-2.38.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl":{"checksums":{"sha256-hex":"d287e8588c5dc3c0cf0f4bae50ec3ec0e2b728eee59a62ffca00df4f12ac9474"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl"},"sentry_cli-2.38.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl":{"checksums":{"sha256-hex":"ce427c883a7ca836ab8ed2d08c39dba90a1d7e4b97c58aa412ef404e310c5557"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl"},"sentry_cli-2.38.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl":{"checksums":{"sha256-hex":"03ae9522a842011798508b01c4b0e4e8128bd3697e2569839b670817a77aa772"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl"},"sentry_cli-2.38.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl":{"checksums":{"sha256-hex":"5a0d85574a21e538ec008b7c14ddc5061980e5147ace591f563382d8d0459e2b"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl"},"sentry_cli-2.38.0-py3-none-win32.whl":{"checksums":{"sha256-hex":"f968b3df8ee9c92741ebb0a64d1340aa0e0258274169d355c069abd07ba64ab0"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-win32.whl"},"sentry_cli-2.38.0-py3-none-win_amd64.whl":{"checksums":{"sha256-hex":"35d6633efa2aa930e53f9df641bb74b0452dd39e3514bdb567ef73abeb1af276"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0-py3-none-win_amd64.whl"},"sentry_cli-2.38.0.tar.gz":{"checksums":{"sha256-hex":"5cdc29133df6be2a04d6f82fb84e0d77be714508bd22618a52ac0a3e9960dd88"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.0/sentry_cli-2.38.0.tar.gz"}},"main_docs_url":"https://docs.sentry.io/learn/cli","name":"Sentry CLI","repo_url":"https://github.com/getsentry/sentry-cli","version":"2.38.0"}
INFO 2024-10-23 15:17:21.574038665 +00:00 Found asset sentry-cli-linux-x64-2.38.0.tgz
INFO 2024-10-23 15:17:21.574080016 +00:00 Found asset sentry-cli-Darwin-x86_64
INFO 2024-10-23 15:17:21.574096534 +00:00 Found asset sentry-cli-Linux-aarch64
INFO 2024-10-23 15:17:21.574111325 +00:00 Found asset sentry-cli-Linux-i686
INFO 2024-10-23 15:17:21.574128185 +00:00 Found asset sentry-cli-Windows-i686.exe
INFO 2024-10-23 15:17:21.574146100 +00:00 Found asset sentry-cli-linux-i686-2.38.0.tgz
INFO 2024-10-23 15:17:21.574163514 +00:00 Found asset sentry-cli-win32-i686-2.38.0.tgz
INFO 2024-10-23 15:17:21.574181048 +00:00 Found asset sentry-cli-win32-x64-2.38.0.tgz
INFO 2024-10-23 15:17:21.574198618 +00:00 Found asset sentry_cli-2.38.0-py3-none-macosx_11_0_universal2.whl
INFO 2024-10-23 15:17:21.574216513 +00:00 Found asset sentry-cli-Darwin-arm64
INFO 2024-10-23 15:17:21.574234378 +00:00 Found asset sentry-cli-darwin-2.38.0.tgz
INFO 2024-10-23 15:17:21.574251962 +00:00 Found asset sentry-cli-Linux-x86_64
I compiled from sources and ran using the cargo run pointing the path where the application executable is (which is compiled with symbols) the source code is also beneath this path inside folders; gdb can track the source files just fine on my executable so I don't think it is neither permissions or cuz the executable source path is wrong;
Using the command you passed earlier it didn't send any new information, on the sentry dashboard it still only sends symtab and unwind, but not sources;
It also sends the binary as shown above, again, no sources included...
Also by following some tutorial I also created a ELF file with only debug information to try it out:
That file was done using the following command: objcopy --only-keep-debug --compress-debug-sections=zlib tfs tfs.debug
Finally I also did: jopheno@lnx-tlm-dev:~/repo/sentry-cli-2.38.0/sentry-cli-2.38.0$ cargo install --path .
In order to install on path the new version compiled from sources, cuz it seamed like the folder being picked was being the executable, so I wanted to try without using cargo run, but then the backtrace didn't work probably I have to add some sort of flag to force compiling with symbols so that the backtrace would work? anyway leaving the log here as well:
I tried on the project main folder and inside the build folder, using tree I extracted the folder structure:
jopheno@lnx-tlm-dev:~/repo/tlm-server$ tree
.
├── CMakeLists.txt
├── Dockerfile
├── LICENSE
├── README.md
├── build
│ ├── CMakeCache.txt
│ ├── CMakeFiles
│ │ ├── 3.22.1
│ │ │ ├── CMakeCCompiler.cmake
│ │ │ ├── CMakeCXXCompiler.cmake
│ │ │ ├── CMakeDetermineCompilerABI_C.bin
│ │ │ ├── CMakeDetermineCompilerABI_CXX.bin
│ │ │ ├── CMakeSystem.cmake
│ │ │ ├── CompilerIdC
│ │ │ │ ├── CMakeCCompilerId.c
│ │ │ │ ├── a.out
│ │ │ │ └── tmp
│ │ │ └── CompilerIdCXX
│ │ │ ├── CMakeCXXCompilerId.cpp
│ │ │ ├── a.out
│ │ │ └── tmp
│ │ ├── CMakeDirectoryInformation.cmake
│ │ ├── CMakeOutput.log
│ │ ├── CMakeRuleHashes.txt
│ │ ├── CMakeTmp
│ │ ├── Makefile.cmake
│ │ ├── Makefile2
│ │ ├── TargetDirectories.txt
│ │ ├── check_git.dir
│ │ │ ├── DependInfo.cmake
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── compiler_depend.make
│ │ │ ├── compiler_depend.ts
│ │ │ └── progress.make
│ │ ├── cmake.check_cache
│ │ ├── progress.marks
│ │ └── tfs.dir
│ │ ├── DependInfo.cmake
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── cmake_pch.hxx
│ │ ├── cmake_pch.hxx.cxx
│ │ ├── cmake_pch.hxx.gch
│ │ ├── cmake_pch.hxx.gch.d
│ │ ├── compiler_depend.internal
│ │ ├── compiler_depend.make
│ │ ├── compiler_depend.ts
│ │ ├── depend.make
│ │ ├── flags.make
│ │ ├── link.txt
│ │ ├── progress.make
│ │ └── src
│ │ ├── awarerange.cpp.o
│ │ ├── awarerange.cpp.o.d
│ │ ├── ban.cpp.o
│ │ ├── ban.cpp.o.d
│ │ ├── behaviour.cpp.o
│ │ ├── behaviour.cpp.o.d
│ │ ├── configmanager.cpp.o
│ │ ├── configmanager.cpp.o.d
│ │ ├── connection.cpp.o
│ │ ├── connection.cpp.o.d
│ │ ├── container.cpp.o
│ │ ├── container.cpp.o.d
│ │ ├── crashcontrol.cpp.o
│ │ ├── crashcontrol.cpp.o.d
│ │ ├── creature.cpp.o
│ │ ├── creature.cpp.o.d
│ │ ├── database.cpp.o
│ │ ├── database.cpp.o.d
│ │ ├── databasemanager.cpp.o
│ │ ├── databasemanager.cpp.o.d
│ │ ├── databasetasks.cpp.o
│ │ ├── databasetasks.cpp.o.d
│ │ ├── entity.cpp.o
│ │ ├── entity.cpp.o.d
│ │ ├── events.cpp.o
│ │ ├── events.cpp.o.d
│ │ ├── fileloader.cpp.o
│ │ ├── fileloader.cpp.o.d
│ │ ├── filestream.cpp.o
│ │ ├── filestream.cpp.o.d
│ │ ├── game.cpp.o
│ │ ├── game.cpp.o.d
│ │ ├── groups.cpp.o
│ │ ├── groups.cpp.o.d
│ │ ├── httptasks.cpp.o
│ │ ├── httptasks.cpp.o.d
│ │ ├── iologindata.cpp.o
│ │ ├── iologindata.cpp.o.d
│ │ ├── item.cpp.o
│ │ ├── item.cpp.o.d
│ │ ├── itemcontainer.cpp.o
│ │ ├── itemcontainer.cpp.o.d
│ │ ├── itemtype.cpp.o
│ │ ├── itemtype.cpp.o.d
│ │ ├── logging
│ │ │ ├── log_with_spd_log.cpp.o
│ │ │ └── log_with_spd_log.cpp.o.d
│ │ ├── luanetworkinterface.cpp.o
│ │ ├── luanetworkinterface.cpp.o.d
│ │ ├── luascript.cpp.o
│ │ ├── luascript.cpp.o.d
│ │ ├── mail.cpp.o
│ │ ├── mail.cpp.o.d
│ │ ├── mailtasks.cpp.o
│ │ ├── mailtasks.cpp.o.d
│ │ ├── main.cpp.o
│ │ ├── main.cpp.o.d
│ │ ├── map.cpp.o
│ │ ├── map.cpp.o.d
│ │ ├── mapitem.cpp.o
│ │ ├── mapitem.cpp.o.d
│ │ ├── mapitemtype.cpp.o
│ │ ├── mapitemtype.cpp.o.d
│ │ ├── monster.cpp.o
│ │ ├── monster.cpp.o.d
│ │ ├── monstertemplate.cpp.o
│ │ ├── monstertemplate.cpp.o.d
│ │ ├── networkmessage.cpp.o
│ │ ├── networkmessage.cpp.o.d
│ │ ├── outputmessage.cpp.o
│ │ ├── outputmessage.cpp.o.d
│ │ ├── pathfinding.cpp.o
│ │ ├── pathfinding.cpp.o.d
│ │ ├── pch.cpp.o
│ │ ├── pch.cpp.o.d
│ │ ├── platform.cpp.o
│ │ ├── platform.cpp.o.d
│ │ ├── player.cpp.o
│ │ ├── player.cpp.o.d
│ │ ├── playerloader.cpp.o
│ │ ├── playerloader.cpp.o.d
│ │ ├── position.cpp.o
│ │ ├── position.cpp.o.d
│ │ ├── protocol.cpp.o
│ │ ├── protocol.cpp.o.d
│ │ ├── protocolgame.cpp.o
│ │ ├── protocolgame.cpp.o.d
│ │ ├── protocolgamesender.cpp.o
│ │ ├── protocolgamesender.cpp.o.d
│ │ ├── protocollogin.cpp.o
│ │ ├── protocollogin.cpp.o.d
│ │ ├── quadtree.cpp.o
│ │ ├── quadtree.cpp.o.d
│ │ ├── redismanager.cpp.o
│ │ ├── redismanager.cpp.o.d
│ │ ├── resourcemanager.cpp.o
│ │ ├── resourcemanager.cpp.o.d
│ │ ├── rsa.cpp.o
│ │ ├── rsa.cpp.o.d
│ │ ├── scheduler.cpp.o
│ │ ├── scheduler.cpp.o.d
│ │ ├── scriptmanager.cpp.o
│ │ ├── scriptmanager.cpp.o.d
│ │ ├── sector.cpp.o
│ │ ├── sector.cpp.o.d
│ │ ├── server.cpp.o
│ │ ├── server.cpp.o.d
│ │ ├── signals.cpp.o
│ │ ├── signals.cpp.o.d
│ │ ├── spectator.cpp.o
│ │ ├── spectator.cpp.o.d
│ │ ├── tasks.cpp.o
│ │ ├── tasks.cpp.o.d
│ │ ├── tile.cpp.o
│ │ ├── tile.cpp.o.d
│ │ ├── tools.cpp.o
│ │ ├── tools.cpp.o.d
│ │ ├── xtea.cpp.o
│ │ ├── xtea.cpp.o.d
│ │ ├── zones.cpp.o
│ │ └── zones.cpp.o.d
│ ├── Makefile
│ ├── cmake_install.cmake
│ ├── git-state-hash
│ ├── gitmetadata.h
│ ├── src
│ │ ├── CMakeFiles
│ │ │ ├── CMakeDirectoryInformation.cmake
│ │ │ └── progress.marks
│ │ ├── Makefile
│ │ └── cmake_install.cmake
│ ├── tfs
│ └── tfs.debug
├── cmake
│ ├── FindLuaJIT.cmake
│ ├── FindMySQL.cmake
│ ├── FindPugiXML.cmake
│ ├── cotire.cmake
│ ├── git_watcher.cmake
│ └── gitmetadata.h.in
├── config.lua
├── config.lua.dist
├── config_centrals.lua
├── config_centrals.lua.dist
├── config_instances.lua
├── config_instances.lua.dist
├── config_spawner.lua
├── config_spawner.lua.dist
├── crashpad_handler.exe
├── gdb.py
├── key.old.pem
├── key.pem
├── restarter.sh
├── schema.sql
├── show.sh
├── src
│ ├── CMakeLists.txt
│ ├── account.h
│ ├── awarerange.cpp
│ ├── awarerange.h
│ ├── ban.cpp
│ ├── ban.h
│ ├── behaviour.cpp
│ ├── behaviour.h
│ ├── configmanager.cpp
│ ├── configmanager.h
│ ├── connection.cpp
│ ├── connection.h
│ ├── const.h
│ ├── container.cpp
│ ├── container.h
│ ├── crashcontrol.cpp
│ ├── crashcontrol.h
│ ├── creature.cpp
│ ├── creature.h
│ ├── database.cpp
│ ├── database.h
│ ├── databasemanager.cpp
│ ├── databasemanager.h
│ ├── databasetasks.cpp
│ ├── databasetasks.h
│ ├── declarations.h
│ ├── definitions.h
│ ├── dependencies
│ │ ├── httplib.h
│ │ ├── json.hpp
│ │ ├── magic_enum.hpp
│ │ └── robin_hood.h
│ ├── dynamicflagsdescriptor.h
│ ├── entity.cpp
│ ├── entity.h
│ ├── enums.h
│ ├── events.cpp
│ ├── events.h
│ ├── fileloader.cpp
│ ├── fileloader.h
│ ├── filestream.cpp
│ ├── filestream.h
│ ├── game.cpp
│ ├── game.h
│ ├── groups.cpp
│ ├── groups.h
│ ├── httptasks.cpp
│ ├── httptasks.h
│ ├── iologindata.cpp
│ ├── iologindata.h
│ ├── item.cpp
│ ├── item.h
│ ├── itemcontainer.cpp
│ ├── itemcontainer.h
│ ├── itemtype.cpp
│ ├── itemtype.h
│ ├── lockfree.h
│ ├── logging
│ │ ├── log_with_spd_log.cpp
│ │ ├── log_with_spd_log.h
│ │ └── logger.h
│ ├── luanetworkinterface.cpp
│ ├── luanetworkinterface.h
│ ├── luascript.cpp
│ ├── luascript.h
│ ├── luavariant.h
│ ├── mail.cpp
│ ├── mail.h
│ ├── mailtasks.cpp
│ ├── mailtasks.h
│ ├── main.cpp
│ ├── map.cpp
│ ├── map.h
│ ├── mapitem.cpp
│ ├── mapitem.h
│ ├── mapitemtype.cpp
│ ├── mapitemtype.h
│ ├── monster.cpp
│ ├── monster.h
│ ├── monstertemplate.cpp
│ ├── monstertemplate.h
│ ├── networkmessage.cpp
│ ├── networkmessage.h
│ ├── outputmessage.cpp
│ ├── outputmessage.h
│ ├── pathfinding.cpp
│ ├── pathfinding.h
│ ├── pch.cpp
│ ├── pch.h
│ ├── platform.cpp
│ ├── platform.h
│ ├── player.cpp
│ ├── player.h
│ ├── playerloader.cpp
│ ├── playerloader.h
│ ├── position.cpp
│ ├── position.h
│ ├── protocol.cpp
│ ├── protocol.h
│ ├── protocolgame.cpp
│ ├── protocolgame.h
│ ├── protocolgamesender.cpp
│ ├── protocolgamesender.h
│ ├── protocollogin.cpp
│ ├── protocollogin.h
│ ├── pugicast.h
│ ├── quadtree.cpp
│ ├── quadtree.h
│ ├── redismanager.cpp
│ ├── redismanager.h
│ ├── resourcemanager.cpp
│ ├── resourcemanager.h
│ ├── rsa.cpp
│ ├── rsa.h
│ ├── scheduler.cpp
│ ├── scheduler.h
│ ├── scriptmanager.cpp
│ ├── scriptmanager.h
│ ├── sector.cpp
│ ├── sector.h
│ ├── server.cpp
│ ├── server.h
│ ├── sharedobject.h
│ ├── signals.cpp
│ ├── signals.h
│ ├── spectator.cpp
│ ├── spectator.h
│ ├── stats.h
│ ├── tasks.cpp
│ ├── tasks.h
│ ├── thread_holder_base.h
│ ├── tile.cpp
│ ├── tile.h
│ ├── tools.cpp
│ ├── tools.h
│ ├── utils
│ │ └── benchmark.h
│ ├── xtea.cpp
│ ├── xtea.h
│ ├── zones.cpp
│ └── zones.h
├── start.sh
├── tfs
├── tfs.debug
├── tools
│ ├── sentry-cli -> sentry-cli-Linux-x86_64_2.37.0
│ ├── sentry-cli-Linux-x86_64_2.37.0
│ └── sentry-cli_2.37.0.exe
├── vc14
│ ├── arch32.props
│ ├── arch64.props
│ ├── debug.props
│ ├── release.props
│ ├── settings.props
│ ├── theforgottenserver.ico
│ ├── theforgottenserver.rc
│ ├── theforgottenserver.sln
│ └── theforgottenserver.vcxproj
└── vcpkg.json
97 directories, 615 files
First I was using the sentry-cli from tools which is the already built for linux on 2.37.0, just made a symb link; Then I compiled that version, and now I compiled the most recent version 2.38.0 as requested, still, not uploading sources...
I also added this on CMake to auto upload:
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND cp build/tfs .
COMMAND objcopy --only-keep-debug --compress-debug-sections=zlib tfs tfs.debug
COMMAND cp build/tfs.debug .
COMMAND sentry-cli upload-dif --include-sources build/
COMMAND sentry-cli upload-dsym build/tfs
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
Hi @jopheno, I had deleted that comment because I realized shortly after posting it that our release builds don't include debug symbols, rendering the backtrace useless. But, since you compiled the binary manually, you got the backtrace after all.
From the backtrace, I can see that the error is originating from this line:
Digging deeper into the ByteView::open
function, which comes from one of our dependencies, it seems that most likely, the error originates from this call, where we are attempting to open a file:
Since Sentry CLI tries to traverse the directory in order to find sources and debug files, is it perhaps possible that your directory contains (or links to) an external device which is not mounted or might be experiencing some other hardware issue?
I tried reading all the files, and I saw no further issues on it, I don't think I am having any hardware issues and the only symbolic link I have is the one on sentry executable that can be seen on the tools folder on the structure I presented above...
What else would you recommend me to test? I am running out of options on testing here... I even updated my Linux distribution to be the most up-to-date LTS version, nothing changed...
There there is any further change you guys would like me to try, please let me know.
@jopheno have you tried removing the symbolic link?
Yes, even without the symbolic link; or inside the build folder;
jopheno@lnx-tlm-dev:~/repo/tlm-server$ sentry-cli --log-level=debug debug-files bundle-sources .
INFO 2024-11-01 20:06:38.607663453 +00:00 Loaded config from /home/jopheno/repo/tlm-server/.sentryclirc
DEBUG 2024-11-01 20:06:38.608268044 +00:00 sentry-cli version: 2.38.0, platform: "linux", architecture: "x86_64"
INFO 2024-11-01 20:06:38.609658463 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "."
error: No such device (os error 19)
INFO 2024-11-01 20:06:38.612569649 +00:00 Running update nagger update check
DEBUG 2024-11-01 20:06:38.613048222 +00:00 request GET https://release-registry.services.sentry.io/apps/sentry-cli/latest
DEBUG 2024-11-01 20:06:38.613077498 +00:00 retry number 0, max retries: 0
DEBUG 2024-11-01 20:06:38.715448988 +00:00 > GET /apps/sentry-cli/latest HTTP/1.1
DEBUG 2024-11-01 20:06:38.715481470 +00:00 > Host: release-registry.services.sentry.io
DEBUG 2024-11-01 20:06:38.715490568 +00:00 > Accept: */*
DEBUG 2024-11-01 20:06:38.715497718 +00:00 > Connection: TE
DEBUG 2024-11-01 20:06:38.715504674 +00:00 > TE: gzip
DEBUG 2024-11-01 20:06:38.715517189 +00:00 > User-Agent: sentry-cli/2.38.0
DEBUG 2024-11-01 20:06:38.749550720 +00:00 < HTTP/1.1 200 OK
DEBUG 2024-11-01 20:06:38.749588204 +00:00 < content-type: application/json
DEBUG 2024-11-01 20:06:38.749605114 +00:00 < Content-Length: 10402
DEBUG 2024-11-01 20:06:38.749620614 +00:00 < access-control-allow-origin: *
DEBUG 2024-11-01 20:06:38.749634744 +00:00 < x-from-cache: 1
DEBUG 2024-11-01 20:06:38.749653903 +00:00 < x-envoy-upstream-service-time: 1
DEBUG 2024-11-01 20:06:38.749671402 +00:00 < date: Fri, 01 Nov 2024 20:06:38 GMT
DEBUG 2024-11-01 20:06:38.749685707 +00:00 < server: envoy
DEBUG 2024-11-01 20:06:38.749699448 +00:00 < Via: 1.1 google
DEBUG 2024-11-01 20:06:38.749713926 +00:00 < Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
DEBUG 2024-11-01 20:06:38.749931073 +00:00 response status: 200
INFO 2024-11-01 20:06:38.749954102 +00:00 Looking for file named: sentry-cli-Linux-x86_64
DEBUG 2024-11-01 20:06:38.749970512 +00:00 body: {"canonical":"app:sentry-cli","created_at":"2024-10-30T13:49:16.284Z","file_urls":{"sentry-cli-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-2.38.1.tgz","sentry-cli-Darwin-arm64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Darwin-arm64","sentry-cli-Darwin-universal":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Darwin-universal","sentry-cli-Darwin-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Darwin-x86_64","sentry-cli-Linux-aarch64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-aarch64","sentry-cli-Linux-armv7":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-armv7","sentry-cli-Linux-i686":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-i686","sentry-cli-Linux-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-x86_64","sentry-cli-Windows-i686.exe":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Windows-i686.exe","sentry-cli-Windows-x86_64.exe":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Windows-x86_64.exe","sentry-cli-darwin-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-darwin-2.38.1.tgz","sentry-cli-linux-arm-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-arm-2.38.1.tgz","sentry-cli-linux-arm64-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-arm64-2.38.1.tgz","sentry-cli-linux-i686-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-i686-2.38.1.tgz","sentry-cli-linux-x64-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-x64-2.38.1.tgz","sentry-cli-win32-i686-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-win32-i686-2.38.1.tgz","sentry-cli-win32-x64-2.38.1.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-win32-x64-2.38.1.tgz","sentry_cli-2.38.1-py3-none-macosx_10_15_x86_64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-macosx_10_15_x86_64.whl","sentry_cli-2.38.1-py3-none-macosx_11_0_arm64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-macosx_11_0_arm64.whl","sentry_cli-2.38.1-py3-none-macosx_11_0_universal2.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-macosx_11_0_universal2.whl","sentry_cli-2.38.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl","sentry_cli-2.38.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl","sentry_cli-2.38.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl","sentry_cli-2.38.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl","sentry_cli-2.38.1-py3-none-win32.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-win32.whl","sentry_cli-2.38.1-py3-none-win_amd64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-win_amd64.whl","sentry_cli-2.38.1.tar.gz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1.tar.gz"},"files":{"sentry-cli-2.38.1.tgz":{"checksums":{"sha256-hex":"8e29c9626d698ae08feab12930b54127b6eed6801256342a5fb763603371d00e"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-2.38.1.tgz"},"sentry-cli-Darwin-arm64":{"checksums":{"sha256-hex":"c1a2effc2605adf4fae6e2d586a89e28c8038016642ee72aca1214a422086787"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Darwin-arm64"},"sentry-cli-Darwin-universal":{"checksums":{"sha256-hex":"c79989225f226b5c8af6b0f3515df9ae25afe6558bd8231d3b94e1fc40e1aa34"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Darwin-universal"},"sentry-cli-Darwin-x86_64":{"checksums":{"sha256-hex":"a2222c24a2c252cbd3dbaaca3520ad3e0d83b743782078df9931c8828279735e"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Darwin-x86_64"},"sentry-cli-Linux-aarch64":{"checksums":{"sha256-hex":"ce056adc10cc15d16578d9d65cda98b1d1e97fca7fcc826772a13012495360e1"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-aarch64"},"sentry-cli-Linux-armv7":{"checksums":{"sha256-hex":"09c6f2b0589b64b2657a64806eeb44313f63637639cc986b39ceef64dcf10084"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-armv7"},"sentry-cli-Linux-i686":{"checksums":{"sha256-hex":"17f222d62e4ac2638198f646ab3e09e97ca879bd1c2fdaecad114737ad2b416f"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-i686"},"sentry-cli-Linux-x86_64":{"checksums":{"sha256-hex":"6d5a4a2d93040fba4d9cf01b7abf5e43ffc0a013555ec2aab6a9d62fd5393ddb"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Linux-x86_64"},"sentry-cli-Windows-i686.exe":{"checksums":{"sha256-hex":"466a1c829a303ef27c1285cda9c214b1cfa50f97b3f9a142800340390ddbe579"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Windows-i686.exe"},"sentry-cli-Windows-x86_64.exe":{"checksums":{"sha256-hex":"5f6e48b5111ba342f97babb2f97dc329c5e202e6f188cbbc8b8ab9bb368ee915"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-Windows-x86_64.exe"},"sentry-cli-darwin-2.38.1.tgz":{"checksums":{"sha256-hex":"8f65742d6af472fb30318ab8678af523f02a93ff0db61c1af8327d7e76af9430"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-darwin-2.38.1.tgz"},"sentry-cli-linux-arm-2.38.1.tgz":{"checksums":{"sha256-hex":"671f695e625eedeff1ffe561b1fc7deaa7554f24d7b700a633d1ca900d2aeaad"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-arm-2.38.1.tgz"},"sentry-cli-linux-arm64-2.38.1.tgz":{"checksums":{"sha256-hex":"884dd1d2a61935cd0f9a7f5203a6ead41f4c49e65b24f2764ed0f2a2dcb1a423"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-arm64-2.38.1.tgz"},"sentry-cli-linux-i686-2.38.1.tgz":{"checksums":{"sha256-hex":"955bb0e5aaba373f8c20804ea26737d2acfd38d7bbb25540dc9d6e6708da01a9"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-i686-2.38.1.tgz"},"sentry-cli-linux-x64-2.38.1.tgz":{"checksums":{"sha256-hex":"f6183ed26eb6c5d22cce07e10e339463916d57a9f334ea1d2018ed80a17ee61b"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-linux-x64-2.38.1.tgz"},"sentry-cli-win32-i686-2.38.1.tgz":{"checksums":{"sha256-hex":"6c56255f75680a87b206ec1af364803bf3ebea9e931c4b7a96fbb5aa97929a7d"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-win32-i686-2.38.1.tgz"},"sentry-cli-win32-x64-2.38.1.tgz":{"checksums":{"sha256-hex":"9901f708081028d97cfe34d669521de58436fd42ba6a6bcb13dc9b64ae1d5e61"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry-cli-win32-x64-2.38.1.tgz"},"sentry_cli-2.38.1-py3-none-macosx_10_15_x86_64.whl":{"checksums":{"sha256-hex":"b704c910e4d28bd9518fbf59b9936812b034c165272c72e28cfc8e498ff255b4"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-macosx_10_15_x86_64.whl"},"sentry_cli-2.38.1-py3-none-macosx_11_0_arm64.whl":{"checksums":{"sha256-hex":"0f87a403993273a00d4ebd5c1b7d4e024793f68ea48ec17340fdabf7123a98a0"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-macosx_11_0_arm64.whl"},"sentry_cli-2.38.1-py3-none-macosx_11_0_universal2.whl":{"checksums":{"sha256-hex":"45f994c8d37017d31b9da4d4a076a0225a9cb122d7c0d9fbb565bc6776a3a8c3"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-macosx_11_0_universal2.whl"},"sentry_cli-2.38.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl":{"checksums":{"sha256-hex":"1be2300329dcf0c37d7e48adcdf7d79a8d97825f82840c99a9e72f24068d5fad"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl"},"sentry_cli-2.38.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl":{"checksums":{"sha256-hex":"9c11f867d975b6fdb8960333eff0b75324a3b304c4df5a6becb8117b3d7c4569"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl"},"sentry_cli-2.38.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl":{"checksums":{"sha256-hex":"54df6c73214c4f151e87804c8abc42cceb3614590f6e11ff0c31e8278892bdb7"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl"},"sentry_cli-2.38.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl":{"checksums":{"sha256-hex":"1696b4b272181e651730445f322ee106966a3f72d6dd434115c7a24debbbc554"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl"},"sentry_cli-2.38.1-py3-none-win32.whl":{"checksums":{"sha256-hex":"2bb02e577d0ad0aadbc42c4f25e1e102175046826f1a448ec5b335c0137f92d1"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-win32.whl"},"sentry_cli-2.38.1-py3-none-win_amd64.whl":{"checksums":{"sha256-hex":"881cad97328615b7eb76ece3b1d9b5bf8c6c72c04a47c116e4186be0a88eff98"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1-py3-none-win_amd64.whl"},"sentry_cli-2.38.1.tar.gz":{"checksums":{"sha256-hex":"3a5cbd9f7bed1db658f00371b971d9d816984e67e18e309515096f70141479ee"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.1/sentry_cli-2.38.1.tar.gz"}},"main_docs_url":"https://docs.sentry.io/learn/cli","name":"Sentry CLI","repo_url":"https://github.com/getsentry/sentry-cli","version":"2.38.1"}
INFO 2024-11-01 20:06:38.750184681 +00:00 Found asset sentry-cli-Darwin-arm64
INFO 2024-11-01 20:06:38.750200960 +00:00 Found asset sentry-cli-linux-i686-2.38.1.tgz
INFO 2024-11-01 20:06:38.750209257 +00:00 Found asset sentry_cli-2.38.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl
INFO 2024-11-01 20:06:38.750219420 +00:00 Found asset sentry_cli-2.38.1.tar.gz
INFO 2024-11-01 20:06:38.750227511 +00:00 Found asset sentry_cli-2.38.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl
INFO 2024-11-01 20:06:38.750237716 +00:00 Found asset sentry-cli-Windows-x86_64.exe
INFO 2024-11-01 20:06:38.750245746 +00:00 Found asset sentry-cli-darwin-2.38.1.tgz
INFO 2024-11-01 20:06:38.750256820 +00:00 Found asset sentry-cli-Linux-x86_64
jopheno@lnx-tlm-dev:~/repo/tlm-server$ cd build
jopheno@lnx-tlm-dev:~/repo/tlm-server/build$ sentry-cli --log-level=debug debug-files bundle-sources .
INFO 2024-11-01 20:07:07.202601367 +00:00 Loaded config from /home/jopheno/repo/tlm-server/.sentryclirc
DEBUG 2024-11-01 20:07:07.202692298 +00:00 sentry-cli version: 2.38.0, platform: "linux", architecture: "x86_64"
INFO 2024-11-01 20:07:07.203429657 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "."
error: No such device (os error 19)
INFO 2024-11-01 20:07:07.203659098 +00:00 Skipping update nagger update check
jopheno@lnx-tlm-dev:~/repo/tlm-server/build$
@jopheno very strange. Do you get this same error running the command from any directory? Perhaps you could try making a new empty directory, and running the command there
Nope, same issue:
jopheno@lnx-tlm-dev:~/repo/empty_dir$ ls -la
total 8
drwxrwxr-x 2 jopheno jopheno 4096 Nov 6 17:25 .
drwxrwxr-x 10 jopheno jopheno 4096 Nov 6 17:25 ..
jopheno@lnx-tlm-dev:~/repo/empty_dir$ sentry-cli --log-level=debug debug-files bundle-sources .
DEBUG 2024-11-06 17:26:10.664339961 +00:00 sentry-cli version: 2.38.0, platform: "linux", architecture: "x86_64"
INFO 2024-11-06 17:26:10.665192905 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "."
error: No such device (os error 19)
INFO 2024-11-06 17:26:10.665469286 +00:00 Skipping update nagger update check
jopheno@lnx-tlm-dev:~/repo/empty_dir$
I even tried full path directory:
jopheno@lnx-tlm-dev:~/repo/empty_dir$ sentry-cli --log-level=debug debug-files bundle-sources /home/jopheno/repo/empty_dir/
DEBUG 2024-11-06 17:27:01.610665991 +00:00 sentry-cli version: 2.38.0, platform: "linux", architecture: "x86_64"
INFO 2024-11-06 17:27:01.611492637 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "/home/jopheno/repo/empty_dir/"
error: No such device (os error 19)
INFO 2024-11-06 17:27:01.611709317 +00:00 Skipping update nagger update check
jopheno@lnx-tlm-dev:~/repo/empty_dir$ sentry-cli --log-level=debug debug-files bundle-sources /home/jopheno/repo/empty_dir
DEBUG 2024-11-06 17:27:03.611059029 +00:00 sentry-cli version: 2.38.0, platform: "linux", architecture: "x86_64"
INFO 2024-11-06 17:27:03.611913898 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "/home/jopheno/repo/empty_dir"
error: No such device (os error 19)
INFO 2024-11-06 17:27:03.612184389 +00:00 Skipping update nagger update check
jopheno@lnx-tlm-dev:~/repo/empty_dir$
Okay. I am really unsure where this error could be coming from. We will try to add some better error handling in #2225 which will at least be able to tell us what file the error comes from, hopefully
@jopheno can you try running the sentry-cli command with strace
and upload the output to a gist? Careful this might contain sensitive data like your SENTRY_DSN
.
@jopheno, are you perhaps using SELinux or AppArmor? These access control policies can sometimes prevent programs like Sentry CLI from being able to do what they need to do without proper configuration. You could also check dmesg | grep -i "error\|device"
for any hardware/driver issues.
If that does not help, please proceed with @Dav1dde's suggestion.
I thought it could have been some further issue on my machine, or even on virtualization layer, so since I recently acquired a new host I installed it Ubuntu 24.04 LTS version and installed it natively (not using any virtualization) and tried again, for my surprise, it happens the exact same error:
ubuntu@ns5005219:~/repo/tlm-server/build$ sentry-cli --log-level=debug debug-files bundle-sources .
INFO 2024-11-08 03:18:31.153504881 +00:00 Loaded config from /home/ubuntu/repo/tlm-server/.sentryclirc
DEBUG 2024-11-08 03:18:31.153577214 +00:00 sentry-cli version: 2.38.2, platform: "linux", architecture: "x86_64"
INFO 2024-11-08 03:18:31.154654197 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "."
error: No such device (os error 19)
INFO 2024-11-08 03:18:31.154876073 +00:00 Running update nagger update check
DEBUG 2024-11-08 03:18:31.155582188 +00:00 request GET https://release-registry.services.sentry.io/apps/sentry-cli/latest
DEBUG 2024-11-08 03:18:31.155603944 +00:00 retry number 0, max retries: 0
DEBUG 2024-11-08 03:18:31.357858752 +00:00 > GET /apps/sentry-cli/latest HTTP/1.1
DEBUG 2024-11-08 03:18:31.357894877 +00:00 > Host: release-registry.services.sentry.io
DEBUG 2024-11-08 03:18:31.357909269 +00:00 > Accept: */*
DEBUG 2024-11-08 03:18:31.357921840 +00:00 > Connection: TE
DEBUG 2024-11-08 03:18:31.357936011 +00:00 > TE: gzip
DEBUG 2024-11-08 03:18:31.357950391 +00:00 > User-Agent: sentry-cli/2.38.2
DEBUG 2024-11-08 03:18:31.387489088 +00:00 < HTTP/1.1 200 OK
DEBUG 2024-11-08 03:18:31.387546173 +00:00 < content-type: application/json
DEBUG 2024-11-08 03:18:31.387568441 +00:00 < Content-Length: 10402
DEBUG 2024-11-08 03:18:31.387586089 +00:00 < access-control-allow-origin: *
DEBUG 2024-11-08 03:18:31.387602615 +00:00 < x-from-cache: 1
DEBUG 2024-11-08 03:18:31.387631857 +00:00 < x-envoy-upstream-service-time: 1
DEBUG 2024-11-08 03:18:31.387649737 +00:00 < date: Fri, 08 Nov 2024 03:18:30 GMT
DEBUG 2024-11-08 03:18:31.387667636 +00:00 < server: envoy
DEBUG 2024-11-08 03:18:31.387684407 +00:00 < Via: 1.1 google
DEBUG 2024-11-08 03:18:31.387702504 +00:00 < Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
DEBUG 2024-11-08 03:18:31.387962497 +00:00 response status: 200
INFO 2024-11-08 03:18:31.387992870 +00:00 Looking for file named: sentry-cli-Linux-x86_64
DEBUG 2024-11-08 03:18:31.388019355 +00:00 body: {"canonical":"app:sentry-cli","created_at":"2024-11-04T12:35:50.150Z","file_urls":{"sentry-cli-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-2.38.2.tgz","sentry-cli-Darwin-arm64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Darwin-arm64","sentry-cli-Darwin-universal":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Darwin-universal","sentry-cli-Darwin-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Darwin-x86_64","sentry-cli-Linux-aarch64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-aarch64","sentry-cli-Linux-armv7":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-armv7","sentry-cli-Linux-i686":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-i686","sentry-cli-Linux-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-x86_64","sentry-cli-Windows-i686.exe":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Windows-i686.exe","sentry-cli-Windows-x86_64.exe":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Windows-x86_64.exe","sentry-cli-darwin-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-darwin-2.38.2.tgz","sentry-cli-linux-arm-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-arm-2.38.2.tgz","sentry-cli-linux-arm64-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-arm64-2.38.2.tgz","sentry-cli-linux-i686-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-i686-2.38.2.tgz","sentry-cli-linux-x64-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-x64-2.38.2.tgz","sentry-cli-win32-i686-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-win32-i686-2.38.2.tgz","sentry-cli-win32-x64-2.38.2.tgz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-win32-x64-2.38.2.tgz","sentry_cli-2.38.2-py3-none-macosx_10_15_x86_64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-macosx_10_15_x86_64.whl","sentry_cli-2.38.2-py3-none-macosx_11_0_arm64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-macosx_11_0_arm64.whl","sentry_cli-2.38.2-py3-none-macosx_11_0_universal2.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-macosx_11_0_universal2.whl","sentry_cli-2.38.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl","sentry_cli-2.38.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl","sentry_cli-2.38.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl","sentry_cli-2.38.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl","sentry_cli-2.38.2-py3-none-win32.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-win32.whl","sentry_cli-2.38.2-py3-none-win_amd64.whl":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-win_amd64.whl","sentry_cli-2.38.2.tar.gz":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2.tar.gz"},"files":{"sentry-cli-2.38.2.tgz":{"checksums":{"sha256-hex":"e098ca439b9c958f524160424e022138e30d22b7dd872682bc9ec3e904ab62b2"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-2.38.2.tgz"},"sentry-cli-Darwin-arm64":{"checksums":{"sha256-hex":"27c42104d8d1b2ce522bbd8270fa83e94a226905e482e3797015a571a2ffe414"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Darwin-arm64"},"sentry-cli-Darwin-universal":{"checksums":{"sha256-hex":"d8fcbd334d351af28cddd159ebeadbbbfe5724126736cc1d259e0e1ab091ad15"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Darwin-universal"},"sentry-cli-Darwin-x86_64":{"checksums":{"sha256-hex":"fe3a21c73f972737e97f24ae4775566fa9043864f6258393d3b799e94079e353"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Darwin-x86_64"},"sentry-cli-Linux-aarch64":{"checksums":{"sha256-hex":"88c11b69a8ed971b6853faaa47cc27e3b6e559da28dee161dcbb9104752572e1"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-aarch64"},"sentry-cli-Linux-armv7":{"checksums":{"sha256-hex":"f9c158555af7aa83558187d1d6363f2456f10680781e65c2d9ca5ca4999376cf"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-armv7"},"sentry-cli-Linux-i686":{"checksums":{"sha256-hex":"a1a2ed8a32d85bfb2e1b4900be5e6e1734fa8e562ea2fdc2361458347e0f24e4"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-i686"},"sentry-cli-Linux-x86_64":{"checksums":{"sha256-hex":"7e9f8493e2a2f3536f00b71820eff9799f7642e8a0589b1b0be5673cbf43832c"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Linux-x86_64"},"sentry-cli-Windows-i686.exe":{"checksums":{"sha256-hex":"bb90ec0b3cf00db3c0cb81518242594b901c524e079339b20ba6052cc38443e3"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Windows-i686.exe"},"sentry-cli-Windows-x86_64.exe":{"checksums":{"sha256-hex":"8e04bdd6d6a45b9834b4f51ccef8b95552178e73338363e860cc9e5e93a536d1"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-Windows-x86_64.exe"},"sentry-cli-darwin-2.38.2.tgz":{"checksums":{"sha256-hex":"21c42fff6efc53754f4a58072f0f92377b8e2e6c0cbe2d6efd41ef79360b8363"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-darwin-2.38.2.tgz"},"sentry-cli-linux-arm-2.38.2.tgz":{"checksums":{"sha256-hex":"166869c42c7b8f3542f083033fe018c65bdd923a4d5a7941f24d0a3cf5380ebc"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-arm-2.38.2.tgz"},"sentry-cli-linux-arm64-2.38.2.tgz":{"checksums":{"sha256-hex":"91feade3bb261b1c87a9df6bda1bf57b0c10cd30740ed9a9f82c7ca5723782f7"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-arm64-2.38.2.tgz"},"sentry-cli-linux-i686-2.38.2.tgz":{"checksums":{"sha256-hex":"dbe2a056a69a63d1a0e53b20ade0a8ada38ed2ec45c6d8e4aca354f980ba88e9"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-i686-2.38.2.tgz"},"sentry-cli-linux-x64-2.38.2.tgz":{"checksums":{"sha256-hex":"cae57803181b0fdec4d8f83360d13a04602e10142bcef5764f74a9ec70009563"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-linux-x64-2.38.2.tgz"},"sentry-cli-win32-i686-2.38.2.tgz":{"checksums":{"sha256-hex":"e527858853e7f3ca98786dd1234c1f94b44bf2330ac8c009b14aeb8d944eeae1"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-win32-i686-2.38.2.tgz"},"sentry-cli-win32-x64-2.38.2.tgz":{"checksums":{"sha256-hex":"e94b952136fb2806008efb49d43daff9882a2d742d9701e01275983719ac93b6"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry-cli-win32-x64-2.38.2.tgz"},"sentry_cli-2.38.2-py3-none-macosx_10_15_x86_64.whl":{"checksums":{"sha256-hex":"54130b95617b5473458ad266e0d98619302dd039a9191a360555265e3d9d3e67"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-macosx_10_15_x86_64.whl"},"sentry_cli-2.38.2-py3-none-macosx_11_0_arm64.whl":{"checksums":{"sha256-hex":"1a774f47c0af11ffade918d0334f477b3b212f128e8c1a02b19b85a8d15ca5f4"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-macosx_11_0_arm64.whl"},"sentry_cli-2.38.2-py3-none-macosx_11_0_universal2.whl":{"checksums":{"sha256-hex":"4ed2d16b6621b7d6800989faf900be1c86609621dec4a26b8758e7b59ed2a661"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-macosx_11_0_universal2.whl"},"sentry_cli-2.38.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl":{"checksums":{"sha256-hex":"88e5f96ef4cdd2c45ef054c78656d93727f1b5e4e27b9c14eef2c792f9780526"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl"},"sentry_cli-2.38.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl":{"checksums":{"sha256-hex":"af31f5bfd3b9abc3b29237674048614e54d812a36ac59ec56c54ae3311867269"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl"},"sentry_cli-2.38.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl":{"checksums":{"sha256-hex":"1f5b5ce3add7f37fefd74598e75204e7cbd3d1e34c812089154f87c7b7606d77"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl"},"sentry_cli-2.38.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl":{"checksums":{"sha256-hex":"e7add04b357b9041a14fd4e38419837bdd1117785fa61b2b3d9786ba18f73082"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl"},"sentry_cli-2.38.2-py3-none-win32.whl":{"checksums":{"sha256-hex":"e531df0b825b4e0036452e619c45c2ee976ea699f77ac0760bda4ab3e74f10e1"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-win32.whl"},"sentry_cli-2.38.2-py3-none-win_amd64.whl":{"checksums":{"sha256-hex":"c929d622407c93f91b042a87c1763fe30d8bf7b1bd53e896fcb43f2c9ea8a556"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2-py3-none-win_amd64.whl"},"sentry_cli-2.38.2.tar.gz":{"checksums":{"sha256-hex":"a18dbdf7558a373f4730f11d5aab4a28d27823eb6d5e58edceb70860d1572621"},"url":"https://downloads.sentry-cdn.com/sentry-cli/2.38.2/sentry_cli-2.38.2.tar.gz"}},"main_docs_url":"https://docs.sentry.io/learn/cli","name":"Sentry CLI","repo_url":"https://github.com/getsentry/sentry-cli","version":"2.38.2"}
INFO 2024-11-08 03:18:31.388655261 +00:00 Found asset sentry-cli-Darwin-arm64
INFO 2024-11-08 03:18:31.388678326 +00:00 Found asset sentry_cli-2.38.2-py3-none-macosx_11_0_arm64.whl
INFO 2024-11-08 03:18:31.388692797 +00:00 Found asset sentry-cli-2.38.2.tgz
INFO 2024-11-08 03:18:31.388706243 +00:00 Found asset sentry_cli-2.38.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl
INFO 2024-11-08 03:18:31.388720208 +00:00 Found asset sentry_cli-2.38.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl
INFO 2024-11-08 03:18:31.388734091 +00:00 Found asset sentry_cli-2.38.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl
INFO 2024-11-08 03:18:31.388750771 +00:00 Found asset sentry-cli-Linux-armv7
INFO 2024-11-08 03:18:31.388764279 +00:00 Found asset sentry-cli-Darwin-universal
INFO 2024-11-08 03:18:31.388777787 +00:00 Found asset sentry_cli-2.38.2-py3-none-macosx_11_0_universal2.whl
INFO 2024-11-08 03:18:31.388793573 +00:00 Found asset sentry-cli-Windows-i686.exe
INFO 2024-11-08 03:18:31.388806818 +00:00 Found asset sentry-cli-darwin-2.38.2.tgz
INFO 2024-11-08 03:18:31.388819829 +00:00 Found asset sentry_cli-2.38.2-py3-none-win_amd64.whl
INFO 2024-11-08 03:18:31.388834009 +00:00 Found asset sentry_cli-2.38.2.tar.gz
INFO 2024-11-08 03:18:31.388847249 +00:00 Found asset sentry_cli-2.38.2-py3-none-macosx_10_15_x86_64.whl
INFO 2024-11-08 03:18:31.388860943 +00:00 Found asset sentry-cli-Darwin-x86_64
INFO 2024-11-08 03:18:31.388874140 +00:00 Found asset sentry-cli-Windows-x86_64.exe
INFO 2024-11-08 03:18:31.388887905 +00:00 Found asset sentry-cli-linux-i686-2.38.2.tgz
INFO 2024-11-08 03:18:31.388901088 +00:00 Found asset sentry-cli-linux-arm-2.38.2.tgz
INFO 2024-11-08 03:18:31.388914168 +00:00 Found asset sentry-cli-Linux-i686
INFO 2024-11-08 03:18:31.388927207 +00:00 Found asset sentry-cli-win32-i686-2.38.2.tgz
INFO 2024-11-08 03:18:31.388940956 +00:00 Found asset sentry-cli-win32-x64-2.38.2.tgz
INFO 2024-11-08 03:18:31.388954141 +00:00 Found asset sentry_cli-2.38.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl
INFO 2024-11-08 03:18:31.388968444 +00:00 Found asset sentry_cli-2.38.2-py3-none-win32.whl
INFO 2024-11-08 03:18:31.388981506 +00:00 Found asset sentry-cli-linux-arm64-2.38.2.tgz
INFO 2024-11-08 03:18:31.388994686 +00:00 Found asset sentry-cli-Linux-aarch64
INFO 2024-11-08 03:18:31.389008520 +00:00 Found asset sentry-cli-linux-x64-2.38.2.tgz
INFO 2024-11-08 03:18:31.389022126 +00:00 Found asset sentry-cli-Linux-x86_64
I downloaded the most up to date sentry-cli, and compiled the most up-to-date sentry-native, everything works like a charm on the sentry-native part, it let us know in case it crashes, etc... however I still can't get my sentry-cli which still shows up error: No such device (os error 19)
to upload my source files; So on the sentry website I still cannot see the source code when it crashes, it only shows the function names...
By installing a brand new OS which LTS version I thought this wouldn't happen anymore, but it seems it is still happening...
As far as I can tell, AppArmor is included by default on Ubuntu Server Minimized 24.04 LTS, however I don't think it also uses SELinux...
I did disable AppArmor for a test, but I still got the errors...
root@ns5005219:/home/ubuntu/repo/tlm-server# dmesg | grep -i "error\|device"
[ 0.007593] Device empty
[ 0.111513] [mem 0x80000000-0xfed1bfff] available for PCI devices
[ 0.299777] Console: colour dummy device 80x25
[ 1.936203] ACPI: Added _OSI(Module Device)
[ 1.937160] ACPI: Added _OSI(Processor Device)
[ 1.939163] ACPI: Added _OSI(Processor Aggregator Device)
[ 2.026776] HEST: Enabling Firmware First mode for corrected errors.
[ 2.273244] pci 0000:08:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 2.295168] usbcore: registered new device driver usb
[ 2.313524] pci 0000:08:00.0: vgaarb: setting as boot VGA device
[ 2.314157] pci 0000:08:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 2.456751] pnp: PnP ACPI: found 5 devices
[ 2.843135] pci 0000:00:05.0: disabled boot interrupts on device [8086:2f28]
[ 3.543360] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 3.556117] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 3.569615] ERST: Error Record Serialization Table (ERST) support is initialized.
[ 3.669666] tun: Universal TUN/TAP device driver, 1.6
[ 3.683949] mousedev: PS/2 mouse device common for all mice
[ 3.735239] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[ 3.750062] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.777440] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[ 3.789612] device-mapper: uevent: version 1.0.3
[ 3.798012] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 3.869624] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[ 3.884213] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.985708] Console: switching to colour frame buffer device 128x48
[ 4.010557] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[ 4.040476] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 4.177865] usb 1-1: New USB device found, idVendor=8087, idProduct=8002, bcdDevice= 0.05
[ 4.189292] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.192477] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 4.330178] usb 2-1: New USB device found, idVendor=8087, idProduct=800a, bcdDevice= 0.05
[ 4.342083] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.434466] acpi device:144: hash matches
[ 4.502521] RAS: Correctable Errors collector initialized.
[ 4.934240] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[ 4.945281] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.033450] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.08
[ 5.042156] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.272468] usb 3-12: new high-speed USB device number 2 using xhci_hcd
[ 5.422771] usb 3-12: New USB device found, idVendor=0557, idProduct=7000, bcdDevice= 0.00
[ 5.431459] usb 3-12: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5.779460] usb 3-12.1: new low-speed USB device number 3 using xhci_hcd
[ 5.922351] usb 3-12.1: New USB device found, idVendor=0557, idProduct=2419, bcdDevice= 1.00
[ 5.942576] usb 3-12.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5.992296] input: HID 0557:2419 as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.1/3-12.1:1.0/0003:0557:2419.0001/input/input2
[ 6.070886] input: HID 0557:2419 as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12.1/3-12.1:1.1/0003:0557:2419.0002/input/input3
[ 7.284553] systemd[1]: Expecting device dev-disk-by\x2dlabel-EFI_SYSPART.device - /dev/disk/by-label/EFI_SYSPART...
[ 7.307576] systemd[1]: Expecting device dev-disk-by\x2duuid-484bca60\x2d7943\x2d47cf\x2dae30\x2d69c5c7f0b0a2.device - /dev/disk/by-uuid/484bca60-7943-47cf-ae30-69c5c7f0b0a2...
[ 7.335514] systemd[1]: Expecting device dev-disk-by\x2duuid-901eac3b\x2d7b66\x2d42d5\x2db3f8\x2dbdd3528749b6.device - /dev/disk/by-uuid/901eac3b-7b66-42d5-b3f8-bdd3528749b6...
[ 7.363519] systemd[1]: Expecting device dev-disk-by\x2duuid-cda63473\x2d97f3\x2d4d27\x2db0b2\x2d11c65144b820.device - /dev/disk/by-uuid/cda63473-97f3-4d27-b0b2-11c65144b820...
[ 7.392514] systemd[1]: Expecting device dev-ttyS1.device - /dev/ttyS1...
[ 7.467624] systemd[1]: Listening on dm-event.socket - Device-mapper event daemon FIFOs.
[ 7.839653] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[ 8.053716] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 8.172069] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ 8.822265] ipmi device interface
[ 8.953217] power_meter ACPI000D:00: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[ 8.969246] mei_me 0000:00:16.0: Device doesn't have valid ME Interface
[ 9.164930] EDAC MC0: Giving out device to module sb_edac controller Haswell SrcID#0_Ha#0: DEV 0000:ff:12.0 (INTERRUPT)
AppArmor Loaded, but not running (I stopped, disabled and rebooted):
root@ns5005219:/home/ubuntu/repo/tlm-server# apparmor_status
apparmor module is loaded.
3 profiles are loaded.
3 profiles are in enforce mode.
/usr/lib/snapd/snap-confine
/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
rsyslogd
0 profiles are in complain mode.
0 profiles are in prompt mode.
0 profiles are in kill mode.
0 profiles are in unconfined mode.
1 processes have profiles defined.
1 processes are in enforce mode.
/usr/sbin/rsyslogd (1073) rsyslogd
0 processes are in complain mode.
0 processes are in prompt mode.
0 processes are in kill mode.
0 processes are unconfined but have a profile defined.
0 processes are in mixed mode.
root@ns5005219:/home/ubuntu/repo/tlm-server# systemctl status apparmor
○ apparmor.service - Load AppArmor profiles
Loaded: loaded (/usr/lib/systemd/system/apparmor.service; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:apparmor(7)
https://gitlab.com/apparmor/apparmor/wikis/home/
Inside this build folder has the executable file of my application and all the compiled source code as well:
ubuntu@ns5005219:~/repo/tlm-server/build$ tree .
.
├── CMakeCache.txt
├── CMakeFiles
│ ├── 3.28.3
│ │ ├── CMakeCCompiler.cmake
│ │ ├── CMakeCXXCompiler.cmake
│ │ ├── CMakeDetermineCompilerABI_C.bin
│ │ ├── CMakeDetermineCompilerABI_CXX.bin
│ │ ├── CMakeSystem.cmake
│ │ ├── CompilerIdC
│ │ │ ├── CMakeCCompilerId.c
│ │ │ ├── a.out
│ │ │ └── tmp
│ │ └── CompilerIdCXX
│ │ ├── CMakeCXXCompilerId.cpp
│ │ ├── a.out
│ │ └── tmp
│ ├── CMakeConfigureLog.yaml
│ ├── CMakeDirectoryInformation.cmake
│ ├── CMakeRuleHashes.txt
│ ├── CMakeScratch
│ ├── Makefile.cmake
│ ├── Makefile2
│ ├── TargetDirectories.txt
│ ├── check_git.dir
│ │ ├── DependInfo.cmake
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── compiler_depend.make
│ │ ├── compiler_depend.ts
│ │ └── progress.make
│ ├── cmake.check_cache
│ ├── pkgRedirects
│ ├── progress.marks
│ └── tfs.dir
│ ├── DependInfo.cmake
│ ├── build.make
│ ├── cmake_clean.cmake
│ ├── cmake_pch.hxx
│ ├── cmake_pch.hxx.cxx
│ ├── cmake_pch.hxx.gch
│ ├── cmake_pch.hxx.gch.d
│ ├── compiler_depend.internal
│ ├── compiler_depend.make
│ ├── compiler_depend.ts
│ ├── depend.make
│ ├── flags.make
│ ├── link.txt
│ ├── progress.make
│ └── src
│ ├── awarerange.cpp.o
│ ├── awarerange.cpp.o.d
│ ├── ban.cpp.o
│ ├── ban.cpp.o.d
│ ├── behaviour.cpp.o
│ ├── behaviour.cpp.o.d
│ ├── configmanager.cpp.o
│ ├── configmanager.cpp.o.d
│ ├── connection.cpp.o
│ ├── connection.cpp.o.d
│ ├── container.cpp.o
│ ├── container.cpp.o.d
│ ├── crashcontrol.cpp.o
│ ├── crashcontrol.cpp.o.d
│ ├── creature.cpp.o
│ ├── creature.cpp.o.d
│ ├── database.cpp.o
│ ├── database.cpp.o.d
│ ├── databasemanager.cpp.o
│ ├── databasemanager.cpp.o.d
│ ├── databasetasks.cpp.o
│ ├── databasetasks.cpp.o.d
│ ├── entity.cpp.o
│ ├── entity.cpp.o.d
│ ├── events.cpp.o
│ ├── events.cpp.o.d
│ ├── fileloader.cpp.o
│ ├── fileloader.cpp.o.d
│ ├── filestream.cpp.o
│ ├── filestream.cpp.o.d
│ ├── game.cpp.o
│ ├── game.cpp.o.d
│ ├── groups.cpp.o
│ ├── groups.cpp.o.d
│ ├── httptasks.cpp.o
│ ├── httptasks.cpp.o.d
│ ├── iologindata.cpp.o
│ ├── iologindata.cpp.o.d
│ ├── item.cpp.o
│ ├── item.cpp.o.d
│ ├── itemcontainer.cpp.o
│ ├── itemcontainer.cpp.o.d
│ ├── itemtemplate.cpp.o
│ ├── itemtemplate.cpp.o.d
│ ├── logging
│ │ ├── log_with_spd_log.cpp.o
│ │ └── log_with_spd_log.cpp.o.d
│ ├── luanetworkinterface.cpp.o
│ ├── luanetworkinterface.cpp.o.d
│ ├── luascript.cpp.o
│ ├── luascript.cpp.o.d
│ ├── mail.cpp.o
│ ├── mail.cpp.o.d
│ ├── mailtasks.cpp.o
│ ├── mailtasks.cpp.o.d
│ ├── main.cpp.o
│ ├── main.cpp.o.d
│ ├── map.cpp.o
│ ├── map.cpp.o.d
│ ├── mapitem.cpp.o
│ ├── mapitem.cpp.o.d
│ ├── mapitemtype.cpp.o
│ ├── mapitemtype.cpp.o.d
│ ├── monster.cpp.o
│ ├── monster.cpp.o.d
│ ├── monstertemplate.cpp.o
│ ├── monstertemplate.cpp.o.d
│ ├── networkmessage.cpp.o
│ ├── networkmessage.cpp.o.d
│ ├── outputmessage.cpp.o
│ ├── outputmessage.cpp.o.d
│ ├── pathfinding.cpp.o
│ ├── pathfinding.cpp.o.d
│ ├── pch.cpp.o
│ ├── pch.cpp.o.d
│ ├── platform.cpp.o
│ ├── platform.cpp.o.d
│ ├── player.cpp.o
│ ├── player.cpp.o.d
│ ├── playerloader.cpp.o
│ ├── playerloader.cpp.o.d
│ ├── position.cpp.o
│ ├── position.cpp.o.d
│ ├── protocol.cpp.o
│ ├── protocol.cpp.o.d
│ ├── protocolgame.cpp.o
│ ├── protocolgame.cpp.o.d
│ ├── protocolgamesender.cpp.o
│ ├── protocolgamesender.cpp.o.d
│ ├── protocollogin.cpp.o
│ ├── protocollogin.cpp.o.d
│ ├── quadtree.cpp.o
│ ├── quadtree.cpp.o.d
│ ├── redismanager.cpp.o
│ ├── redismanager.cpp.o.d
│ ├── resourcemanager.cpp.o
│ ├── resourcemanager.cpp.o.d
│ ├── rsa.cpp.o
│ ├── rsa.cpp.o.d
│ ├── scheduler.cpp.o
│ ├── scheduler.cpp.o.d
│ ├── scriptmanager.cpp.o
│ ├── scriptmanager.cpp.o.d
│ ├── sector.cpp.o
│ ├── sector.cpp.o.d
│ ├── server.cpp.o
│ ├── server.cpp.o.d
│ ├── signals.cpp.o
│ ├── signals.cpp.o.d
│ ├── spectator.cpp.o
│ ├── spectator.cpp.o.d
│ ├── tasks.cpp.o
│ ├── tasks.cpp.o.d
│ ├── tile.cpp.o
│ ├── tile.cpp.o.d
│ ├── tools.cpp.o
│ ├── tools.cpp.o.d
│ ├── xtea.cpp.o
│ ├── xtea.cpp.o.d
│ ├── zones.cpp.o
│ └── zones.cpp.o.d
├── Makefile
├── cmake_install.cmake
├── git-state-hash
├── gitmetadata.h
├── src
│ ├── CMakeFiles
│ │ ├── CMakeDirectoryInformation.cmake
│ │ └── progress.marks
│ ├── Makefile
│ ├── cmake_install.cmake
│ └── protobuf
│ ├── CMakeFiles
│ │ ├── CMakeDirectoryInformation.cmake
│ │ ├── progress.marks
│ │ └── tlm_protobuf.dir
│ │ ├── DependInfo.cmake
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── cmake_clean_target.cmake
│ │ ├── compiler_depend.internal
│ │ ├── compiler_depend.make
│ │ ├── compiler_depend.ts
│ │ ├── depend.make
│ │ ├── flags.make
│ │ ├── game.pb.cc.o
│ │ ├── game.pb.cc.o.d
│ │ ├── link.txt
│ │ └── progress.make
│ ├── Makefile
│ ├── cmake_install.cmake
│ ├── game.pb.cc
│ ├── game.pb.h
│ └── libtlm_protobuf.a
├── tfs
└── tfs.debug
18 directories, 188 files
It was supposed to find the source code on the folder above "../src" which is where GDB finds normally since I compiled in debug mode;
tfs
and tfs.debug
Using strace
(couldn't find any dsn or token info, if there is any hidden please let me know so I can get them replaced;
ubuntu@ns5005219:~/repo/tlm-server/build$ strace sentry-cli --log-level=debug debug-files bundle-sources .
execve("/usr/local/bin/sentry-cli", ["sentry-cli", "--log-level=debug", "debug-files", "bundle-sources", "."], 0x7ffcbc2d5be0 /* 34 vars */) = 0
mmap(NULL, 728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e38000
arch_prctl(ARCH_SET_FS, 0x7df8d9e38210) = 0
set_tid_address(0x7df8d9dcfc00) = 2582
brk(NULL) = 0x5555556af000
brk(0x5555556b1000) = 0x5555556b1000
mmap(0x5555556af000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x5555556af000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e37000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e36000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e35000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e34000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e33000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e32000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e31000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e30000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e2f000
munmap(0x7df8d9e2f000, 4096) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e2f000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e2d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e2c000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e2a000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
munmap(0x7df8d9e2d000, 8192) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e2d000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e24000
mmap(NULL, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e1d000
munmap(0x7df8d9e26000, 16384) = 0
brk(0x5555556b2000) = 0x5555556b2000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e28000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e19000
getuid() = 1000
geteuid() = 1000
getgid() = 1000
getegid() = 1000
open("/usr/local/ssl/openssl.cnf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
poll([{fd=0, events=0}, {fd=1, events=0}, {fd=2, events=0}], 3, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7df8d97d4cf9}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1 RT_2], NULL, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x7df8d97a6660, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7df8d97d4cf9}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGBUS, {sa_handler=0x7df8d97a6660, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7df8d97d4cf9}, NULL, 8) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7df8d9e16000
mprotect(0x7df8d9e16000, 4096, PROT_NONE) = 0
sigaltstack({ss_sp=0x7df8d9e17000, ss_flags=0, ss_size=8192}, NULL) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e27000
getcwd("/home/ubuntu/repo/tlm-server/build", 512) = 35
munmap(0x7df8d9e27000, 4096) = 0
stat("/home/ubuntu/repo/tlm-server/build/.env", 0x7ffdd6975100) = -1 ENOENT (No such file or directory)
stat("/home/ubuntu/repo/tlm-server/.env", 0x7ffdd6975000) = -1 ENOENT (No such file or directory)
stat("/home/ubuntu/repo/.env", 0x7ffdd6974f00) = -1 ENOENT (No such file or directory)
stat("/home/ubuntu/.env", 0x7ffdd6974e00) = -1 ENOENT (No such file or directory)
stat("/home/.env", 0x7ffdd6974d00) = -1 ENOENT (No such file or directory)
stat("/.env", 0x7ffdd6974c00) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e15000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e11000
munmap(0x7df8d9e26000, 8192) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e10000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e0f000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e0d000
munmap(0x7df8d9e0d000, 8192) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e0d000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e09000
munmap(0x7df8d9e0d000, 8192) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e0d000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e07000
munmap(0x7df8d9e0f000, 4096) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e0f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e06000
mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e01000
madvise(0x7df8d9e20000, 4096, MADV_FREE) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e00000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dfe000
munmap(0x7df8d9dfe000, 8192) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dfe000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dfd000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dfb000
munmap(0x7df8d9e10000, 4096) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9df9000
munmap(0x7df8d9df9000, 8192) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e10000
mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9df6000
madvise(0x7df8d9e20000, 4096, MADV_FREE) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9df5000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9df3000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9df0000
munmap(0x7df8d9df0000, 12288) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9df0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9def000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9deb000
munmap(0x7df8d9dfb000, 8192) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dfc000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dfb000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9de7000
munmap(0x7df8d9de7000, 16384) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dea000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9de9000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9de6000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9de2000
munmap(0x7df8d9de6000, 12288) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9de8000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9ddf000
munmap(0x7df8d9ddf000, 12288) = 0
mmap(NULL, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9ddb000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dd8000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dd4000
mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9be5000
madvise(0x7df8d9dde000, 4096, MADV_FREE) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9de7000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dd2000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9be2000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bde000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dd0000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bdb000
brk(0x5555556b3000) = 0x5555556b3000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bd7000
munmap(0x7df8d9dd0000, 8192) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9de6000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bd3000
munmap(0x7df8d9bd3000, 16384) = 0
mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bd2000
madvise(0x7df8d9de0000, 4096, MADV_FREE) = 0
mmap(NULL, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bcb000
munmap(0x7df8d9deb000, 16384) = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9deb000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9dd1000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bc9000
munmap(0x7df8d9bc9000, 8192) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bc9000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bc5000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bc1000
munmap(0x7df8d9bc1000, 16384) = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bc1000
mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bbc000
madvise(0x7df8d9de0000, 4096, MADV_FREE) = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bb8000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bb6000
readlink("/proc/self/exe", "/usr/local/bin/sentry-cli", 256) = 25
munmap(0x7df8d9bb6000, 8192) = 0
readlink("/usr", 0x7ffdd696e08f, 4075) = -1 EINVAL (Invalid argument)
readlink("/usr/local", 0x7ffdd696e08f, 4081) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin", 0x7ffdd696e08f, 4085) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin/sentry-cli", 0x7ffdd696e08f, 4096) = -1 EINVAL (Invalid argument)
stat("/usr/local/INSTALL_RECEIPT.json", 0x7ffdd696ee50) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bb6000
readlink("/proc/self/exe", "/usr/local/bin/sentry-cli", 256) = 25
munmap(0x7df8d9bb6000, 8192) = 0
readlink("/usr", 0x7ffdd696e08f, 4075) = -1 EINVAL (Invalid argument)
readlink("/usr/local", 0x7ffdd696e08f, 4081) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin", 0x7ffdd696e08f, 4085) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin/sentry-cli", 0x7ffdd696e08f, 4096) = -1 EINVAL (Invalid argument)
stat("/usr/local/bin/package.json", 0x7ffdd696ee50) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bb6000
readlink("/proc/self/exe", "/usr/local/bin/sentry-cli", 256) = 25
munmap(0x7df8d9bb6000, 8192) = 0
readlink("/usr", 0x7ffdd696e08f, 4075) = -1 EINVAL (Invalid argument)
readlink("/usr/local", 0x7ffdd696e08f, 4081) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin", 0x7ffdd696e08f, 4085) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin/sentry-cli", 0x7ffdd696e08f, 4096) = -1 EINVAL (Invalid argument)
stat("/usr/local/INSTALL_RECEIPT.json", 0x7ffdd696ee50) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bb6000
readlink("/proc/self/exe", "/usr/local/bin/sentry-cli", 256) = 25
munmap(0x7df8d9bb6000, 8192) = 0
readlink("/usr", 0x7ffdd696e08f, 4075) = -1 EINVAL (Invalid argument)
readlink("/usr/local", 0x7ffdd696e08f, 4081) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin", 0x7ffdd696e08f, 4085) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin/sentry-cli", 0x7ffdd696e08f, 4096) = -1 EINVAL (Invalid argument)
stat("/usr/local/bin/package.json", 0x7ffdd696ee50) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bb6000
mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9bb1000
madvise(0x7df8d9de0000, 4096, MADV_FREE) = 0
mmap(NULL, 57344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9ba3000
madvise(0x7df8d9de0000, 4096, MADV_FREE) = 0
mmap(NULL, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b9c000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b98000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b96000
mmap(NULL, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b90000
mmap(NULL, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b8a000
mmap(NULL, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b84000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b82000
madvise(0x7df8d9de0000, 4096, MADV_FREE) = 0
mmap(NULL, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b7c000
munmap(0x7df8d9e26000, 8192) = 0
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b74000
mmap(NULL, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b6d000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b6b000
munmap(0x7df8d9e26000, 8192) = 0
madvise(0x7df8d9b9d000, 4096, MADV_FREE) = 0
madvise(0x7df8d9b9f000, 4096, MADV_FREE) = 0
madvise(0x7df8d9de0000, 4096, MADV_FREE) = 0
madvise(0x7df8d9b6e000, 4096, MADV_FREE) = 0
munmap(0x7df8d9b6d000, 28672) = 0
munmap(0x7df8d9b7c000, 24576) = 0
munmap(0x7df8d9e01000, 20480) = 0
munmap(0x7df8d9e07000, 8192) = 0
munmap(0x7df8d9e11000, 16384) = 0
munmap(0x7df8d9e0d000, 8192) = 0
munmap(0x7df8d9e09000, 16384) = 0
munmap(0x7df8d9e00000, 4096) = 0
munmap(0x7df8d9dfe000, 8192) = 0
munmap(0x7df8d9dfd000, 4096) = 0
munmap(0x7df8d9df6000, 20480) = 0
munmap(0x7df8d9df3000, 8192) = 0
madvise(0x7df8d9e20000, 4096, MADV_FREE) = 0
munmap(0x7df8d9df5000, 4096) = 0
munmap(0x7df8d9e0f000, 4096) = 0
madvise(0x7df8d9ba1000, 4096, MADV_FREE) = 0
munmap(0x7df8d9b9c000, 28672) = 0
munmap(0x7df8d9def000, 4096) = 0
munmap(0x7df8d9b90000, 24576) = 0
munmap(0x7df8d9df0000, 12288) = 0
madvise(0x7df8d9e22000, 4096, MADV_FREE) = 0
munmap(0x7df8d9dfb000, 4096) = 0
munmap(0x7df8d9dea000, 4096) = 0
munmap(0x7df8d9de9000, 4096) = 0
munmap(0x7df8d9e10000, 4096) = 0
munmap(0x7df8d9e15000, 4096) = 0
madvise(0x7df8d9ddc000, 4096, MADV_FREE) = 0
munmap(0x7df8d9de8000, 4096) = 0
munmap(0x7df8d9be5000, 20480) = 0
madvise(0x7df8d9dde000, 4096, MADV_FREE) = 0
munmap(0x7df8d9ddb000, 28672) = 0
munmap(0x7df8d9dd2000, 8192) = 0
munmap(0x7df8d9dd8000, 12288) = 0
munmap(0x7df8d9be2000, 12288) = 0
munmap(0x7df8d9bdb000, 12288) = 0
munmap(0x7df8d9de6000, 4096) = 0
munmap(0x7df8d9de2000, 16384) = 0
munmap(0x7df8d9bd7000, 16384) = 0
munmap(0x7df8d9b8a000, 24576) = 0
munmap(0x7df8d9bd2000, 20480) = 0
munmap(0x7df8d9b96000, 8192) = 0
munmap(0x7df8d9dd1000, 4096) = 0
munmap(0x7df8d9dfc000, 4096) = 0
munmap(0x7df8d9bc5000, 16384) = 0
munmap(0x7df8d9deb000, 16384) = 0
munmap(0x7df8d9bbc000, 20480) = 0
munmap(0x7df8d9bde000, 16384) = 0
munmap(0x7df8d9b84000, 24576) = 0
munmap(0x7df8d9e06000, 4096) = 0
munmap(0x7df8d9bb1000, 20480) = 0
munmap(0x7df8d9dd4000, 16384) = 0
madvise(0x7df8d9ba4000, 12288, MADV_FREE) = 0
munmap(0x7df8d9de7000, 4096) = 0
madvise(0x7df8d9ba8000, 16384, MADV_FREE) = 0
munmap(0x7df8d9ba3000, 57344) = 0
munmap(0x7df8d9bb8000, 16384) = 0
munmap(0x7df8d9bcb000, 28672) = 0
stat("/home/ubuntu/.sentryclirc", 0x7ffdd6974a70) = -1 ENOENT (No such file or directory)
stat("/home/ubuntu/.config/sentry/sentrycli.ini", 0x7ffdd6974a70) = -1 ENOENT (No such file or directory)
open("/home/ubuntu/.sentryclirc", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getrandom("\x71\x99\xff\x06\xa2\x40\x8d\xa2\x4d\x23\xf8\x5e\xf4\xaf\x13\xae", 16, GRND_INSECURE) = 16
getcwd("/home/ubuntu/repo/tlm-server/build", 512) = 35
stat("/home/ubuntu/repo/tlm-server/build/.sentryclirc", 0x7ffdd6974ce0) = -1 ENOENT (No such file or directory)
stat("/home/ubuntu/repo/tlm-server/build/sentrycli.ini", 0x7ffdd6974ce0) = -1 ENOENT (No such file or directory)
stat("/home/ubuntu/repo/tlm-server/.sentryclirc", {st_mode=S_IFREG|0664, st_size=240, ...}) = 0
open("/home/ubuntu/repo/tlm-server/.sentryclirc", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0664, st_size=240, ...}) = 0
lseek(3, 0, SEEK_CUR) = 0
read(3, "[defaults]\nproject=tlm_server\nor"..., 240) = 240
read(3, "", 32) = 0
close(3) = 0
stat("/usr/lib/ssl/cert.pem", {st_mode=S_IFREG|0644, st_size=219342, ...}) = 0
stat("/usr/lib/ssl/certs", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
stat("/var/ssl", 0x7ffdd6975180) = -1 ENOENT (No such file or directory)
stat("/usr/share/ssl", 0x7ffdd6975180) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl", 0x7ffdd6975180) = -1 ENOENT (No such file or directory)
stat("/usr/local/openssl", 0x7ffdd6975180) = -1 ENOENT (No such file or directory)
stat("/usr/local/etc/openssl", 0x7ffdd6975180) = -1 ENOENT (No such file or directory)
stat("/usr/local/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/ubuntu/repo/tlm-server/.sentryclirc", {st_mode=S_IFREG|0664, st_size=240, ...}) = 0
lstat("/etc/localtime", {st_mode=S_IFLNK|0777, st_size=27, ...}) = 0
open("/etc/localtime", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=114, ...}) = 0
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 114) = 114
read(3, "", 32) = 0
close(3) = 0
ioctl(1, TIOCGWINSZ, {ws_row=72, ws_col=339, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=72, ws_col=339, ws_xpixel=0, ws_ypixel=0}) = 0
write(2, "\33[30m\33[46m INFO \33[0m \33[2m2024"..., 137 INFO 2024-11-08 03:42:20.755623595 +00:00 Loaded config from /home/ubuntu/repo/tlm-server/.sentryclirc) = 137
write(2, "\n", 1
) = 1
write(2, "\33[30m\33[43m DEBUG \33[0m \33[2m2024"..., 146 DEBUG 2024-11-08 03:42:20.756108830 +00:00 sentry-cli version: 2.38.2, platform: "linux", architecture: "x86_64") = 146
write(2, "\n", 1
) = 1
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e27000
munmap(0x7df8d9e27000, 4096) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e27000
munmap(0x7df8d9e27000, 4096) = 0
mmap(NULL, 320020, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9b1c000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e15000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e13000
munmap(0x7df8d9e15000, 4096) = 0
munmap(0x7df8d9e26000, 8192) = 0
munmap(0x7df8d9b1c000, 323584) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
munmap(0x7df8d9e26000, 8192) = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e0f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e27000
munmap(0x7df8d9e27000, 4096) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e0b000
munmap(0x7df8d9e26000, 8192) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e27000
munmap(0x7df8d9e27000, 4096) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e27000
munmap(0x7df8d9e0b000, 16384) = 0
munmap(0x7df8d9e0f000, 16384) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e26000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e15000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e12000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7df8d9e11000
write(2, "\33[30m\33[46m INFO \33[0m \33[2m2024"..., 200 INFO 2024-11-08 03:42:20.758277675 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" ".") = 200
write(2, "\n", 1
) = 1
getcwd("/home/ubuntu/repo/tlm-server/build", 4097) = 35
open("/home/ubuntu/repo/tlm-server/build", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED, 3, 0) = -1 ENODEV (No such device)
close(3) = 0
munmap(0x7df8d9b98000, 16384) = 0
write(2, "\33[", 2
rite(2, "31", 231) = 2
write(2, "m", 1m) = 1
write(2, "error:", 6error:) = 6
write(2, "\33[0m", 4) = 4
write(2, " ", 1 ) = 1
write(2, "No such device", 14No such device) = 14
write(2, " (os error ", 11 (os error ) = 11
write(2, "19", 219) = 2
write(2, ")", 1)) = 1
write(2, "\n", 1
) = 1
ioctl(1, TIOCGWINSZ, {ws_row=72, ws_col=339, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=72, ws_col=339, ws_xpixel=0, ws_ypixel=0}) = 0
readlink("/proc/self/exe", "/usr/local/bin/sentry-cli", 256) = 25
readlink("/usr", 0x7ffdd69742bf, 4075) = -1 EINVAL (Invalid argument)
readlink("/usr/local", 0x7ffdd69742bf, 4081) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin", 0x7ffdd69742bf, 4085) = -1 EINVAL (Invalid argument)
readlink("/usr/local/bin/sentry-cli", 0x7ffdd69742bf, 4096) = -1 EINVAL (Invalid argument)
stat("/usr/local/bin/package.json", 0x7ffdd6975080) = -1 ENOENT (No such file or directory)
mkdir("/home/ubuntu/.cache/sentrycli", 0777) = -1 EEXIST (File exists)
stat("/home/ubuntu/.cache/sentrycli", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/home/ubuntu/.cache/sentrycli/updatecheck", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
read(3, "{\n \"last_check_timestamp\": \"202"..., 8192) = 133
read(3, "", 8192) = 0
madvise(0x7df8d9e20000, 4096, MADV_FREE) = 0
close(3) = 0
write(2, "\33[30m\33[46m INFO \33[0m \33[2m2024"..., 112 INFO 2024-11-08 03:42:20.760099339 +00:00 Skipping update nagger update check) = 112
write(2, "\n", 1
) = 1
sigaltstack({ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=8192}, NULL) = 0
munmap(0x7df8d9e16000, 12288) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0x7df8d9e36000, 4096) = 0
munmap(0x7df8d9e35000, 4096) = 0
munmap(0x7df8d9e37000, 4096) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0x7df8d9e32000, 4096) = 0
munmap(0x7df8d9e2c000, 4096) = 0
munmap(0x7df8d9e2f000, 4096) = 0
munmap(0x7df8d9e2a000, 8192) = 0
munmap(0x7df8d9e2d000, 8192) = 0
munmap(0x7df8d9e24000, 8192) = 0
munmap(0x7df8d9e28000, 8192) = 0
munmap(0x7df8d9e30000, 4096) = 0
madvise(0x7df8d9e1e000, 4096, MADV_FREE) = 0
munmap(0x7df8d9e1d000, 28672) = 0
exit_group(1) = ?
+++ exited with 1 +++
Even when I try passing the executable files directly so that it can extract the source code from it, then it says (no files found):
ubuntu@ns5005219:~/repo/tlm-server/build$ sentry-cli --log-level=debug debug-files bundle-sources tfs
INFO 2024-11-08 03:48:32.927469711 +00:00 Loaded config from /home/ubuntu/repo/tlm-server/.sentryclirc
DEBUG 2024-11-08 03:48:32.927542359 +00:00 sentry-cli version: 2.38.2, platform: "linux", architecture: "x86_64"
INFO 2024-11-08 03:48:32.928559525 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "tfs"
skipped tfs (no files found)
INFO 2024-11-08 03:48:32.960175717 +00:00 Skipping update nagger update check
ubuntu@ns5005219:~/repo/tlm-server/build$ sentry-cli --log-level=debug debug-files bundle-sources tfs.debug
INFO 2024-11-08 03:49:02.481244559 +00:00 Loaded config from /home/ubuntu/repo/tlm-server/.sentryclirc
DEBUG 2024-11-08 03:49:02.481314936 +00:00 sentry-cli version: 2.38.2, platform: "linux", architecture: "x86_64"
INFO 2024-11-08 03:49:02.482313852 +00:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "tfs.debug"
skipped tfs.debug (no files found)
INFO 2024-11-08 03:49:02.508490641 +00:00 Skipping update nagger update check
ubuntu@ns5005219:~/repo/tlm-server/build$ ls
CMakeCache.txt CMakeFiles Makefile cmake_install.cmake git-state-hash gitmetadata.h src tfs tfs.debug
Idk what is going on, on Windows it works like a charm by reading the .pdb file, but on Linux it is being a nightmare to get the source code to show on the platform... On development we have people using Windows and it works just fine, but I can't make this work for a production environment on Linux, and it is such a great product, it is a shame I can't get this working;
Please let me know if I can help with any further information;
Downloaded the CLI through: curl -sL https://sentry.io/get-cli/ | sh
ubuntu@ns5005219:~/repo/tlm-server/build$ sentry-cli --version
sentry-cli 2.38.2
It seems like the culprit is this mmap
call: mmap(NULL, 4096, PROT_READ, MAP_SHARED, 3, 0) = -1 ENODEV (No such device)
Checking the manpage:
ENODEV The underlying filesystem of the specified file does not support memory mapping.
The 2nd last argument of the mmap
is the file descriptor 3
, that is opened just above with this call open("/home/ubuntu/repo/tlm-server/build", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
.
Can you check what filesystem this path (/home/ubuntu/repo/tlm-server/build
) is mounted on?
But I am also a bit confused that it tries to mmap
a directory, maybe I am misinterpreting the strace
or this is the actual problem?
@szokeasaurusrex is sentry-cli debug-files bundle-sources
even allowed to specify a directory? I've only seen a debug file as an argument.
I am most certain I already answered this, but I opened it again today and my answer is not here... Who knows...
Anyway, basically I can't really see anymore but it was a standard Ubuntu Minimal Server installation, so pretty sure it was ext4; I can't really see anymore since I repurposed the server I was using to test it out...
And yes, maybe the thing is that I shouldn't pass a directory anyway, I found the documentation very confusing and I am still trying to bundle the sources so they appear on the sentry platform, but I just can't; It never grabs the data to be sent, I am running out of options;
@jopheno I believe @Dav1dde's comment is correct. sentry-cli debug-files bundle-sources
only takes a path to a debug file.
Maybe the confusion is that you are passing a path to one of your source files or to the executable? bundle-sources
takes a path to the debug file, and finds the correct source files based on that debug file.
CLI Version
sentry-cli 2.37.0
Operating System and Architecture
Operating System Version
Ubuntu 22.04.3 LTS
Link to reproduction repository
No response
CLI Command
sentry-cli --log-level=debug debug-files bundle-sources .
Exact Reproduction Steps
Using a native C++ application (I used GDB to check if symbols were missing or if the source path was somehow wrong, but gdb was able to see all the sources just fine...)
Expected Results
It should correctly generate the source bundle debug files that would be uploaded to the sentry backend, but it didn't work;
Actual Results
I am unsure if I am using it wrongly, but I have no idea what
No such device
means, if I indeed add a path that doesn't exists, it does sayNo such file or directory
, but passing the executable, or the path where the executable is, or any path at all grants me withNo such device (os error 19)
Even tried adding a symbolic link so that I could execute using sentry-cli directly instead of having to pass the whole repository; Got no results;
Logs