public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/29277] jit_event_handler: Assertion `jiter->jiter_data != nullptr' failed with separate debug files
Date: Mon, 01 Aug 2022 15:55:28 +0000	[thread overview]
Message-ID: <bug-29277-4717-dCbi7VouRB@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29277-4717@http.sourceware.org/bugzilla/>

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

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #3)
> I'm seeing this on riscv64:
> 
> $ gdb/gdb --args qemu-riscv64 /usr/bin/cat
> GNU gdb (GDB) 13.0.50.20220801-git
> Copyright (C) 2022 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 "riscv64-suse-linux".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://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"...
> Reading symbols from qemu-riscv64...
> Reading symbols from
> /usr/lib/debug/usr/bin/qemu-riscv64-7.0.0-82.1.riscv64.debug...
> (gdb) r
> Starting program: /usr/bin/qemu-riscv64 /usr/bin/cat
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/lp64d/libthread_db.so.1".
> [New Thread 0x3ff7ffb3c0 (LWP 1363)]
> ../../gdb/gdb/jit.c:1247: internal-error: jit_event_handler: Assertion
> `jiter->jiter_data != nullptr' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.

Reproduced, by downloading
https://download.opensuse.org/ports/riscv/tumbleweed/images/openSUSE-Tumbleweed-RISC-V-JeOS-devel.riscv64-rootfs.riscv64.tar.xz
and unpacking it in ~/riscv64, and then doing:
...
$ gdb -q -batch -ex "set environment QEMU_LD_PREFIX ~/riscv64" -ex run --args
qemu-riscv64 ./usr/bin/cat
...

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

  parent reply	other threads:[~2022-08-01 15:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22 19:20 [Bug breakpoints/29277] New: " guillaume at morinfr dot org
2022-06-23 13:44 ` [Bug breakpoints/29277] " vries at gcc dot gnu.org
2022-06-27 14:06 ` hector.oron at gmail dot com
2022-07-19 14:23 ` vries at gcc dot gnu.org
2022-08-01 13:46 ` schwab@linux-m68k.org
2022-08-01 15:55 ` vries at gcc dot gnu.org [this message]
2022-08-01 15:56 ` vries at gcc dot gnu.org
2022-08-01 16:46 ` vries at gcc dot gnu.org
2022-10-13 13:40 ` vries at gcc dot gnu.org
2023-12-16 15:24 ` ssbssa at sourceware dot org
2023-12-16 15:36 ` vries at gcc dot gnu.org

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-29277-4717-dCbi7VouRB@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).