Open b3334c15-e039-41ea-920e-01bc7f410019 opened 3 years ago
Hello Adam,
I am looking at a bug similar to this.
Can you reach out to me via e-mail with the instructions and I will look into it on Monday.
Thank you
LLDB version:
lldb --version lldb-1205.0.28.2 Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
Extended Description
LLDB consistently segfaults when calling status() on absl::StatusOr in my codebase, but I have been unable to come with a minimal repro case. The code is in a private Github repo, but I'm happy to give access to whomever and provide specific repro instructions and commit ref.
Here's the output:
(lldb) target create "build-debug/src/timeline_test" Current executable set to '/Users/adam/SpacePhysics/physics/build-debug/src/timeline_test' (x86_64). (lldb) r Process 3352 launched: '/Users/adam/SpacePhysics/physics/build-debug/src/timeline_test' (x86_64) Running main() from /Users/adam/SpacePhysics/physics/build-debug/_deps/googletest-src/googletest/src/gtest_main.cc [==========] Running 9 tests from 2 test suites. [----------] Global test environment set-up. [----------] 5 tests from TimelineTest [ RUN ] TimelineTest.FallingSphere [ OK ] TimelineTest.FallingSphere (1040 ms) [ RUN ] TimelineTest.AccelerateRewindAccelerate [ OK ] TimelineTest.AccelerateRewindAccelerate (2 ms) [ RUN ] TimelineTest.TimeTravel Assertion failed: (reset_event.ok()), function Simulate, file /Users/adam/SpacePhysics/physics/src/timeline.cc, line 159. Process 3352 stopped
161 if (reset_event.value() != nullptr) { 162 headframe = keyframes[reset_event.value()->time_travel.frame_no / Target 0: (timeline_test) stopped. (lldb) p reset_event.status() PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: