AMPI datatypes: CkDDT_Struct ignores member trueLB; negative extents from Type_create_resized can terminate the program
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start in src/libs/ck-libs/ampi/ddt.C and read the CkDDT_Struct true lower bound calculation and the scan code changed in #4085. Reproduce the nested vector case with a negative displacement, then check MPI_Type_get_true_extent and scan buffer bounds; also try a resized datatype with a negative extent and count of at least two. Done when true lower bounds include member types and the negative-extent case no longer terminates the program.
索引モデルが issue の本文から書いたものです。
説明
Split out of #4072 (from Aditya's re-review of #4085; pre-existing on recharm, not fixed). Both in src/libs/ck-libs/ampi/ddt.C.
CkDDT_StructtakestrueLBfrom the block displacements only and ignores each member type's owntrueLB:struct{(0, 1, vector(2,1,-1,MPI_INT))}reports trueLB 0 but the vector writes at offset -4.MPI_Type_get_true_extentreports the same wrong value, and the scan (which since #4085 sizes its buffers from trueLB) writes just before its buffer for such types.- Negative extents from
MPI_Type_create_resizedcan terminate the program: with count >= 2 the scan's spancount * max(extent, trueExtent)can be negative,std::vectorthrows, and the throw happens inside anoexceptfunction.
Related: #4085 (scan family).
- 主要言語
- C++
- スター
- 241
- フォーク
- 62
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 121
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
charmplusplus/charm のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
charmplusplus/charm#4210 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
charmplusplus/charm#4160 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
charmplusplus/charm#3619 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
charmplusplus/charm#4204 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 49/100
charmplusplus/charm#4200 ·
メンテナーはふだん 1 日以内に返信
charmplusplus/charm の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSオープンbug nixos umbriel
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
noctalia-dev/noctalia#5310 ·
メンテナーはふだん 1 日以内に返信
-
area/docdb kind/bug priority/medium status/awaiting-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yugabyte/yugabyte-db#37426 ·
メンテナーはふだん 1 日以内に返信
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Niko1221/Strata#5693 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
torch.special.gammainc/gammaincc lose up to 7 digits in float64 for a > 20 near x: single-precision pi in the asymptotic series対応中かも @SowndaryaS0201 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pytorch/pytorch#204127 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信