Discussion:
[Bug breakpoints/17174] New: infrun.c:4400: internal-error:
jan.kratochvil at redhat dot com
2014-07-18 11:08:54 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17174

Bug ID: 17174
Summary: infrun.c:4400: internal-error:
process_event_stop_test: Assertion
`ecs->event_thread->control.exception_resume_breakpoin
t != NULL' failed.
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: jan.kratochvil at redhat dot com
Host: x86_64-linux-gnu
Target: x86_64-linux-gnu

i=0;while runtest gdb.threads/multiple-step-overs.exp;do i=$[$i+1];echo
------------------------------$i;done

infrun: BPSTAT_WHAT_CLEAR_LONGJMP_RESUME
infrun.c:4400: internal-error: process_event_stop_test: Assertion
`ecs->event_thread->control.exception_resume_breakpoint != NULL' failed.

At about 1st to 4th run.

It happens already on the first check-in of this testcase:
99619beac6252113fed212fdb9e1ab97bface423
It still happens on current FSF GDB trunk:
fe1873d01904620c71a309249c0ae029e53ae0b6
--
You are receiving this mail because:
You are on the CC list for the bug.
jan.kratochvil at redhat dot com
2014-07-18 11:19:11 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17174

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Blocks| |17175
--
You are receiving this mail because:
You are on the CC list for the bug.
jan.kratochvil at redhat dot com
2015-01-08 20:52:37 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17174

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jan.kratochvil at redhat dot com

--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
The same internal-error rarely happens also for:

- I see it only on Fedora-patched GDB so I cannot confirm now it is not
regressed by some Fedora patch.
- Currently I no longer have Comment 0 reproducible on FSF GDB.

http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-simultaneous-step-resume-breakpoint-test.patch

(gdb) PASS: gdb.threads/simultaneous-step-resume-breakpoint.exp: step thread 1
step^M
40 if (errno != 0) /* sleep-after */^M
(gdb) FAIL: gdb.threads/simultaneous-step-resume-breakpoint.exp: step thread 2
step^M
[New Thread 0x7ffff62d4700 (LWP 10552)]^M
../../gdb/infrun.c:4740: internal-error: process_event_stop_test: Assertion
`ecs->event_thread->control.exception_resume_breakpoint != NULL' failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
Quit this debugging session? (y or n) FAIL:
gdb.threads/simultaneous-step-resume-breakpoint.exp: step thread 3 (GDB
internal error)
--
You are receiving this mail because:
You are on the CC list for the bug.
jan.kratochvil at redhat dot com
2015-01-08 20:54:06 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17174

--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
Comment 1 happened with: gdb-7.8.50.20150108.tar.xz
--
You are receiving this mail because:
You are on the CC list for the bug.
vincent.belaiche at gmail dot com
2018-06-15 08:03:19 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17174

Vincent Belaïche <vincent.belaiche at gmail dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |vincent.belaiche at gmail dot com

--- Comment #3 from Vincent Belaïche <vincent.belaiche at gmail dot com> ---
Created attachment 11070
--> https://sourceware.org/bugzilla/attachment.cgi?id=11070&action=edit
Log of my gdb session when the bug occurred
--
You are receiving this mail because:
You are on the CC list for the bug.
vincent.belaiche at gmail dot com
2018-06-15 08:06:33 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17174

--- Comment #4 from Vincent Belaïche <vincent.belaiche at gmail dot com> ---
Hello,
I got something similar, I attached the log of my session.
It made a core dump, but I don't know where to find the cure-dump file.

I am running gdb on a VirutalBox Linux VM running on a MACOS X 10.13.2

Here is my gdb version information:

$ gdb --version
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
--
You are receiving this mail because:
You are on the CC list for the bug.
vincent.belaiche at gmail dot com
2018-06-15 08:25:56 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=17174

--- Comment #5 from Vincent Belaïche <vincent.belaiche at gmail dot com> ---
One more word: I can reproduce the bug,so please feel free to ask me for help
in understanding what happened.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...