public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/108925] New: memory leak of gfc_get_namespace result
@ 2023-02-24 12:32 rguenth at gcc dot gnu.org
  2023-03-06 19:23 ` [Bug fortran/108925] " mikael at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-02-24 12:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108925

            Bug ID: 108925
           Summary: memory leak of gfc_get_namespace result
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

valgrind leak check complains

==8747== 3,976 (2,792 direct, 1,184 indirect) bytes in 1 blocks are definitely
lost in loss record 2,248 of 2,309
==8747==    at 0x4C39571: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)   
==8747==    by 0x1C25680: xcalloc (xmalloc.c:164)
==8747==    by 0x7C998E: gfc_get_namespace(gfc_namespace*, int)
(symbol.cc:2869)
==8747==    by 0x767D44: load_needed(pointer_info*) (module.cc:5175) 
==8747==    by 0x767BB5: load_needed(pointer_info*) (module.cc:5153)
==8747==    by 0x767BB5: load_needed(pointer_info*) (module.cc:5153)
==8747==    by 0x767BB5: load_needed(pointer_info*) (module.cc:5153)
==8747==    by 0x767BB5: load_needed(pointer_info*) (module.cc:5153) 
==8747==    by 0x767BC0: load_needed(pointer_info*) (module.cc:5154)
==8747==    by 0x767BC0: load_needed(pointer_info*) (module.cc:5154)
==8747==    by 0x767BC0: load_needed(pointer_info*) (module.cc:5154)
==8747==    by 0x767BB5: load_needed(pointer_info*) (module.cc:5153)

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

end of thread, other threads:[~2023-03-08 19:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24 12:32 [Bug fortran/108925] New: memory leak of gfc_get_namespace result rguenth at gcc dot gnu.org
2023-03-06 19:23 ` [Bug fortran/108925] " mikael at gcc dot gnu.org
2023-03-06 19:40 ` anlauf at gcc dot gnu.org
2023-03-06 19:47 ` mikael at gcc dot gnu.org
2023-03-06 19:52 ` anlauf at gcc dot gnu.org
2023-03-06 20:00 ` mikael at gcc dot gnu.org
2023-03-07 11:41 ` mikael at gcc dot gnu.org
2023-03-08 19:52 ` anlauf at gcc dot gnu.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).