public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33845]  New: Namespace memory cleanup needed
@ 2007-10-20 22:42 jvdelisle at gcc dot gnu dot org
  2008-03-13 14:46 ` [Bug fortran/33845] " fxcoudert at gcc dot gnu dot org
  2009-03-29  7:38 ` fxcoudert at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-10-20 22:42 UTC (permalink / raw)
  To: gcc-bugs

Valgrind gives this:

==28681== 
==28681== 25,120 (14,664 direct, 10,456 indirect) bytes in 325 blocks are
definitely lost in loss record 8 of 10
==28681==    at 0x4A05996: malloc (vg_replace_malloc.c:149)
==28681==    by 0xB26057: xmalloc (xmalloc.c:147)
==28681==    by 0x445B04: gfc_getmem (misc.c:37)
==28681==    by 0x46FB99: gfc_get_namespace (symbol.c:2079)
==28681==    by 0x452A43: parse_contained (parse.c:2898)
==28681==    by 0x453641: gfc_parse_file (parse.c:3205)
==28681==    by 0x47AF74: gfc_be_parse_file (f95-lang.c:258)
==28681==    by 0x6E9181: toplev_main (toplev.c:1042)
==28681==    by 0x370C61DAB3: (below main) (in /lib64/libc-2.6.so)
==28681== 

With argument_checking_8.f90

See: http://gcc.gnu.org/ml/fortran/2007-10/msg00296.html

For the test case, need associated patch to see this.  Memory issue is
unrelated to the patch for PR31306.


-- 
           Summary: Namespace memory cleanup needed
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jvdelisle at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33845


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/33845] Namespace memory cleanup needed
  2007-10-20 22:42 [Bug fortran/33845] New: Namespace memory cleanup needed jvdelisle at gcc dot gnu dot org
@ 2008-03-13 14:46 ` fxcoudert at gcc dot gnu dot org
  2009-03-29  7:38 ` fxcoudert at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2008-03-13 14:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2008-03-13 14:46 -------
Reduced testcase:

subroutine ouch
end

==29512== 2,864 (2,416 direct, 448 indirect) bytes in 13 blocks are definitely
lost in loss record 3 of 7
==29512==    at 0x4A1B858: malloc (vg_replace_malloc.c:149)
==29512==    by 0xB51457: xmalloc (xmalloc.c:147)
==29512==    by 0x444AC4: gfc_getmem (misc.c:37)
==29512==    by 0x470A27: gfc_get_namespace (symbol.c:2079)
==29512==    by 0x470B6C: gfc_symbol_init_2 (symbol.c:2928)
==29512==    by 0x444778: gfc_init_2 (misc.c:269)
==29512==    by 0x452FBE: gfc_parse_file (parse.c:3499)
==29512==    by 0x47C0E4: gfc_be_parse_file (f95-lang.c:261)
==29512==    by 0x6F6198: toplev_main (toplev.c:1029)
==29512==    by 0x4B3B4C9: (below main) (in /usr/lib/debug/libc-2.3.6.so)


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-03-13 14:46:01
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33845


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/33845] Namespace memory cleanup needed
  2007-10-20 22:42 [Bug fortran/33845] New: Namespace memory cleanup needed jvdelisle at gcc dot gnu dot org
  2008-03-13 14:46 ` [Bug fortran/33845] " fxcoudert at gcc dot gnu dot org
@ 2009-03-29  7:38 ` fxcoudert at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-03-29  7:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2009-03-29 07:38 -------
And now it's gone...


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33845


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-29  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-20 22:42 [Bug fortran/33845] New: Namespace memory cleanup needed jvdelisle at gcc dot gnu dot org
2008-03-13 14:46 ` [Bug fortran/33845] " fxcoudert at gcc dot gnu dot org
2009-03-29  7:38 ` fxcoudert at gcc dot gnu dot org

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