Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR]: Review / refactor update loop #2002

Closed
smk762 opened this issue Oct 12, 2022 · 15 comments
Closed

[FR]: Review / refactor update loop #2002

smk762 opened this issue Oct 12, 2022 · 15 comments
Labels
backend bug Something isn't working next iteration to not forget to include it P1 Major issue needs to be fixed

Comments

@smk762
Copy link
Collaborator

smk762 commented Oct 12, 2022

There have been some reports of app crash at the heavier levels of use (lots of coins selected, lots of orders). To make things a bit smoother, we should be a bit more selective with what we are updating, and spread it out a bit so there isnt a large burst or update requests each cycle.

Examples:

  • [BUG]: app fetches tx_history of last coin in wallet even when on portfolio page #1999
  • Once transactions cache has been sync'd, don't do a tx_history request unless a balance change is detected.
  • If a batch request contains greater than "x" items, split it into smaller parts, and add some small (non-blocking) delay between each sub-batch request.
  • only perform the subset of requests within the batch which are relevant to the current page / action.

Maybe a good starting point is a diagram to visualise the event loop so we can further optimise it by prioritising items and refresh frequency categories (we already do this a little, but can expand it).

In some places, there is a suboptimal delay getting info which impacts UX, like when you see orderbook say you dont have enough funds for a second until it refreshes balance.

@cipig
Copy link
Member

cipig commented Oct 12, 2022

i had 3 crashes in the last 2h or so... here is the last one:

[13:53:46] [info] [mm2.service.cpp:1655] [1543874]: fetch_infos_thread
[13:53:46] [warning] [orderbook.scanner.service.cpp:106] [1543874]: MM2 Service not launched yet - skipping
[13:53:46] [info] [komodo.prices.provider.cpp:35] [1543874]: komodo price service tick loop
[13:53:46] [info] [komodo.prices.cpp:82] [1543874]: url: https://myprice.cipig.net:1717/api/v2/tickers?expire_at=21600
[13:53:46] [info] [komodo.prices.provider.cpp:48] [1543914]: komodo price registry size: 238
[13:53:46] [debug] [app.cpp:684] [1543914]: on_fiat_rate_updated
[13:53:46] [info] [qt.portfolio.page.cpp:103] [1543914]: Updating portfolio values with model: true
[13:53:46] [info] [qt.portfolio.model.cpp:106] [1543914]: update_currency_values
[13:53:46] [error] [main.prerequisites.hpp:107] [1543874]: sigabort received, cleaning mm2
[13:53:46] [error] [mm2.service.cpp:2516] [1543878]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "CDN",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "XSGD-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "GMX-AVX20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543899]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "USDC-FTM20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JCHF-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "TRYB-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543899]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "QNT-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "UNI-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "LDO-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JST-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "BAL-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543899]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "KCS",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JPYC-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JGBP-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543899]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "USDT-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SOL-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SNX-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "MANA-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "DAI-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ADA-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SHIB-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "INJ-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ENJ-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "QKC-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ADX-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "KNC-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ETH-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "EGLD-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "PPC-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "PGX-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "EURS-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ONE",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SAND-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SCA",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "TRX-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "NEAR-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "BTE",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "NZDS-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "CRO-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "LINK-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "OCEAN-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "CHZ-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "AAVE-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ATOM-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ZIL-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "BAT-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "1INCH-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ELF-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "KSM-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "BIDR-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "IOTX-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "VITE-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "AVAX",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "NEXO-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "CLC",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JJPY-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "CADC-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "COMP-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ETH-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "GALA-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "USDC-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543888]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "YFI-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543894]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "HEX-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "PAXG-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543876]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "FLUX-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543912]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SMTF-v2",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543885]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "USDT-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543899]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ETC",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543908]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "WOO-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543882]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "LOOM-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543900]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "BUSD-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [mm2.service.cpp:2516] [1543887]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "USDT-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[13:53:46] [error] [main.prerequisites.hpp:113] [1543874]: stacktrace:  0# signal_handler(int) at main.cpp:?
 1# 0x00007F0BCE330D60 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00007F0BD0D73023 in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 3# QV4::ExecutionEngine::newStringObject(QV4::String const*) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 4# QV4::RuntimeHelpers::convertToObject(QV4::ExecutionEngine*, QV4::Value const&) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 5# QV4::Value::toObject(QV4::ExecutionEngine*, QV4::Value) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 6# QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 7# 0x00007F0B3404D201

@ghost ghost added the P1 Major issue needs to be fixed label Oct 12, 2022
@cipig
Copy link
Member

cipig commented Oct 12, 2022

here is another one, from earlier today:

[12:13:38] [info] [mm2.service.cpp:1655] [1525052]: fetch_infos_thread
[12:13:38] [warning] [orderbook.scanner.service.cpp:106] [1525052]: MM2 Service not launched yet - skipping
[12:13:38] [info] [komodo.prices.provider.cpp:35] [1525052]: komodo price service tick loop
[12:13:38] [info] [komodo.prices.cpp:82] [1525052]: url: https://myprice.cipig.net:1717/api/v2/tickers?expire_at=21600
[12:13:38] [info] [komodo.prices.provider.cpp:48] [1525071]: komodo price registry size: 238
[12:13:38] [debug] [app.cpp:684] [1525071]: on_fiat_rate_updated
[12:13:38] [info] [qt.portfolio.page.cpp:103] [1525071]: Updating portfolio values with model: true
[12:13:38] [info] [qt.portfolio.model.cpp:106] [1525071]: update_currency_values
[12:13:42] [error] [main.prerequisites.hpp:107] [1525052]: sigabort received, cleaning mm2
[12:13:43] [error] [main.prerequisites.hpp:113] [1525052]: stacktrace:  0# signal_handler(int) at main.cpp:?
 1# 0x00007F27D6862D60 in /lib/x86_64-linux-gnu/libc.so.6
 2# QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 3# 0x00007F2780315201

they all happen after [info] [mm2.service.cpp:1655] [1525052]: fetch_infos_thread

@tonymorony tonymorony added P0 Blocker / critical defect 0.5.7 and removed P1 Major issue needs to be fixed labels Oct 12, 2022
@tonymorony
Copy link

tonymorony commented Oct 12, 2022

@SylEze these crashes doesn't looks good at all, please pause all current non-critical refactoring and switch exclusively to this problem until app stops crashing

@tonymorony tonymorony assigned ghost Oct 12, 2022
@tonymorony tonymorony added the bug Something isn't working label Oct 12, 2022
@cipig
Copy link
Member

cipig commented Oct 13, 2022

sometimes it also happens that app looses connection to mm2, it shows no orderbook any more and no other operations involving mm2 work... app still runs, shows prices and stuff... and mm2 also still runs and finishes running swaps without problem... but the entire communication between app and mm2 is gone... no errors in either app or mm2 log

@cipig
Copy link
Member

cipig commented Oct 13, 2022

not sure if related, but i had a crash after clicking on buy to place an order/start a swap

[13:49:16] [info] [qt.trading.page.cpp:195] [1802207]: Selected order, but changing manually the volume, use input_volume
[13:49:16] [info] [qt.orders.proxy.model.cpp:112] [1802207]: history mode enabled
[13:49:16] [info] [qt.orders.proxy.model.cpp:266] [1802207]: filter pattern: All/All, is_history: true
[13:49:16] [debug] [qt.orders.model.cpp:609] [1802207]: resetting orders, will be emitted
[13:49:16] [debug] [qt.orders.model.cpp:619] [1802207]: clearing orders in backend reset
[13:49:16] [info] [qt.orders.proxy.model.cpp:117] [1802207]: order mode enabled
[13:49:16] [debug] [qt.trading.page.cpp:219] [1802215]: order successfully placed, refreshing orders and swap
[13:49:16] [info] [qt.trading.page.cpp:667] [1802215]: clearing forms : place_buy_order
[13:49:16] [warning] [qt.trading.page.cpp:634] [1802215]: releasing preferred order because price has been modified
[13:49:16] [debug] [qt.trading.page.cpp:748] [1802215]: max_volume is [0]
[13:49:16] [debug] [qt.trading.page.cpp:1096] [1802215]: total_amount is [0]
[13:49:16] [warning] [qt.trading.page.cpp:914] [1802215]: last_trading_error is PriceFieldNotFilled
[13:49:16] [info] [qt.trading.page.cpp:721] [1802215]: volume is : [0]
[13:49:16] [warning] [qt.trading.page.cpp:917] [1802215]: last_trading_error is VolumeFieldNotFilled
[13:49:16] [error] [safe.float.cpp:27] [1802207]: exception caught when creating a floating point number: Unable to parse the string "" as a floating point value.
[13:49:16] [error] [safe.float.cpp:27] [1802207]: exception caught when creating a floating point number: Unable to parse the string "" as a floating point value.
[13:49:16] [info] [qt.trading.page.cpp:1175] [1802215]: get_volume().toStdString(): 0
[13:49:16] [info] [qt.trading.page.cpp:1189] [1802215]: trade_preimage request: {"base":"LTC","method":"trade_preimage","price":"0","rel":"KMD","swap_method":"buy","userpass":"******","volume":"0.0001"}
[13:49:16] [info] [qt.trading.page.cpp:905] [1802215]: last_trading_error is None
[13:49:16] [info] [qt.trading.page.cpp:1516] [1802215]: reset_fees
[13:49:16] [warning] [qt.trading.page.cpp:917] [1802215]: last_trading_error is VolumeFieldNotFilled
[13:49:16] [error] [main.prerequisites.hpp:107] [1802207]: sigabort received, cleaning mm2
[13:49:16] [error] [cpprestsdk.utilities.cpp:51] [1802216]: pplx task error: Failed to read HTTP status line
[13:49:16] [error] [mm2.service.cpp:2516] [1802222]: 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": 1668211200,
        "userpass": ""
    },
    {
        "method": "active_swaps",
        "statuses": true,
        "userpass": ""
    }
]
[13:49:17] [error] [main.prerequisites.hpp:113] [1802207]: stacktrace:  0# signal_handler(int) at main.cpp:?
 1# 0x00007FC9139D2D60 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00007FC913AF9D74 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# 0x00007FC915087F30 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# 0x00007FC9150AAE99 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# 0x00007FC910882118 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

pure virtual method called
terminate called without an active exception

@smk762
Copy link
Collaborator Author

smk762 commented Oct 13, 2022

@cipig can you pls try running app, then doing pkill -9 mm2 in CLI to see if it initiates the crash soon after?

@cipig
Copy link
Member

cipig commented Oct 13, 2022

will try after swaps finish
but a dying mm2 was not the problem, it never died in the past, was always running

@cipig
Copy link
Member

cipig commented Oct 13, 2022

if i kill mm2, app does not crash, it shows this screen, which i have never seen before :-)
image
and spams the console with errors like (for different calls to mm2)

