Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-31-23:~/_conn/test_strat/solutions/test/linked_file$ gdb ./test
- GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
- Copyright (C) 2022 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- Type "show copying" and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ./test...
- (gdb) run taker/launch.config
- Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- [New Thread 0x7ffff6a00640 (LWP 3332311)]
- [New Thread 0x7ffff6600640 (LWP 3332312)]
- [New Thread 0x7ffff6200640 (LWP 3332313)]
- [New Thread 0x7ffff5e00640 (LWP 3332314)]
- [New Thread 0x7ffff5a00640 (LWP 3332315)]
- [New Thread 0x7ffff5600640 (LWP 3332316)]
- [New Thread 0x7ffff5200640 (LWP 3332317)]
- [New Thread 0x7ffff4e00640 (LWP 3332318)]
- [New Thread 0x7ffff4a00640 (LWP 3332319)]
- [New Thread 0x7ffff4600640 (LWP 3332320)]
- [New Thread 0x7fffefe00640 (LWP 3332321)]
- [New Thread 0x7fffefa00640 (LWP 3332322)]
- [New Thread 0x7fffef600640 (LWP 3332323)]
- [New Thread 0x7fffef200640 (LWP 3332324)]
- [New Thread 0x7fffeee00640 (LWP 3332325)]
- [New Thread 0x7fffeea00640 (LWP 3332326)]
- [New Thread 0x7fffee600640 (LWP 3332327)]
- [New Thread 0x7fffee200640 (LWP 3332328)]
- [New Thread 0x7fffede00640 (LWP 3332329)]
- [New Thread 0x7fffeda00640 (LWP 3332330)]
- [New Thread 0x7fffed600640 (LWP 3332331)]
- [New Thread 0x7fffed200640 (LWP 3332332)]
- [New Thread 0x7fffece00640 (LWP 3332333)]
- [New Thread 0x7fffeca00640 (LWP 3332334)]
- [New Thread 0x7fffec600640 (LWP 3332335)]
- [New Thread 0x7fffe3e00640 (LWP 3332336)]
- [New Thread 0x7fffe3a00640 (LWP 3332337)]
- [New Thread 0x7fffe3600640 (LWP 3332338)]
- [New Thread 0x7fffe3200640 (LWP 3332339)]
- [New Thread 0x7fffe2e00640 (LWP 3332340)]
- [New Thread 0x7fffe2a00640 (LWP 3332341)]
- [New Thread 0x7fffe2600640 (LWP 3332342)]
- add_parser: BINANCE_FUTURES
- add_parser: BITMART_SPOT
- add_parser: MEXC_SPOT
- /home/ubuntu/keys/mexc_spot/test_1.account
- shared_parser: MEXC_SPOT
- has: BINANCE_FUTURES
- has: BITMART_SPOT
- has: MEXC_SPOT
- [New Thread 0x7fffe2200640 (LWP 3332343)]
- run forever balance 0x555555679030
- {"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}]}
- [New Thread 0x7fffe1e00640 (LWP 3332351)]
- Initializing orderbook
- [New Thread 0x7fffe1400640 (LWP 3332352)]
- [New Thread 0x7fffe1000640 (LWP 3332353)]
- {"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"}",
- "free": 291991, "locked": 00{"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]},
- "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}]}
- {"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}
- [New Thread 0x7fffd7e00640 (LWP 3332354)]
- get balance indicator 0x555555679158
- {"ok": "1"}
- 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"}
- 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"}
- [ 2025-01-08-11-59-48 ] MESSAGE: starts taker test!
- [ 2025-01-08-11-59-48 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
- [ 2025-01-08-11-59-48 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 5.5
- 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"}
- $ tlm_USDT
- 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}
- 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"}
- _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}
- [ 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}}
- mira::precised_float::operator-(precised_float, precised_float): precision mismatch
- Thread 34 "tokio-runtime-w" received signal SIGABRT, Aborted.
- [Switching to Thread 0x7fffe2200640 (LWP 3332343)]
- __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736987137600) at ./nptl/pthread_kill.c:44
- 44 ./nptl/pthread_kill.c: No such file or directory.
- (gdb) bt
- #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736987137600) at ./nptl/pthread_kill.c:44
- #1 __pthread_kill_internal (signo=6, threadid=140736987137600) at ./nptl/pthread_kill.c:78
- #2 __GI___pthread_kill (threadid=140736987137600, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
- #3 0x00007ffff6c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
- #4 0x00007ffff6c287f3 in __GI_abort () at ./stdlib/abort.c:79
- #5 0x00007ffff7acb3d7 in mira::operator- (op1=..., op2=...) at /home/ubuntu/_conn/connector_debug/parsing/src/precised_float.cpp:95
- #6 0x00007ffff7ab1de1 in mira::order_storage::update_order (this=this@entry=0x5555567a4e20, order_result=...,
- operation=operation@entry=mira::e_order_operation::FEED, id=std::optional<mira::order_identifier_t> = {...})
- at /home/ubuntu/_conn/connector_debug/execution/src/types.cpp:101
- #7 0x00007ffff7a9c2a4 in mira::Execution::_process_account_order (this=<optimized out>, event=...)
- at /usr/include/c++/13/bits/shared_ptr_base.h:1068
- #8 0x00007ffff7a9d762 in mira::Execution::_process (this=0x5555567a48f0, event=...)
- at /home/ubuntu/_conn/connector_debug/execution/src/execution.cpp:206
- #9 0x00007ffff7ab8db2 in operator() (str=<optimized out>, __closure=0x555555679078) at /home/ubuntu/_conn/connector_debug/parsing/src/api.cpp:80
- #10 std::__invoke_impl<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__f=...)
- at /usr/include/c++/13/bits/invoke.h:61
- #11 std::__invoke_r<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__fn=...)
- at /usr/include/c++/13/bits/invoke.h:111
- #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
- #13 0x00005555555b5871 in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>, this=<optimized out>)
- at /usr/include/c++/13/bits/std_function.h:591
- #14 operator() (__closure=<optimized out>, res=<optimized out>)
- at /home/ubuntu/_conn/test_strat/solutions/test/linked_file/soft/parsing/mexc_spot/src/api.cpp:683
- #15 std::__invoke_impl<void, mira::mexc_spot_api::_run_ws()::<lambda(char const*)>&, char const*> (__f=...)
- at /usr/include/c++/13/bits/invoke.h:61
- #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
- #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
- #18 0x00007ffff7abef3e in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>, this=<optimized out>)
- at /usr/include/c++/13/bits/std_function.h:591
- #19 operator() (__closure=0x0,
- 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"...,
- cb=<optimized out>) at /home/ubuntu/_conn/connector_debug/parsing/src/core.cpp:169
- #20 _FUN () at /home/ubuntu/_conn/connector_debug/parsing/src/core.cpp:181
- --Type <RET> for more, q to quit, c to continue without paging--
- #21 0x00007ffff7b87675 in rustcore::ffi::ffi_ws_start::{{closure}} () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
- #22 0x00007ffff7b5cf58 in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
- #23 0x00007ffff7d357b1 in tokio::runtime::scheduler::multi_thread::worker::Context::run_task ()
- from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
- #24 0x00007ffff7d33368 in tokio::runtime::scheduler::multi_thread::worker::run () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
- #25 0x00007ffff7b5bec5 in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
- #26 0x00007ffff7d278b3 in std::sys_common::backtrace::__rust_begin_short_backtrace () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
- #27 0x00007ffff7d275df in core::ops::function::FnOnce::call_once{{vtable.shim}} () from /home/ubuntu/_conn/test_strat/solutions/test/libmfs.so
- #28 0x00007ffff7cf01d6 in alloc::boxed::{impl#47}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (self=...,
- args=<optimized out>) at library/alloc/src/boxed.rs:2007
- #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
- #30 std::sys::unix::thread::{impl#2}::new::thread_start (main=0x555555651ef0) at library/std/src/sys/unix/thread.rs:108
- #31 0x00007ffff6c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
- #32 0x00007ffff6d26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement