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 fortran/27341] [dwarf-5] FAIL: gdb.fortran/function-calls.exp: p derived_types_and_module_calls::pass_cart_nd(c_nd)
Date: Thu, 04 Feb 2021 07:53:08 +0000	[thread overview]
Message-ID: <bug-27341-4717-gk2KFUcefF@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-27341-4717@http.sourceware.org/bugzilla/>

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
$ gdb -iex "set trace-commands on" -batch \
  outputs/gdb.fortran/function-calls/function-calls \
  -ex "break 241" \
  -ex "run" \
  -ex "p c_nd" \
  -ex "p derived_types_and_module_calls::pass_cart_nd(c_nd)"
+break 241
Breakpoint 1 at 0x4018bc: file function-calls.f90, line 241.
+run
             (2.09999990,3.29999995)
           4           5
          23
             (2.09999990,3.29999995)
   3.40000010    
           6


Breakpoint 1, function_calls () at function-calls.f90:241
241         deallocate(c_nd%d) ! post_init
+p c_nd
Cannot access memory at address 0x4
+p derived_types_and_module_calls::pass_cart_nd(c_nd)

Program received signal SIGSEGV, Segmentation fault.
0x0000000000400f93 in derived_types_and_module_calls::pass_cart_nd (c=<error
reading variable: Cannot access memory at address 0xc>) at
/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.fortran/function-calls.f90:130
130             pass_cart_nd = ubound(c%d,1,4)
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(derived_types_and_module_calls::pass_cart_nd) will be abandoned.
When the function is done executing, GDB will silently stop.

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

  reply	other threads:[~2021-02-04  7:53 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 22:39 [Bug fortran/27341] New: " vries at gcc dot gnu.org
2021-02-04  7:53 ` vries at gcc dot gnu.org [this message]
2021-02-04  9:48 ` [Bug fortran/27341] " vries at gcc dot gnu.org
2021-02-05 12:32 ` vries at gcc dot gnu.org
2021-02-09 22:28 ` cvs-commit at gcc dot gnu.org
2021-02-09 22:30 ` vries at gcc dot gnu.org
2021-02-09 22:31 ` vries at gcc dot gnu.org
2021-03-07 16:58 ` cvs-commit at gcc dot gnu.org
2021-03-07 16:59 ` vries at gcc dot gnu.org
2021-07-15  1:35 ` sherrixotyv29 at gmail dot com
2021-07-15  5:54 ` vries at gcc dot gnu.org
2021-07-21  4:06 ` ampva300 at gmail dot com
2021-07-21  7:21 ` vries at gcc dot gnu.org
2021-08-09  9:41 ` phillipsaeverett84 at gmail dot com
2021-08-10 11:45 ` ucelsanicin at yahoo dot com
2021-09-02 11:05 ` donipah907 at mtlcz dot com
2021-09-02 11:14 ` mark at klomp dot org
2021-09-06  9:06 ` focixujo at livinginsurance dot co.uk
2021-09-06  9:12 ` focixujo at livinginsurance dot co.uk
2021-09-10 19:40 ` mehmetgelisin at aol dot com
2021-09-22 16:40 ` mervegunesli at aol dot com
2021-09-26 13:31 ` tes.vik1986 at gmail dot com
2021-10-04  4:39 ` olivernicholle9052 at gmail dot com
2021-10-05  4:33 ` cartwrighthlmv67 at gmail dot com
2021-10-09 11:00 ` gulsenenginar at aol dot com
2021-10-10  3:40 ` cartwrighthlmv67 at gmail dot com
2021-10-10 16:11 ` oficaj3 at gmail dot com
2021-10-11 11:26 ` albertopyhy93 at gmail dot com
2021-10-18  6:45 ` pagefitzpatrick687 at gmail dot com
2021-10-18 19:57 ` ahmedsayeed1982 at hotmail dot com
2021-10-18 19:59 ` ahmedsayeed1982 at hotmail dot com
2021-10-19  7:14 ` progonsaytu at gmail dot com
2021-10-24 10:02 ` glassmtech at ukr dot net
2021-10-25  8:20 ` pagewhitehea034 at gmail dot com
2021-10-25 18:38 ` ahappliancerepair1 at gmail dot com
2021-10-29 10:57 ` kimolsun2020 at outlook dot com
2021-11-02  9:31 ` amosohxx90 at gmail dot com
2021-11-04  9:21 ` bahamianiridescent at gmail dot com
2021-11-05  9:27 ` bertbxi85 at gmail dot com
2021-11-08 11:50 ` richardsboyer67 at gmail dot com
2021-11-09 11:45 ` johnsjvi95 at gmail dot com
2021-11-17 13:02 ` blareblare2000mar at gmail dot com
2022-10-23 18:52 ` newcastlescaffolding at gmail dot com
2023-03-15  0:57 ` sz1922833 at gmail dot com
2023-03-15  0:57 ` sz1922833 at gmail dot com
2023-03-20  9:55 ` qas_07 at icloud 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-27341-4717-gk2KFUcefF@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).