public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "abdallah93.as at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/31348] New: Launching the floor() and the ceil() functions under the print command breaks the software
Date: Tue, 06 Feb 2024 21:23:23 +0000	[thread overview]
Message-ID: <bug-31348-4717@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 31348
           Summary: Launching the floor() and the ceil() functions under
                    the print command breaks the software
           Product: gdb
           Version: 12.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: abdallah93.as at gmail dot com
  Target Milestone: ---

The prompt is shown in interactive mode in which I type "p floor(3.1)" when I
am debugging a C binary compiled with the -g flag


////////////////////////////////////////////////////////////

(gdb) p floor(3.1)


Fatal signal: Segmentation fault
----- Backtrace -----
0x55c6174f0077 ???
0x55c6175f2859 ???
0x55c6175f2a22 ???
0x7f7654c4251f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x55c6174a0020 ???
0x55c617647637 ???
0x55c6175f024a ???
0x55c6175ec827 ???
0x55c61770f79f ???
0x55c61770fcef ???
0x55c617525654 ???
0x55c61781b394 ???
0x55c6175f39a4 ???
0x55c6175f3d43 ???
0x55c6175f44c6 ???
0x7f7656004e0d ???
0x55c6175f2a95 ???
0x55c6175f4374 ???
0x55c6175f268b ???
0x55c6179a4815 ???
0x55c6179a4caa ???
0x55c6176b036c ???
0x55c6176b2054 ???
0x55c61744815f ???
0x7f7654c29d8f __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7f7654c29e3f __libc_start_main_impl
        ../csu/libc-start.c:392
0x55c61744dbf4 ???
0xffffffffffffffff ???
---------------------
A fatal error internal to GDB has been detected, further
debugging is not possible.  GDB will now terminate.

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

Segmentation fault (core dumped)



////////////////////////////////////////////////////////

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

             reply	other threads:[~2024-02-06 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06 21:23 abdallah93.as at gmail dot com [this message]
2024-02-07  1:23 ` [Bug gdb/31348] " tromey at sourceware dot org
2024-02-07  6:34 ` abdallah93.as at gmail 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-31348-4717@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).