BOOST_SPIRIT_DEBUG produces assertion failure in the MP iterator
まだ誰も着手していません。
評価
調査の方向性
Reproduce the failure with the sample input, BOOST_SPIRIT_DEBUG enabled in cpp_config.hpp, BOOST_SPIRIT_DEBUG_FLAGS_CPP including BOOST_SPIRIT_DEBUG_FLAGS_HAS_INCLUDE_GRAMMAR, and a debug-mode wave executable. Start by tracing the MP iterator state at the mp.queued_position <= size assertion, then verify the fix against this input without the assertion or segfault.
索引モデルが issue の本文から書いたものです。
説明
With the following sample input:
// #include <iostream>
#define HIF(x) __has_include(x)
bool hiY() {
#if HIF(<bitset>)
bool has_bitset = true;
#else
bool has_bitset = false;
#endif
return has_bitset;
}
and BOOST_SPIRIT_DEBUG enabled in cpp_config.hpp with BOOST_SPIRIT_DEBUG_FLAGS_CPP set as follows:
#define BOOST_SPIRIT_DEBUG_FLAGS_CPP ( 0 \
/* insert the required flags from above */ \
| BOOST_SPIRIT_DEBUG_FLAGS_HAS_INCLUDE_GRAMMAR ) \
/**/
#endif
and the wave executable built in debug mode, it produces the error Assertion mp.queued_position <= size' failed.` and segfaults.
- 主要言語
- C++
- スター
- 29
- フォーク
- 56
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
boostorg/wave のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
-
Switch to reusable CI flow再び着手できるかも @jefftrull が 196 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
microsoft/onnxruntime#33018 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
customer-reported needs-triage question
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Azure/azure-sdk-for-cpp#7435 ·
メンテナーはふだん 1 日以内に返信
-
ChromieCraft Generic Confirmed World Event
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
azerothcore/azerothcore-wotlk#27882 ·
メンテナーはふだん 1 日以内に返信
-
MacOS build failureオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aristocratos/btop#1874 ·
メンテナーはふだん 1 日以内に返信