Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/synapse/blob/main/evidence/g3-shm-ring/red-green/red.txt # synapse A component of the AienOS ecosystem. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `synapse / evidence / g3-shm-ring / red-green / red.txt` 77 lines ยท 7410 bytes Raw Blame History 1 # Red (2026-10-16, rev `864aeca` code with ring.rs stubbed): every g3_ring test run alone 2 # Stub 1 (red1): try_recv trusts the peer: no index, length, torn or sequence checks (diff: red1-stub.diff). 3 # The transport refusal test hangs under stub 1 (the reader waits forever on a frame that never validates; killed, exit 143), so it is skipped in this listing. 4 test attach_refuses_an_unsealed_wrong_size_or_mismatched_region ... ok 5 test attached_peer_cannot_shrink_or_grow_the_sealed_region ... ok 6 test cross_process_ring_delivers_every_record_once_in_order ... ok 7 test honest_indices_wrap_past_u64_max_and_the_ring_end_without_loss ... ok 8 test hostile_reader_tail_is_refused_by_the_sender ... ok 9 test hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101) 10 thread 'hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring' (`1092894`) panicked at crates/synapse-wire/tests/g3_ring.rs:132:27: 11 hostile length accepted: Record 12 test hostile_writer_cannot_make_the_reader_accept_a_record_twice ... FAILED (exit 101) 13 thread 'hostile_writer_cannot_make_the_reader_accept_a_record_twice' (`1092906`) panicked at crates/synapse-wire/tests/g3_ring.rs:344:73: 14 called `Result::unwrap_err()` on an `Ok` value: Record 15 test hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101) 16 thread 'hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring' (`1092920`) panicked at crates/synapse-wire/tests/g3_ring.rs:167:14: 17 hostile head accepted: Record 18 test hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice ... FAILED (exit 101) 19 thread 'hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice' (`1092935`) panicked at /rustc/`48a229ceaefd4985c50990b14116b6d856af0985`/library/alloc/src/raw_vec/mod.rs:28:5: 20 capacity overflow 21 thread 'hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice' (`1092935`) panicked at crates/synapse-wire/tests/g3_ring.rs:90:19: 22 reader panicked on hostile input: seed 0 step 39 23 test hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation ... FAILED (exit 101) 24 thread 'hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation' (`1092948`) panicked at crates/synapse-wire/tests/g3_ring.rs:217:73: 25 called `Result::unwrap_err()` on an `Ok` value: Record 26 test model_test_no_frame_is_lost_or_duplicated ... ok 27 test model_test_two_threads_two_mappings_no_record_lost_or_duplicated ... ok 28 test negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs ... ok 29 test ring_refusal_reaches_the_frame_transport_as_wire_ring_violation ... SKIPPED in this run (hangs under this stub: see note) 30 test ring_stream_carries_the_g1_session_and_acknowledges_durable_changes ... ok 31 32 # Stub 2 (red2): ring offsets not masked to the capacity (diff: red2-stub.diff). 33 test attach_refuses_an_unsealed_wrong_size_or_mismatched_region ... ok 34 test attached_peer_cannot_shrink_or_grow_the_sealed_region ... ok 35 test cross_process_ring_delivers_every_record_once_in_order ... FAILED (exit 101) 36 thread 'cross_process_ring_delivers_every_record_once_in_order' (`1010975`) panicked at crates/synapse-wire/tests/g3_ring.rs:731:5: 37 assertion failed: child.wait().unwrap().success() 38 test honest_indices_wrap_past_u64_max_and_the_ring_end_without_loss ... FAILED (exit 101) 39 thread 'honest_indices_wrap_past_u64_max_and_the_ring_end_without_loss' (`1010991`) panicked at crates/synapse-wire/src/ring.rs:423:10: 40 index out of bounds: the len is 96 but the index is 96 41 test hostile_reader_tail_is_refused_by_the_sender ... FAILED (exit 101) 42 thread 'hostile_reader_tail_is_refused_by_the_sender' (`1011005`) panicked at crates/synapse-wire/src/ring.rs:423:10: 43 index out of bounds: the len is 128 but the index is `2305843009213693983` 44 test hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101) 45 thread 'hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring' (`1011017`) panicked at crates/synapse-wire/src/ring.rs:423:10: 46 index out of bounds: the len is 128 but the index is `2305843009213693983` 47 thread 'hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring' (`1011017`) panicked at crates/synapse-wire/tests/g3_ring.rs:90:19: 48 reader panicked on hostile input: len 121 published 256 49 test hostile_writer_cannot_make_the_reader_accept_a_record_twice ... FAILED (exit 101) 50 thread 'hostile_writer_cannot_make_the_reader_accept_a_record_twice' (`1011026`) panicked at crates/synapse-wire/src/ring.rs:423:10: 51 index out of bounds: the len is 128 but the index is `2305843009213693983` 52 test hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101) 53 thread 'hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring' (`1011034`) panicked at crates/synapse-wire/src/ring.rs:423:10: 54 index out of bounds: the len is 128 but the index is `2305843009213693983` 55 test hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice ... FAILED (exit 101) 56 thread 'hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice' (`1011042`) panicked at crates/synapse-wire/src/ring.rs:423:10: 57 index out of bounds: the len is 128 but the index is `2305843009213693983` 58 test hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation ... FAILED (exit 101) 59 thread 'hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation' (`1011050`) panicked at crates/synapse-wire/src/ring.rs:423:10: 60 index out of bounds: the len is 128 but the index is `2305843009213693983` 61 thread 'hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation' (`1011050`) panicked at crates/synapse-wire/tests/g3_ring.rs:90:19: 62 reader panicked on hostile input: torn record 63 test model_test_no_frame_is_lost_or_duplicated ... FAILED (exit 101) 64 thread 'model_test_no_frame_is_lost_or_duplicated' (`1011058`) panicked at crates/synapse-wire/src/ring.rs:423:10: 65 index out of bounds: the len is 80 but the index is 80 66 test model_test_two_threads_two_mappings_no_record_lost_or_duplicated ... FAILED (exit 101) 67 thread '' (`1011067`) panicked at crates/synapse-wire/src/ring.rs:423:10: 68 index out of bounds: the len is 1088 but the index is `2305843009213693856` 69 thread 'model_test_two_threads_two_mappings_no_record_lost_or_duplicated' (`1011066`) panicked at crates/synapse-wire/tests/g3_ring.rs:649:19: 70 called `Result::unwrap()` on an `Err` value: Any { .. } 71 test negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs ... FAILED (exit 101) 72 thread 'negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs' (`1011075`) panicked at crates/synapse-wire/tests/g3_ring.rs:508:24: 73 index out of bounds: the len is 128 but the index is 128 74 thread 'negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs' (`1011075`) panicked at crates/synapse-wire/src/ring.rs:423:10: 75 index out of bounds: the len is 128 but the index is `2305843009213693983` 76 test ring_refusal_reaches_the_frame_transport_as_wire_ring_violation ... ok 77 test ring_stream_carries_the_g1_session_and_acknowledges_durable_changes ... ok