Bug 314880

Summary: Internal debugger error
Product: [Applications] kdevelop Reporter: Damian <lars>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: normal CC: aleixpol, hauptmech, lars, niko.sams, sir.vestnik
Priority: NOR Keywords: triaged
Version First Reported In: unspecified   
Target Milestone: 4.3.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Damian 2013-02-11 09:24:38 UTC
When I start the debugger I get this error window:
"Interneal debuuger errorr - KDevelop"
"The debugger component encountered internal error while processing reply from gdb. Please sumbit a big report."

The exception is: MI type error 
The MI response is: ^done

Reproducible: Always

Steps to Reproduce:
1. press debug button
2.
3.
Actual Results:  
Here is the gdb debug details:
(gdb) -gdb-exit
(gdb) quit
^exit
gdb --interpreter=mi2 -quiet
(gdb) -gdb-show version
GNU gdb (GDB) Fedora (7.5.1-32.fc18)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
^done
(gdb) -gdb-set width 0
^done
(gdb) -gdb-set height 0
^done
(gdb) handle SIG32 pass nostop noprint
handle SIG32 pass nostop noprint
Signal Stop Print Pass to program Description
SIG32 No No Yes Real-time event 32
^done
(gdb) handle SIG41 pass nostop noprint
handle SIG41 pass nostop noprint
Signal Stop Print Pass to program Description
SIG41 No No Yes Real-time event 41
^done
(gdb) handle SIG42 pass nostop noprint
handle SIG42 pass nostop noprint
Signal Stop Print Pass to program Description
SIG42 No No Yes Real-time event 42
^done
(gdb) handle SIG43 pass nostop noprint
handle SIG43 pass nostop noprint
Signal Stop Print Pass to program Description
SIG43 No No Yes Real-time event 43
^done
(gdb) -enable-pretty-printing
^done
(gdb) -gdb-set charset UTF-8
^done
(gdb) -gdb-set print sevenbit-strings off
^done
(gdb) source /usr/share/kde4/apps/kdevgdb/printers/gdbinit
source /usr/share/kde4/apps/kdevgdb/printers/gdbinit
^done
(gdb) -inferior-tty-set /dev/pts/4
^done
(gdb) -environment-cd /home/las/dev/Intex/Intex/bin
^done
(gdb) -exec-arguments -s axie -d 2013-01-15 -f INTEX.TXT -o output.txt
^done
(gdb) -gdb-set environment CDI_PATH=/mnt/intex/cmo_cdi
^done
(gdb) -gdb-set environment CDU_PATH=/mnt/intex/cmo_cdu 
^done
(gdb) -gdb-set print static-members off

^done
(gdb) -gdb-set print asm-demangle on
^done
(gdb) -file-exec-and-symbols /home/las/dev/Intex/Intex/bin/IntexClientDemo
^done
(gdb) -break-list
^done
(gdb) -exec-run
^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
Comment 1 Damian 2013-02-11 09:26:17 UTC
I am using version 4.9.5 from yum repo for Fedora 18.
Comment 2 Damian 2013-02-11 09:27:27 UTC
It does not happen when I don't set the enviornment variables
gdb) -gdb-set environment CDI_PATH=/mnt/intex/cmo_cdi
^done
(gdb) -gdb-set environment CDU_PATH=/mnt/intex/cmo_cdu
Comment 3 Niko Sams 2013-03-03 13:48:02 UTC
Strange, for some reason the wrong response is parsed.

ways how we could find the cause:
- you tell me how to reproduce this by either giving me the sources and instructions how to build (given it's open source)
- you create a simplified testcase (optimally consisting of a single file) with that I can reproduce
- you try to reproduce the issue with gdb only (to find out if it's a gdb or a kdevelop issue)
Comment 4 Aleix Pol 2013-06-12 01:30:24 UTC
Please...? :)
Comment 5 hauptmech 2016-05-15 23:33:19 UTC
I got this same error after I added an environment variable to my run configuration (I had none before).

In my case I was able to pass the info via the arguments.
Comment 6 Andrew Crouthamel 2018-09-26 22:10:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 03:43:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!