You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ RUST_BACKTRACE=1 cargo run --example ping
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
Running `target/debug/examples/ping`
Subscribing Pong at aeron:udp?endpoint=localhost:40123 on Stream ID 1002
Publishing Ping at aeron:udp?endpoint=localhost:40123 on Stream ID 1002
Using CnC file: /var/folders/v4/j1g2wwrx7n7_x2yb646p8htw0000gr/T/aeron-rollokonig-brock/cnc.dat
thread 'main' panicked at src/aeron.rs:563:74:
Error creating ring_buffer: CapacityIsNotTwoPower { capacity: 1048960 }
stack backtrace:
0: rust_begin_unwind
at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:665:5
1: core::panicking::panic_fmt
at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panicking.rs:76:14
2: core::result::unwrap_failed
at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/result.rs:1699:5
3: core::result::Result<T,E>::expect
at /Users/rollokonig-brock/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1061:23
4: aeron_rs::aeron::Aeron::map_cnc_file
at ./src/aeron.rs:563:31
5: aeron_rs::aeron::Aeron::new
at ./src/aeron.rs:90:23
6: ping::main
at ./examples/ping.rs:219:17
7: core::ops::function::FnOnce::call_once
at /Users/rollokonig-brock/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Running on:
ProductName: macOS
ProductVersion: 15.1
Using
rustup show
Default host: aarch64-apple-darwin
rustup home: /Users/rollokonig-brock/.rustup
installed toolchains
--------------------
stable-aarch64-apple-darwin (default)
nightly-aarch64-apple-darwin
installed targets for active toolchain
--------------------------------------
aarch64-apple-darwin
wasm32-unknown-unknown
active toolchain
----------------
stable-aarch64-apple-darwin (default)
rustc 1.84.0 (9fc6b4312 2025-01-07)
The text was updated successfully, but these errors were encountered:
fyi, setting pub const CACHE_LINE_LENGTH: Index = CACHE_LINE_SIZE as Index; to pub const CACHE_LINE_LENGTH: Index = 64 as Index; fixed it for me
in src/utils/misc.rs
Just trying to run the ping example.
Am I doing something wrong?
Running on:
Using
The text was updated successfully, but these errors were encountered: