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 tdep/26362] [aarch64] gdb/utils.c:671: internal-error: virtual memory exhausted: can't allocate 187647121162241 bytes
Date: Wed, 12 Aug 2020 12:19:56 +0000	[thread overview]
Message-ID: <bug-26362-4717-oDWHFEj1dp@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-26362-4717@http.sourceware.org/bugzilla/>

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

--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 12766
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12766&action=edit
gcc.log, gcc.sum, outputs/gdb.fortran/mixed-lang-stack/

Reproduced using:
- osc build \
    -M testsuite \
    openSUSE_Factory_ARM aarch64
- osc chroot openSUSE_Factory_ARM aarch64
- using gdb command line

gdb command line:
...
$ gdb \
  outputs/gdb.fortran/mixed-lang-stack/mixed-lang-stack \
  -batch \
  -ex "b breakpt" \
  -ex run \
-ex bt
Breakpoint 1 at 0x11ac: file mixed-lang-stack.f90, line 37.
a = 1, b = 2.000000, c = 3.000000e+00, d = (4.000000 + 5.000000i)
           1   2.00000000       3.0000000000000000                 
(4.00000000,5.00000000) this is a string from C

Breakpoint 1, breakpt () at mixed-lang-stack.f90:37
37        write(*,*) "Hello World"         ! Break here.
#0  breakpt () at mixed-lang-stack.f90:37
#1  0x0000aaaaaaaab5d8 in mixed_func_1h () at mixed-lang-stack.f90:115
#2  0x0000aaaaaaaaafd8 in mixed_func_1g (obj=...) at mixed-lang-stack.cpp:77
#3  0x0000aaaaaaaab020 in mixed_func_1f () at mixed-lang-stack.cpp:84
#4  0x0000aaaaaaaaafbc in mixed_func_1e () at mixed-lang-stack.cpp:67
#5  0x0000aaaaaaaab5bc in mixed_func_1d (a=1, b=2, c=3, d=(4,5),
str=../../gdb/utils.c:671: internal-error: virtual memory exhausted: can't
allocate 187647121162241 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

This is a bug, please report it.  For instructions, see:
<http://bugs.opensuse.org/>.

../../gdb/utils.c:671: internal-error: virtual memory exhausted: can't allocate
187647121162241 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
Aborted (core dumped)
...

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

  parent reply	other threads:[~2020-08-12 12:19 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 14:17 [Bug tdep/26362] New: " vries at gcc dot gnu.org
2020-08-10 14:18 ` [Bug tdep/26362] " vries at gcc dot gnu.org
2020-08-10 14:18 ` vries at gcc dot gnu.org
2020-08-10 14:26 ` [Bug tdep/26362] [aarch64] " vries at gcc dot gnu.org
2020-08-10 14:30 ` alahay01 at gcc dot gnu.org
2020-08-11 13:29 ` luis.machado at linaro dot org
2020-08-11 15:25 ` vries at gcc dot gnu.org
2020-08-11 19:38 ` luis.machado at linaro dot org
2020-08-12  7:50 ` vries at gcc dot gnu.org
2020-08-12  9:10 ` vries at gcc dot gnu.org
2020-08-12 12:19 ` vries at gcc dot gnu.org [this message]
2020-08-12 12:21 ` vries at gcc dot gnu.org
2020-08-12 12:31 ` vries at gcc dot gnu.org
2020-08-12 13:47 ` luis.machado at linaro dot org
2020-08-12 13:53 ` luis.machado at linaro dot org
2020-08-12 14:17 ` luis.machado at linaro dot org
2020-08-12 14:17 ` luis.machado at linaro dot org
2020-08-12 16:34 ` luis.machado at linaro dot org
2020-08-12 17:02 ` andrew.burgess at embecosm dot com
2020-08-12 17:17 ` luis.machado at linaro dot org
2020-08-12 17:23 ` vries at gcc dot gnu.org
2020-08-12 17:26 ` luis.machado at linaro dot org
2020-08-12 18:12 ` vries at gcc dot gnu.org
2020-08-12 18:20 ` luis.machado at linaro dot org
2020-08-12 18:32 ` luis.machado at linaro dot org
2020-08-12 19:06 ` luis.machado at linaro dot org
2020-08-12 21:13 ` vries at gcc dot gnu.org
2020-08-12 21:15 ` luis.machado at linaro dot org
2020-08-12 22:03 ` vries at gcc dot gnu.org
2020-08-12 22:19 ` luis.machado at linaro dot org
2020-08-14 15:46 ` vries at gcc dot gnu.org
2020-08-15 10:01 ` vries at gcc dot gnu.org
2020-08-15 10:05 ` 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-26362-4717-oDWHFEj1dp@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).