4paradigm / 4paradigm/OpenMLDB

bug: DLOG_ASSERT will core when built in release mode

Open
#644 1 comment 0 reactions 1 assignee Claimed by @vagetablechicken View on GitHub
bug minor
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

Just add `DLOG_ASSERT(false)` in a test, it'll core.
But `DLOG` or `DCHECK` won't.

Contributor guide

Open the contributing guide

Research direction

Look for the DLOG_ASSERT macro definition in the codebase, likely in a logging or debugging header. The issue suggests adding DLOG_ASSERT(false) in a test to reproduce the crash in release mode. Compare its implementation with DLOG and DCHECK to see why it fails. Run the test in release configuration to verify the core dump.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.