GDB Debugger not working
-
Anyways i did what the https://forum.qt.io/topic/95387/unable-to-start-debugger did too and i still cannot run.
What exactly did you do?
Regards
I did a
sudo apt install python-opencv
I also did asudo apt install python3-opencv
ls /usr/local/lib/python3.6/dist-packages/
-> prebuilt previously alreadycv2 mpl_toolkits cycler-0.10.0.dist-info numpy cycler.py numpy-1.19.0-py3.6.egg-info Cython pandas Cython-0.29.20.dist-info pandas-1.0.5-py3.6.egg-info cython.py pkg_resources easy_install.py __pycache__ imutils pylab.py imutils-0.5.3.egg-info pyparsing-2.4.7.dist-info kiwisolver-1.2.0-py3.6.egg-info pyparsing.py kiwisolver.cpython-36m-aarch64-linux-gnu.so pyximport matplotlib setuptools matplotlib-3.2.2-py3.6.egg-info setuptools-47.3.1.dist-info matplotlib-3.2.2-py3.6-nspkg.pth
ls '/usr/lib/python3.6'
abc.py operator.py aifc.py optparse.py antigravity.py os.py argparse.py _osx_support.py ast.py pathlib.py asynchat.py pdb.py asyncio __phello__.foo.py asyncore.py pickle.py base64.py pickletools.py bdb.py pipes.py binhex.py pkgutil.py bisect.py platform.py _bootlocale.py plistlib.py bz2.py poplib.py calendar.py posixpath.py cgi.py pprint.py ........
-
nvidia@nvidia-desktop:/usr/lib$ python3 Python 3.6.9 (default, Jul 17 2020, 12:50:27) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import opencvtypes Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'opencvtypes'
I got this error
-
@aha_1980 I manually went to add 2 missing files from my debugger folder. utils.py and opencvtypes.py and now i have no clue what is going on at all.
This is the debug log
Starting debugger "GdbEngine" for ABI "arm-linux-generic-elf-64bit"... dStart parameters: 'test2' mode: 1 dABI: arm-linux-generic-elf-64bit dLanguages: c++ dExecutable: /home/nvidia/Desktop/Video_Analytics_OpenCV/build-test2-Desktop-Debug/test2 [terminal] dDirectory: /home/nvidia/Desktop/Video_Analytics_OpenCV/build-test2-Desktop-Debug dDebugger: /usr/bin/gdb dProject: /home/nvidia/Desktop/Video_Analytics_OpenCV/test2 dAdditional Search Directories: dSysroot: dDebug Source Location: dDebugger settings: dAdditionalArguments: (default: ) dAdjustBreakpointLocations: true (default: true) dAllPluginBreakpoints: true (default: true) dAlwaysAdjustColumnWidths: true (default: true) dAutoDerefPointers: true (default: true) dAutoEnrichParameters: true (default: true) dAutoQuit: false (default: false) dBreakEvent: (default: ) dBreakOnAbort: false (default: false) dBreakOnCatch: false (default: false) dBreakOnCrtDbgReport: false (default: false) dBreakOnFatal: false (default: false) dBreakOnThrow: false (default: false) dBreakOnWarning: false (default: false) dBreakpointCorrection: true (default: true) dBreakpointsFullPath: false (default: false) dCDB_Console: false (default: false) dCloseBuffersOnExit: false (default: false) dCloseMemoryBuffersOnExit: true (default: true) dDisplayStringLimit: 100 (default: 100) dEnableReverseDebugging: false (default: false) dExtraDumperFile: (default: ) dFontSizeFollowsEditor: false (default: false) dGdbCustomDumperCommands: (default: ) dGdbPostAttachCommands: (default: ) dGdbStartupCommands: (default: ) dIdentifyDebugInfoPackages: false (default: false) dIgnoreFirstChanceAccessViolation: false (default: false) dIntelFlavor: false (default: false) dLoadGdbDumpers2: false (default: false) dLoadGdbInit: true (default: true) dLogTimeStamps: false (default: false) dMaximalStackDepth: 20 (default: 20) dMaximalStringLength: 10000 (default: 10000) dMultiInferior: false (default: false) dNoPluginBreakpoints: false (default: false) dQmlInspector.ShowAppOnTop: false (default: false) dRaiseOnInterrupt: true (default: true) dSelectedPluginBreakpoints: false (default: false) dSelectedPluginBreakpointsPattern: .* (default: .*) dShowQObjectNames2: true (default: true) dShowQmlObjectTree: true (default: true) dShowQtNamespace: true (default: true) dShowStandardNamespace: true (default: true) dShowThreadNames: false (default: false) dSkipKnownFrames: false (default: false) dSortStructMembers: true (default: true) dSourcePaths: (default: ) dStationaryEditorWhileStepping: false (default: false) dSwitchModeOnExit: false (default: false) dSymbolPaths: (default: ) dTargetAsync: false (default: false) dUseAddressInBreakpointsView: false (default: false) dUseAddressInStackView: false (default: false) dUseAlternatingRowColours: false (default: false) dUseCodeModel: true (default: true) dUseDebuggingHelper: true (default: true) dUseDynamicType: true (default: true) dUseMessageBoxForSignals: true (default: true) dUsePythonDumper: true (default: true) dUseToolTips: true (default: true) dUseToolTipsInBreakpointsView: false (default: false) dUseToolTipsInBreakpointsView: false (default: true) *** dUseToolTipsInLocalsView: false (default: false) dWarnOnReleaseBuilds: true (default: true) dWatchdogTimeout: 20 (default: 20) dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master] dCALL: SETUP ENGINE dTRYING TO START ADAPTER dENABLING TEST CASE: 0 dSTARTING /usr/bin/gdb -i mi dGDB STARTED, INITIALIZING IT <1show version <2show debug-file-directory <3set print object on <4set breakpoint pending on <5set print elements 10000 <6set unwindonsignal on <7set width 0 <8set height 0 sSetting up inferior... <9set substitute-path /var/tmp/qt-src /usr/include/aarch64-linux-gnu <10python sys.path.insert(1, '/usr/share/qtcreator/debugger/') <11python sys.path.append('/usr/bin/data-directory/python') <12python from gdbbridge import * <13python theDumper.loadDumpers({"token":13}) >=thread-group-added,id="i1" >~"GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git\n" >~"Copyright (C) 2018 Free Software Foundation, Inc.\n" >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" >~"This GDB was configured as \"aarch64-linux-gnu\".\nType \"show configuration\" for configuration details." >~"\nFor bug reporting instructions, please see:\n" >~"<http://www.gnu.org/software/gdb/bugs/>.\n" >~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n" >~"For help, type \"help\".\n" >~"Type \"apropos word\" to search for commands related to \"word\".\n" >&"show version\n" >~"GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git\n" >~"Copyright (C) 2018 Free Software Foundation, Inc.\n" >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" >~"This GDB was configured as \"aarch64-linux-gnu\".\nType \"show configuration\" for configuration details." >~"\nFor bug reporting instructions, please see:\n" >~"<http://www.gnu.org/software/gdb/bugs/>.\n" >~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n" >~"For help, type \"help\".\n" >~"Type \"apropos word\" to search for commands related to \"word\".\n" >1^done dPARSING VERSION: 1^done dSUPPORTED GDB VERSION GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git dCopyright (C) 2018 Free Software Foundation, Inc. dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> dThis is free software: you are free to change and redistribute it. dThere is NO WARRANTY, to the extent permitted by law. Type "show copying" dand "show warranty" for details. dThis GDB was configured as "aarch64-linux-gnu". dType "show configuration" for configuration details. dFor bug reporting instructions, please see: d<http://www.gnu.org/software/gdb/bugs/>. dFind the GDB manual and other documentation resources online at: d<http://www.gnu.org/software/gdb/documentation/>. dFor help, type "help". dType "apropos word" to search for commands related to "word". dGNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git dCopyright (C) 2018 Free Software Foundation, Inc. dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> dThis is free software: you are free to change and redistribute it. dThere is NO WARRANTY, to the extent permitted by law. Type "show copying" dand "show warranty" for details. dThis GDB was configured as "aarch64-linux-gnu". dType "show configuration" for configuration details. dFor bug reporting instructions, please see: d<http://www.gnu.org/software/gdb/bugs/>. dFind the GDB manual and other documentation resources online at: d<http://www.gnu.org/software/gdb/documentation/>. dFor help, type "help". dType "apropos word" to search for commands related to "word". dUSING GDB VERSION: 80100, BUILD: 0 <14-interpreter-exec console "set target-async off" >&"show debug-file-directory\n" >~"The directory where separate debug symbols are searched for is \"/usr/lib/debug\".\n" >2^done >&"set print object on\n" >=cmd-param-changed,param="print object",value="on" >3^done >&"set breakpoint pending on\n" >=cmd-param-changed,param="breakpoint pending",value="on" >4^done >&"set print elements 10000\n" >=cmd-param-changed,param="print elements",value="10000" >5^done >&"set unwindonsignal on\n" >=cmd-param-changed,param="unwindonsignal",value="on" >6^done >&"set width 0\n" >=cmd-param-changed,param="width",value="4294967295" >7^done >&"set height 0\n" >8^done >&"set substitute-path /var/tmp/qt-src /usr/include/aarch64-linux-gnu\n" >9^done >&"python sys.path.insert(1, '/usr/share/qtcreator/debugger/')\n" >10^done >&"python sys.path.append('/usr/bin/data-directory/python')\n" >11^done >&"python from gdbbridge import *\n" >12^done >&"python theDumper.loadDumpers({\"token\":13})\n" >~"result={token=\"13\",dumpers=[{type=\"QVariant (QVariantMap)\",formats=\"17\"},{type=\"QAtomicInt\"},{type=\"QBasicAtomicInt\"},{type=\"QAtomicPointer\"},{type=\"QByteArray\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"QArrayData\"},{type=\"QByteArrayData\"},{type=\"QBitArray\"},{type=\"QChar\"},{type=\"Qt__ItemDataRole\"},{type=\"QStandardItemData\"},{type=\"QStandardItem\"},{type=\"QDate\"},{type=\"QTime\"},{type=\"QTimeZone\"},{type=\"QDateTime\"},{type=\"QDir\"},{type=\"QFile\"},{type=\"QFileInfo\"},{type=\"QFixed\"},{type=\"QFiniteStack\",formats=\"16\"},{type=\"QFlags\"},{type=\"QHash\",formats=\"17\"},{type=\"QVariantHash\"},{type=\"QHashNode\",formats=\"17\"},{type=\"QHash__const_iterator\"},{type=\"QHash__iterator\"},{type=\"QHostAddress\"},{type=\"QIPv6Address\"},{type=\"QList\",formats=\"18, 19\"},{type=\"QVariantList\"},{type=\"QImage\",formats=\"2, 4\"},{type=\"QLinkedList\"},{type=\"QLocale\"},{type=\"QMapNode\"},{type=\"QMap\",formats=\"17\"},{type=\"QMultiMap\",formats=\"17\"},{type=\"QVariantMap\",formats=\"17\"},{type=\"QMetaMethod\"},{type=\"QMetaEnum\"},{type=\"QMetaProperty\"},{type=\"QMetaClassInfo\"},{type=\"QMetaObject\"},{type=\"QObjectPrivate__ConnectionList\"},{type=\"QProcEnvKey\"},{type=\"QPixmap\"},{type=\"QPoint\"},{type=\"QPointF\"},{type=\"QRect\"},{type=\"QRectF\"},{type=\"QRegExp\"},{type=\"QRegion\"},{type=\"QScopedPointer\"},{type=\"QSet\"},{type=\"QSharedData\"},{type=\"QSharedDataPointer\"},{type=\"QSize\"},{type=\"QSizeF\"},{type=\"QStack\",formats=\"16\"},{type=\"QPolygonF\"},{type=\"QPolygon\"},{type=\"QGraphicsPolygonItem\"},{type=\"QString\",editable=\"true\",formats=\"2, 4\"},{type=\"QStaticStringData\"},{type=\"QTypedArrayData\"},{type=\"QStringData\"},{type=\"QHashedString\"},{type=\"QQmlRefCount\"},{type=\"QStringRef\"},{type=\"QStringList\"},{type=\"QTemporaryFile\"},{type=\"QTextCodec\"},{type=\"QTextCursor\"},{type=\"QTextDocument\"},{type=\"QUrl\",formats=\"2, 4\"},{type=\"QUuid\"},{type=\"QVariant\"},{type=\"QVector\",editable=\"true\",formats=\"16\"},{type=\"QVarLengthArray\"},{type=\"QSharedPointer\"},{type=\"QWeakPointer\"},{type=\"QXmlAttributes__Attribute\"},{type=\"QXmlAttributes\"},{type=\"QXmlStreamStringRef\"},{type=\"QXmlStreamAttribute\"},{type=\"QV4__Heap__Base\"},{type=\"QV4__Heap__String\"},{type=\"QV4__Object\"},{type=\"QV4__FunctionObject\"},{type=\"QV4__CompilationUnit\"},{type=\"QV4__CallContext\"},{type=\"QV4__ScriptFunction\"},{type=\"QV4__SimpleScriptFunction\"},{type=\"QV4__ExecutionContext\"},{type=\"QQmlSourceLocation\"},{type=\"QV4__String\"},{type=\"QV4__Identifier\"},{type=\"QV4__PropertyHash\"},{type=\"QV4__InternalClass__Transition\"},{type=\"QV4__InternalClassTransition\"},{type=\"QV4__SharedInternalClassData\"},{type=\"QV4__IdentifierTable\"},{type=\"QV4_Object\"},{type=\"QV4__Value\"},{type=\"QV__PropertyHashData\"},{type=\"QV__PropertyHash\"},{type=\"QV4__Scoped\"},{type=\"QV4__ScopedString\"},{type=\"QJSValue\"},{type=\"QQmlBinding\"},{type=\"QTJSC__JSValue\"},{type=\"QScriptValue\"},{type=\"QQmlAccessorProperties__Properties\"},{type=\"QJsonPrivate__qle_bitfield\"},{type=\"QJsonPrivate__qle_signedbitfield\"},{type=\"QJsonPrivate__q_littleendian\"},{type=\"QJsonValue\"},{type=\"QJsonArray\"},{type=\"QJsonObject\"},{type=\"QSqlResultPrivate\"},{type=\"QSqlField\"},{type=\"QLazilyAllocated\"},{type=\"qfloat16\"},{type=\"std__array\",formats=\"16\"},{type=\"std____1__array\",formats=\"16\"},{type=\"std__complex\"},{type=\"std____1__complex\"},{type=\"std__deque\"},{type=\"std____1__deque\"},{type=\"std__deque__QNX\"},{type=\"std__deque__MSVC\"},{type=\"std____debug__deque\"},{type=\"std__list\"},{type=\"std__list__QNX\"},{type=\"std____debug__list\"},{type=\"std____cxx11__list\"},{type=\"std____1__list\"},{type=\"std__map\",formats=\"17\"},{type=\"std____debug__map\"},{type=\"std____debug__set\"},{type=\"std__multiset\"},{type=\"std____cxx1998__map\"},{type=\"std__multimap\",formats=\"17\"},{type=\"std___Rb_tree_iterator\"},{type=\"std___Rb_tree_const_iterator\"},{type=\"std__map__iterator\"},{type=\"__gnu_debug___Safe_iterator\"},{type=\"std__map__const_iterator\"},{type=\"std__set__iterator\"},{type=\"std__set__const_iterator\"},{type=\"std____cxx1998__set\"},{type=\"std___Tree_const_iterator\"},{type=\"std___Tree_iterator\"},{type=\"std__set\"},{type=\"std__set__QNX\"},{type=\"std____1__set\"},{type=\"std____1__multiset\"},{type=\"std____1__map\",formats=\"17\"},{type=\"std____1__multimap\",formats=\"17\"},{type=\"std____1__map__iterator\"},{type=\"std____1__map__const_iterator\"},{type=\"std____1__set__iterator\"},{type=\"std____1__set_const_iterator\"},{type=\"std__stack\"},{type=\"std____debug__stack\"},{type=\"std____1__stack\"},{type=\"std__string\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"std____1__string\"},{type=\"std____1__wstring\"},{type=\"std____weak_ptr\"},{type=\"std__weak_ptr\"},{type=\"std____1__weak_ptr\"},{type=\"std__shared_ptr\"},{type=\"std____1__shared_ptr\"},{type=\"std__unique_ptr\"},{type=\"std____1__unique_ptr\"},{type=\"std__pair\"},{type=\"std__unordered_map\",formats=\"17\"},{type=\"std____debug__unordered_map\",formats=\"17\"},{type=\"std__unordered_multimap\",formats=\"17\"},{type=\"std____debug__unordered_multimap\",formats=\"17\"},{type=\"std__unordered_set\"},{type=\"std____1__unordered_map\",formats=\"17\"},{type=\"std____1__unordered_set\"},{type=\"std____debug__unordered_set\"},{type=\"std__unordered_multiset\"},{type=\"std____debug__unordered_multiset\"},{type=\"std__valarray\",formats=\"16\"},{type=\"std____1__valarray\",formats=\"16\"},{type=\"std__vector\",editable=\"true\",formats=\"16\"},{type=\"std____1__vector\"},{type=\"std____debug__vector\",formats=\"16\"},{type=\"string\",editable=\"true\"},{type=\"std__wstring\",editable=\"true\",formats=\"2, 4\"},{type=\"std__basic_string\"},{type=\"std____cxx11__basic_string\"},{type=\"std____cxx11__string\",editable=\"true\",formats=\"5, 6, 7, 8\"},{type=\"std____cxx11__wstring\",editable=\"true\",formats=\"2, 4\"},{type=\"std____1__basic_string\"},{type=\"wstring\",editable=\"true\"},{type=\"std____1__once_flag\"},{type=\"std__once_flag\"},{type=\"__gnu_cxx__hash_set\"},{type=\"uint8_t\"},{type=\"int8_t\"},{type=\"std__byte\"},{type=\"std__optional\"},{type=\"std__experimental__optional\"},{type=\"__m128\"},{type=\"__m256\"},{type=\"__m512\"},{type=\"__m128d\"},{type=\"__m256d\"},{type=\"__m512d\"},{type=\"__m128i\"},{type=\"__m256i\"},{type=\"__m512i\"},{type=\"gsl__span\"},{type=\"gsl__byte\"},{type=\"Eigen__Matrix\"},{type=\"NimStringDesc\"},{type=\"NimGenericSequence__\"},{type=\"TNimNode\"},{type=\"KDSoapValue1\"},{type=\"KDSoapValue\"},{type=\"WTF__String\"},{type=\"QtcDumperTest_FieldAccessByIndex\"},{type=\"QtcDumperTest_PointerArray\"},{type=\"QtcDumperTest_BufArray\"},{type=\"QtcDumperTest_List__NodeX\"},{type=\"QtcDumperTest_List\"},{type=\"QtcDumperTest_String\"},{type=\"boost__bimaps__bimap\"},{type=\"boost__optional\"},{type=\"boost__shared_ptr\"},{type=\"boost__container__list\"},{type=\"boost__gregorian__date\"},{type=\"boost__posix_time__ptime\"},{type=\"boost__posix_time__time_duration\"},{type=\"boost__unordered__unordered_set\"},{type=\"boost__variant\"},{type=\"cv__Size_\"},{type=\"cv__Mat\",formats=\"4\"},{type=\"Core__Id\"},{type=\"Debugger__Internal__GdbMi\"},{type=\"Debugger__Internal__DisassemblerLine\"},{type=\"Debugger__Internal__WatchData\"},{type=\"Debugger__Internal__WatchItem\"},{type=\"Debugger__Internal__BreakpointModelId\"},{type=\"Debugger__Internal__ThreadId\"},{type=\"CPlusPlus__ByteArrayRef\"},{type=\"CPlusPlus__Identifier\"},{type=\"CPlusPlus__Symbol\"},{type=\"CPlusPlus__Class\"},{type=\"CPlusPlus__IntegerType\"},{type=\"CPlusPlus__FullySpecifiedType\"},{type=\"CPlusPlus__NamedType\"},{type=\"CPlusPlus__PointerType\"},{type=\"CPlusPlus__TemplateNameId\"},{type=\"CPlusPlus__QualifiedNameId\"},{type=\"CPlusPlus__Literal\"},{type=\"CPlusPlus__StringLiteral\"},{type=\"CPlusPlus__Internal__Value\"},{type=\"Utils__FileName\"},{type=\"Utils__ElfSection\"},{type=\"Utils__Port\"},{type=\"Utf8String\"},{type=\"CPlusPlus__Token\"},{type=\"CPlusPlus__Internal__PPToken\"},{type=\"ProString\"},{type=\"ProKey\"},{type=\"Core__GeneratedFile\"},{type=\"ProjectExplorer__Node\"},{type=\"ProjectExplorer__FolderNode\"},{type=\"ProjectExplorer__ProjectNode\"},{type=\"CMakeProjectManager__Internal__CMakeProjectNode\"},{type=\"QmakeProjectManager__QmakePriFileNode\"},{type=\"QmakeProjectManager__QmakeProFileNode\"},],python=\"30609\"}\n" >13^done dENGINE SUCCESSFULLY STARTED dNOTE: ENGINE SETUP OK dState changed from EngineSetupRequested(1) to EngineSetupOk(3) [master] dCALL: SETUP INFERIOR dState changed from EngineSetupOk(3) to InferiorSetupRequested(4) [master] dTaking notice of pid 23121 Going to attach to 23121 sSetting breakpoints... dSetting breakpoints... dATTEMPT BREAKPOINT SYNCHRONIZATION dBREAKPOINTS ARE SYNCHRONIZED >14^done dALL COMMANDS DONE; INVOKING CALLBACK dNOTE: INFERIOR SETUP OK dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6) [master] dState changed from InferiorSetupOk(6) to EngineRunRequested(7) [master] dCALL: RUN ENGINE <15attach 23121 >&"attach 23121\n" >~"Attaching to process 23121\n" >=thread-group-started,id="i1",pid="23121" sThread group i1 created. >=thread-created,id="1",group-id="i1" sThread 1 created. >15^done dINFERIOR ATTACHED AND RUNNING >~"Reading symbols from /home/nvidia/Desktop/Video_Analytics_OpenCV/build-test2-Desktop-Debug/test2..." sReading /home/nvidia/Desktop/Video_Analytics_OpenCV/build-test2-Desktop-Debug/test2...... >~"done.\n" >=library-loaded,id="/lib/ld-linux-aarch64.so.1",target-name="/lib/ld-linux-aarch64.so.1",host-name="/lib/ld-linux-aarch64.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000007f870e0040",to="0x0000007f870f6e48"}] sLibrary /lib/ld-linux-aarch64.so.1 loaded. >~"Reading symbols from /lib/ld-linux-aarch64.so.1..." sReading /lib/ld-linux-aarch64.so.1...... >~"Reading symbols from /usr/lib/debug//lib/aarch64-linux-gnu/ld-2.27.so..." sReading /usr/lib/debug//lib/aarch64-linux-gnu/ld-2.27.so...... >~"done.\n" >~"done.\n" >~"0x0000007f870e01c0 in _start () from /lib/ld-linux-aarch64.so.1\n" >*stopped,frame={addr="0x0000007f870e01c0",func="_start",args=[],from="/lib/ld-linux-aarch64.so.1"},thread-id="1",stopped-threads="all",core="2" dNOTE: ENGINE RUN AND INFERIOR STOP OK sStopped. dState changed from EngineRunRequested(7) to InferiorStopOk(14) [master] dNOTE: INFERIOR RUN REQUESTED sRun requested... dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master] sRunning requested... <16-exec-continue >16^running dNOTE: INFERIOR RUN OK sRunning. dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master] >*running,thread-id="all" dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk. >~"\nProgram" >~" received signal SIGSTOP, Stopped (signal).\n" >~"0x0000007f870e01c0 in _start () from /lib/ld-linux-aarch64.so.1\n" >*stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stopped (signal)",frame={addr="0x0000007f870e01c0",func="_start",args=[],from="/lib/ld-linux-aarch64.so.1"},thread-id="1",stopped-threads="all",core="3" dNOTE: INFERIOR SPONTANEOUS STOP sStopped. dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master] <17importPlainDumpers off dHANDLING SIGNAL SIGSTOP sStopped: Stopped (signal) (Signal SIGSTOP). >&"p 0\n" >~"$1 = 0" >~"\n" >^done <18-thread-info >&"importPlainDumpers off\n" >~"1 printer disabled\n" >~"0 of 1 printers enabled\n" >~"None\n" >17^done >18^done,threads=[{id="1",target-id="process 23121",name="test2",frame={level="0",addr="0x0000007f870e01c0",func="_start",args=[],from="/lib/ld-linux-aarch64.so.1"},state="stopped",core="3"}],current-thread-id="1" <19python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":19}) >&"python theDumper.fetchStack({\"limit\":20,\"nativemixed\":0,\"token\":19})\n" >~"result={token=\"0\",stack={frames=[frame={level=\"0\",address=\"0x7f870e01c0\",function=\"_start\",file=\"\",line=\"0\",module=\"\",language=\"c\"}frame={level=\"1\",address=\"0x0\",function=\"??\",file=\"\",line=\"0\",module=\"\",language=\"c\"}].report}}\n" >19^done <20set disassembly-flavor att <21-interpreter-exec console "disassemble /rm 0x7f870e01c0" <22-stack-select-frame 0 <23python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["return","inspect","local","watch"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"resultvarname":"","stringcutoff":"10000","token":23,"typeformats":{},"watchers":[]}) >&"set disassembly-flavor att\n" >&"No symbol \"disassembly\" in current context.\n" >20^error,msg="No symbol \"disassembly\" in current context." >~"Dump of assembler code for function _start:\n" >~"=> 0x0000007f870e01c0 <+0>:\te0 03 00 91\tmov\tx0, sp\n" >~" 0x0000007f870e01c4 <+4>:\te3 01 00 94\tbl\t0x7f870e0950 <_dl_start>\n" >~" 0x0000007f870e01c8 <+8>:\tf5 03 00 aa\tmov\tx21, x0\n" >~"End of assembler dump.\n" >21^done >22^done >&"python theDumper.fetchVariables({\"autoderef\":1,\"context\":\"\",\"displaystringlimit\":\"100\",\"dyntype\":1,\"expanded\":[\"return\",\"inspect\",\"local\",\"watch\"],\"fancy\":1,\"formats\":{},\"nativemixed\":0,\"partialvar\":\"\",\"passexceptions\":0,\"qobjectnames\":1,\"resultvarname\":\"\",\"stringcutoff\":\"10000\",\"token\":23,\"typeformats\":{},\"watchers\":[]})\n" >~"result={token=\"0\",data=[],typeinfo=[],partial=\"0\",counts={},timings=[]}\n" >23^done <Rebuild Watchmodel 1 @ 23:04:43.997 > sFinished retrieving data --- token barrier --- dNOTE: INFERIOR RUN REQUESTED sRun requested... dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master] sStep requested... <24-exec-step >~"Single stepping until exit from function _start,\nwhich has no line number information.\n" >24^running dNOTE: INFERIOR RUN OK sRunning. dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master] >*running,thread-id="all" dNOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk. >~"\nProgram" >~" received signal SIGSTOP, Stopped (signal).\n" >~"0x0000007f870e01c0 in _start () from /lib/ld-linux-aarch64.so.1\n" >*stopped,reason="signal-received",signal-name="SIGSTOP",signal-meaning="Stopped (signal)",frame={addr="0x0000007f870e01c0",func="_start",args=[],from="/lib/ld-linux-aarch64.so.1"},thread-id="1",stopped-threads="all",core="3" dNOTE: INFERIOR SPONTANEOUS STOP sStopped. dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master] dHANDLING SIGNAL SIGSTOP sStopped: Stopped (signal) (Signal SIGSTOP). >&"p 0\n" >~"$2 = 0" >~"\n" >^done <25-thread-info >25^done,threads=[{id="1",target-id="process 23121",name="test2",frame={level="0",addr="0x0000007f870e01c0",func="_start",args=[],from="/lib/ld-linux-aarch64.so.1"},state="stopped",core="3"}],current-thread-id="1" <26python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":26}) >&"python theDumper.fetchStack({\"limit\":20,\"nativemixed\":0,\"token\":26})\n" >~"result={token=\"0\",stack={frames=[frame={level=\"0\",address=\"0x7f870e01c0\",function=\"_start\",file=\"\",line=\"0\",module=\"\",language=\"c\"}frame={level=\"1\",address=\"0x0\",function=\"??\",file=\"\",line=\"0\",module=\"\",language=\"c\"}].report}}\n" >26^done <27set disassembly-flavor att <28-interpreter-exec console "disassemble /rm 0x7f870e01c0" <29-stack-select-frame 0 <30python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["return","inspect","local","watch"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"resultvarname":"","stringcutoff":"10000","token":30,"typeformats":{},"watchers":[]}) >&"set disassembly-flavor att\n" >&"No symbol \"disassembly\" in current context.\n" >27^error,msg="No symbol \"disassembly\" in current context." >~"Dump of assembler code for function _start:\n" >~"=> 0x0000007f870e01c0 <+0>:\te0 03 00 91\tmov\tx0, sp\n" >~" 0x0000007f870e01c4 <+4>:\te3 01 00 94\tbl\t0x7f870e0950 <_dl_start>\n" >~" 0x0000007f870e01c8 <+8>:\tf5 03 00 aa\tmov\tx21, x0\n" >~"End of assembler dump.\n" >28^done >29^done >&"python theDumper.fetchVariables({\"autoderef\":1,\"context\":\"\",\"displaystringlimit\":\"100\",\"dyntype\":1,\"expanded\":[\"return\",\"inspect\",\"local\",\"watch\"],\"fancy\":1,\"formats\":{},\"nativemixed\":0,\"partialvar\":\"\",\"passexceptions\":0,\"qobjectnames\":1,\"resultvarname\":\"\",\"stringcutoff\":\"10000\",\"token\":30,\"typeformats\":{},\"watchers\":[]})\n" >~"result={token=\"0\",data=[],typeinfo=[],partial=\"0\",counts={},timings=[]}\n" >30^done <Rebuild Watchmodel 2 @ 23:05:45.340 [61343ms] > sFinished retrieving data
-
Hi @Shane00,
sorry, I cannot help here further.
I suggest to ask on the Qt Creator mailing list, the developers reside there.
Best regards
-
I had the same problem. [Solved]
Qt version 6.4.3 and Qt Creator 11.0.2 on Ubuntu 22.04 running in a VMware virtual machine.The error happens when switching to the system terminal window (console application under Linux) right after the launch of the debugging session.
In my case
opencvtypes.py
was already in place.In Edit -> Preferences -> Environment -> System parameter 'Terminal' was set to:
/usr/bin/x-terminal-emulator
by default and its sub-parameterCommand line arguments used for "Run in terminal"
was set to-e
again by default.I tried to change the
-e
parameter with no success, but when returned to the default values the problem was vanished.