[14:06:05] [error] [mm2.service.cpp:2516] [1817132]: pplx task error: Failed to connect to any resolved endpoint from: fetch_single_balance, request: [
    {
        "coin": "WOO-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[14:06:05] [error] [mm2.service.cpp:2516] [1817144]: pplx task error: Failed to connect to any resolved endpoint from: batch_balance_and_tx, request: [
    {
        "coin": "KMD",
        "limit": 5000,
        "method": "my_tx_history",
        "userpass": ""
    }
]

@smk762
Copy link
Collaborator Author

smk762 commented Oct 13, 2022

ok - that's expected behaviour, tho it could be improved (like returning to login screen after "x" time)

@ghost
Copy link

ghost commented Oct 13, 2022

Please test on this pr @cipig it might provide more logs
#2008

@ghost
Copy link

ghost commented Oct 13, 2022

And please can someone who succeeds in making the application crash can test at this commit 🙏 ? (it's before tx history rework and slp tokens merge)
88ce3e6

@smk762
Copy link
Collaborator Author

smk762 commented Oct 14, 2022

Cipi's OS is Debian 11

To test:

  • start ADEX and enable as many coins as possible (ideally with some balance and long tx history)
  • go to wallet page of one of the coins (preferably one with a long list of txes and EVM coin... so it gets the tx_history from komodolive)
  • switch back to Portfolio or DEX and leave it running for couple hours

@cipig
Copy link
Member

cipig commented Oct 15, 2022

This time i had the app running for > 24h without problems, but in the end it crashed. The log:

[20:49:24] [info] [internet.checker.service.cpp:173] [2403267]: mm2 is alive, checking if ware able to fetch a simple orderbook
[20:49:24] [info] [internet.checker.service.cpp:130] [2403303]: Connectivity is true for the endpoint: http://127.0.0.1:7783
[20:49:32] [info] [mm2.service.cpp:1655] [2403267]: fetch_infos_thread
[20:49:32] [info] [mm2.service.cpp:1664] [2403267]: fetch_infos_thread not only tx start
[20:49:32] [info] [mm2.service.cpp:1668] [2403267]: fetch_infos_thread not only tx end
[20:49:32] [warning] [orderbook.scanner.service.cpp:106] [2403267]: MM2 Service not launched yet - skipping
[20:49:32] [info] [komodo.prices.provider.cpp:35] [2403267]: komodo price service tick loop
[20:49:32] [info] [komodo.prices.cpp:82] [2403267]: url: https://myprice.cipig.net:1717/api/v2/tickers?expire_at=21600
[20:49:32] [info] [komodo.prices.provider.cpp:48] [2403274]: komodo price registry size: 239
[20:49:32] [debug] [app.cpp:684] [2403274]: on_fiat_rate_updated
[20:49:32] [info] [qt.portfolio.page.cpp:103] [2403274]: Updating portfolio values with model: true
[20:49:32] [info] [qt.portfolio.model.cpp:106] [2403274]: update_currency_values
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: USDT-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: USDT-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: BAL-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: SMTF-v2
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: UNI-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: SNX-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: WOO-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: SUSHI-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: INJ-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: BUSD-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: ENJ-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: QKC-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: ADA-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: PPC-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: PGX-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: APE-FTM20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: XLM-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: NEAR-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: SAND-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: MKR-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: GMX-AVX20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: ONT-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: MIR-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: USDC-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: ONE
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: BRZ-AVX20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: KCS
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: JGBP-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: WAVES-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: JPYC-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: QNT-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: XRP-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: FET-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: ARPA-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: CELR-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: GMT-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: DODO-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: GLM-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: CHTA
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: CRV-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: PND
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: XMY
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: NYAN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: CHIPS
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: BNB
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: UNO
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: NAV
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: ABY
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: LCC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: ACTN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: CHZ-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: DOI
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: BSTY
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: XEC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: NAV-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: SXP-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: TEL-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: BLK
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: XSGD-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: BTCZ-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: SYS
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: MANA-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: MCL
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: CRO-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: BLK-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: PRUX
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: NZDS-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: RTM
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: BTX
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: CAKE
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: MOVR
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: LINK-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: TRYB-AVX20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: SOL-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: DP
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: HEX-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: DASH
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: ZIL-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: LDO-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: DGB
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: DIMI
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: GRS
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: MATIC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: LYNX
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: KMD-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: AVN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: ETC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: VAL
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: COMP-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: VRSC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: ECA
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: SCA
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: USDC-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: RUNES
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: GLEEC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: OCEAN-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: FJC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: KMD
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: FTC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: SFUSD
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: EMC2
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: EURS-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: BTCZ
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: IL8P
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: ZET
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: LNC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: CDN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: TRX-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: BRZ-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: AAVE-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: DAI-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: AXE
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: DGC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: EFL
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: WHIVE
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: ANKR-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: LOOM-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: PPC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: FLOW-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: CLC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: TRYB-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: ZER
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: JEUR-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: NMC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: SHIB-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: LBC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: BTC-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: KSM-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: NENG
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: AXS-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: DEX
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: ILN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: UIS
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: PAXG-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: VRM
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: AUR
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: JST-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: IOTA-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: SPACE
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: KOIN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: BTE
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: MONA
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: FIRO
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: XVC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: RVN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: EOS-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: BNT-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: QC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: WCN
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: QTUM
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: EGLD-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: USDT-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: THC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: VET-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: LTC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: JJPY-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: JCHF-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: SUPERNET
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: TRC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: TKL
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: BAT-KRC20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: GLMR
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: XVS
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: XTZ-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: FIL-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: GRT-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: ETH
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: FTM
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: FLUX-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: ETH-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: KNC-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: CADC-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: YFI-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: XRG
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: ZEC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: USDC-FTM20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: ETH-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: NEXO-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: FLUX
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500393]: updated currency values of: ATOM-PLG20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500399]: updated currency values of: VITE-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500397]: updated currency values of: BIDR-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: DOGE
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: GALA-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: LRC-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: ADX-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: DOT-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: IOTX-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: AVAX
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: BTC
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500395]: updated currency values of: BTTC-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500400]: updated currency values of: BCH
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500398]: updated currency values of: BAND-FTM20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500394]: updated currency values of: ELF-BEP20
[20:49:32] [debug] [qt.portfolio.model.cpp:157] [2500396]: updated currency values of: 1INCH-PLG20
[20:49:35] [error] [main.prerequisites.hpp:107] [2403267]: sigabort received, cleaning mm2
[20:49:35] [error] [mm2.service.cpp:2520] [2403281]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SHIB-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403292]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SNX-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403302]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SMTF-v2",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403284]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "USDT-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403285]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "PPC-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403294]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ADA-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403295]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "XLM-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403268]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "VET-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403287]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "NEAR-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403277]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SAND-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403276]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "SXP-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403269]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "USDC-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403271]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "QNT-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403275]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "KMD-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403273]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "INJ-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403291]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "MIR-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403304]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "BRZ-AVX20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403283]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "PGX-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403299]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ONT-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403288]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "QKC-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403304]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "KCS",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403299]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "XRP-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403283]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JGBP-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403304]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "MKR-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403275]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JST-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403299]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ONE",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403304]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "NAV-BEP20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403283]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "MOVR",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403281]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "ENJ-KRC20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [mm2.service.cpp:2520] [2403275]: pplx task error: Failed to read HTTP status line from: fetch_single_balance, request: [
    {
        "coin": "JPYC-PLG20",
        "method": "my_balance",
        "userpass": ""
    }
]
[20:49:35] [error] [main.prerequisites.hpp:113] [2403267]: stacktrace:  0# signal_handler(int) at main.cpp:?
 1# 0x00007F18C7057D60 in /lib/x86_64-linux-gnu/libc.so.6
 2# 0x00007F18C9A9A023 in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 3# QV4::ExecutionEngine::newStringObject(QV4::String const*) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 4# QV4::RuntimeHelpers::convertToObject(QV4::ExecutionEngine*, QV4::Value const&) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 5# QV4::Value::toObject(QV4::ExecutionEngine*, QV4::Value) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 6# QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) in /home/florian/Tools/AntaraAtomicDexAppDir/usr/bin/../lib/libQt5Qml.so.5
 7# 0x00007F18406C3541

