KomodoPlatform / komodo-wallet

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

[BUG]: crash after clicking on Start Swap occasionally in OSX 11.4 #2193

Closed himu007 closed 1 month ago

himu007 commented 1 year ago

Describe the bug The AtomicDEX Desktop crashes after starting a swap on unreliable internet connection. After logging back in, the order becomes a maker order.

To Reproduce This crash can't be reproduced reliably in general and needs unreliable internet connection.

  1. Start AtomicDEX Desktop
  2. Login and go to DEX tab
  3. Select an existing maker order from Order Book
  4. Click Start Seap
  5. On ordermatching stage the GUI crashed (not 100% sure when the internet connection is fading)

Expected behavior No crash if a computer has unreliable internet connection

Operating Environment(s):

Additional context Only log entry relating to this crash is:

12:08:47] [error] [main.prerequisites.hpp:113] [780321071]: stacktrace:

There is no other info in log file.

Please advise if there are any way to get detailed crash data to help identify the issue if the above line is not sufficient.

smk762 commented 1 year ago

Thanks for the report. I've done some work towards mitigation of this in https://github.com/KomodoPlatform/atomicDEX-Desktop/pull/2179 Latest CI run https://github.com/KomodoPlatform/atomicDEX-Desktop/actions/runs/3807706886 (WIP)

himu007 commented 1 year ago

Thanks @smk762

I wasn't aware if those issues were related to mine. After reading the existing issues, it appears issues might be all same.

Cheers!

smk762 commented 1 year ago

I've seen a few, and Aussie internet is reliably unreliable :laughing:

himu007 commented 1 year ago

Here are some crash data if these helps. These 2 crashes happened within ~7.5 minutes.

1st Crash

[03:17:07] [info] [qt.orders.model.cpp:460] [780482984]: Full initialization, inserting 55 elements, nb_elements / page 50
[03:17:07] [info] [qt.orderbook.model.cpp:389] [780482984]: full orderbook initialization initial size: 0 target size: 118, orderbook_kind: 3
[03:17:07] [warning] [qt.trading.page.cpp:911] [780482984]: last_trading_error is PriceFieldNotFilled
[03:17:07] [info] [rpc.best.orders.cpp:34] [780482984]: getting bestorders data...
[03:17:22] [info] [qt.trading.page.cpp:972] [780482984]: Changed ticker: KMD
[03:17:22] [info] [qt.trading.page.cpp:972] [780482984]: Changed ticker: KMD
[03:17:22] [warning] [qt.trading.page.cpp:914] [780482984]: last_trading_error is VolumeFieldNotFilled
[03:17:22] [info] [qt.trading.page.cpp:902] [780482984]: last_trading_error is None
[03:17:22] [warning] [qt.trading.page.cpp:914] [780482984]: last_trading_error is VolumeFieldNotFilled
[03:17:22] [info] [qt.trading.page.cpp:972] [780482984]: Changed ticker: KMD
[03:17:22] [info] [qt.trading.page.cpp:972] [780482984]: Changed ticker: BNB
[03:17:22] [info] [qt.trading.page.cpp:902] [780482984]: last_trading_error is None
[03:17:22] [warning] [qt.trading.page.cpp:914] [780482984]: last_trading_error is VolumeFieldNotFilled
[03:17:22] [info] [qt.orderbook.model.cpp:389] [780482984]: full orderbook initialization initial size: 0 target size: 126, orderbook_kind: 3
[03:17:22] [warning] [main.prerequisites.hpp:93] [780482984]: A cookie associated with a cross-site resource at http://nomics.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
[03:17:23] [info] [rpc.best.orders.cpp:34] [780482984]: getting bestorders data...
[03:17:23] [info] [komodo.prices.provider.cpp:35] [780482984]: komodo price service tick loop
[03:17:23] [info] [komodo.prices.cpp:82] [780482984]: url: https://prices.komodo.live:1313/api/v2/tickers?expire_at=21600
[03:17:23] [info] [komodo.prices.provider.cpp:48] [781423164]: komodo price registry size: 223
[03:17:23] [info] [qt.portfolio.page.cpp:103] [781423164]: Updating portfolio values with model: true
[03:17:23] [info] [notification.manager.cpp:70] [781423164]: balance update notification: am_i_sender: true amount: 6504.01726663 ticker: DGB human_date:  8 Jan 2023, 03:17
[03:17:23] [info] [notification.manager.cpp:70] [781423164]: balance update notification: am_i_sender: true amount: 0.00458195 ticker: BNB human_date:  8 Jan 2023, 03:17
[03:17:23] [info] [notification.manager.cpp:70] [781423164]: balance update notification: am_i_sender: false amount: 100.00000000 ticker: BUSD-BEP20 human_date:  8 Jan 2023, 03:17
[03:17:24] [info] [qt.orderbook.model.cpp:389] [780482984]: full orderbook initialization initial size: 7 target size: 7, orderbook_kind: 2
[03:17:24] [info] [rpc.best.orders.cpp:34] [780482984]: getting bestorders data...
[03:17:24] [warning] [qt.trading.page.cpp:1558] [780482984]: KMD/BNB doesn't have any trading settings - skipping
[03:17:26] [info] [qt.trading.page.cpp:972] [780482984]: Changed ticker: DGB
[03:17:26] [info] [qt.trading.page.cpp:902] [780482984]: last_trading_error is None
[03:17:26] [warning] [qt.trading.page.cpp:914] [780482984]: last_trading_error is VolumeFieldNotFilled
[03:17:26] [warning] [main.prerequisites.hpp:93] [780482984]: A cookie associated with a cross-site resource at http://nomics.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
[03:17:27] [warning] [qt.trading.page.cpp:911] [780482984]: last_trading_error is PriceFieldNotFilled
[03:17:27] [info] [rpc.best.orders.cpp:34] [780482984]: getting bestorders data...
[03:17:28] [info] [qt.orderbook.model.cpp:389] [780482984]: full orderbook initialization initial size: 11 target size: 11, orderbook_kind: 1
[03:17:28] [info] [qt.orderbook.model.cpp:389] [780482984]: full orderbook initialization initial size: 9 target size: 9, orderbook_kind: 2
[03:17:28] [warning] [qt.trading.page.cpp:1558] [780482984]: KMD/DGB doesn't have any trading settings - skipping
[03:17:29] [info] [qt.orderbook.model.cpp:389] [780482984]: full orderbook initialization initial size: 0 target size: 919, orderbook_kind: 3
[03:17:29] [info] [qt.trading.page.cpp:902] [780482984]: last_trading_error is None
[03:17:29] [info] [rpc.best.orders.cpp:34] [780482984]: getting bestorders data...
[03:17:30] [warning] [main.prerequisites.hpp:93] [780482984]: Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
[03:17:31] [info] [rpc.sell.cpp:71] [780482984]: The order is picked from the orderbook price: {
    "denom": "106943613",
    "numer": "2500000000"
}, volume: {
    "denom": "2500000000000000000",
    "numer": "203929215786628554033"
}
[03:17:31] [info] [qt.orders.proxy.model.cpp:112] [780482984]: history mode enabled
[03:17:31] [info] [qt.orders.proxy.model.cpp:266] [780482984]: filter pattern: All/All, is_history: true
[03:17:31] [info] [qt.orders.proxy.model.cpp:117] [780482984]: order mode enabled
[03:17:32] [info] [qt.orders.model.cpp:645] [780482984]: Fetching is not busy anymore
[03:17:32] [info] [qt.orders.model.cpp:460] [780482984]: Full initialization, inserting 55 elements, nb_elements / page 50
[03:17:33] [warning] [qt.trading.page.cpp:632] [781423164]: releasing preferred order because price has been modified
[03:17:33] [warning] [qt.trading.page.cpp:911] [781423164]: last_trading_error is PriceFieldNotFilled
[03:17:33] [warning] [qt.trading.page.cpp:914] [781423164]: last_trading_error is VolumeFieldNotFilled
[03:17:33] [error] [main.prerequisites.hpp:107] [780482984]: sigabort received, cleaning mm2
[03:17:33] [info] [qt.trading.page.cpp:902] [781423164]: last_trading_error is None
[03:17:33] [warning] [qt.trading.page.cpp:914] [781423164]: last_trading_error is VolumeFieldNotFilled
[03:17:33] [error] [cpprestsdk.utilities.cpp:51] [781423573]: pplx task error: Failed to read HTTP status line
[03:17:33] [error] [mm2.service.cpp:2529] [781423574]: 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": 1675641600,
        "userpass": ""
    },
    {
        "method": "active_swaps",
        "statuses": true,
        "userpass": ""
    }
]
[03:17:33] [error] [main.prerequisites.hpp:113] [780482984]: stacktrace:  0# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 1# _sigtramp in /usr/lib/system/libsystem_platform.dylib
 2# atomic_dex::orderbook_model::get_orderbook_kind() const in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 3# atomic_dex::orderbook_model::refresh_orderbook(std::__1::vector<atomic_dex::mm2::order_contents, std::__1::allocator<atomic_dex::mm2::order_contents> > const&) in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 4# atomic_dex::qt_orderbook_wrapper::refresh_orderbook(atomic_dex::mm2::orderbook_answer) in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 5# atomic_dex::trading_page::process_action() in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 6# atomic_dex::application::tick() in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 7# QMetaObject::activate(QObject*, QMetaObject const*, int, void**) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
 8# QTimer::timerEvent(QTimerEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
 9# QObject::event(QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
10# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
11# QApplication::notify(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
12# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
13# QTimerInfoList::activateTimers() in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
14# qt_plugin_instance in /Applications/atomicdex-desktop.app/Contents/PlugIns/platforms/libqcocoa.dylib
15# __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
16# __CFRunLoopDoSource0 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
17# __CFRunLoopDoSources0 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
18# __CFRunLoopRun in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
19# CFRunLoopRunSpecific in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
20# RunCurrentEventLoopInMode in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
21# ReceiveNextEventCommon in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
22# _BlockUntilNextEventMatchingListInModeWithFilter in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
23# _DPSNextEvent in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
24# -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
25# -[NSApplication run] in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
26# qt_plugin_instance in /Applications/atomicdex-desktop.app/Contents/PlugIns/platforms/libqcocoa.dylib
27# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
28# QCoreApplication::exec() in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
29# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
30# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop

2nd Crash

[03:25:16] [error] [main.prerequisites.hpp:113] [781425586]: stacktrace:  0# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 1# _sigtramp in /usr/lib/system/libsystem_platform.dylib
 2# atomic_dex::orderbook_model::get_orderbook_kind() const in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 3# atomic_dex::orderbook_model::refresh_orderbook(std::__1::vector<atomic_dex::mm2::order_contents, std::__1::allocator<atomic_dex::mm2::order_contents> > const&) in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 4# atomic_dex::qt_orderbook_wrapper::refresh_orderbook(atomic_dex::mm2::orderbook_answer) in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 5# atomic_dex::trading_page::process_action() in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 6# atomic_dex::application::tick() in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 7# QMetaObject::activate(QObject*, QMetaObject const*, int, void**) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
 8# QTimer::timerEvent(QTimerEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
 9# QObject::event(QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
10# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
11# QApplication::notify(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
12# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
13# QTimerInfoList::activateTimers() in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
14# qt_plugin_instance in /Applications/atomicdex-desktop.app/Contents/PlugIns/platforms/libqcocoa.dylib
15# __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
16# __CFRunLoopDoSource0 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
17# __CFRunLoopDoSources0 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
18# __CFRunLoopRun in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
19# CFRunLoopRunSpecific in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
20# RunCurrentEventLoopInMode in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
21# ReceiveNextEventCommon in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
22# _BlockUntilNextEventMatchingListInModeWithFilter in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
23# _DPSNextEvent in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
24# -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
25# -[NSApplication run] in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
26# qt_plugin_instance in /Applications/atomicdex-desktop.app/Contents/PlugIns/platforms/libqcocoa.dylib
27# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
28# QCoreApplication::exec() in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
29# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
30# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
himu007 commented 1 year ago

3rd Crash

[00:45:27] [error] [main.prerequisites.hpp:113] [781432987]: stacktrace:  0# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 1# _sigtramp in /usr/lib/system/libsystem_platform.dylib
 2# atomic_dex::orderbook_model::get_orderbook_kind() const in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 3# atomic_dex::orderbook_model::refresh_orderbook(std::__1::vector<atomic_dex::mm2::order_contents, std::__1::allocator<atomic_dex::mm2::order_contents> > const&) in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 4# atomic_dex::qt_orderbook_wrapper::refresh_orderbook(atomic_dex::mm2::orderbook_answer) in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 5# atomic_dex::trading_page::process_action() in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 6# atomic_dex::application::tick() in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
 7# QMetaObject::activate(QObject*, QMetaObject const*, int, void**) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
 8# QTimer::timerEvent(QTimerEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
 9# QObject::event(QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
10# QApplicationPrivate::notify_helper(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
11# QApplication::notify(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
12# QCoreApplication::notifyInternal2(QObject*, QEvent*) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
13# QTimerInfoList::activateTimers() in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
14# qt_plugin_instance in /Applications/atomicdex-desktop.app/Contents/PlugIns/platforms/libqcocoa.dylib
15# __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
16# __CFRunLoopDoSource0 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
17# __CFRunLoopDoSources0 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
18# __CFRunLoopRun in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
19# CFRunLoopRunSpecific in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
20# RunCurrentEventLoopInMode in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
21# ReceiveNextEventCommon in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
22# _BlockUntilNextEventMatchingListInModeWithFilter in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
23# _DPSNextEvent in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
24# -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
25# -[NSApplication run] in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
26# qt_plugin_instance in /Applications/atomicdex-desktop.app/Contents/PlugIns/platforms/libqcocoa.dylib
27# QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
28# QCoreApplication::exec() in /Applications/atomicdex-desktop.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
29# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
30# main in /Applications/atomicdex-desktop.app/Contents/MacOS/atomicdex-desktop
[13:42:17] [error] [safe.float.cpp:27] [785662214]: exception caught when creating a floating point number: Unable to parse the string "" as a floating point value.
[13:42:17] [warning] [qt.trading.page.cpp:632] [785662972]: releasing preferred order because price has been modified
[13:42:17] [warning] [qt.trading.page.cpp:911] [785662972]: last_trading_error is PriceFieldNotFilled
[13:42:17] [warning] [qt.trading.page.cpp:914] [785662972]: last_trading_error is VolumeFieldNotFilled
[13:42:17] [error] [safe.float.cpp:27] [785662214]: exception caught when creating a floating point number: Unable to parse the string "" as a floating point value.
[13:42:17] [error] [safe.float.cpp:27] [785662214]: exception caught when creating a floating point number: Unable to parse the string "" as a floating point value.
[13:42:17] [info] [qt.trading.page.cpp:902] [785662972]: last_trading_error is None
[13:42:17] [warning] [qt.trading.page.cpp:914] [785662972]: last_trading_error is VolumeFieldNotFilled
[13:42:17] [warning] [main.prerequisites.hpp:93] [785662214]: Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.

@smk762 new crash data here. if you look at the 2nd part ^^ here, it's showing more details about the crash. hope this helps to identify the issue better.

smk762 commented 1 year ago

thanks @himu007 that's given me an idea of another place to look.

cipig commented 1 month ago

also had a crash after starting a swap:

Previous run crashed:
 0# signal_handler(int) at main.cpp:?
 1# 0x00007F0A2A25B050
 2# std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Identity, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, true, true> >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in AntaraAtomicDexAppDir/usr/bin/komodo-wallet
 3# atomic_dex::orderbook_model::refresh_orderbook_model_data(std::vector<atomic_dex::kdf::order_contents, std::allocator<atomic_dex::kdf::order_contents> > const&, bool) in AntaraAtomicDexAppDir/usr/bin/komodo-wallet
 4# atomic_dex::qt_orderbook_wrapper::refresh_orderbook_model_data(atomic_dex::kdf::orderbook_rpc::expected_result_type) in AntaraAtomicDexAppDir/usr/bin/komodo-wallet
 5# atomic_dex::trading_page::process_action() in AntaraAtomicDexAppDir/usr/bin/komodo-wallet
 6# atomic_dex::application::tick() in AntaraAtomicDexAppDir/usr/bin/komodo-wallet
 7# 0x00007F0A2BCD5F30
 8# 0x00007F0A2BCDAA57
 9# 0x00007F0A2BCDAD28
10# 0x00007F0A2BCCCD5B
11# 0x00007F0A2AD6343C
12# 0x00007F0A2AD69F20
13# 0x00007F0A2BC9D808
14# 0x00007F0A2BCF8689
15# 0x00007F0A2BCF8E99
16# 0x00007F0A2DB1C7A9
17# 0x00007F0A2DB1CA38
18# 0x00007F0A2DB1CACC
19# 0x00007F0A2BCF91CC
20# 0x00007F0A2BC9C21A
21# 0x00007F0A2BCA51D3
22# run_app(int, char**) in AntaraAtomicDexAppDir/usr/bin/komodo-wallet
23# main in AntaraAtomicDexAppDir/usr/bin/komodo-wallet
24# 0x00007F0A2A24624A
25# 0x00007F0A2A246305
26# _start in AntaraAtomicDexAppDir/usr/bin/komodo-wallet