Part Number: AM3358
Tool/software: Linux
I'm using ti am335x starter kit.
I've created a qt widget application.
I'm able to run application normally but while trying to debug it having error as described under.
I'm using processor-sdk-4.02 which contains Qt 5.7 with qt creator 4.02 .
Here is my Debug Log
dATTEMPT SYNC
sStarting debugger "GdbEngine" for ABI "arm-linux-generic-elf-32bit"...
dStart parameters: 'airbox_gui (on Remote Device)' mode: 6
dABI: arm-linux-generic-elf-32bit
dLanguages: c++
dExecutable: /home/root/airbox_gui
dDebugger: /home/jigar/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gdb
dProject: /home/jigar/ab_repo/ab_svn_repo/projects/galaxy/developers/jigar/software/qt_app/airbox_gui/airbox_guiAddtional Search Directories:
dRemote: 192.168.0.102:-1
dSysroot:
dDebug Source Location:
dDebugger settings:
dUseToolTipsInBreakpointsView: false (default: true) ***
dUseAddressInBreakpointsView: false (default: false)
dUseToolTipsInLocalsView: false (default: false)
dUseToolTipsInBreakpointsView: false (default: false)
dShowThreadNames: false (default: false)
dUseToolTips: true (default: true)
dUseDebuggingHelper: false (default: true) ***
dUseCodeModel: true (default: true)
dRaiseOnInterrupt: true (default: true)
dStationaryEditorWhileStepping: false (default: false)
dSwitchModeOnExit: false (default: false)
dBreakpointsFullPath: false (default: false)
dCloseBuffersOnExit: false (default: false)
dCloseMemoryBuffersOnExit: true (default: true)
dLogTimeStamps: false (default: false)
dAutoQuit: false (default: false)
dFontSizeFollowsEditor: false (default: false)
dUseMessageBoxForSignals: true (default: true)
dUseAlternatingRowColours: false (default: false)
dQmlInspector.ShowAppOnTop: false (default: false)
dBreakOnAbort: false (default: false)
dShowQmlObjectTree: true (default: true)
dBreakOnWarning: false (default: false)
dBreakOnFatal: false (default: false)
dBreakOnThrow: false (default: false)
dBreakOnCatch: false (default: false)
dNoPluginBreakpoints: false (default: false)
dSelectedPluginBreakpointsPattern: .* (default: .*)
dSelectedPluginBreakpoints: false (default: false)
dAdjustBreakpointLocations: true (default: true)
dAllPluginBreakpoints: true (default: true)
dSkipKnownFrames: false (default: false)
dEnableReverseDebugging: false (default: false)
dMaximalStringLength: 10000 (default: 10000)
dDisplayStringLimit: 100 (default: 100)
dSortStructMembers: true (default: true)
dAutoDerefPointers: true (default: true)
dShowQtNamespace: true (default: true)
dShowQObjectNames: false (default: false)
dShowStandardNamespace: true (default: true)
dMaximalStackDepth: 20 (default: 20)
dIntelFlavor: false (default: false)
dIdentifyDebugInfoPackages: false (default: false)
dWarnOnReleaseBuilds: true (default: true)
dMultiInferior: false (default: false)
dUseDynamicType: true (default: true)
dTargetAsync: false (default: false)
dWatchdogTimeout: 20 (default: 20)
dAutoEnrichParameters: true (default: true)
dGdbStartupCommands: (default: )
dGdbPostAttachCommands: (default: )
dLoadGdbDumpers2: false (default: false)
dAttemptQuickStart: false (default: false)
dIgnoreFirstChanceAccessViolation: false (default: false)
dLoadGdbInit: true (default: true)
dCDB_Console: false (default: false)
dBreakpointCorrection: true (default: true)
dBreakEvent: (default: )
dBreakOnCrtDbgReport: false (default: false)
dSymbolPaths: (default: )
dSourcePaths: (default: )
dGdbCustomDumperCommands: (default: )
dAdditionalArguments: (default: )
dAlwaysAdjustColumnWidths: true (default: true)
dExtraDumperFile: (default: )
dUseAddressInStackView: false (default: false)
dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
dQUEUE: SETUP ENGINE
dCALL: SETUP ENGINE
dEXAMINING /home/jigar/ab_repo/ab_svn_repo/projects/galaxy/developers/jigar/software/qt_app/airbox_gui/airbox_gui/bin/airbox_gui
dELF SECTIONS: .interp .note.ABI-tag .note.gnu.build-id .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .ARM.extab .ARM.exidx .eh_frame .init_array .fini_array .jcr .data.rel.ro .dynamic .got .data .bss .comment .ARM.attributes .debug_aranges .debug_info .debug_abbrev .debug_line .debug_frame .debug_str .debug_loc .debug_ranges .shstrtab .symtab .strtab
dTRYING TO START ADAPTER
dNOTE: REQUEST REMOTE SETUP
Listening on port 10000
dNOTE: REMOTE SETUP DONE: GDB SERVER PORT: 10000 QML PORT -1
dENABLING TEST CASE: 0
dSTARTING /home/jigar/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-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
<6handle SIGSEGV nopass stop print
<7set unwindonsignal on
<8set width 0
<9set height 0
sSetting up inferior...
<10-interpreter-exec console "set auto-solib-add on"
<11python sys.path.insert(1, '/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/')
<12python sys.path.append('/home/jigar/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/data-directory/python')
<13python from gdbbridge import *
<14python theDumper.loadDumpers({"token":14})
>=thread-group-added,id="i1"
>~"GNU gdb (Linaro GDB) 7.8-2014.09\n"
>~"Copyright (C) 2014 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later <gnu.org/.../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 \"--host=x86_64-arago-linux --target=arm-linux-gnueabi\".\nType \"show configuration\" for configuration details."
>~"\nFor bug reporting instructions, please see:\n"
>~"<http://bugs.linaro.org>.\n"
>~"Find the GDB manual and other documentation resources online at:\n<www.gnu.org/.../>.\n"
>~"For help, type \"help\".\n"
>~"Type \"apropos word\" to search for commands related to \"word\".\n"
>&"show version\n"
>~"GNU gdb (Linaro GDB) 7.8-2014.09\n"
>~"Copyright (C) 2014 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later <gnu.org/.../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 \"--host=x86_64-arago-linux --target=arm-linux-gnueabi\".\nType \"show configuration\" for configuration details."
>~"\nFor bug reporting instructions, please see:\n"
>~"<http://bugs.linaro.org>.\n"
>~"Find the GDB manual and other documentation resources online at:\n<www.gnu.org/.../>.\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 (Linaro GDB) 7.8-2014.09
dCopyright (C) 2014 Free Software Foundation, Inc.
dLicense GPLv3+: GNU GPL version 3 or later <gnu.org/.../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 "--host=x86_64-arago-linux --target=arm-linux-gnueabi".
dType "show configuration" for configuration details.
dFor bug reporting instructions, please see:
d<http://bugs.linaro.org>.
dFind the GDB manual and other documentation resources online at:
d<www.gnu.org/.../>.
dFor help, type "help".
dType "apropos word" to search for commands related to "word".
dGNU gdb (Linaro GDB) 7.8-2014.09
dCopyright (C) 2014 Free Software Foundation, Inc.
dLicense GPLv3+: GNU GPL version 3 or later <gnu.org/.../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 "--host=x86_64-arago-linux --target=arm-linux-gnueabi".
dType "show configuration" for configuration details.
dFor bug reporting instructions, please see:
d<http://bugs.linaro.org>.
dFind the GDB manual and other documentation resources online at:
d<www.gnu.org/.../>.
dFor help, type "help".
dType "apropos word" to search for commands related to "word".
dUSING GDB VERSION: 70800, BUILD: 2014
<15-interpreter-exec console "set target-async off"
<16-interpreter-exec console "set detach-on-fork off"
>&"show debug-file-directory\n"
>~"The directory where separate debug symbols are searched for is \"/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/arm-linux-gnueabi/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
>&"handle SIGSEGV nopass stop print\n"
>~"Signal Stop\tPrint\tPass to program\tDescription\n"
>~"SIGSEGV Yes\tYes\tNo\t\tSegmentation fault\n"
>6^done
>&"set unwindonsignal on\n"
>=cmd-param-changed,param="unwindonsignal",value="on"
>7^done
>&"set width 0\n"
>=cmd-param-changed,param="width",value="4294967295"
>8^done
>&"set height 0\n"
>9^done
>10^done
>&"python sys.path.insert(1, '/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/')\n"
>11^done
>&"python sys.path.append('/home/jigar/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/data-directory/python')\n"
>12^done
>&"python from gdbbridge import *\n"
>&"Traceback (most recent call last):\n"
>&" File \"<string>\", line 1, in <module>\n"
>&" File \"/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py\", line 41, in <module>\n"
>&" from dumper import *\n"
>&" File \"/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/dumper.py\", line 32, in <module>\n"
>&" import json\n"
>&"ImportError: No module named 'json'\n"
>&"Error while executing Python code.\n"
>13^error,msg="Error while executing Python code."
>&"python theDumper.loadDumpers({\"token\":14})\n"
>&"Traceback (most recent call last):\n"
>&" File \"<string>\", line 1, in <module>\n"
>&"NameError: name 'theDumper' is not defined\n"
>&"Error while executing Python code.\n"
>14^error,msg="Error while executing Python code."
dNOTE: ENGINE SETUP FAILED
dState changed from EngineSetupRequested(1) to EngineSetupFailed(2) [master]
dHANDLE RUNCONTROL FINISHED
sDebugger finished.
sUser requested stop. Shutting down...
dHANDLE RUNCONTROL START FAILED
dState changed from EngineSetupFailed(2) to DebuggerFinished(22) [master]
>15^done
dCOOKIE FOR TOKEN 15 ALREADY EATEN (DebuggerFinished). TWO RESPONSES FOR ONE COMMAND?
dQUIT DEBUGGER REQUESTED IN STATE 22
>=cmd-param-changed,param="detach-on-fork",value="off"
>16^done
dCOOKIE FOR TOKEN 16 ALREADY EATEN (DebuggerFinished). TWO RESPONSES FOR ONE COMMAND?
d
dNON-CRITICAL TIMEOUT
dCOMMANDS STILL IN PROGRESS:
Where it unable to find module named json
>&"python from gdbbridge import *\n"
>&"Traceback (most recent call last):\n"
>&" File \"<string>\", line 1, in <module>\n"
>&" File \"/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py\", line 41, in <module>\n"
>&" from dumper import *\n"
>&" File \"/home/jigar/Qt5.7.0/Tools/QtCreator/share/qtcreator/debugger/dumper.py\", line 32, in <module>\n"
>&" import json\n"
>&"ImportError: No module named 'json'\n"
>&"Error while executing Python code.\n"
>13^error,msg="Error while executing Python code."
>&"python theDumper.loadDumpers({\"token\":14})\n"
>&"Traceback (most recent call last):\n"
>&" File \"<string>\", line 1, in <module>\n"
>&"NameError: name 'theDumper' is not defined\n"
>&"Error while executing Python code.\n"
>14^error,msg="Error while executing Python code."
dNOTE: ENGINE SETUP FAILED
dState changed from EngineSetupRequested(1) to EngineSetupFailed(2) [master]
dHANDLE RUNCONTROL FINISHED