Discussion:
[Bug gdb/23612] New: gdb reported an internal error "../../gdb/main.c:471: internal-error: void exec_or_core_file_attach(const char*, int): Assertion `exec_bfd == NULL' failed."
michael.mccafferty at raritan dot com
2018-09-06 15:15:27 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23612

Bug ID: 23612
Summary: gdb reported an internal error "../../gdb/main.c:471:
internal-error: void exec_or_core_file_attach(const
char*, int): Assertion `exec_bfd == NULL' failed."
Product: gdb
Version: 8.0.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: michael.mccafferty at raritan dot com
Target Milestone: ---

Here's the gdb invocation and subsequent output:

gdb radiusd
GNU gdb (GDB) Fedora 8.0.1-36.fc27
Copyright (C) 2017 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".
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"...
../../gdb/main.c:471: internal-error: void exec_or_core_file_attach(const
char*, int): Assertion `exec_bfd == NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it. For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

../../gdb/main.c:471: internal-error: void exec_or_core_file_attach(const
char*, int): Assertion `exec_bfd == NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-09-06 12:38:33 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23612

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-09-06
CC| |tromey at sourceware dot org
Ever confirmed|0 |1

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Is there any chance you could try a newer gdb?

This bug seems very strange; but if there was a missing
initialization (seems improbable but you never know),
it seems like it would have been fixed since 8.0.
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-09-06 18:09:42 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23612

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
Also, that function isn't in the current sources and, importantly,
isn't mentioned anywhere in the ChangeLogs. So maybe it is a
Fedora patch? Sergio?
--
You are receiving this mail because:
You are on the CC list for the bug.
michael.mccafferty at raritan dot com
2018-09-07 01:14:18 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=23612

--- Comment #3 from michael.mccafferty at raritan dot com ---
Tromey,

No real chance I can install a later version at this time. I reported the
bug only because the gdb output requested it and I was trying to be a good
citizen. I've since been able to get passed the issue by slimming down the
operant .gdbinit file and loading the path, and file information, etc. at the
gdb prompt. For some reason the issue doesn't occur under those conditions.
It may very well be a fedora patch at the root of things.

Mike

-----Original Message-----
From: tromey at sourceware dot org <sourceware-***@sourceware.org>
Sent: Thursday, September 06, 2018 8:39 AM
To: Michael McCafferty <***@raritan.com>
Subject: [Bug gdb/23612] gdb reported an internal error "../../gdb/main.c:471:
internal-error: void exec_or_core_file_attach(const char*, int): Assertion
`exec_bfd == NULL' failed."

https://sourceware.org/bugzilla/show_bug.cgi?id=23612

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-09-06
CC| |tromey at sourceware dot org
Ever confirmed|0 |1

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> --- Is there any
chance you could try a newer gdb?

This bug seems very strange; but if there was a missing initialization (seems
improbable but you never know), it seems like it would have been fixed since
8.0.

--
You are receiving this mail because:
You reported the bug.

________________________________

Ce message, ainsi que tous les fichiers joints à ce message, peuvent contenir
des informations sensibles et/ ou confidentielles ne devant pas être
divulguées. Si vous n'êtes pas le destinataire de ce message (ou que vous
recevez ce message par erreur), nous vous remercions de le notifier
immédiatement à son expéditeur, et de détruire ce message. Toute copie,
divulgation, modification, utilisation ou diffusion, non autorisée, directe ou
indirecte, de tout ou partie de ce message, est strictement interdite.


This e-mail, and any document attached hereby, may contain confidential and/or
privileged information. If you are not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and destroy this
e-mail. Any unauthorized, direct or indirect, copying, disclosure, distribution
or other use of the material or parts thereof is strictly forbidden.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...