public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/17876] New: internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed.
@ 2015-01-25 18:26 jan.kratochvil at redhat dot com
  2023-02-17  0:59 ` [Bug go/17876] " tromey at sourceware dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jan.kratochvil at redhat dot com @ 2015-01-25 18:26 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17876
           Summary: internal-error: go_symbol_package_name: Assertion
                    `SYMBOL_LANGUAGE (sym) == language_go' failed.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: go
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
            Target: x86_64-linux-gnu

(gdb) file docker
Reading symbols from docker...done.
(gdb) tb *_start
Temporary breakpoint 1 at 0x73a7b0
(gdb) run
Starting program: /usr/bin/docker 
[...]
go-lang.c:403: internal-error: go_symbol_package_name: Assertion
`SYMBOL_LANGUAGE (sym) == language_go' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/17876] internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed.
  2015-01-25 18:26 [Bug go/17876] New: internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed jan.kratochvil at redhat dot com
@ 2023-02-17  0:59 ` tromey at sourceware dot org
  2023-02-18  0:06 ` cvs-commit at gcc dot gnu.org
  2023-02-18  0:21 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2023-02-17  0:59 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |tromey at sourceware dot org
                 CC|                            |tromey at sourceware dot org

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I wrote the patch.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/17876] internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed.
  2015-01-25 18:26 [Bug go/17876] New: internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed jan.kratochvil at redhat dot com
  2023-02-17  0:59 ` [Bug go/17876] " tromey at sourceware dot org
@ 2023-02-18  0:06 ` cvs-commit at gcc dot gnu.org
  2023-02-18  0:21 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-02-18  0:06 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e8eca7a6b602290bb3f50728432d524577ade727

commit e8eca7a6b602290bb3f50728432d524577ade727
Author: Tom Tromey <tom@tromey.com>
Date:   Thu Feb 16 17:52:07 2023 -0700

    Fix crash in go_symbol_package_name

    go_symbol_package_name package name asserts that it is only passed a
    Go symbol, but this is not enforced by one caller.  It seems simplest
    to just check and return early in this case.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=17876
    Reviewed-By: Andrew Burgess <aburgess@redhat.com>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug go/17876] internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed.
  2015-01-25 18:26 [Bug go/17876] New: internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed jan.kratochvil at redhat dot com
  2023-02-17  0:59 ` [Bug go/17876] " tromey at sourceware dot org
  2023-02-18  0:06 ` cvs-commit at gcc dot gnu.org
@ 2023-02-18  0:21 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2023-02-18  0:21 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.1
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-18  0:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-25 18:26 [Bug go/17876] New: internal-error: go_symbol_package_name: Assertion `SYMBOL_LANGUAGE (sym) == language_go' failed jan.kratochvil at redhat dot com
2023-02-17  0:59 ` [Bug go/17876] " tromey at sourceware dot org
2023-02-18  0:06 ` cvs-commit at gcc dot gnu.org
2023-02-18  0:21 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).