This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20986] New: Error when Executing gdb debug in Eclipse on Mac OSx 10.12 installed with HomeBrew


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

            Bug ID: 20986
           Summary: Error when Executing gdb debug in Eclipse on Mac OSx
                    10.12 installed with HomeBrew
           Product: gdb
           Version: 7.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: bkomanet at gmail dot com
  Target Milestone: ---

Simple C++ program created in Eclipse Neon.1.  Built OK, runs OK, then when
debugging, the following GDB error.  /usr/local/bin/gdb has been code signed,
no problems.

GNU gdb (GDB) 7.12
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-apple-darwin16.1.0".
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".
warning: Mach error at "darwin-nat.c:290" in function "void
darwin_check_new_threads(struct inferior *)": (ipc/send) invalid destination
port (0x10000003)
darwin-nat.c:1710: internal-error: void darwin_init_thread_list(struct inferior
*): Assertion `inf->priv->threads && VEC_length (darwin_thread_t,
inf->priv->threads) > 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

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

darwin-nat.c:1710: internal-error: void darwin_init_thread_list(struct inferior
*): Assertion `inf->priv->threads && VEC_length (darwin_thread_t,
inf->priv->threads) > 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]