public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "simon.marchi at polymtl dot ca" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug backtrace/31560] Segfault when computing backtrace
Date: Wed, 27 Mar 2024 15:12:46 +0000	[thread overview]
Message-ID: <bug-31560-4717-FqvyD8cs8C@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31560-4717@http.sourceware.org/bugzilla/>

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

Simon Marchi <simon.marchi at polymtl dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.marchi at polymtl dot ca

--- Comment #5 from Simon Marchi <simon.marchi at polymtl dot ca> ---
(In reply to Andy Wingo from comment #4)
> (Happy to provide the executable but really you need the core file too,
> which is 600MB or something.  Let me know if you want it, I am sure it
> compresses well...)

Looking at the first two frames:

#0  block::scope (this=<optimized out>) at ../../gdb-14.1/gdb/block.c:293
        block = 0x0
#1  0x0000000000516c27 in cp_lookup_transparent_type (name=0x74539c0
"v8::internal::ExternalPointerTable::Space") at
../../gdb-14.1/gdb/cp-namespace.c:1029
        t = 0x0
        scope = <optimized out>

block::scope is called with a nullptr "this" from cp_lookup_transparent_type. 
So that would probably be fixed by this commit in master:

https://gitlab.com/gnutools/binutils-gdb/-/commit/576745e26c0ec76a53ba45b20af464628a50b3e4

It has been cherry-picked to the 14 branch, and is in 14.2:

https://gitlab.com/gnutools/binutils-gdb/-/commit/bc23ea51f8a83e9524dfb553baa8baacb29e68a9

Can you check if that fixes your problem?

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

  parent reply	other threads:[~2024-03-27 15:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 15:49 [Bug backtrace/31560] New: " wingo at igalia dot com
2024-03-26 15:51 ` [Bug backtrace/31560] " wingo at igalia dot com
2024-03-26 16:57 ` tromey at sourceware dot org
2024-03-27 13:15 ` wingo at igalia dot com
2024-03-27 13:16 ` wingo at igalia dot com
2024-03-27 15:12 ` simon.marchi at polymtl dot ca [this message]
2024-03-29  7:41 ` wingo at igalia dot com
2024-03-29  8:00 ` wingo at igalia dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31560-4717-FqvyD8cs8C@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).