-
Notifications
You must be signed in to change notification settings - Fork 107
rayon crashes #1381
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
Comments
The same crash happens with wasmtime. Running rayons test suite also results in this error. |
Looks like cg_clif accidentally used thread '<unnamed>' panicked at 'misaligned pointer dereference: address must be a multiple of 0x80 but is 0x7f29244ed1c0', /home/gh-bjorn3/cg_clif/rayon/rayon-core/src/registry.rs:523:24
stack backtrace:
0: rust_begin_unwind
at /home/gh-bjorn3/cg_clif/build/stdlib/library/std/src/panicking.rs:593:5
1: core::panicking::panic_nounwind_fmt
at /home/gh-bjorn3/cg_clif/build/stdlib/library/core/src/panicking.rs:96:14
2: core::panicking::panic_misaligned_pointer_dereference
at /home/gh-bjorn3/cg_clif/build/stdlib/library/core/src/panicking.rs:175:5
3: rayon_core::registry::Registry::in_worker_cold::{{closure}}::{{closure}}
at ./rayon-core/src/registry.rs:523:24
4: rayon_core::job::JobResult<T>::call::{{closure}}
at ./rayon-core/src/job.rs:218:41
5: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at /home/gh-bjorn3/cg_clif/build/stdlib/library/core/src/panic/unwind_safe.rs:265:9
6: std::panicking::try::do_call
at /home/gh-bjorn3/cg_clif/build/stdlib/library/std/src/panicking.rs:500:40
7: std::panicking::try
at /home/gh-bjorn3/cg_clif/build/stdlib/library/std/src/panicking.rs:464:19
8: std::panic::catch_unwind
at /home/gh-bjorn3/cg_clif/build/stdlib/library/std/src/panic.rs:142:14
9: rayon_core::unwind::halt_unwinding
at ./rayon-core/src/unwind.rs:17:5
10: rayon_core::job::JobResult<T>::call
at ./rayon-core/src/job.rs:218:15
11: <rayon_core::job::StackJob<L,F,R> as rayon_core::job::Job>::execute
at ./rayon-core/src/job.rs:120:32
12: rayon_core::job::JobRef::execute
at ./rayon-core/src/job.rs:64:9
13: rayon_core::registry::WorkerThread::execute
at ./rayon-core/src/registry.rs:855:9
14: rayon_core::registry::WorkerThread::wait_until_cold
at ./rayon-core/src/registry.rs:802:21
15: rayon_core::registry::WorkerThread::wait_until
at ./rayon-core/src/registry.rs:777:13
16: rayon_core::registry::main_loop
at ./rayon-core/src/registry.rs:926:5
17: rayon_core::registry::ThreadBuilder::run
at ./rayon-core/src/registry.rs:54:18
18: <rayon_core::registry::DefaultSpawn as rayon_core::registry::ThreadSpawn>::spawn::{{closure}}
at ./rayon-core/src/registry.rs:99:20 |
Looks like Edit: Opened bytecodealliance/wasmtime#6716 |
Fixed in 55380a5. The entire rayon test suite now passes with the exception of a single test which tests the behavior of rayon when user code panics as cg_clif doesn't yet support unwinding on panics. In addition the entire test suite of rav1e passes on aarch64, but on x86_64 it requires |
https://github.com/xiph/rav1e
All of them are like
The text was updated successfully, but these errors were encountered: