Discussion:
[Bug gdb/11967] ../../src/gdb/thread.c:583: internal-error:
simon.marchi at ericsson dot com
2018-10-23 09:53:39 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=11967

Simon Marchi <simon.marchi at ericsson dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-10-23
CC| |simon.marchi at ericsson dot com
Ever confirmed|0 |1

--- Comment #2 from Simon Marchi <simon.marchi at ericsson dot com> ---
This still exists today. I did

./gdb -nx -q --data-directory=data-directory t -ex "catch exec" -ex "set
follow-exec-mode new" -ex "set non-stop on" -ex "run"

Where t is compiled from the following program:

#include <stdio.h>
#include <string.h>
#include <unistd.h>

int
main (void)
{
char *exec_args[] = { "/bin/ls", "ppp", NULL };
execve (exec_args[0], exec_args, NULL);
}
--
You are receiving this mail because:
You are on the CC list for the bug.
simon.marchi at ericsson dot com
2018-10-23 09:55:23 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=11967

--- Comment #3 from Simon Marchi <simon.marchi at ericsson dot com> ---
The hit assertion is not quite the same though, but it's probably just because
code has been moved around:

/home/emaisin/src/binutils-gdb/gdb/thread.c:93: internal-error: thread_info*
inferior_thread(): Assertion `tp' failed.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...