Advertisement
den4ik2003

Untitled

Jan 8th, 2025
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.81 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ gdb ./test
  2. GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
  3. Copyright (C) 2022 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law.
  7. Type "show copying" and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <https://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14.  
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from ./test...
  18. (gdb) run taker/launch.config
  19. Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  22. [New Thread 0x7ffff6a00640 (LWP 3332311)]
  23. [New Thread 0x7ffff6600640 (LWP 3332312)]
  24. [New Thread 0x7ffff6200640 (LWP 3332313)]
  25. [New Thread 0x7ffff5e00640 (LWP 3332314)]
  26. [New Thread 0x7ffff5a00640 (LWP 3332315)]
  27. [New Thread 0x7ffff5600640 (LWP 3332316)]
  28. [New Thread 0x7ffff5200640 (LWP 3332317)]
  29. [New Thread 0x7ffff4e00640 (LWP 3332318)]
  30. [New Thread 0x7ffff4a00640 (LWP 3332319)]
  31. [New Thread 0x7ffff4600640 (LWP 3332320)]
  32. [New Thread 0x7fffefe00640 (LWP 3332321)]
  33. [New Thread 0x7fffefa00640 (LWP 3332322)]
  34. [New Thread 0x7fffef600640 (LWP 3332323)]
  35. [New Thread 0x7fffef200640 (LWP 3332324)]
  36. [New Thread 0x7fffeee00640 (LWP 3332325)]
  37. [New Thread 0x7fffeea00640 (LWP 3332326)]
  38. [New Thread 0x7fffee600640 (LWP 3332327)]
  39. [New Thread 0x7fffee200640 (LWP 3332328)]
  40. [New Thread 0x7fffede00640 (LWP 3332329)]
  41. [New Thread 0x7fffeda00640 (LWP 3332330)]
  42. [New Thread 0x7fffed600640 (LWP 3332331)]
  43. [New Thread 0x7fffed200640 (LWP 3332332)]
  44. [New Thread 0x7fffece00640 (LWP 3332333)]
  45. [New Thread 0x7fffeca00640 (LWP 3332334)]
  46. [New Thread 0x7fffec600640 (LWP 3332335)]
  47. [New Thread 0x7fffe3e00640 (LWP 3332336)]
  48. [New Thread 0x7fffe3a00640 (LWP 3332337)]
  49. [New Thread 0x7fffe3600640 (LWP 3332338)]
  50. [New Thread 0x7fffe3200640 (LWP 3332339)]
  51. [New Thread 0x7fffe2e00640 (LWP 3332340)]
  52. [New Thread 0x7fffe2a00640 (LWP 3332341)]
  53. [New Thread 0x7fffe2600640 (LWP 3332342)]
  54. add_parser: BINANCE_FUTURES
  55. add_parser: BITMART_SPOT
  56. add_parser: MEXC_SPOT
  57. /home/ubuntu/keys/mexc_spot/test_1.account
  58. shared_parser: MEXC_SPOT
  59. has: BINANCE_FUTURES
  60. has: BITMART_SPOT
  61. has: MEXC_SPOT
  62. [New Thread 0x7fffe2200640 (LWP 3332343)]
  63. run forever balance 0x555555679030
  64. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 291991, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 35.451, "locked": 0, "update_time": 0}]}
  65. [New Thread 0x7fffe1e00640 (LWP 3332351)]
  66. Initializing orderbook
  67. [New Thread 0x7fffe1400640 (LWP 3332352)]
  68. [New Thread 0x7fffe1000640 (LWP 3332353)]
  69. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}",
  70. "free": 291991, "locked": 00{"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]},
  71. "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 35.451, "locked": 0, "update_time": 0}]}
  72. {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
  73. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
  74. {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
  75. {"asset": "MCC", "free": 291991, "locked": 0, "update_time": 0}
  76. {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
  77. {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
  78. {"asset": "USDT", "free": 35.451, "locked": 0, "update_time": 0}
  79. [New Thread 0x7fffd7e00640 (LWP 3332354)]
  80. get balance indicator 0x555555679158
  81. {"ok": "1"}
  82. mexc _feed_process: {"code": "0", "msg": "spot@public.limit.depth.v3.api@MCCUSDT@20,spot@private.deals.v3.api,spot@private.orders.v3.api,spot@private.account.v3.api", "id": "0"}
  83. mexc _feed_process: {"t": "1736337588314", "s": "MCCUSDT", "d": {"r": "172230013", "e": "spot@public.limit.depth.v3.api", "asks": [{"v": "303879.65", "p": "0.00009250"}, {"v": "146750.21", "p": "0.00009558"}, {"v": "157537.35", "p": "0.00009868"}, {"v": "128816.80", "p": "0.00010227"}, {"v": "151447.95", "p": "0.00010490"}, {"v": "153676.80", "p": "0.00010744"}, {"v": "53350.00", "p": "0.00010959"}, {"v": "136271.94", "p": "0.00011137"}, {"v": "51800.00", "p": "0.00011419"}, {"v": "12000000.00", "p": "0.00011487"}, {"v": "9556.61", "p": "0.00011500"}, {"v": "129425.64", "p": "0.00011633"}, {"v": "10070.49", "p": "0.00011916"}, {"v": "121317.53", "p": "0.00012047"}, {"v": "114541.59", "p": "0.00012068"}, {"v": "150788.23", "p": "0.00012556"}, {"v": "116699.24", "p": "0.00012563"}, {"v": "139495.13", "p": "0.00012826"}, {"v": "115838.43", "p": "0.00013191"}, {"v": "111773.79", "p": "0.00013855"}], "bids": [{"v": "113184.37", "p": "0.00009237"}, {"v": "1140575.22", "p": "0.00009236"}, {"v": "86771.19", "p": "0.00009234"}, {"v": "2616351.62", "p": "0.00009230"}, {"v": "191494.13", "p": "0.00008980"}, {"v": "171680.48", "p": "0.00008897"}, {"v": "55728.80", "p": "0.00008680"}, {"v": "132491.98", "p": "0.00008613"}, {"v": "171545.24", "p": "0.00008303"}, {"v": "174954.15", "p": "0.00008019"}, {"v": "137482.81", "p": "0.00008001"}, {"v": "168150.10", "p": "0.00007792"}, {"v": "166614.45", "p": "0.00007517"}, {"v": "211930.91", "p": "0.00007299"}, {"v": "239761.85", "p": "0.00007131"}, {"v": "183382.14", "p": "0.00006876"}, {"v": "222572.98", "p": "0.00006718"}, {"v": "263404.66", "p": "0.00006588"}, {"v": "233943.08", "p": "0.00006290"}, {"v": "242438.41", "p": "0.00006238"}]}, "c": "spot@public.limit.depth.v3.api@MCCUSDT@20"}
  84. [ 2025-01-08-11-59-48 ] MESSAGE: starts taker test!
  85. [ 2025-01-08-11-59-48 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  86. [ 2025-01-08-11-59-48 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
  87. mexc _feed_process: {"t": "1736337588372", "d": {"fd": "-5.50275", "f": "29.9482403125789", "ld": "5.50275", "l": "5.50275", "cd": "128f589271cb4951b03e71e6323eb7be", "o": "ENTRUST_PLACE", "c": "1736337588358", "a": "USDT"}, "c": "spot@private.account.v3.api"}
  88. $ tlm_USDT
  89. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736337588358,"cd":"128f589271cb4951b03e71e6323eb7be","f":"29.9482403125789","fd":"-5.50275","l":"5.50275","ld":"5.50275","o":"ENTRUST_PLACE"},"t":1736337588372}
  90. mexc _feed_process: {"t": "1736337588374", "s": "MCCUSDT", "d": {"cv": "59459.45", "ap": "0.0000925", "i": "C02__505645797166075907049", "lv": "59459.45", "c": "142473825943125", "p": "0.00010166", "o": "5", "S": "1", "a": "5.5", "ca": "5.499999125", "V": "0", "m": "0", "A": "0.000000875", "v": "0", "s": "2", "O": "1736337588355"}, "c": "spot@private.orders.v3.api"}
  91. _account_order_filler symbol: {"symbol": "MCCUSDT", "base": "MCC", "quote": "USDT", "price_step": 0.00000001, "price_precision": 8, "quntity_step": 0.01, "quantity_precision": 2, "min_notional": 1, "max_notional": 2e+06, "maker_commission": 0.0005, "taker_commission": 0.0005}
  92. [ 2025-01-08-11-59-48 ] INFO : WebSocketEvent: , event_time=1736337588374", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473825943125, "order_id": "", "type": "MARKET", "side": "BUY", "status": "FILLED", "price": 0.00009250, "quantity": 0.00, "filled_quantity": 0.00, "update_time": 0}}
  93. mira::precised_float::operator-(precised_float, precised_float): precision mismatch
  94.  
  95. Thread 34 "tokio-runtime-w" received signal SIGABRT, Aborted.
  96. [Switching to Thread 0x7fffe2200640 (LWP 3332343)]
  97. __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736987137600) at ./nptl/pthread_kill.c:44
  98. 44 ./nptl/pthread_kill.c: No such file or directory.
  99. (gdb) bt
  100. #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736987137600) at ./nptl/pthread_kill.c:44
  101. #1 __pthread_kill_internal (signo=6, threadid=140736987137600) at ./nptl/pthread_kill.c:78
  102. #2 __GI___pthread_kill (threadid=140736987137600, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
  103. #3 0x00007ffff6c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
  104. #4 0x00007ffff6c287f3 in __GI_abort () at ./stdlib/abort.c:79
  105. #5 0x00007ffff7acb3d7 in mira::operator- (op1=..., op2=...) at /home/ubuntu/_conn/connector_debug/parsing/src/precised_float.cpp:95
  106. #6 0x00007ffff7ab1de1 in mira::order_storage::update_order (this=this@entry=0x5555567a4e20, order_result=...,
  107. operation=operation@entry=mira::e_order_operation::FEED, id=std::optional<mira::order_identifier_t> = {...})
  108. at /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:101
  109. #7 0x00007ffff7a9c2a4 in mira::Execution::_process_account_order (this=<optimized out>, event=...)
  110. at /usr/include/c++/13/bits/shared_ptr_base.h:1068
  111. #8 0x00007ffff7a9d762 in mira::Execution::_process (this=0x5555567a48f0, event=...)
  112. at /home/ubuntu/_conn/connector_debug/execution/src/execution.cpp:206
  113. #9 0x00007ffff7ab8db2 in operator() (str=<optimized out>, __closure=0x555555679078) at /home/ubuntu/_conn/connector_debug/parsing/src/api.cpp:80
  114. #10 std::__invoke_impl<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__f=...)
  115. at /usr/include/c++/13/bits/invoke.h:61
  116. #11 std::__invoke_r<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__fn=...)
  117. at /usr/include/c++/13/bits/invoke.h:111
  118. #12 std::_Function_handler<void(char const*), mira::basic_api::start_streams()::<lambda(char const*)> >::_M_invoke(const std::_Any_data &, const char *&&) (__functor=..., __args#0=<optimized out>) at /usr/include/c++/13/bits/std_function.h:290
  119. #13 0x00005555555b5871 in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>, this=<optimized out>)
  120. at /usr/include/c++/13/bits/std_function.h:591
  121. #14 operator() (__closure=<optimized out>, res=<optimized out>)
  122. at /home/ubuntu/_conn/test_strat/solutions/test/linked_file/soft/parsing/mexc_spot/src/api.cpp:683
  123. #15 std::__invoke_impl<void, mira::mexc_spot_api::_run_ws()::<lambda(char const*)>&, char const*> (__f=...)
  124. at /usr/include/c++/13/bits/invoke.h:61
  125. #16 std::__invoke_r<void, mira::mexc_spot_api::_run_ws()::<lambda(char const*)>&, char const*> (__fn=...) at /usr/include/c++/13/bits/invoke.h:111
  126. #17 std::_Function_handler<void(char const*), mira::mexc_spot_api::_run_ws()::<lambda(char const*)> >::_M_invoke(const std::_Any_data &, const char *&&) (__functor=..., __args#0=<optimized out>) at /usr/include/c++/13/bits/std_function.h:290
  127. #18 0x00007ffff7abef3e in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>, this=<optimized out>)
  128. at /usr/include/c++/13/bits/std_function.h:591
  129. #19 operator() (__closure=0x0,
  130. res=0x7fff3c0b9de0 "{\"c\":\"spot@private.orders.v3.api\",\"d\":{\"i\":\"C02__505645797166075907049\",\"c\":\"142473825943125\",\"o\":5,\"p\":\"0.00010166\",\"v\":\"0\",\"S\":1,\"a\":\"5.5\",\"m\":0,\"A\":\"0.000000875\",\"V\":\"0\",\"lv\":\"59459.45\",\"s\":2,\"O\":1"...,
  131. cb=<optimized out>) at /home/ubuntu/_conn/connector_debug/parsing/src/core.cpp:169
  132. #20 _FUN () at /home/ubuntu/_conn/connector_debug/parsing/src/core.cpp:181
  133. --Type <RET> for more, q to quit, c to continue without paging--
  134. #21 0x00007ffff7b87675 in rustcore::ffi::ffi_ws_start::{{closure}} () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
  135. #22 0x00007ffff7b5cf58 in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
  136. #23 0x00007ffff7d357b1 in tokio::runtime::scheduler::multi_thread::worker::Context::run_task ()
  137. from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
  138. #24 0x00007ffff7d33368 in tokio::runtime::scheduler::multi_thread::worker::run () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
  139. #25 0x00007ffff7b5bec5 in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
  140. #26 0x00007ffff7d278b3 in std::sys_common::backtrace::__rust_begin_short_backtrace () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
  141. #27 0x00007ffff7d275df in core::ops::function::FnOnce::call_once{{vtable.shim}} () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
  142. #28 0x00007ffff7cf01d6 in alloc::boxed::{impl#47}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (self=...,
  143. args=<optimized out>) at library/alloc/src/boxed.rs:2007
  144. #29 alloc::boxed::{impl#47}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (self=0x555555651ef0, args=<optimized out>) at library/alloc/src/boxed.rs:2007
  145. #30 std::sys::unix::thread::{impl#2}::new::thread_start (main=0x555555651ef0) at library/std/src/sys/unix/thread.rs:108
  146. #31 0x00007ffff6c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
  147. #32 0x00007ffff6d26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  148. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement