4paradigm / 4paradigm/OpenMLDB

bug: DLOG_ASSERT will core when built in release mode

オープン
#644 コメント 1 件 リアクション 0 件 担当者 1 名 @vagetablechicken が担当を希望しています GitHub で見る
bug minor
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。