abrt version: 1.1.17 architecture: i686 Attached file: backtrace, 20811 bytes cmdline: gdb --interpreter=mi2 -quiet component: gdb Attached file: coredump, 13758464 bytes crash_function: check_typedef executable: /usr/bin/gdb kernel: 2.6.35.11-83.fc14.i686 package: gdb-7.2-41.fc14 rating: 4 reason: Process /usr/bin/gdb was killed by signal 11 (SIGSEGV) release: Fedora release 14 (Laughlin) time: 1299262683 uid: 500 How to reproduce ----- 1. Open KDevelop 4.1.2 (shipped with Fedora 14). 2. Create a C++ project (CMake) with a simple hello world-like code (needs at least 2 executable lines). 3. Place a breakpoint in an executable line. 4. Compile the project. 5. Debug the project. 6. When the execution reaches the breakpoint and stops, select 'Step Over' the statement. GDB crashes at that point
Created attachment 482344 [details] File: backtrace
Created attachment 482354 [details] KDevelop screenshot Reproducibility of this Bug would be great as it is probably a duplicate of the popular Bug 653409 (which has older duplicates). But I do not have it reproducible according to your description, do you? Thanks.
The bug is reproducible for me from within KDevelop (launching gdb from KDevelop; launching gdb from a console works fine). I have another box with Fedora 14 (similar configuration) and I can reproduce the bug in both of them.
I have even ran that gdb under valgrind with no luck. Could you please provide your project (source file / executable etc., the dir) and even specify Launch Configurations->...->Debug->Debugger executable as this script: #! /bin/sh tee /tmp/gdb-in|gdb "$@"|tee /tmp/gdb-out (chmod +x it!) and send these gdb-in and gdb-out along? Thanks.
Could you post your exact c++ source? It is ok if it is trivial, it might still help. Also, if you open the GDB view in KDevelop, you can right-click and select "show internal commands" on the menu. This information would be very useful.
Created attachment 482396 [details] gdb-in file created using the script in comment 4
Created attachment 482397 [details] gdb-out file created using the script in comment 4
Created attachment 482398 [details] gdb internal commands, obtained as mentioned in comment 5
Created attachment 482401 [details] KDevelop project that creates the crash KDevelop project that generates the GDB crash. The program takes several parameters; only the value of '-tdd' needs to be updated to reflect path to the terrain data file (included in the attachment) in the filesystem. The best location to place the breakpoint is in topofilereader.cpp:114 or after: for (int j = 0; j < maxIndexLon - minIndexLon + 1; j++) { Other lines of code before that one have also generated the crash, but intermittently; the one proposed has always generated the crash.
gdb-7.2-46.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/gdb-7.2-46.fc14
I thought the archer-jankratochvil-vla branch has the unfinished types garbage collector disabled but it was enabled. varobj (=MI) did not properly mark the types as still used and thus a freed memory access happened, I am sorry. Disabled the garbage collector for now.
*** Bug 648284 has been marked as a duplicate of this bug. ***
*** Bug 653409 has been marked as a duplicate of this bug. ***
*** Bug 620763 has been marked as a duplicate of this bug. ***
gdb-7.2.50.20110305-28.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/gdb-7.2.50.20110305-28.fc15
gdb-7.2.50.20110305-28.fc15 has been pushed to the Fedora 15 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gdb'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gdb-7.2.50.20110305-28.fc15
I have tested the new version (in FC14), and as far as I can tell, it fixes the problem. I have tested it though several different systems that experienced the problem before, and for all of them the problem is fixed.
gdb-7.2-46.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 541691 has been marked as a duplicate of this bug. ***
gdb-7.2.50.20110305-28.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.