Build fail with any sanitizer
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
- 領域
- build-system
調査の方向性
報告された RUSTFLAGS、RUSTDOCFLAGS、nightly ツールチェーン、および cargo +nightly build ビルドコマンドを使って失敗を再現します。simba に関連する最初の未定義シンボルエラーから始め、提供されたログを貼り付けてから、simba をインポートするプロジェクトがアドレスサニタイザーおよびスレッドサニタイザーを使って正常にビルドできることを確認します。
索引モデルが issue の本文から書いたものです。
説明
When building any project which imports nalgebra with nightly and a sanitizer you get a HUGE amount of build errors.
Command I used to build
export RUSTFLAGS=-Zsanitizer=address RUSTDOCFLAGS=-Zsanitizer=addresscargo +nightly build
The same thing happens with Zsanitizer=thread
Toolchain version
rustc 1.66.0-nightly (4a1467723 2022-09-23)
OS/Hardware
- Kubuntu 22.04
- 16 x Intel Core i7-10870 CPU @ 2.20Ghz
- 32 Gb RAM
- Dual GPU Intel UHD Graphics + NVIDIA RTX 3060 Laptop GPU
Log
Due to how large the log is I could not add all of it so I only added the first 168 lines, all other lines are very similar.
Compiling simba v0.7.0
error: /home/yuri/Projects/threaded-bilateral-filter/target/debug/deps/libpaste-4d6a3c29c1b84e5f.so: undefined symbol: __asan_option_detect_stack_use_after_return
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:23:9
|
23 | paste::item! {
| ^^^^^
error: cannot determine resolution for the macro `paste::item`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:23:9
|
23 | paste::item! {
| ^^^^^^^^^^^
|
::: /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/simd/simd_complex.rs:33:5
|
33 | complex_trait_methods!(SimdRealField, simd_);
| -------------------------------------------- in this macro invocation
|
= note: import resolution is stuck, try simplifying macro imports
= note: this error originates in the macro `complex_trait_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot determine resolution for the macro `paste::item`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:23:9
|
23 | paste::item! {
| ^^^^^^^^^^^
...
186 | complex_trait_methods!(RealField);
| --------------------------------- in this macro invocation
|
= note: import resolution is stuck, try simplifying macro imports
= note: this error originates in the macro `complex_trait_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `from_real` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:199:13
|
199 | / fn from_real(re: Self::RealField) -> Self {
200 | | re
201 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `real` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:204:13
|
204 | / fn real(self) -> Self::RealField {
205 | | self
206 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `imaginary` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:209:13
|
209 | / fn imaginary(self) -> Self::RealField {
210 | | Self::zero()
211 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `norm1` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:214:13
|
214 | / fn norm1(self) -> Self::RealField {
215 | | $libm::abs(self)
216 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `modulus` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:219:13
|
219 | / fn modulus(self) -> Self::RealField {
220 | | $libm::abs(self)
221 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `modulus_squared` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:224:13
|
224 | / fn modulus_squared(self) -> Self::RealField {
225 | | self * self
226 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `argument` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:229:13
|
229 | / fn argument(self) -> Self::RealField {
230 | | if self >= Self::zero() {
231 | | Self::zero()
232 | | } else {
233 | | Self::pi()
234 | | }
235 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0407]: method `to_exp` is not a member of trait `ComplexField`
--> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:238:13
|
238 | / fn to_exp(self) -> (Self, Self) {
239 | | if self >= Self::zero() {
240 | | (self, Self::one())
241 | | } else {
242 | | (-self, -Self::one())
243 | | }
244 | | }
| |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | | f32,f32,f32;
493 | | f64,f64,f64
494 | | );
| |_- in this macro invocation
|
= note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)
- 主要言語
- Rust
- スター
- 347
- フォーク
- 38
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dimforge/simba のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
MattA-Official/vwmcp#20 ·
-
documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
undergroundrap/hatchling#15 ·
-
Progress difficulty filter lists Hard before Medium対応中かも @Pandamachi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sysprog21/codetrial#281 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CLI: --verdict silently ignores extra program/file arguments対応中かも @oxura が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HigherOrderCO/Bend#1503 ·
-
Add MySQL test coverage for numeric_precision/numeric_scale and seq_in_fk (follow-up to #939)対応中かも @tosinxt が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TabularisDB/tabularis#977 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信