If you run the Qt5 Gui application for a long time (30 minutes, 2 hours, etc.) on Windows 10, an error such as "Application has stopped working" will occur.
A program is a program that serializes with Arduino to receive data and depicts it in a class inherited by QPainter.
If you look at the error, it seems that the array is accessing out of range, but I don't think it's happening (at least superficially).After investigating various causes, we thought that dll was insufficient and that it was because we used an executable compiled in Debug mode.
Even if you use a PC that does not have other Qt's in it, it stops irregularly even if you use the one built in release mode.
Is serial communication a problem?I'm not sure.
If you are familiar with it, please help me.Thank you.
Errors are explicitly detected by ASSERTION (Q_ASSERT_X
) in the QList
class operator[]
method and are output by the qFatal
function (macro?).
# The document in qFatal
states that the program is terminated by default, so that's why it's terminated.(Not crashing)
QList::operator[]
is probably not known until you know the caller, so it is recommended that you start the program in the debugger to check the stack trace in case of an event and identify the caller.
#QList
is used everywhere, so it is difficult to predict the caller.
578 Understanding How to Configure Google API Key
581 PHP ssh2_scp_send fails to send files as intended
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
611 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.