Advertisement
den4ik2003

Untitled

Dec 11th, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.49 KB | None | 0 0
  1. sleep time: 2410
  2. book: {"symbol": "BIFIUSDT", "ask": {"price": 373.5, "quantity": 0.521}, "bid": {"price": 373.1, "quantity": 0.018}, "update_time_micro": 0}
  3. {"u":336001329,"s":"BIFIUSDT","b":"373.10000000","B":"0.01800000","a":"373.30000000","A":"0.45000000"}
  4. {"u":336001331,"s":"BIFIUSDT","b":"373.00000000","B":"0.01800000","a":"373.30000000","A":"0.45000000"}
  5. current price inside: 373.4
  6. open orders OK
  7. open order: {"symbol": "BIFIUSDT", "coid": 1733907104657, "order_id": "184044656", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 373.8, "quantity": 0.015, "filled_quantity": 0.000, "update_time_micro": 1733907104664000}
  8. cancel: empty order
  9. price: 373.4
  10. quanity: 0.0147295
  11. order canceled OK
  12. thread 'tokio-runtime-worker' panicked at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/context/current.rs:50:46:
  13. already borrowed: BorrowMutError
  14. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  15. worker thread panicking; aborting process
  16.  
  17. Thread 34 "tokio-runtime-w" received signal SIGABRT, Aborted.
  18. [Switching to Thread 0x7fffe2a00640 (LWP 1583771)]
  19. __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736995526208) at ./nptl/pthread_kill.c:44
  20. 44 ./nptl/pthread_kill.c: No such file or directory.
  21. (gdb) bt
  22. #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736995526208) at ./nptl/pthread_kill.c:44
  23. #1 __pthread_kill_internal (signo=6, threadid=140736995526208) at ./nptl/pthread_kill.c:78
  24. #2 __GI___pthread_kill (threadid=140736995526208, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
  25. #3 0x00007ffff7242476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
  26. #4 0x00007ffff72287f3 in __GI_abort () at ./stdlib/abort.c:79
  27. #5 0x0000555556565f47 in std::sys::unix::abort_internal () at library/std/src/sys/unix/mod.rs:376
  28. #6 0x0000555555b41857 in std::process::abort () at library/std/src/process.rs:2279
  29. #7 0x0000555556374a19 in tokio::runtime::scheduler::multi_thread::worker::run::{impl#0}::drop (self=0x7fffe29ff02f)
  30. at src/runtime/scheduler/multi_thread/worker.rs:475
  31. #8 0x000055555635ec9b in core::ptr::drop_in_place<tokio::runtime::scheduler::multi_thread::worker::run::AbortOnPanic> ()
  32. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/core/src/ptr/mod.rs:498
  33. #9 0x0000555556374667 in tokio::runtime::scheduler::multi_thread::worker::run (worker=...)
  34. at src/runtime/scheduler/multi_thread/worker.rs:517
  35. #10 0x0000555555c05ebb in tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()> ()
  36. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/scheduler/multi_thread/worker.rs:437
  37. #11 0x0000555555bf2622 in tokio::runtime::blocking::task::{impl#2}::poll<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>, ()> (self=..., _cx=0x7fffe29ff1d0)
  38. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/blocking/task.rs:42
  39. #12 0x0000555555be6b48 in tokio::runtime::task::core::{impl#6}::poll::{closure#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule> (ptr=0x555556ec51a8)
  40. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/core.rs:328
  41. #13 0x0000555555be11fb in tokio::loom::std::unsafe_cell::UnsafeCell<tokio::runtime::task::core::Stage<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>>>::with_mut<tokio::runtime::task::core::Stage<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>>, core::task::poll::Poll<()>, tokio::runtime::task::core::{impl#6}::poll::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>> (self=0x555556ec51a8, f=...)
  42. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/loom/std/unsafe_cell.rs:16
  43. #14 tokio::runtime::task::core::Core<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>::poll<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule> (self=0x555556ec51a0, cx=...)
  44. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/core.rs:317
  45. #15 0x00005555565fdb01 in tokio::runtime::task::harness::poll_future::{closure#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule> ()
  46. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:485
  47. --Type <RET> for more, q to quit, c to continue without paging--
  48. #16 0x0000555556637f33 in core::panic::unwind_safe::{impl#23}::call_once<core::task::poll::Poll<()>, tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>> (self=...) at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/core/src/panic/unwind_safe.rs:272
  49. #17 0x00005555565d6115 in std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>>, core::task::poll::Poll<()>> (data=0x7fffe29ff348)
  50. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:552
  51. #18 0x00005555565e0e8b in __rust_try ()
  52. #19 0x00005555565cda38 in std::panicking::try<core::task::poll::Poll<()>, core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>>> (f=...) at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:516
  53. #20 0x000055555662139a in std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>>, core::task::poll::Poll<()>> (f=...) at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/panic.rs:142
  54. #21 0x00005555565fb17e in tokio::runtime::task::harness::poll_future<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule> (core=0x555556ec51a0, cx=...)
  55. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:473
  56. #22 0x00005555566000ef in tokio::runtime::task::harness::Harness<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>::poll_inner<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule> (self=0x7fffe29ff560)
  57. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:208
  58. #23 0x000055555660b503 in tokio::runtime::task::harness::Harness<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule>::poll<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule> (self=...)
  59. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/harness.rs:153
  60. #24 0x0000555555bf888b in tokio::runtime::task::raw::poll<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::block_in_place::{closure#0}::{closure_env#0}<rustcore::ffi::ffi_async_wait_task::{closure#1}::{closure_env#0}, ()>>, tokio::runtime::blocking::schedule::BlockingSchedule> (ptr=...)
  61. at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.3/src/runtime/task/raw.rs:271
  62. #25 0x00005555562da927 in tokio::runtime::task::raw::RawTask::poll (self=...) at src/runtime/task/raw.rs:201
  63. #26 0x00005555562aa3c7 in tokio::runtime::task::UnownedTask<tokio::runtime::blocking::schedule::BlockingSchedule>::run<tokio::runtime::blocking::schedule::BlockingSchedule> (self=...) at src/runtime/task/mod.rs:464
  64. --Type <RET> for more, q to quit, c to continue without paging--
  65. #27 0x000055555639ec57 in tokio::runtime::blocking::pool::Task::run (self=...) at src/runtime/blocking/pool.rs:160
  66. #28 0x00005555563a9499 in tokio::runtime::blocking::pool::Inner::run (self=0x555556c3eb40, worker_thread_id=32)
  67. at src/runtime/blocking/pool.rs:518
  68. #29 0x00005555563a91c4 in tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure#0} () at src/runtime/blocking/pool.rs:476
  69. #30 0x00005555562f8f56 in std::sys_common::backtrace::__rust_begin_short_backtrace<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()> (f=<error reading variable: Cannot access memory at address 0x182a78>)
  70. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:154
  71. #31 0x0000555556350382 in std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure#0}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()> () at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/thread/mod.rs:529
  72. #32 0x000055555633c3e2 in core::panic::unwind_safe::{impl#23}::call_once<(), std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()>> (self=...)
  73. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/core/src/panic/unwind_safe.rs:272
  74. #33 0x00005555562ba263 in std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()>>, ()> (data=0x7fffe29ff9e0)
  75. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:552
  76. #34 0x00005555562c09eb in __rust_try ()
  77. #35 0x00005555562b5031 in std::panicking::try<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()>>> (f=...)
  78. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/panicking.rs:516
  79. #36 0x000055555635018f in std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()>>, ()> (
  80. f=<error reading variable: Cannot access memory at address 0x0>)
  81. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/panic.rs:142
  82. #37 std::thread::{impl#0}::spawn_unchecked_::{closure#1}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()> ()
  83. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/thread/mod.rs:528
  84. #38 0x00005555563504af in core::ops::function::FnOnce::call_once<std::thread::{impl#0}::spawn_unchecked_::{closure_env#1}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()>, ()> ()
  85. at /build/rustc-kAv1jW/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/core/src/ops/function.rs:250
  86. #39 0x000055555652e405 in alloc::boxed::{impl#47}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (
  87. self=..., args=<optimized out>) at library/alloc/src/boxed.rs:2007
  88. #40 alloc::boxed::{impl#47}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (self=0x555556ca4360, args=<optimized out>) at library/alloc/src/boxed.rs:2007
  89. #41 std::sys::unix::thread::{impl#2}::new::thread_start (main=0x555556ca4360) at library/std/src/sys/unix/thread.rs:108
  90. #42 0x00007ffff7294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
  91. #43 0x00007ffff7326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement