4paradigm / 4paradigm/OpenMLDB

bug: DLOG_ASSERT will core when built in release mode

未关闭
#644 1 条评论 0 个 reaction 已指派 1 人 已被 @vagetablechicken 认领 在 GitHub 查看
bug minor
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
testing-qa
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。