Re: bug issue:/data/jenkins/workspace/GNU-toolc hain/arm-12-3/src/binutils-gdb--gdb/gdb/utils.c:712: intern al-error: virtual memory exhausted: can't allocate 4064 byt es.

Luis Machado via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.