From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8B7E9385773C; Tue, 18 Jul 2023 14:10:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B7E9385773C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689689451; bh=ncoTrBgpo4n5dkika4acRXcwuzUZ3nwN+lyWh2J59lY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MTPLbUS+W9h9VrMKMYzjTboxWKtlJmqbploFJn02uCRHFeEQjOK6YNVpbZrgrvPc7 S2ACDNMCQZX+fJ26cE7GQvu1sUiBOJ2Caaf/gkObQBmM5w2M6+sMMLN2I2BOkwU6v7 XDg4i2+GFHhGViLEa9RjzGox1Niut2iOf5qUb6qw= From: "me at dominicclifton dot name" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: me at dominicclifton dot name X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28219 Dominic Clifton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |me at dominicclifton dot n= ame --- Comment #7 from Dominic Clifton --- 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--gd= b/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 workar= ound for me. When '-ggdb3' is used the GDB sessions takes forever to start and the debug= ger 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 . 17/07/2023 21:18 .. 17/07/2023 21:18 active [D:\Programs\GNUArmTools\gcc-arm-none-eabi-9-2020-q2-update-win32] 27/10/2022 16:58 =20=20=20=20=20=20=20=20=20 arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi 14/03/2023 09:36 =20=20=20=20=20=20=20=20=20 arm-gnu-toolchain-12.2.mpacbti-rel1-mingw-w64-i686-arm-none-eabi 12/12/2022 19:28 =20=20=20=20=20=20=20=20=20 arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi 27/07/2021 10:25 gcc-arm-none-eabi-10.3-2021.07 20/09/2021 11:35 gcc-arm-none-eabi-6-2017-q1-update-win32 20/09/2021 11:35 gcc-arm-none-eabi-6-2017-q2-update-win32 20/09/2021 11:34 gcc-arm-none-eabi-6_2-2016q4-20161216-w= in32 20/09/2021 11:35 gcc-arm-none-eabi-7-2017-q4-major-win32 20/09/2021 11:36 gcc-arm-none-eabi-7-2018-q2-update-win32 20/09/2021 11:36 gcc-arm-none-eabi-8-2018-q4-major-win32 20/09/2021 11:36 gcc-arm-none-eabi-8-2019-q3-update-win32 20/09/2021 11:37 gcc-arm-none-eabi-9-2019-q4-major-win32 20/09/2021 11:32 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=