From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81C553861024; Wed, 12 Aug 2020 14:17:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81C553861024 From: "luis.machado at linaro dot org" To: gdb-prs@sourceware.org Subject: [Bug tdep/26362] [aarch64] gdb/utils.c:671: internal-error: virtual memory exhausted: can't allocate 187647121162241 bytes Date: Wed, 12 Aug 2020 14:17:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luis.machado at linaro dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2020 14:17:10 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26362 --- Comment #11 from Luis Machado --- Ok. I may have found a clue. The problematic binary seems to have the following for the str's type description: <1><1074>: Abbrev Number: 25 (DW_TAG_string_type) <1075> DW_AT_string_length: 5 byte block: 99 46 3 0 0 (DW_OP_call= 4: <0x1066>) <107b> DW_AT_sibling : <0x108a> The working case (Ubuntu 18.04) seems to have the following: <1><114c>: Abbrev Number: 27 (DW_TAG_string_type) <114d> DW_AT_string_length: 5 byte block: 99 55 3 0 0 (DW_OP_call= 4: <0x112d>) <1153> DW_AT_byte_size : 4 <1154> DW_AT_sibling : <0x1162> So it seems we're missing a DW_AT_byte_size entry. --=20 You are receiving this mail because: You are on the CC list for the bug.=