Segmentation fault.

Leon Pollak leonp at plris.com
Wed Jun 20 12:27:46 BST 2012


Hello, all.

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, where 
gdbserver runs. Kdevelop debugger connects to it via Ethernet.

Kdevelop is the master git from yesterday.

Everything worked fine (well,  I reported them), 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.
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

What can I do to investigate the issue, which seems to me a bug in 
kdevelop?
-- 
Leon




More information about the KDevelop mailing list