Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt application process get forcefully abort



  • hi i m running uart based application where i get error after geting port connced it gets forcefully abort further process.
    23:05:31: Starting C:\Users\SAMEER_MED-1\Documents\build-NDT_CC_1.1-Desktop_Qt_5_14_2_MinGW_32_bit-Debug\debug\NDT_CC_1.exe ...
    "Port COM1 Connected"
    "38315000608B" - "81P\x00`\x8B" " monitor loop executed at -> 23:05:37"
    8
    ASSERT: "uint(i) < uint(size())" in file C:/Qt/5.14.2/mingw73_32/include/QtCore/qbytearray.h, line 479
    23:05:39: The program has unexpectedly finished.
    23:05:39: The process was ended forcefully.

    plz tell solution


  • Lifetime Qt Champion

    Hi,

    Run your application in debug mode and see what the debugger tells you.



  • @SGaist why this is happening now its running. please tell sultion for normal run


  • Lifetime Qt Champion

    Ensure that you are properly initializing all pointers you might be using.


Log in to reply