public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "me at dominicclifton dot name" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/28219] arm-none-eabi-gdb, .../gdb/utils.c:671: "internal-error: virtual memory exhausted: can't allocate 4064 bytes"
Date: Tue, 18 Jul 2023 14:10:50 +0000	[thread overview]
Message-ID: <bug-28219-4717-XOhVD6lDF1@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28219-4717@http.sourceware.org/bugzilla/>

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

Dominic Clifton <me at dominicclifton dot name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me at dominicclifton dot name

--- Comment #7 from Dominic Clifton <me at dominicclifton dot name> ---
I would like to add this this is NOT fixed, see GDB traces below:

```
516,275 ~"Reading symbols from
D:\\Users\\Hydra\\Documents\\dev\\projects\\betaflight\\betaflight\\o\
bj\\main\\betaflight_STM32H725_CHONKERH735.elf...\n"
516,333 39-list-thread-groups i1
548,419
~"/data/jenkins/workspace/GNU-toolchain/arm-12-mpacbti/src/binutils-gdb--gdb/gdb/utils.c:717\
: internal-error: virtual memory exhausted: can't allocate 4064 bytes.\nA
problem internal to GDB ha\
s been detected,\nfurther debugging may prove unreliable."
```

12.2.MPACBTI-Rel1

I also confirm that using '-ggdb' vs '-ggdb3' is a working temporary workaround
for me.

When '-ggdb3' is used the GDB sessions takes forever to start and the debugger
will crash.

I also note that I do not experience crashing issues using 9.3.1 of GCC (GNU
Arms Tools release), but every version of GDB since that has the issue.

Here's the list of ones I've tried.

```
 Volume in drive D is NVME1_DATA1
 Volume Serial Number is 0641-FCA8

 Directory of D:\Programs\GNUArmTools

17/07/2023  21:18    <DIR>          .
17/07/2023  21:18    <DIR>          ..
17/07/2023  21:18    <JUNCTION>     active
[D:\Programs\GNUArmTools\gcc-arm-none-eabi-9-2020-q2-update-win32]
27/10/2022  16:58    <DIR>         
arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi
14/03/2023  09:36    <DIR>         
arm-gnu-toolchain-12.2.mpacbti-rel1-mingw-w64-i686-arm-none-eabi
12/12/2022  19:28    <DIR>         
arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi
27/07/2021  10:25    <DIR>          gcc-arm-none-eabi-10.3-2021.07
20/09/2021  11:35    <DIR>          gcc-arm-none-eabi-6-2017-q1-update-win32
20/09/2021  11:35    <DIR>          gcc-arm-none-eabi-6-2017-q2-update-win32
20/09/2021  11:34    <DIR>          gcc-arm-none-eabi-6_2-2016q4-20161216-win32
20/09/2021  11:35    <DIR>          gcc-arm-none-eabi-7-2017-q4-major-win32
20/09/2021  11:36    <DIR>          gcc-arm-none-eabi-7-2018-q2-update-win32
20/09/2021  11:36    <DIR>          gcc-arm-none-eabi-8-2018-q4-major-win32
20/09/2021  11:36    <DIR>          gcc-arm-none-eabi-8-2019-q3-update-win32
20/09/2021  11:37    <DIR>          gcc-arm-none-eabi-9-2019-q4-major-win32
20/09/2021  11:32    <DIR>          gcc-arm-none-eabi-9-2020-q2-update-win32
               6 File(s)            525 bytes
              16 Dir(s)  55,371,231,232 bytes free
```

Please can this be re-opened, triaged and fixed?  Happy to provide more
information as required.

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

  parent reply	other threads:[~2023-07-18 14:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 20:32 [Bug gdb/28219] New: " bmcdonnell at fischerblock dot com
2021-08-10 20:33 ` [Bug gdb/28219] " bmcdonnell at fischerblock dot com
2022-04-22  9:12 ` jose.simoes at eclo dot solutions
2022-05-04 23:58 ` jose.simoes at eclo dot solutions
2022-05-05 13:44 ` simon.marchi at polymtl dot ca
2022-10-13  9:20 ` luis.machado at arm dot com
2022-10-21 10:00 ` luis.machado at arm dot com
2023-07-11 14:45 ` bmcdonnell at fischerblock dot com
2023-07-18 14:10 ` me at dominicclifton dot name [this message]
2023-07-18 14:32 ` luis.machado at arm dot com
2023-07-18 16:02 ` me at dominicclifton dot name
2023-07-18 16:10 ` me at dominicclifton dot name
2023-07-19  9:56 ` luis.machado at arm dot com
2023-07-19 12:01 ` me at dominicclifton dot name
2023-07-19 13:01 ` luis.machado at arm dot com
2023-07-19 13:04 ` luis.machado at arm dot com
2023-07-19 13:35 ` me at dominicclifton dot name
2023-07-19 13:48 ` luis.machado at arm dot com
2023-07-19 13:49 ` luis.machado at arm dot com
2023-07-19 14:07 ` me at dominicclifton dot name
2023-07-19 14:56 ` simon.marchi at polymtl dot ca
2023-07-19 16:12 ` luis.machado at arm dot com
2023-07-20  1:30 ` simon.marchi at polymtl dot ca
2023-07-20 13:45 ` luis.machado at arm 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-28219-4717-XOhVD6lDF1@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).