KomodoPlatform / komodo-wallet

Komodo Wallet
https://app.komodoplatform.com
GNU General Public License v3.0
240 stars 208 forks source link

[BUG]: Crash on pro view #2125

Closed ghost closed 10 months ago

ghost commented 1 year ago

Last logs:

[12:43:07] [info] [qt.trading.page.cpp:972] [882697]: Changed ticker: RICK
[12:43:07] [debug] [qt.trading.page.cpp:88] [882697]: Setting current orderbook: RICK / LTC
[12:43:07] [info] [qt.trading.page.cpp:972] [882697]: Changed ticker: RICK
[12:43:07] [debug] [qt.trading.page.cpp:665] [882697]: clearing forms : reset_order
[12:43:07] [debug] [qt.trading.page.cpp:745] [882697]: max_volume is [0]
[12:43:07] [info] [qt.trading.page.cpp:902] [882697]: last_trading_error is None
[12:43:07] [debug] [qt.trading.page.cpp:1510] [882697]: reset_fees
[12:43:07] [warning] [qt.trading.page.cpp:914] [882697]: last_trading_error is VolumeFieldNotFilled
[12:43:07] [debug] [qt.trading.page.cpp:1170] [882697]: get_volume().toStdString(): 0
[12:43:07] [debug] [qt.trading.page.cpp:1184] [882697]: trade_preimage request: {"base":"RICK","method":"trade_preimage","price":"0","rel":"LTC","swap_method":"sell","userpass":"******","volume":"0.0001"}
[12:43:07] [info] [qt.trading.page.cpp:972] [882697]: Changed ticker: RICK
[12:43:07] [debug] [qt.trading.page.cpp:99] [882697]: set_current_orderbook
[12:43:07] [debug] [qt.trading.page.cpp:665] [882697]: clearing forms : set_current_orderbook
[12:43:07] [info] [qt.trading.page.cpp:902] [882697]: last_trading_error is None
[12:43:07] [debug] [qt.trading.page.cpp:1510] [882697]: reset_fees
[12:43:07] [warning] [qt.trading.page.cpp:914] [882697]: last_trading_error is VolumeFieldNotFilled
[12:43:07] [debug] [mm2.service.cpp:2069] [882697]: on_refresh_orderbook
[12:43:07] [debug] [mm2.service.cpp:2076] [882697]: process_orderbook(true)
atomicdex-desktop(23799,0x700006f3b000) malloc: can't allocate region
:*** mach_vm_map(size=4621895678782640128, flags: 100) failed (error code=3)
atomicdex-desktop(23799,0x700006f3b000) malloc: *** set a breakpoint in malloc_error_break to debug
LLVM ERROR: out of memory
[12:43:07] [error] [main.prerequisites.hpp:107] [882835]: sigabort received, cleaning mm2
[12:43:07] [error] [mm2.service.cpp:2529] [883641]: pplx task error: Failed to read HTTP status line from: process_orderbook, request: [
    {
        "method": "orderbook",
        "mmrpc": "2.0",
        "params": {
            "base": "RICK",
            "rel": "LTC"
        },
        "userpass": ""
    },
    {
        "coin": "RICK",
        "method": "max_taker_vol",
        "userpass": ""
    },
    {
        "coin": "LTC",
        "method": "max_taker_vol",
        "userpass": ""
    },
    {
        "coin": "RICK",
        "method": "min_trading_vol",
        "userpass": ""
    },
    {
        "coin": "LTC",
        "method": "min_trading_vol",
        "userpass": ""
    }
]
[12:43:07] [error] [main.prerequisites.hpp:113] [882835]: stacktrace:  0# signal_handler(int) in /Users/syl/atomicDEX-Desktop/build/bin/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 1# _sigtramp in /usr/lib/system/libsystem_platform.dylib

[12:43:07] [error] [main.prerequisites.hpp:107] [882697]: sigabort received, cleaning mm2
No matching processes belonging to you were found
smk762 commented 1 year ago

another - https://pastebin.com/BgQKn90k

cipig commented 1 year ago

i just had a crash too... pro view, after starting a swap... idk if same as this though... the logs:

[13:39:37] [info] [rpc.best.orders.cpp:34] [2931792]: getting bestorders data...
[13:39:39] [warning] [main.prerequisites.hpp:93] [2931792]: Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
[13:39:42] [info] [rpc.buy.cpp:72] [2931792]: The order is picked from the orderbook price: {
    "denom": "200000000000",
    "numer": "6723259762309"
}, volume: {
    "denom": "100000000",
    "numer": "1614827"
}
[13:39:42] [info] [qt.orders.proxy.model.cpp:266] [2931792]: filter pattern: All/All, is_history: true
[13:39:42] [info] [qt.orders.proxy.model.cpp:117] [2931792]: order mode enabled
[13:39:42] [warning] [qt.trading.page.cpp:908] [2931813]: last_trading_error is PriceFieldNotFilled
[13:39:42] [warning] [qt.trading.page.cpp:911] [2931813]: last_trading_error is VolumeFieldNotFilled
[13:39:42] [error] [safe.float.cpp:27] [2931792]: exception caught when creating a floating point number: Unable to parse the string "" as a floating point value.
[13:39:42] [info] [qt.trading.page.cpp:899] [2931813]: last_trading_error is None
[13:39:42] [error] [main.prerequisites.hpp:107] [2931792]: sigabort received, cleaning mm2
[13:39:42] [warning] [qt.trading.page.cpp:911] [2931813]: last_trading_error is VolumeFieldNotFilled
[13:39:42] [error] [mm2.service.cpp:2540] [2931805]: pplx task error: Failed to read HTTP status line from: batch_fetch_orders_and_swap, request: [
    {
        "method": "my_orders",
        "userpass": ""
    },
    {
        "from_timestamp": 1546300800,
        "limit": 50,
        "method": "my_recent_swaps",
        "page_number": 1,
        "to_timestamp": 1672531200,
        "userpass": ""
    },
    {
        "method": "active_swaps",
        "statuses": true,
        "userpass": ""
    }
]
[13:39:42] [error] [mm2.service.cpp:2540] [2931795]: pplx task error: Failed to read HTTP status line from: batch_fetch_orders_and_swap, request: [
    {
        "method": "my_orders",
        "userpass": ""
    },
    {
        "from_timestamp": 1546300800,
        "limit": 50,
        "method": "my_recent_swaps",
        "page_number": 1,
        "to_timestamp": 1672531200,
        "userpass": ""
    },
    {
        "method": "active_swaps",
        "statuses": true,
        "userpass": ""
    }
]
[13:39:42] [error] [mm2.service.cpp:2540] [2931831]: pplx task error: Failed to read HTTP status line from: batch_fetch_orders_and_swap, request: [
    {
        "method": "my_orders",
        "userpass": ""
    },
    {
        "from_timestamp": 1546300800,
        "limit": 50,
        "method": "my_recent_swaps",
        "page_number": 1,
        "to_timestamp": 1672531200,
        "userpass": ""
    },
    {
        "method": "active_swaps",
        "statuses": true,
        "userpass": ""
    }
]
[13:39:43] [error] [main.prerequisites.hpp:113] [2931792]: stacktrace:  0# signal_handler(int) at main.cpp:?
 1# 0x00007FDF54E63D60 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00007FDF54F8C4B7 in /lib/x86_64-linux-gnu/libc.so.6
 3# atomic_dex::orderbook_model::refresh_orderbook(std::vector<atomic_dex::mm2::order_contents, std::allocator<atomic_dex::mm2::order_contents> > const&) in AntaraAtomicDexAppDir/usr/bin/atomicdex-desktop
 4# atomic_dex::qt_orderbook_wrapper::refresh_orderbook(atomic_dex::mm2::orderbook_answer) in AntaraAtomicDexAppDir/usr/bin/atomicdex-desktop
 5# atomic_dex::trading_page::process_action() in AntaraAtomicDexAppDir/usr/bin/atomicdex-desktop
 6# atomic_dex::application::tick() in AntaraAtomicDexAppDir/usr/bin/atomicdex-desktop
 7# 0x00007FDF568D5F30 in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
 8# QTimer::timeout(QTimer::QPrivateSignal) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
 9# QTimer::timerEvent(QTimerEvent*) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
