Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat(crashtracking)!: collect all threads #1878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
feat(crashtracking)!: collect all threads #1878
Changes from all commits
c7c659358d9ba5d3f1ee9e7d104aFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Check failure on line 1 in bin_tests/tests/crashtracker_bin_test.rs
bin_tests/tests/crashtracker_bin_test.rs.test_crash_tracking_multi_thread_collection
Check failure on line 212 in bin_tests/tests/crashtracker_bin_test.rs
/home/runner/work/libdatadog/libdatadog/bin_tests/tests/crashtracker_bin_test.rs.test_crash_tracking_multi_thread_collection
Raw output
thread 'test_crash_tracking_multi_thread_collection' panicked at bin_tests/tests/crashtracker_bin_test.rs:308:13: ct_worker_1 stack should contain a frame for 'worker_entry_1' but got: [Object {"ip": String("0x7fa4ee0ecadf"), "sp": String("0x7fa4eddfdc60"), "build_id": String("8e9fd827446c24067541ac5390e6f527fb5947bb"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/usr/lib/x86_64-linux-gnu/libc.so.6"), "relative_address": String("0x00000000000ecadf"), "function": String("clock_nanosleep")}, Object {"ip": String("0x7fa4ee0f9a27"), "sp": String("0x7fa4eddfdce0"), "build_id": String("8e9fd827446c24067541ac5390e6f527fb5947bb"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/usr/lib/x86_64-linux-gnu/libc.so.6"), "relative_address": String("0x00000000000f9a27"), "function": String("nanosleep")}, Object {"ip": String("0x560a22586fd0"), "sp": String("0x7fa4eddfdcf0"), "build_id": String("52eccabe73506137f30a01fe0947c8ad3ec5f02f"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/home/runner/work/libdatadog/libdatadog/target/release/crashtracker_bin_test"), "relative_address": String("0x000000000003efd0"), "column": Number(5), "file": String("/rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/thread/mod.rs"), "function": String("std::thread::sleep"), "line": Number(888)}, Object {"ip": String("0x560a2255d30c"), "sp": String("0x7fa4eddfdd70"), "build_id": String("52eccabe73506137f30a01fe0947c8ad3ec5f02f"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/home/runner/work/libdatadog/libdatadog/target/release/crashtracker_bin_test"), "relative_address": String("0x000000000001530c"), "column": Number(2), "file": String("/home/runner/work/libdatadog/libdatadog/bin_tests/src/modes/unix/test_017_multi_thread_collection.rs"), "function": String("wait_for_work_0"), "line": Number(30)}, Object {"ip": String("0x560a2255d2f3"), "sp": String("0x7fa4eddfdd80"), "build_id": String("52eccabe73506137f30a01fe0947c8ad3ec5f02f"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/home/runner/work/libdatadog/libdatadog/target/release/crashtracker_bin_test"), "relative_address": String("0x00000000000152f3"), "column": Number(2), "file": String("/home/runner/work/libdatadog/libdatadog/bin_tests/src/modes/unix/test_017_multi_thread_collection.rs"), "function": String("worker_entry_0"), "line": Number(36)}, Object {"ip": String("0x560a2255d2b4"), "sp": String("0x7fa4eddfdd90"), "build_id": String("52eccabe73506137f30a01fe0947c8ad3ec5f02f"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/home/runner/work/libdatadog/libdatadog/target/release/crashtracker_bin_test"), "relative_address": String("0x00000000000152b4"), "column": Number(18), "file": String("/rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/backtrace.rs"), "function": String("__rust_begin_short_backtrace<bin_tests::modes::unix::test_017_multi_thread_collection::{impl#0}::post::{closure_env#1}, ()>"), "line": Number(154)}, Object {"ip": String("0x560a2255d62d"), "sp": String("0x7fa4eddfddb0"), "build_id": String("52eccabe73506137f30a01fe0947c8ad3ec5f02f"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/home/runner/work/libdatadog/libdatadog/target/release/crashtracker_bin_test"), "relative_address": String("0x000000000001562d"), "column": Number(5), "file": String("/rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/ops/function.rs"), "function": String("call_once<std::thread::{impl#0}::spawn_unchecked_::{closure_env#1}<bin_tests::modes::unix::test_017_multi_thread_collection::{impl#0}::post::{closure_env#1}, ()>, ()>"), "line": Number(250)}, Object {"ip": String("0x560a225b984b"), "sp": String("0x7fa4eddfde40"), "build_id": String("52eccabe73506137f30a01fe0947c8ad3ec5f02f"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/home/runner/work/libdatadog/libdatadog/target/release/crashtracker_bin_test"), "relative_address": String("0x000000000007184b"), "column": Number(17), "file": String("/rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/pal/unix/thread.rs"), "function": String("std::sys::pal::unix::thread::Thread::new::thread_start"), "line": Number(105)}, Object {"ip": String("0x7fa4ee09caa4"), "sp": String("0x7fa4eddfde90"), "build_id": String("8e9fd827446c24067541ac5390e6f527fb5947bb"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/usr/lib/x86_64-linux-gnu/libc.so.6"), "relative_address": String("0x000000000009caa4"), "comments": Array [String("resolve_names failed with Couldn't symbolize 140346344983204: symbolization source has no or no relevant symbols")]}, Object {"ip": String("0x7fa4ee129c6c"), "sp": String("0x7fa4eddfdf40"), "build_id": String("8e9fd827446c24067541ac5390e6f527fb5947bb"), "build_id_type": String("GNU"), "file_type": String("ELF"), "path": String("/usr/lib/x86_64-linux-gnu/libc.so.6"), "relative_address": String("0x0000000000129c6c"), "comments": Array [String("resolve_names failed with Couldn't symbolize 140346345561196: symbolization source has no or no relevant symbols")]}] stack backtrace: 0: 0x55e8bd824dea - std::backtrace_rs::backtrace::libunwind::trace::h886f3b0575353f6e at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 1: 0x55e8bd824dea - std::backtrace_rs::backtrace::trace_unsynchronized::h652d1041ec67eb09 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x55e8bd824dea - std::sys::backtrace::_print_fmt::hd0317245a04c3039 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/backtrace.rs:66:9 3: 0x55e8bd824dea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h14b23c1989cbd5c2 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/backtrace.rs:39:26 4: 0x55e8bd84bc93 - core::fmt::rt::Argument::fmt::h43c1e387827e30dc at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/fmt/rt.rs:177:76 5: 0x55e8bd84bc93 - core::fmt::write::h346b5eee5ed4d7cc at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/fmt/mod.rs:1189:21 6: 0x55e8bd821593 - std::io::Write::write_fmt::heeb48dcd4a60b46b at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/io/mod.rs:1884:15 7: 0x55e8bd824c32 - std::sys::backtrace::BacktraceLock::print::h48db11f3fd4983ff at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/backtrace.rs:42:9 8: 0x55e8bd82626d - std::panicking::default_hook::{{closure}}::h65db976b9c0d8674 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:268:22 9: 0x55e8bd8260b3 - std::panicking::default_hook::h6eb3a1192db1ae36 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:295:9 10: 0x55e8bd826847 - std::panicking::rust_panic_with_hook::h370ee1901241e459 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:801:13 11: 0x55e8bd8266da - std::panicking::begin_panic_handler::{{closure}}::heabfe92676d6d073 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:674:13 12: 0x55e8bd8252c9 - std::sys::backtrace::__rust_end_short_backtrace::h6e22d229d4fdf49e at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/backtrace.rs:170:18 13: 0x55e8bd82636c - rust_begin_unwind at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:665:5 14: 0x55e8bd382230 - core::panicking::panic_fmt::hfae270fab21da3e6 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/panicking.rs:76:14 15: 0x55e8bd3967af - crashtracker_bin_test::test_crash_tracking_multi_thread_collection::{{closure}}::hd8dd2a1371a3c764 at /home/runner/work/libdatadog/libdatadog/bin_tests/tests/crashtracker_bin_test.rs:308:13 16: 0x55e8bd3a4742 - core::ops::function::FnOnce::call_once::he23f9a9b8aface8b at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/ops/function.rs:250:5 17: 0x55e8bd3a3a30 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hed5d5c5a64e6bbc3 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/ops/function.rs:250:5 18: 0x55e8bd3b2e5c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0ba09cd5b864380a at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/boxed.rs:1972:9 19: 0x55e8bd3a9f4d - bin_tests::test_runner::run_crash_test_with_artifacts::h0a01004f960cc0ad at /home/runner/work/libdatadog/libdatadog/bin_tests/src/test_runner.rs:157:5 20: 0x55e8bd395bc3 - crashtracker_bin_test::test_crash_tracking_multi_thread_collection::h8db31c75ef13d11e at /home/runner/work/libdatadog/libdatadog/bin_tests/tests/crashtracker_bin_test.rs:317:5 21: 0x55e8bd3958b7 - crashtracker_bin_test::test_crash_tracking_multi_thread_collection::{{closure}}::hdb92334c6ae5ece7 at /home/runner/work/libdatadog/libdatadog/bin_tests/tests/crashtracker_bin_test.rs:212:49 22: 0x55e8bd3a46f6 - core::ops::function::FnOnce::call_once::he02e9b669950bb3e at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/ops/function.rs:250:5 23: 0x55e8bd3f227b - core::ops::function::FnOnce::call_once::hcf459d49f817e971 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/ops/function.rs:250:5 24: 0x55e8bd3f227b - test::__rust_begin_short_backtrace::h812692078d2a7065 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/test/src/lib.rs:632:18 25: 0x55e8bd3f1bf8 - test::run_test_in_process::{{closure}}::he383169452078072 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/test/src/lib.rs:655:60 26: 0x55e8bd3f1bf8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hfd3325d295001553 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/panic/unwind_safe.rs:272:9 27: 0x55e8bd3f1bf8 - std::panicking::try::do_call::hd41329e64e1d34ac at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:557:40 28: 0x55e8bd3f1bf8 - std::panicking::try::h7a44da38acd5f700 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:520:19 29: 0x55e8bd3f1bf8 - std::panic::catch_unwind::h84ae8452b3d168cb at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panic.rs:358:14 30: 0x55e8bd3f1bf8 - test::run_test_in_process::h0d23dc8c28915531 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/test/src/lib.rs:655:27 31: 0x55e8bd3f1bf8 - test::run_test::{{closure}}::h427e5ada87ee2030 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/test/src/lib.rs:576:43 32: 0x55e8bd3b56ca - test::run_test::{{closure}}::hb864816fed1c6cd7 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/test/src/lib.rs:606:41 33: 0x55e8bd3b56ca - std::sys::backtrace::__rust_begin_short_backtrace::ha8680ce782bf69f7 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/backtrace.rs:154:18 34: 0x55e8bd3b9024 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h05b53495b5672e29 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/thread/mod.rs:561:17 35: 0x55e8bd3b9024 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h2a6a6bcc98d0706b at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/panic/unwind_safe.rs:272:9 36: 0x55e8bd3b9024 - std::panicking::try::do_call::hccc670c81fea40a7 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:557:40 37: 0x55e8bd3b9024 - std::panicking::try::h755e3c65d88973b7 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panicking.rs:520:19 38: 0x55e8bd3b9024 - std::panic::catch_unwind::hced8032a948c5bd0 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/panic.rs:358:14 39: 0x55e8bd3b9024 - std::thread::Builder::spawn_unchecked_::{{closure}}::h3b9e5c9edd874915 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/thread/mod.rs:559:30 40: 0x55e8bd3b9024 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbc1380969ae25c01 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/core/src/ops/function.rs:250:5 41: 0x55e8bd82b56b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0bbb114b77b490c1 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/boxed.rs:1972:9 42: 0x55e8bd82b56b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3673811012fc0688 at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/boxed.rs:1972:9 43: 0x55e8bd82b56b - std::sys::pal::unix::thread::Thread::new::thread_start::h0feaf4a9a4b2ecde at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/pal/unix/thread.rs:105:17 44: 0x7f986d09caa4 - <unknown> 45: 0x7f986d129c6c - <unknown> 46: 0x0 - <unknown>Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.