BinChengZhao/delicate

When I manually trigger a task, it always reports an error

1024DB opened this issue · 2 comments

Describe the bug
When I manually trigger a task, it always reports an error.As shown in the following figure.

Screenshots

  1. When I manually trigger a task, a stack overflow error is reported
    image

  2. An error will be reported when a task is triggered manually
    image

Desktop (please complete the following information):

  • OS: macOS 12.3.1 (21E258)
  • Browser: chrome

Hi!
Looks like the same overflow on debian bullseye (rust 1.57- 1.62):

OverflowScreenshot_2022-07-07_21-33-36
OvewflowScreenshot_2022-07-07_18-21-02
OverflowScreenshot_2022-07-07_18-17-03

May be the errors happen because of using the deprecated tokio_unblock_process_task_fn ?

warn(deprecated)]` on by default

warning: use of deprecated function `delay_timer::utils::functions::tokio_unblock_process_task_fn`
   --> delicate-utils/src/consensus_message/task.rs:210:25
    |
210 |                 move || tokio_unblock_process_task_fn(command.clone(), id as u64)

source

@BinChengZhao as the creator of delay-timer and delicate can know it as no one else.