Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Luis Machado via Gdb <gdb@sourceware.org>
To: 于洋洋 <yuyangyang.miles@bytedance.com>,
	"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: bug issue:/data/jenkins/workspace/GNU-toolchain/arm-12-3/src/binutils-gdb--gdb/gdb/utils.c:712: internal-error: virtual memory exhausted: can't allocate 4064 bytes.
Date: Thu, 30 Mar 2023 14:43:01 +0100	[thread overview]
Message-ID: <eabb8da8-4ab1-336e-2368-c952b8a7e448@arm.com> (raw)
In-Reply-To: <CALEJ4nhc2FYav27L9KKqT5zC2X-jzbtRVFQsVGsABvu1v-76-Q@mail.gmail.com>

Hi,

On 3/30/23 03:26, 于洋洋 via Gdb wrote:
> Hello,
>       I am debugging vmlinux using aarch64 none linux gnu gdb.exe and
> encountered the following error. I searched the relevant forums and did not
> find a solution to this error. I need your help, thank you!
> 
> Follow error log:
> G30262ND-WSO+Admin@G30262ND-WSO MINGW64 /d/version/usb_fail
> $ aarch64-none-linux-gnu-gdb.exe vmlinux
> GNU gdb (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24))
> 12.1.90.20221210-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 "--host=i686-w64-mingw32
> --target=aarch64-none-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://bugs.linaro.org/>.
> 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 vmlinux...
> (gdb) print linux_banner
> /data/jenkins/workspace/GNU-toolchain/arm-12-3/src/binutils-gdb--gdb/gdb/utils.c:712:
> internal-error: virtual memory exhausted: can't allocate 4064 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:
> <https://bugs.linaro.org/>.
> 
> /data/jenkins/workspace/GNU-toolchain/arm-12-3/src/binutils-gdb--gdb/gdb/utils.c:712:
> internal-error: virtual memory exhausted: can't allocate 4064 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]

The error itself is fairly generic. Would you be able to share your vmlinux? Or does this reproduce
with a vmlinux I can build and try?

Thanks,
Luis

> 
> Thanks,
> My Best


      reply	other threads:[~2023-03-30 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30  2:26 于洋洋 via Gdb
2023-03-30 13:43 ` Luis Machado via Gdb [this message]

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=eabb8da8-4ab1-336e-2368-c952b8a7e448@arm.com \
    --to=gdb@sourceware.org \
    --cc=luis.machado@arm.com \
    --cc=yuyangyang.miles@bytedance.com \
    /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