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

bug(stream): panic: over_window/delta_btree_map.rs: called unwrap on None #12632

Closed
fuyufjh opened this issue Oct 5, 2023 · 2 comments
Closed
Assignees
Labels
priority/high type/bug Something isn't working
Milestone

Comments

@fuyufjh
Copy link
Member

fuyufjh commented Oct 5, 2023

Describe the bug

No response

Error message/log

thread 'risingwave-streaming-actor' panicked at 'called `Option::unwrap()` on a `None` value', src/stream/src/executor/over_window/delta_btree_map.rs:224:72
stack backtrace:
...
   20:     0x562b22353f45 - core::panicking::panic::h8b995885e3e255d1
                                at /rustc/f0411ffcebcd7f75ac02ed45feb53ffd07b75398/library/core/src/panicking.rs:117:5
   21:     0x562b287b6896 - risingwave_stream::executor::over_window::delta_btree_map::CursorWithDelta<K,V>::peek_next::h44f1af3f1b81b951
   22:     0x562b287f53b4 - risingwave_stream::executor::over_window::delta_btree_map::DeltaBTreeMap<K,V>::first_key::h5abe899e786fd47f
                                at /risingwave/src/stream/src/executor/over_window/delta_btree_map.rs:57:9
   23:     0x562b287f53b4 - risingwave_stream::executor::over_window::over_partition::find_affected_ranges::hcd269d3be6a4d0dc
                                at /risingwave/src/stream/src/executor/over_window/over_partition.rs:852:8
   24:     0x562b2456b607 - risingwave_stream::executor::over_window::over_partition::OverPartition<S>::find_affected_ranges::{{closure}}::h28d3bfa8775af8d7
                                at /risingwave/src/stream/src/executor/over_window/over_partition.rs:414:21
   25:     0x562b24575942 - risingwave_stream::executor::over_window::general::OverWindowExecutor<S>::build_changes_for_partition::{{closure}}::ha86b179233def84d
                                at /risingwave/src/stream/src/executor/over_window/general.rs:463:14
   26:     0x562b24575942 - risingwave_stream::executor::over_window::general::OverWindowExecutor<S>::apply_chunk::{{closure}}::hab5b731208f75806
                                at /risingwave/src/stream/src/executor/over_window/general.rs:384:80
   27:     0x562b243ab725 - <futures_async_stream::try_stream::GenTryStream<G> as futures_core::stream::Stream>::poll_next::h78257f5cdc5caaf3
                                at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-async-stream-0.2.7/src/lib.rs:493:33
   28:     0x562b243ab725 - risingwave_stream::executor::over_window::general::OverWindowExecutor<S>::executor_inner::{{closure}}::h2f592fef51f1c5ea
                                at /risingwave/src/stream/src/executor/over_window/general.rs:593:5
   29:     0x562b243ab725 - <futures_async_stream::try_stream::GenTryStream<G> as futures_core::stream::Stream>::poll_next::h4f9288c802c41a28
                                at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-async-stream-0.2.7/src/lib.rs:493:33
   30:     0x562b2883e9c1 - <core::pin::Pin<P> as futures_core::stream::Stream>::poll_next::hc544afcf81750f54
                                at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.28/src/stream.rs:120:9
...

*** await tree context of current task ***

Actor 1701: `*******` [1.328s]
  Epoch 5194118303252480 [795.999ms]
    MaterializeExecutor 6A500000011 (actor 1701, operator 17) [636.000ms]
      ProjectExecutor 6A500000010 (actor 1701, operator 16) [636.000ms]
        OverWindowExecutor 6A50000000F (actor 1701, operator 15) [636.000ms]  <== current
[Detached 2]
  LocalInput (actor 1707) [648.000ms]

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

No response

Additional context

No response

@fuyufjh fuyufjh added the type/bug Something isn't working label Oct 5, 2023
@github-actions github-actions bot added this to the release-1.3 milestone Oct 5, 2023
@fuyufjh
Copy link
Member Author

fuyufjh commented Oct 5, 2023

Might be fixed by #12536

@fuyufjh fuyufjh modified the milestones: release-1.3, release-1.4 Oct 10, 2023
@stdrc
Copy link
Member

stdrc commented Oct 16, 2023

I guess this issue is indeed fixed by #12536, for the panic message is exactly the same. May reopen if any further evidence show up.

@stdrc stdrc closed this as completed Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/high type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants