Segmentation fault

Aleix Pol aleixpol at
Thu Jun 21 12:30:07 UTC 2012

On Thursday 21 June 2012 15:05:58 Leon Pollak wrote:
> Hello, all.
> I posted this in kdevelop at May be nobody have seen this
> there...
> I do not know what is important and what is not, so....
> I work (for the last 6 years) with kdevelop for embedded development.
> The last project is the application on target running ARM Linux, in
> which the gdbserver runs. Kdevelop debugger connects to it via Ethernet.
> Kdevelop is the master git from 19 June.
> Everything worked fine, till last 2-3 days. The problem looked like
> following:
> Suddenly, after running the application, gdbserver reports "segmentation
> fault" (SF) and exits. Restarting of the system without restarting the
> kdevelop causes this SF to occur on each run, sometimes in different
> places having nothing in common, but at EACH break point.
> Restarting the kdevelop itself solves the issue till the next
> occurrence, which usually happen after 2-3 debugger runs.
> Again, when this happens, only restart of kdevelop helps.
> Plain gdb always works fine.
> Even in this state (when SF occurs) removing all breakpoints also solves
> the issue - application runs without SF. Insertion of any BP immediately
> causes the SF.
> May be this is important:
> Sometimes, when I press 'F9', I receive the error message:
> "Gdb command sent when debugger is not running
> The command was:
> -data-disassemble -s $pc -e "$pc + 128" -- 0 "
> Several times I saw the situation, when an attempt to execute a command
> from within gdb window caused the message saying that incorrect package
> ignored because of the hex digit XXX (I do not remember the exact text).
> What can I do to investigate the issue, which seems to me a bug in
> kdevelop?

Maybe we can have a backtrace? Or a valgrind run?


More information about the KDevelop-devel mailing list