Bug 1151829

Summary: ../../gdb/infrun.c:5256: internal-error: switch_back_to_stepped_thread: Assertion `!schedlock_applies (1)' failed.
Product: [Fedora] Fedora Reporter: Christophe Fergeau <cfergeau>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: gbenson, jan.kratochvil, mojbordel, palves, pmuldoon, sergiodj, tromey
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gdb-7.8.1-30.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-01 16:45:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christophe Fergeau 2014-10-12 12:29:07 UTC
Getting this error fairly reliably when trying to step through a program (test-unlock-keyring from gnome-keyring source) with gdb on f21 (gdb-7.8-25.fc21.x86_64).
This looks similar to https://sourceware.org/bugzilla/show_bug.cgi?id=17408

Comment 1 Fedora Update System 2014-10-30 22:05:21 UTC
gdb-7.8.1-30.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gdb-7.8.1-30.fc21

Comment 2 Fedora Update System 2014-10-31 01:25:19 UTC
Package gdb-7.8.1-30.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdb-7.8.1-30.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-13913/gdb-7.8.1-30.fc21
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-11-01 16:45:30 UTC
gdb-7.8.1-30.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Marek 2015-05-20 06:32:54 UTC
I'm hitting this on Fedora 21 with gdb-7.8.2-38.fc21.x86_64 and binutils-2.24-30.fc21.x86_64 when debugging with insight-7.8.50-4.20140827git.fc21.x86_64.

Maybe it's because insight is "older" than the fix?
The failed assertion doesn't seem to happen in commandline gdb.

Comment 5 Jan Kratochvil 2015-05-20 06:40:14 UTC
'insight' contains its own build of GDB so file that for Component 'insight'.