This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug record/20456] gdb crash with record and d
- From: "bernhardu at mailbox dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 22 Nov 2018 12:57:19 +0000
- Subject: [Bug record/20456] gdb crash with record and d
- Auto-submitted: auto-generated
- References: <bug-20456-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20456
Bernhard Übelacker <bernhardu at mailbox dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernhardu at mailbox dot org
--- Comment #7 from Bernhard Übelacker <bernhardu at mailbox dot org> ---
I tried to debug in a debian buster amd64 qemu VM the application kalgebra.
There I received that message too:
(gdb) record
(gdb) cont
Continuing.
/build/gdb-KOFU8D/gdb-8.1/gdb/nat/x86-linux-dregs.c:146:
internal-error: void x86_linux_update_debug_registers(lwp_info*):
Assertion `lwp_is_stopped (lwp)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
I had set one breakpoint before at ConsoleHtml::clear and hit that.
(To reproduce click menu Calculator - Clear.)
kalgebra seems to start around 30 treads.
I tried to find the first version showing that issue in debian and found
- gdb-minimal_7.10-1.1 works
- gdb-minimal_7.11.1-1 fails
A git bisect points to that commit:
398e081380a204e3b9fb4eb4da069ccf471f930e is the first bad commit
commit 398e081380a204e3b9fb4eb4da069ccf471f930e
Author: Pedro Alves <palves@redhat.com>
Date: Wed Sep 30 19:23:39 2015 +0100
x86/Linux: reenable all-stop on top of non-stop
Since the record-btrace target now supports non-stop mode, we no
longer need to force-disable as-ns on x86.
gdb/ChangeLog:
2015-09-30 Pedro Alves <palves@redhat.com>
* linux-nat.c (linux_nat_always_non_stop_p): Always return 1.
* x86-linux-nat.c (x86_linux_always_non_stop_p): Delete.
(x86_linux_create_target): Don't install
x86_linux_always_non_stop_p.
:040000 040000 aa77d3a15c409479339b4e70e06a39b37de2e41b
42386dee55ce6dbfc8466dd1f54107d2e1af1949 M gdb
That patch reverted on the current debian buster gdb-minimal_8.1-4+b1
package makes the assert go away (and seems working for my limited test).
Bugs 21051 and 22368 seem to be about the same issue.
--
You are receiving this mail because:
You are on the CC list for the bug.