public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/41929]  New: 64-bit null_pointer_deref1 gnat.dg test consumes all available memory
@ 2009-11-03 18:22 ro at gcc dot gnu dot org
  2009-11-03 18:49 ` [Bug ada/41929] " ebotcazou at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: ro at gcc dot gnu dot org @ 2009-11-03 18:22 UTC (permalink / raw)
  To: gcc-bugs

Between 20091022 and 20091102, a parallel make check run (both 32 and 64 bit)
on Solaris 11/SPARC started to fail with `Cannot fork: out of memory'.  It
turns
out that the null_pointer_deref1 gnat.dg test is the culprit: it grows to 11+
GB
on my test system:

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 15442 ro         11G 6705M stop    43    0   0:03:16 0.0% null_pointer_de/1

pmap shows that it's all on the heap:

15442:  ./null_pointer_deref1.exe
0000000100000000        120K r-x-- 
/export/vol/gcc/obj/SunOS-sparc/gcc-4.5.0-20091102/11-gcc/gcc/testsuite/gnat/null_pointer_deref1.exe
000000010011C000         24K rwx-- 
/export/vol/gcc/obj/SunOS-sparc/gcc-4.5.0-20091102/11-gcc/gcc/testsuite/gnat/null_pointer_deref1.exe
0000000100122000       2936K rwx--    [ heap ]
0000000100400000     933888K rwx--    [ heap ]
7FFFFFFF7F460000          8K rwxs-    [ anon ]
7FFFFFFF7F500000         24K rwx--    [ anon ]
7FFFFFFF7F600000          8K rwx--    [ anon ]
7FFFFFFF7F700000          8K r-x-- 
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7FFFFFFF7F800000       1312K r-x--  /lib/sparcv9/libc.so.1
7FFFFFFF7FA48000         40K rwx--  /lib/sparcv9/libc.so.1
7FFFFFFF7FA52000          8K rwx--  /lib/sparcv9/libc.so.1
7FFFFFFF7FB00000          8K rwx--    [ anon ]
7FFFFFFF7FC00000          8K rw---    [ anon ]
7FFFFFFF7FD00000          8K rw---    [ anon ]
7FFFFFFF7FE00000        224K r-x--  /lib/sparcv9/ld.so.1
7FFFFFFF7FF38000         16K rwx--  /lib/sparcv9/ld.so.1
7FFFFFFF7FF3C000          8K rwx--  /lib/sparcv9/ld.so.1
FFFFFFFCF5C00000   10653696K rw---    [ stack ]
         total     11592344K

Unfortunately, I haven't been able to get a stacktrace with pstack, nor with
gdb 6.6 (quite old now, admittedly).  Since this breaks all testing, I've moved
the source out of the way for now.


-- 
           Summary: 64-bit null_pointer_deref1 gnat.dg test consumes all
                    available memory
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.11
  GCC host triplet: sparc-sun-solaris2.11
GCC target triplet: sparc-sun-solaris2.11


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


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

end of thread, other threads:[~2012-01-09  9:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-41929-4@http.gcc.gnu.org/bugzilla/>
2011-02-14 12:37 ` [Bug ada/41929] 64-bit null_pointer_deref1 gnat.dg test consumes all available memory ro at gcc dot gnu.org
2011-02-14 12:52 ` ro at gcc dot gnu.org
2012-01-09  9:51 ` ebotcazou at gcc dot gnu.org
2012-01-09  9:52 ` ebotcazou at gcc dot gnu.org
2009-11-03 18:22 [Bug ada/41929] New: " ro at gcc dot gnu dot org
2009-11-03 18:49 ` [Bug ada/41929] " ebotcazou at gcc dot gnu dot org
2009-11-04 10:29 ` rguenth at gcc dot gnu dot org
2009-11-04 11:19 ` ebotcazou at gcc dot gnu dot org
2009-11-04 11:49 ` rguenther at suse dot de
2009-11-04 11:57 ` ebotcazou at gcc dot gnu dot org
2009-11-04 13:13 ` rguenther at suse dot de
2009-11-04 21:51 ` rguenther at suse dot de
2010-01-08 19:03 ` ro at gcc dot gnu dot org
2010-01-12 12:08 ` ro at CeBiTec dot Uni-Bielefeld dot DE

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