Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
riking opened this issue Feb 28, 2024 · 2 comments
Open

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

riking opened this issue Feb 28, 2024 · 2 comments

Comments

@riking
Copy link

riking commented Feb 28, 2024

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
@riking
Copy link
Author

riking commented Feb 28, 2024

Also, consider releasing a new alpha3 version of your crate to benefit from crater-alikes checking the current version of your code 🙂

@cnpryer
Copy link
Owner

cnpryer commented Feb 28, 2024

Hi! Thanks for the report!

If I can find some time I plan to update a bit of the project and then set up a new release pipeline.

Sorry for the inconvenience! Note this is my personal experiment and you should consider trying out projects with more support like rye.

I do appreciate you trying out Huak! It's a sandbox I can use to experiment with ideas. Feedback is welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants