Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.5.2, Qt Creator 4.6.0-rc1, Qt Creator 4.6.0 , Qt Creator 4.7.0-beta1
-
host :Ubuntu 16.04 LTS
target:Remote Generic Linux
Description
Remote target system arm-linux have cross-compiled and install the sshd and the gdbserver,and they work well.host system build the arm-linux-gdb,Qt version is greater than 5.7.
when click the menu start debuging,the host system can link target via ssh successfully,and at this time ,you can hold breakpoint,and view the variables.
but ,after this, if you click the menu stop debugger , something show below:
User requested stop. Shutting down...
Debugging has finished
Failed to kill remote process: Exit code is 3. stderr: sh: invalid number '--'
sh: invalid number '--'
sh: can't kill pid -528: No such process
sh: can't kill pid 528: No such process
the debug log like this :
QUIT DEBUGGER REQUESTED IN STATE 8
dState changed from InferiorRunOk(8) to InferiorStopRequested(10) [master]
sAttempting to interrupt.
sStop requested...
dTRYING TO INTERRUPT INFERIOR
>=thread-group-exited,id="i1"
sThread group i1 exited.
dNOTE: INFERIOR EXITED
dState changed from InferiorStopRequested(10) to InferiorShutdownFinished(14) [master]
dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15) [master]
dCALL: SHUTDOWN ENGINE
dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2
<91monitor exit
<92python theDumper.exitGdb({"token":92})
>&"Remote connection closed\n"
dNOTE: INFERIOR EXITED
dState changed from EngineShutdownRequested(15) to InferiorShutdownFinished(14) [master]
dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15) [master]
dCALL: SHUTDOWN ENGINE
dINITIATE GDBENGINE SHUTDOWN, PROC STATE: 2
<93monitor exit
<94python theDumper.exitGdb({"token":94})
>~"target.c:2675: internal-error: Can't determine the current address space of thread process 533\n\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? "
>~"(y or n) [answered Y; input not from terminal]\n"
>&"\nThis is a bug, please report it."
>&" For instructions, see:\n<http://www.gnu.org/software/gdb/bugs/>."
>&"\n\n"
>~"target.c:2675: internal-error: Can't determine the current address space of thread process 533\n\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nCreate a core file of GDB? "
>~"(y or n) [answered Y; input not from terminal]\n"
dHANDLE GDB ERROR: The process was ended forcefully.
dProcess crashed
dGDB PROCESS FINISHED, status 1, exit code 6
dNOTE: ENGINE SHUTDOWN FINISHED
dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16) [master]
dState changed from EngineShutdownFinished(16) to DebuggerFinished(17) [master]
sDebugger finished.