10# QObject::event(QEvent*) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
11# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Widgets.so.5
12# QApplication::notify(QObject*, QEvent*) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Widgets.so.5
13# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
14# QTimerInfoList::activateTimers() in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
15# 0x00007FDF568F8E99 in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
16# g_main_context_dispatch in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
17# 0x00007FDF58323118 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
18# g_main_context_iteration in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
19# QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
20# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
21# QCoreApplication::exec() in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
22# run_app(int, char**) in AntaraAtomicDexAppDir/usr/bin/atomicdex-desktop
23# main in AntaraAtomicDexAppDir/usr/bin/atomicdex-desktop
24# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
25# _start in AntaraAtomicDexAppDir/usr/bin/atomicdex-desktop

[13:39:44] [error] [main.prerequisites.hpp:107] [2931856]: sigabort received, cleaning mm2
mm2: no process found
pure virtual method called
terminate called without an active exception

restarted ADEX and started the same swap... and it worked

smk762 commented 1 year ago

On branch runner_update Just got one on pro. Dex had been open for a while, placed an order in pro view, then selected a second order with the same pair and placed another order soon after. second order confirmation window froze for a bit, then crash.

When logging in again, second order had been placed (but reverted to maker order in the time between crash and relaunch)

notable sections of logs: [01:31:51] [warning] [qt.orderbook.proxy.model.cpp:40] [301967]: one of the index is invalid - skipping -> role: 267

10# operator() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/models/qt.orderbook.model.cpp:541
11# atomic_dex::orderbook_model::refresh_orderbook(std::vector<atomic_dex::mm2::order_contents, std::allocator<atomic_dex::mm2::order_contents> > const&) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/models/qt.orderbook.model.cpp:557
12# atomic_dex::qt_orderbook_wrapper::refresh_orderbook(atomic_dex::mm2::orderbook_answer) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/pages/widgets/dex/qt.orderbook.cpp:100
13# atomic_dex::trading_page::process_action() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/pages/qt.trading.page.cpp:488

Full logs at crash

[01:31:51] [warning] [qt.trading.page.cpp:911] [302007]: last_trading_error is VolumeFieldNotFilled
[01:31:51] [warning] [qt.orderbook.proxy.model.cpp:40] [301967]: one of the index is invalid - skipping -> role: 267
[01:31:51] [error] [main.prerequisites.hpp:107] [301967]: sigabort received, cleaning mm2
[01:31:51] [info] [qt.trading.page.cpp:899] [302007]: last_trading_error is None
[01:31:51] [debug] [qt.trading.page.cpp:1513] [302007]: reset_fees
[01:31:51] [warning] [qt.trading.page.cpp:911] [302007]: last_trading_error is VolumeFieldNotFilled
[01:31:51] [error] [mm2.service.cpp:2501] [301986]: pplx task error: Failed to read HTTP status line from: process_orderbook, request: [
    {
        "method": "orderbook",
        "mmrpc": "2.0",
        "params": {
            "base": "KMD",
            "rel": "LTC"
        },
        "userpass": ""
    },
    {
        "coin": "KMD",
        "method": "max_taker_vol",
        "userpass": ""
    },
    {
        "coin": "LTC",
        "method": "max_taker_vol",
        "userpass": ""
    },
    {
        "coin": "KMD",
        "method": "min_trading_vol",
        "userpass": ""
    },
    {
        "coin": "LTC",
        "method": "min_trading_vol",
        "userpass": ""
    }
]
[01:31:51] [error] [mm2.service.cpp:2501] [301972]: pplx task error: Failed to read HTTP status line from: batch_fetch_orders_and_swap, request: [
    {
        "method": "my_orders",
        "userpass": ""
    },
    {
        "from_timestamp": 1546272000,
        "limit": 50,
        "method": "my_recent_swaps",
        "page_number": 1,
        "to_timestamp": 1672848000,
        "userpass": ""
    },
    {
        "method": "active_swaps",
        "statuses": true,
        "userpass": ""
    }
]
[01:32:03] [error] [main.prerequisites.hpp:113] [301967]: stacktrace:  0# boost::stacktrace::safe_dump_to(char const*) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../ci_tools_atomic_dex/vcpkg-repo/installed/x64-linux/include/boost/stacktrace/safe_dump_to.hpp:124
 1# 0x00007F68C420D090 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00007F68C43558F5 in /lib/x86_64-linux-gnu/libc.so.6
 3# std::char_traits<char>::copy(char*, char const*, unsigned long) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/char_traits.h:409
 4# std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy(char*, char const*, unsigned long) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:352
 5# std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy_chars(char*, char*, char*) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:393
 6# void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.tcc:225
 7# void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct_aux<char*>(char*, char*, std::__false_type) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:248
 8# void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:267
 9# std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:451
10# operator() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/models/qt.orderbook.model.cpp:541
11# atomic_dex::orderbook_model::refresh_orderbook(std::vector<atomic_dex::mm2::order_contents, std::allocator<atomic_dex::mm2::order_contents> > const&) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/models/qt.orderbook.model.cpp:557
12# atomic_dex::qt_orderbook_wrapper::refresh_orderbook(atomic_dex::mm2::orderbook_answer) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/pages/widgets/dex/qt.orderbook.cpp:100
13# atomic_dex::trading_page::process_action() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/pages/qt.trading.page.cpp:488
14# atomic_dex::application::tick() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/app/app.cpp:?
15# QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (atomic_dex::application::*)()>::call(void (atomic_dex::application::*)(), atomic_dex::application*, void**) at /home/smk762/Qt/5.15.2/5.15.2/gcc_64/include/QtCore/qobjectdefs_impl.h:152
16# void QtPrivate::FunctionPointer<void (atomic_dex::application::*)()>::call<QtPrivate::List<>, void>(void (atomic_dex::application::*)(), atomic_dex::application*, void**) at /home/smk762/Qt/5.15.2/5.15.2/gcc_64/include/QtCore/qobjectdefs_impl.h:186
17# QtPrivate::QSlotObject<void (atomic_dex::application::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) at /home/smk762/Qt/5.15.2/5.15.2/gcc_64/include/QtCore/qobjectdefs_impl.h:419
18# 0x00007F68C590AF30 in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
19# QTimer::timeout(QTimer::QPrivateSignal) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
20# QTimer::timerEvent(QTimerEvent*) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
21# QObject::event(QEvent*) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
22# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Widgets.so.5
23# QApplication::notify(QObject*, QEvent*) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Widgets.so.5
24# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
25# QTimerInfoList::activateTimers() in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
26# 0x00007F68C592DE99 in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
27# g_main_context_dispatch in /lib/x86_64-linux-gnu/libglib-2.0.so.0
28# 0x00007F68C10D0400 in /lib/x86_64-linux-gnu/libglib-2.0.so.0
29# g_main_context_iteration in /lib/x86_64-linux-gnu/libglib-2.0.so.0
30# QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
31# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
32# QCoreApplication::exec() in /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/bin/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Core.so.5
33# run_app(int, char**) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/app/main.prerequisites.hpp:517
34# main at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/app/main.cpp:38
35# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
36# _start in ./atomicdex-desktop

terminate called after throwing an instance of 'spdlog::spdlog_ex'
  what():  async log: thread pool doesn't exist anymore
terminate called recursively
terminate called recursively
...
terminate called recursively
terminate called recursively
Segmentation fault (core dumped)
smk762 commented 1 year ago

Another one:

[17:09:31] [debug] [transactions_model.cpp:220] [448155]: transactions model size: 62
[17:09:31] [info] [rpc.best.orders.cpp:34] [448131]: getting bestorders data...
[17:09:31] [debug] [qt.trading.page.cpp:774] [448140]: available_quantity_order: xxxx, max_volume: xxxx, max_taker_vol: xxxx
[17:09:31] [debug] [qt.trading.page.cpp:379] [448151]: order successfully placed, refreshing orders and swap
[17:09:31] [debug] [qt.trading.page.cpp:666] [448151]: clearing forms : place_sell_order
[17:09:31] [warning] [qt.trading.page.cpp:633] [448151]: releasing preferred order because price has been modified
[17:09:31] [debug] [qt.trading.page.cpp:1099] [448151]: total_amount is [0]
[17:09:31] [warning] [qt.trading.page.cpp:908] [448151]: last_trading_error is PriceFieldNotFilled
[17:09:31] [debug] [qt.trading.page.cpp:742] [448151]: max_volume is [0]
[17:09:31] [debug] [qt.trading.page.cpp:719] [448151]: volume is : [0]
[17:09:31] [warning] [qt.trading.page.cpp:911] [448151]: last_trading_error is VolumeFieldNotFilled
[17:09:31] [info] [qt.trading.page.cpp:899] [448151]: last_trading_error is None
[17:09:31] [debug] [qt.trading.page.cpp:1530] [448151]: reset_fees
[17:09:31] [error] [main.prerequisites.hpp:107] [448131]: sigabort received, cleaning mm2
[17:09:31] [warning] [qt.trading.page.cpp:911] [448151]: last_trading_error is VolumeFieldNotFilled
[17:09:31] [error] [orderbook.scanner.service.cpp:98] [448171]: pplx task error: Failed to read HTTP status line
[17:09:31] [error] [mm2.service.cpp:2501] [448164]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "AVAX",
        "method": "my_balance",
        "userpass": ""
    }
]
[17:09:31] [debug] [qt.trading.page.cpp:742] [448171]: max_volume is [44008.59164036]
[17:09:31] [error] [mm2.service.cpp:2501] [448167]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "FTM",
        "method": "my_balance",
        "userpass": ""
    }
]
[17:09:31] [error] [mm2.service.cpp:2501] [448153]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "COMP-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[17:09:44] [error] [main.prerequisites.hpp:113] [448131]: stacktrace:  0# boost::stacktrace::safe_dump_to(char const*) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../ci_tools_atomic_dex/vcpkg-repo/installed/x64-linux/include/boost/stacktrace/safe_dump_to.hpp:124
 1# 0x00007F6BBDEFC090 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00007F6BBE0448F5 in /lib/x86_64-linux-gnu/libc.so.6
 3# std::char_traits<char>::copy(char*, char const*, unsigned long) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/char_traits.h:409
 4# std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy(char*, char const*, unsigned long) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:352
 5# std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy_chars(char*, char*, char*) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:393
 6# void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.tcc:225
 7# void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct_aux<char*>(char*, char*, std::__false_type) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:248
 8# void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:267
 9# std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:451
10# operator() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/models/qt.orderbook.model.cpp:541
11# atomic_dex::orderbook_model::refresh_orderbook(std::vector<atomic_dex::mm2::order_contents, std::allocator<atomic_dex::mm2::order_contents> > const&) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/models/qt.orderbook.model.cpp:557
12# atomic_dex::qt_orderbook_wrapper::refresh_orderbook(atomic_dex::mm2::orderbook_answer) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/pages/widgets/dex/qt.orderbook.cpp:100
13# atomic_dex::trading_page::process_action() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/core/atomicdex/pages/qt.trading.page.cpp:488
14# atomic_dex::application::tick() at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/app/app.cpp:?
15# QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (atomic_dex::application::*)()>::call(void (atomic_dex::application::*)(), atomic_dex::application*, void**) at /home/smk762/Qt/5.15.2/5.15.2/gcc_64/include/QtCore/qobjectdefs_impl.h:152
16# void QtPrivate::FunctionPointer<void (atomic_dex::application::*)()>::call<QtPrivate::List<>, void>(void (atomic_dex::application::*)(), atomic_dex::application*, void**) at /home/smk762/Qt/5.15.2/5.15.2/gcc_64/include/QtCore/qobjectdefs_impl.h:186
17# QtPrivate::QSlotObject<void (atomic_dex::application::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) at /home/smk762/Qt/5.15.2/5.15.2/gcc_64/include/QtCore/qobjectdefs_impl.h:419
18# 0x00007F6BBF5F7F30 in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
19# QTimer::timeout(QTimer::QPrivateSignal) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
20# QTimer::timerEvent(QTimerEvent*) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
21# QObject::event(QEvent*) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
22# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Widgets.so.5
23# QApplication::notify(QObject*, QEvent*) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Widgets.so.5
24# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
25# QTimerInfoList::activateTimers() in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
26# 0x00007F6BBF61AE99 in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
27# g_main_context_dispatch in /lib/x86_64-linux-gnu/libglib-2.0.so.0
28# 0x00007F6BBADDC400 in /lib/x86_64-linux-gnu/libglib-2.0.so.0
29# g_main_context_iteration in /lib/x86_64-linux-gnu/libglib-2.0.so.0
30# QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
31# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
32# QCoreApplication::exec() in /home/smk762/Qt/5.15.2/5.15.2/gcc_64/lib/libQt5Core.so.5
33# run_app(int, char**) at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/app/main.prerequisites.hpp:517
34# main at /home/smk762/GITHUB/KP/atomicDEX-Desktop/build/../src/app/main.cpp:38
35# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
36# _start in ./atomicdex-desktop

[17:09:44] [error] [main.prerequisites.hpp:107] [448204]: sigabort received, cleaning mm2
mm2: no process found
SirSevenG commented 1 year ago

Got other crash on pro view:

[14:14:55] [debug] [qt.trading.page.cpp:157] [997605]: max_volume: 4.48809356 volume: 0.021 order_volume: 51487.09462312, order_volume_8_digit: 51487.09462312, order_volume_8_digit_extracted: 51487.09462312
[14:14:55] [debug] [qt.trading.page.cpp:200] [997605]: Selected order, but changing manually the volume, use input_volume
[14:14:55] [info] [rpc.buy.cpp:72] [997605]: The order is picked from the orderbook price: {
    "denom": "1",
    "numer": "2"
}, volume: "0.021"
[14:14:55] [debug] [qt.trading.page.cpp:212] [997605]: buy_request is : {
    "base": "LTC",
    "base_confs": 2,
    "method": "buy",
    "price": {
        "denom": "1",
        "numer": "2"
    },
    "rel": "MORTY",
    "userpass": "*******",
    "volume": "0.021"
}
[14:14:55] [info] [qt.orders.proxy.model.cpp:112] [997605]: history mode enabled
[14:14:55] [info] [qt.orders.proxy.model.cpp:266] [997605]: filter pattern: All/All, is_history: true
[14:14:55] [debug] [qt.orders.model.cpp:612] [997605]: resetting orders, will be emitted
[14:14:55] [debug] [qt.orders.model.cpp:622] [997605]: clearing orders in backend reset
[14:14:55] [info] [qt.orders.proxy.model.cpp:117] [997605]: order mode enabled
[14:14:55] [debug] [qt.trading.page.cpp:1262] [997605]: [trading_page::determine_error_cases] trigger: reset_fees
[14:14:55] [debug] [qt.trading.page.cpp:484] [997605]: [trading_actions::post_process_orderbook_finished]
[14:14:55] [warning] [qt.orderbook.cpp:85] [997605]: [qt_orderbook_wrapper::refresh_orderbook] trigger: process_trading_actions
[14:14:55] [debug] [qt.trading.page.cpp:224] [1004499]: order successfully placed, refreshing orders and swap
[14:14:55] [debug] [qt.trading.page.cpp:678] [1004499]: [trading_page::clear_forms] trigger: place_buy_order
[14:14:55] [debug] [qt.trading.page.cpp:757] [1004499]: set_max_volume to: [4.48809356]
[14:14:55] [debug] [qt.trading.page.cpp:884] [1004499]: [trading_page::cap_volume] trigger: update_volume
[14:14:55] [debug] [qt.trading.page.cpp:721] [1004499]: [trading_page::update_volume] volume: 0, trigger: volume under cap
[14:14:55] [debug] [qt.trading.page.cpp:1098] [1004499]: trading_page::set_total_amount()
[14:14:55] [debug] [qt.trading.page.cpp:721] [1004499]: [trading_page::update_volume] volume: 0, trigger: clear_forms
[14:14:55] [debug] [qt.trading.page.cpp:1262] [1004499]: [trading_page::determine_error_cases] trigger: determine_total_amount
[14:14:55] [warning] [qt.trading.page.cpp:926] [1004499]: last_trading_error is VolumeFieldNotFilled
[14:14:55] [debug] [qt.trading.page.cpp:1102] [1004499]: total_amount is [0]
[14:14:55] [error] [main.prerequisites.hpp:107] [1004499]: sigabort received, cleaning mm2
[14:14:55] [error] [main.prerequisites.hpp:113] [1004499]: stacktrace: 
[14:14:55] [error] [main.prerequisites.hpp:107] [1004942]: sigabort received, cleaning mm2
[14:14:55] [warning] [main.prerequisites.hpp:93] [1004499]: QObject::~QObject: Timers cannot be stopped from another thread
[14:14:55] [error] [main.prerequisites.hpp:113] [1004942]: stacktrace: 

Sadly backtrace is cut off, not written in logs. Fun part:

buy_request is : {
    "base": "LTC",

Was a Zombie - Morty swap. During Zombie activation tried to actively swap it with MORTY. Was able to start swap on 96%. Got crash on supposed matching.

smk762 commented 1 year ago

thanks, that is an interesting case to look into.

smk762 commented 10 months ago

closing as obsolete