looks like it's more related to the my_balance calls to mm2 then to the price update fetches.

i had one swap running at the time of the crash, but the app was not active, not in foreground... i was surfing the internet when i saw the app disappearing from task bar. After i restarted the app the swap finished right away.

@cipig
Copy link
Member

cipig commented Oct 16, 2022

i just had the case where the app stalled, can't do anything, need to kill it
the logs shows this:

[04:22:06] [info] [qt.portfolio.page.cpp:103] [2500669]: Updating portfolio values with model: true
[04:22:06] [info] [qt.portfolio.model.cpp:106] [2500669]: update_currency_values
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: UIS
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: ABY
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: TKL
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: GRS
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: SUPERNET
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: TRC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: SYS
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: SPACE
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: QTUM
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: FTC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: THC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: FIRO
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: NAV
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: ZET
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: XVC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: DOI
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: LTC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: KMD
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: PND
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: NYAN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: CHIPS
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: UNO
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: CHTA
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: MONA
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: BTE
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: VRSC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: RVN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: LCC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: BLK
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: BTCZ
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: ZER
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: DGB
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: ACTN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: DP
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: DEX
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: LBC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: VRM
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: DGC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: DIMI
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: ECA
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: PRUX
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: EMC2
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: NZDS-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: FET-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: FJC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: BUSD-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: BLK-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: WHIVE
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: EFL
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: PGX-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: BRZ-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: AAVE-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: ANKR-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: OCEAN-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: PPC-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: JEUR-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: DASH
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: ATOM-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: CHZ-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: USDT-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604268]: updated currency values of: CLC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: PPC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604266]: updated currency values of: TRYB-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: FLOW-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: LDO-PLG20
double free or corruption (out)
[04:22:06] [error] [main.prerequisites.hpp:107] [2604268]: sigabort received, cleaning mm2
[04:22:06] [error] [main.prerequisites.hpp:107] [2604266]: sigabort received, cleaning mm2
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: KOIN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: RUNES
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: GRT-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: LINK-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: XEC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: VAL
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: TEL-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: NENG
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: ETH
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: AUR
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: JST-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: CRO-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: MCL
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: NMC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: KSM-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: GLM-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: 1INCH-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: HEX-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: USDT-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: JPYC-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: DOT-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: ADX-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: IOTX-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: BTC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: BTTC-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: XTZ-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: ETH-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: EGLD-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: XVS
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: FIL-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: ZIL-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: SOL-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: YFI-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: IOTA-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: BAND-FTM20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: BCH
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: ELF-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: LNC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: TRX-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: USDC-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: JJPY-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: SCA
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: BAT-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: GLMR
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: PAXG-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: ILN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: LRC-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: CADC-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: ZEC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: CRV-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: GALA-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: KCS
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: LOOM-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: EURS-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: BNB
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604269]: updated currency values of: BTC-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: VITE-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: FLUX
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: DOGE
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: ETH-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: KNC-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: BIDR-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: EOS-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: ENJ-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: WAVES-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: AXE
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: JGBP-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: DAI-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: FLUX-BEP20
malloc(): invalid next size (unsorted)
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: COMP-PLG20
[04:22:06] [error] [main.prerequisites.hpp:107] [2604269]: sigabort received, cleaning mm2
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: CELR-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: DODO-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: LYNX
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: KMD-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: ARPA-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: GMT-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: CAKE
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: AVN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: MATIC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: XRP-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: NAV-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: BSTY
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: QNT-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: BRZ-AVX20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: SXP-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: ONT-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: MIR-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: INJ-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: SAND-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: BTX
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: RTM
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: USDC-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: TRYB-AVX20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: WCN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: NEAR-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: MOVR
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: ONE
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: APE-FTM20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: XLM-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: QKC-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: VET-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: ADA-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: SMTF-v2
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: SUSHI-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: CDN
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: BTCZ-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: SNX-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: XSGD-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: MANA-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: UNI-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: SHIB-KRC20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: BNT-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: JCHF-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: BAL-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: MKR-BEP20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: QC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: NEXO-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: XRG
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: AVAX
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: USDC-FTM20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: USDT-PLG20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: XMY
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604270]: updated currency values of: IL8P
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604271]: updated currency values of: GLEEC
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604264]: updated currency values of: SFUSD
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604265]: updated currency values of: GMX-AVX20
[04:22:06] [debug] [qt.portfolio.model.cpp:157] [2604267]: updated currency values of: WOO-PLG20

see the double free or corruption (out) and malloc(): invalid next size (unsorted)

@ghost ghost mentioned this issue Nov 1, 2022
@ghost ghost added next iteration to not forget to include it and removed 0.5.7 labels Nov 1, 2022
@smk762 smk762 added P1 Major issue needs to be fixed and removed P0 Blocker / critical defect labels Nov 18, 2022
@smk762
Copy link
Collaborator Author

smk762 commented Apr 4, 2024

closing as stale

@smk762 smk762 closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working next iteration to not forget to include it P1 Major issue needs to be fixed
Projects
None yet
Development

No branches or pull requests

3 participants