public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18312] New: assumed length character argument utils.c:1062: internal-error: virtual memory exhausted.
@ 2015-04-23 18:58 tonkacrash at hotmail dot com
  0 siblings, 0 replies; only message in thread
From: tonkacrash at hotmail dot com @ 2015-04-23 18:58 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-23 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-23 18:58 [Bug fortran/18312] New: assumed length character argument utils.c:1062: internal-error: virtual memory exhausted tonkacrash at hotmail dot com

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).