Skip to content

(v0.0.8-alpha2) Stack overflow in ops::fix::tests::fix #895

@riking

Description

@riking

https://asan.saethlin.dev/ub?crate=huak&version=0.0.8-alpha.2

Please check if this crash report is still relevant! I saw no mentions of a stack overflow in your issue tracker.

test ops::build::tests::build ... The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.10-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: /tmp/.tmpwaEKyv/mock-project/.venv/bin/python3

FAILED
test ops::clean::tests::clean ... ok
test ops::fix::tests::fix ... AddressSanitizer:DEADLYSIGNAL
=================================================================
==14788==ERROR: AddressSanitizer: stack-overflow on address 0x7f96992f6cd8 (pc 0x55bdf3324ff5 bp 0x7f96992f7130 sp 0x7f96992f6ce0 T14)
    #0 0x55bdf3324ff5 in std::sys::unix::fs::try_statx::h8deb56d473e0c100 /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:156
...
    #6 0x55bdf0700192 in std::path::Path::exists::h116d327dbbf4ee61 /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/path.rs:2862:9
    #7 0x55bdf07dd6a5 in huak::env::venv::Venv::create::h9cacbce05d3c715a /build/src/huak/env/venv.rs:160:12
    #8 0x55bdf07df536 in huak::env::venv::Venv::exec_module::h0e34c8b6cba8647c /build/src/huak/env/venv.rs:246:9
    #9 0x55bdf07e2b46 in huak::env::venv::Venv::install_package::hfd0da46029abf19b /build/src/huak/env/venv.rs:297:9
    #10 0x55bdf07dfb90 in huak::env::venv::Venv::exec_module::h0e34c8b6cba8647c /build/src/huak/env/venv.rs:258:13
...
    #245 0x55bdf07e2b46 in huak::env::venv::Venv::install_package::hfd0da46029abf19b /build/src/huak/env/venv.rs:297:9
    #246 0x55bdf07dfb90 in huak::env::venv::Venv::exec_module::h0e34c8b6cba8647c /build/src/huak/env/venv.rs:258:13
SUMMARY: AddressSanitizer: stack-overflow /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:156 in std::sys::unix::fs::try_statx::h8deb56d473e0c100
==14788==ABORTING

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions