This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug fortran/18312] New: assumed length character argument utils.c:1062: internal-error: virtual memory exhausted.
- From: "tonkacrash at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 23 Apr 2015 18:58:46 +0000
- Subject: [Bug fortran/18312] New: assumed length character argument utils.c:1062: internal-error: virtual memory exhausted.
- Auto-submitted: auto-generated
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.