Bug 894678

Summary: [abrt] gdb-7.4.50.20120120-52.fc17: dump_core: Process /usr/bin/gdb was killed by signal 6 (SIGABRT)
Product: [Fedora] Fedora Reporter: Dan Callaghan <dcallagh>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: fedora-bugs, gbenson, jan.kratochvil, lis82, palves, pmuldoon, sergiodj, tromey
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bf3ef9266883a16e9a8b9845671f2d65a0bdf2ed
Fixed In Version: gdb-7.4.50.20120120-54.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-29 07:35:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: var_log_messages
none
File: limits
none
File: backtrace
none
File: cgroup
none
File: executable
none
File: maps
none
File: dso_list
none
File: build_ids
none
File: proc_pid_status
none
File: open_fds none

Description Dan Callaghan 2013-01-13 05:34:13 UTC
Description of problem:
Debugging a vala program

Version-Release number of selected component:
gdb-7.4.50.20120120-52.fc17

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
backtrace_rating: 4
cmdline:        gdb build/tests
crash_function: dump_core
kernel:         3.6.10-2.fc17.x86_64

truncated backtrace:
:Thread no. 1 (10 frames)
: #2 dump_core at ../../gdb/utils.c:860
: #3 internal_vproblem at ../../gdb/utils.c:1018
: #5 internal_verror at ../../gdb/utils.c:1043
: #6 internal_error at ../../gdb/utils.c:1053
: #7 set_momentary_breakpoint at ../../gdb/breakpoint.c:7207
: #8 finish_forward at ../../gdb/infcmd.c:1650
: #9 finish_command at ../../gdb/infcmd.c:1768
: #10 execute_command at ../../gdb/top.c:484
: #11 command_handler at ../../gdb/event-top.c:440
: #12 command_line_handler at ../../gdb/event-top.c:641

Potential duplicate bug: 716627

Comment 1 Dan Callaghan 2013-01-13 05:34:29 UTC
Created attachment 677628 [details]
File: var_log_messages

Comment 2 Dan Callaghan 2013-01-13 05:34:31 UTC
Created attachment 677629 [details]
File: limits

Comment 3 Dan Callaghan 2013-01-13 05:34:34 UTC
Created attachment 677630 [details]
File: backtrace

Comment 4 Dan Callaghan 2013-01-13 05:34:36 UTC
Created attachment 677631 [details]
File: cgroup

Comment 5 Dan Callaghan 2013-01-13 05:34:38 UTC
Created attachment 677632 [details]
File: executable

Comment 6 Dan Callaghan 2013-01-13 05:34:41 UTC
Created attachment 677633 [details]
File: maps

Comment 7 Dan Callaghan 2013-01-13 05:34:44 UTC
Created attachment 677634 [details]
File: dso_list

Comment 8 Dan Callaghan 2013-01-13 05:34:46 UTC
Created attachment 677635 [details]
File: build_ids

Comment 9 Dan Callaghan 2013-01-13 05:34:48 UTC
Created attachment 677636 [details]
File: proc_pid_status

Comment 10 Dan Callaghan 2013-01-13 05:34:50 UTC
Created attachment 677637 [details]
File: open_fds

Comment 11 Fedora Update System 2013-01-13 12:41:59 UTC
gdb-7.4.50.20120120-54.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gdb-7.4.50.20120120-54.fc17

Comment 12 Fedora Update System 2013-01-14 04:22:24 UTC
Package gdb-7.4.50.20120120-54.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdb-7.4.50.20120120-54.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-0776/gdb-7.4.50.20120120-54.fc17
then log in and leave karma (feedback).

Comment 13 Tobias Mueller 2013-01-16 20:33:43 UTC
This is trying to reproduce bug 823325 which itself is a copy of bug 612578


Still an issue with F17

$ qemu-system-x86_64 -m 1G -smp 1 -hda /opt/ubuntu.img -snapshot -kernel /boot/vmlinuz-3.6.10-2.fc17.x86_64 -append 'root=/dev/sda1' -s -S

and then


$ gdb
GNU gdb (GDB) Fedora (7.4.50.20120120-52.fc17)
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/>.
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
0x0000fff0 in ?? ()
(gdb) br start_kernel
No symbol table is loaded.  Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (start_kernel) pending.
(gdb) c
Continuing.
Remote connection closed
(gdb) c^C^CInterrupted while waiting for the program.
Give up (and stop debugging it)? (y or n) y

../../gdb/target.c:1001: internal-error: Attempt to unpush the dummy target
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
../../gdb/target.c:1001: internal-error: Attempt to unpush the dummy target
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Aborted (core dumped)




Note the commands I issue:
target remote localhost:1234
br start_kernel
y
c
Ctrl+C
y
y


backtrace_rating: 4
Package: gdb-7.4.50.20120120-52.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 14 Fedora Update System 2013-01-30 00:51:36 UTC
gdb-7.4.50.20120120-54.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.