From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27497 invoked by alias); 23 Apr 2015 18:58:48 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 27475 invoked by uid 48); 23 Apr 2015 18:58:47 -0000 From: "tonkacrash at hotmail dot com" To: gdb-prs@sourceware.org Subject: [Bug fortran/18312] New: assumed length character argument utils.c:1062: internal-error: virtual memory exhausted. Date: Thu, 23 Apr 2015 18:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tonkacrash at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00126.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18312 Bug ID: 18312 Summary: assumed length character argument utils.c:1062: internal-error: virtual memory exhausted. Product: gdb Version: 7.8 Status: NEW Severity: normal Priority: P2 Component: fortran Assignee: unassigned at sourceware dot org Reporter: tonkacrash at hotmail dot com Created attachment 8264 --> https://sourceware.org/bugzilla/attachment.cgi?id=8264&action=edit Demonstrates virtual memory exhausted bug. Similar to Bug 9232, but involves assumed-length character variables. I could not duplicate bug 9232 with test code in that bug report. Bug 9232 seems to be fixed. May be same as 9260, but that bug was in a version prior to the last version I had working. Also behavior (fails differently) of 9260 is different in gdb 7.8 that I'm using. This is using cygwin (x86) on windows 7 64-bit. Bug encountered when stepping into a subroutine with an assumed length character string. Attached test program should demonstrate bug. I've been aware of a problem for a couple years, but hadn't isolated it until this morning. I held off updating hoping it would be corrected at some point. The last version I know that worked was gdb 6.8 compiled with gcc 4.3.4. $ gdb chartest GNU gdb (GDB) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. ... Reading symbols from chartest...done. (gdb) break testsub Breakpoint 1 at 0x4011a9: file chartest.f, line 9. (gdb) run Starting program: /users/swm_0085/chartest [New Thread 6012.0x600] [New Thread 6012.0x1c38] [New Thread 6012.0x210c] [New Thread 6012.0x11d0] Breakpoint 1, testsub (string= /usr/src/ports/gdb/gdb-7.8-2.i686/src/gdb-7.8/gdb/utils.c:1062: internal-error: virtual memory exhausted. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) Windows 7 64-bit cygwin (x86) 1.7.35-1 (clean install this morning) gdb 7.8 gcc 4.9.2 -- You are receiving this mail because: You are on the CC list for the bug.