Skip to content

Commit

Permalink
chore: add stacktrace logs (#379)
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Gershman <romange@gmail.com>
  • Loading branch information
romange authored Feb 9, 2025
1 parent b18d739 commit fd878df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/fibers/detail/scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Scheduler::~Scheduler() {

ctx::fiber_context Scheduler::Preempt() {
if (FiberActive() == dispatch_cntx_.get()) {
LOG(DFATAL) << "Should not preempt dispatcher";
LOG(DFATAL) << "Should not preempt dispatcher: " << GetStacktrace();
}
if (IsFiberAtomicSection())
LOG(DFATAL) << "Preempting inside of atomic section";
Expand Down

0 comments on commit fd878df

Please sign in to comment.