public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* 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.
@ 2023-03-30  2:26 于洋洋
  2023-03-30 13:43 ` Luis Machado
  0 siblings, 1 reply; 2+ messages in thread
From: 于洋洋 @ 2023-03-30  2:26 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 1971 bytes --]

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]

Thanks,
My Best

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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.
  2023-03-30  2:26 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 于洋洋
@ 2023-03-30 13:43 ` Luis Machado
  0 siblings, 0 replies; 2+ messages in thread
From: Luis Machado @ 2023-03-30 13:43 UTC (permalink / raw)
  To: 于洋洋, gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-30 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30  2:26 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 于洋洋
2023-03-30 13:43 ` Luis Machado

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).