[Bug]: crash when do_recdev = 0 is combined with SRR option 7 (but work-around is available)
@Rick-Methot-NOAA がすでに取り組んでいます。
2024年2月1日 から。
評価
この issue はまだ評価されていません。
説明
Describe the bug
@quang-huynh reported an issue with combining SRR option 7 with the setting do_recdev = 0, which leads to the following error:
Finished calculating benchmarks
array bound exceeded -- index too high in prevariable::operator()
The error does not occur when the Beverton-Holt stock-recruit option is used.
This is a low priority to fix because the recdevs can be turned off via negative phase instead of do_recdevs, but good to have reported here anyway so we have a record of the problem if it happens to anyone else.
If a fix isn't easy to find, we could add a warning saying to use negative phase instead of do_recdevs when working with SRR option 7.
To Reproduce
Within Spinydogfish_2011 in test-models, change do_recdevs from 1 to 0 on this line and run with a recent SS3 executable
https://github.com/nmfs-ost/ss3-test-models/blob/main/models/Spinydogfish_2011/Spiny_Dogfish.CTL#L128.
Expected behavior
@quang-huynh says that the combination of SRR option 7 and do_recdev = 0 worked in SS version 3.30.16.
Screenshots
No response
Which OS are you seeing the problem on?
Windows
Which version of SS3 are you seeing the problem on?
3.30.22.1
Additional Context
No response
- 主要言語
- C++
- スター
- 46
- フォーク
- 19
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nmfs-ost/ss3-source-code のほかの issue
-
[Bug]: non-integer `Lbin_lo`/`Lbin_hi` are silently truncated under `Lbin_method = 1`, while method 3 raises a fatal error for the equivalent mistake対応中かも @Rick-Methot-NOAA が 1 日前に担当しました。 オープン
nmfs-ost/ss3-source-code#784 · 担当者 1 名 ·
-
need warning and improved logic for generalized sizecomp再び着手できるかも @Rick-Methot-NOAA が 236 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcomposition in progress
nmfs-ost/ss3-source-code#751 · コメント 1 件 · 担当者 1 名 ·
-
[Feature]: Add standard errors for area-specific quantities再び着手できるかも @Rick-Methot-NOAA が 375 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンarea & movement
nmfs-ost/ss3-source-code#731 · コメント 3 件 · 担当者 1 名 ·
-
[Feature]: Create a basic report list that could serve as better starting configuration for customization再び着手できるかも @Rick-Methot-NOAA が 381 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンmisc. output
nmfs-ost/ss3-source-code#723 · 担当者 1 名 ·
-
[Feature]: restrict biology output using the use_morph(g) flag再び着手できるかも @Rick-Methot-NOAA が 403 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbiology misc. output ongoing
nmfs-ost/ss3-source-code#702 · 担当者 1 名 ·
nmfs-ost/ss3-source-code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
category:port-update
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
CLI jira shell completion
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信