public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/64999] New: s390x libgo test failure in TestMemoryProfiler
Date: Tue, 10 Feb 2015 12:13:00 -0000	[thread overview]
Message-ID: <bug-64999-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 64999
           Summary: s390x libgo test failure in TestMemoryProfiler
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: vogt at linux dot vnet.ibm.com
                CC: cmang at google dot com

With the current trunk I get a test failure in the runtime/pprof test.  I'll
start investigating what's going on now but wanted to report it beforehand. 
Any hints on debugging this?

--

$ make -k check-go RUNTESTFLAGS="go-test.exp"
...
--- FAIL: TestMemoryProfiler (0.16s)
    testing.go:278: The entry did not match:
        32: 1024 \[32: 1024\] @ 0x[0-9,a-f x]+
        #    0x[0-9,a-f]+    pprof_test\.allocatePersistent1K\+0x[0-9,a-f]+   
.*/mprof_test\.go:43
        #    0x[0-9,a-f]+   
runtime_pprof_test\.TestMemoryProfiler\+0x[0-9,a-f]+    .*/mprof_test\.go:66


        Profile:
        heap profile: 37: 3544 [3111: 4229640] @ heap/2
        1: 1408 [1: 1408] @ 0x800250a9 0x800250a9 0x8001e5c7 0x8001e5c7
0x80021d3f 0x8001bf73 0x8001d54b 0x800069b1 0x3fff74ac92b 0x80006a15
        #    0x8001bf73    mcommoninit+0x93   
../../../libgo/runtime/proc.c:739
        #    0x8001d54b    runtime_schedinit+0x8b   
../../../libgo/runtime/proc.c:459
        #    0x800069b1    main+0x31        ../../../libgo/runtime/go-main.c:40
        #    0x3fff74ac92b
        #    0x80006a15

        1: 1024 [1024: 1048576] @ 0x800250a9 0x800250a9 0x8001163f 0x80011687
0x8000c551 0x800ad279 0x8001e229
        #    0x800ad279    testing.$thunk15+0xc9   
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41       
../../../libgo/runtime/proc.c:235

        32: 1024 [32: 1024] @ 0x800250a9 0x800250a9 0x8000c44b 0x8000c595
0x800ad279 0x8001e229
        #    0x8000c44b    pprof_test.allocatePersistent1K+0x23   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:43
        #    0x8000c595    runtime_pprof_test.TestMemoryProfiler+0x11d   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:65
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        1: 64 [1: 64] @ 0x800250a9 0x800250a9 0x8001134d 0x8000c533 0x800ad279
0x8001e229
        #    0x800ad279    testing.$thunk15+0xc9   
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41       
../../../libgo/runtime/proc.c:235

        1: 16 [1: 16] @ 0x800250a9 0x800250a9 0x8000c4df 0x800ad279 0x8001e229
        #    0x800ad279    testing.$thunk15+0xc9   
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41       
../../../libgo/runtime/proc.c:235

        1: 8 [1: 8] @ 0x800250a9 0x800250a9 0x8000c50f 0x800ad279 0x8001e229
        #    0x800ad279    testing.$thunk15+0xc9   
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41       
../../../libgo/runtime/proc.c:235

        0: 0 [0: 0] @ 0x800250a9 0x800250a9 0x8000c5bb 0x800ad279 0x8001e229
        #    0x800ad279    testing.$thunk15+0xc9   
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41       
../../../libgo/runtime/proc.c:235

        0: 0 [1: 32] @ 0x800250a9 0x800250a9 0x8000c3b7 0x8000c58f 0x800ad279
0x8001e229
        #    0x8000c3b7    pprof_test.allocateTransient2M+0x47   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:30
        #    0x8000c58f    runtime_pprof_test.TestMemoryProfiler+0x117   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:64
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        0: 0 [1: 2097152] @ 0x800250a9 0x800250a9 0x8001163f 0x80011687
0x8000c3a7 0x8000c58f 0x800ad279 0x8001e229
        #    0x8000c3a7    pprof_test.allocateTransient2M+0x37   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:30
        #    0x8000c58f    runtime_pprof_test.TestMemoryProfiler+0x117   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:64
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        0: 0 [1024: 1048576] @ 0x800250a9 0x800250a9 0x8000c32b 0x8000c589
0x800ad279 0x8001e229
        #    0x8000c32b    pprof_test.allocateTransient1M+0x23   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:21
        #    0x8000c589    runtime_pprof_test.TestMemoryProfiler+0x111   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:59
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        0: 0 [1024: 32768] @ 0x800250a9 0x800250a9 0x8000c561 0x800ad279
0x8001e229
        #    0x800ad279    testing.$thunk15+0xc9   
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41       
../../../libgo/runtime/proc.c:235

        0: 0 [1: 16] @ 0x800250a9 0x800250a9 0x80025b41 0x80025b41 0x8001d531
0x800069b1 0x3fff74ac92b 0x80006a15
        #    0x800069b1    main+0x31    ../../../libgo/runtime/go-main.c:40
        #    0x3fff74ac92b
        #    0x80006a15

        0: 0 [0: 0] @ 0x800250a9 0x800250a9 0x8001163f 0x80011687 0x80009025
0x80007949 0x8000c609 0x800ad279 0x8001e229
        #    0x80009025    pprof.writeHeap+0x8d           
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:401
        #    0x80007949   
runtime_pprof.WriteTo.pN21_runtime_pprof.Profile+0x99   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:229
        #    0x8000c609    runtime_pprof_test.TestMemoryProfiler+0x191       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:71
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        0: 0 [0: 0] @ 0x800250a9 0x800250a9 0x80008fd3 0x80007949 0x8000c609
0x800ad279 0x8001e229
        #    0x80008fd3    pprof.writeHeap+0x3b           
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:388
        #    0x80007949   
runtime_pprof.WriteTo.pN21_runtime_pprof.Profile+0x99   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:229
        #    0x8000c609    runtime_pprof_test.TestMemoryProfiler+0x191       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:71
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        0: 0 [0: 0] @ 0x800250a9 0x800250a9 0x8001134d 0x80006ecf 0x8000c5e1
0x800ad279 0x8001e229
        #    0x800ad279    testing.$thunk15+0xc9   
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41       
../../../libgo/runtime/proc.c:235

        0: 0 [0: 0] @ 0x800250a9 0x800250a9 0x80011821 0x800112cf 0x80006c03
0x80006ea3 0x8000c5e1 0x800ad279 0x8001e229
        #    0x80006c03    pprof.lockProfiles+0x103       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:90
        #    0x80006ea3    runtime_pprof.Lookup+0x23       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:127
        #    0x8000c5e1    runtime_pprof_test.TestMemoryProfiler+0x169   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:71
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        0: 0 [0: 0] @ 0x800250a9 0x800250a9 0x80011c07 0x800112a9 0x80006c03
0x80006ea3 0x8000c5e1 0x800ad279 0x8001e229
        #    0x80006c03    pprof.lockProfiles+0x103       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:90
        #    0x80006ea3    runtime_pprof.Lookup+0x23       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:127
        #    0x8000c5e1    runtime_pprof_test.TestMemoryProfiler+0x169   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:71
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235

        0: 0 [0: 0] @ 0x800250a9 0x800250a9 0x80011be3 0x800112a9 0x80006c03
0x80006ea3 0x8000c5e1 0x800ad279 0x8001e229
        #    0x80006c03    pprof.lockProfiles+0x103       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:90
        #    0x80006ea3    runtime_pprof.Lookup+0x23       
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/pprof.go:127
        #    0x8000c5e1    runtime_pprof_test.TestMemoryProfiler+0x169   
/home/vogt/src/git/gcc/build-go/s390x-ibm-linux-gnu/libgo/gotest81795/test/mprof_test.go:71
        #    0x800ad279    testing.$thunk15+0xc9           
../../../libgo/go/testing/testing.go:555
        #    0x8001e229    kickoff+0x41               
../../../libgo/runtime/proc.c:235


        # runtime.MemStats
        # Alloc = 25574936
        # TotalAlloc = 29809488
        # Sys = 35420408
        # Lookups = 11
        # Mallocs = 7276
        # Frees = 3243
        # HeapAlloc = 25574936
        # HeapSys = 30408704
        # HeapIdle = 4521984
        # HeapInuse = 25886720
        # HeapReleased = 0
        # HeapObjects = 4033
        # Stack = 0 / 0
        # MSpan = 9472 / 49152
        # MCache = 2200 / 16384
        # BuckHashSys = 1540888
        # NextGC = 50917776
        # PauseNs = [85000 94000 92000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
        # NumGC = 3
        # EnableGC = true
        # DebugGC = false

FAIL
FAIL: runtime/pprof
make[3]: *** [runtime/pprof/check] Error 1


             reply	other threads:[~2015-02-10 12:13 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 12:13 vogt at linux dot vnet.ibm.com [this message]
2015-02-10 15:21 ` [Bug go/64999] " vogt at linux dot vnet.ibm.com
2015-02-10 15:23 ` ian at airs dot com
2015-02-10 15:25 ` ian at airs dot com
2015-02-10 15:36 ` vogt at linux dot vnet.ibm.com
2015-02-10 15:55 ` vogt at linux dot vnet.ibm.com
2015-02-10 17:20 ` ian at airs dot com
2015-02-11  7:15 ` vogt at linux dot vnet.ibm.com
2015-02-11  7:38 ` vogt at linux dot vnet.ibm.com
2015-02-11 17:45 ` ian at airs dot com
2015-02-12  7:02 ` vogt at linux dot vnet.ibm.com
2015-02-12 16:45 ` ian at airs dot com
2015-02-12 17:24 ` ian at airs dot com
2015-02-16 10:59 ` vogt at linux dot vnet.ibm.com
2015-02-16 11:49 ` vogt at linux dot vnet.ibm.com
2015-02-16 11:50 ` vogt at linux dot vnet.ibm.com
2015-02-16 14:08 ` ian at airs dot com
2015-02-17 11:13 ` vogt at linux dot vnet.ibm.com
2015-02-17 12:07 ` vogt at linux dot vnet.ibm.com
2015-02-17 14:24 ` ian at airs dot com
2015-02-18  9:21 ` vogt at linux dot vnet.ibm.com
2015-02-18 12:28 ` ian at airs dot com
2015-02-18 13:13 ` vogt at linux dot vnet.ibm.com
2015-02-18 18:52 ` ian at airs dot com
2015-02-24 14:07 ` boger at us dot ibm.com
2015-02-24 18:51 ` ian at airs dot com
2015-02-24 22:25 ` boger at us dot ibm.com
2015-02-25  0:17 ` ian at airs dot com
2015-02-25  0:55 ` boger at us dot ibm.com
2015-02-26  9:55 ` vogt at linux dot vnet.ibm.com
2015-02-26 16:25 ` boger at us dot ibm.com
2015-02-26 16:56 ` ian at airs dot com
2015-02-26 17:08 ` ian at airs dot com
2015-02-26 17:13 ` boger at us dot ibm.com
2015-02-26 18:25 ` ian at airs dot com
2015-03-06 17:24 ` ian at airs dot com
2015-03-06 20:08 ` boger at us dot ibm.com
2015-03-06 21:08 ` ian at airs dot com
2015-03-09 20:56 ` boger at us dot ibm.com
2015-03-09 22:02 ` ian at airs dot com
2015-03-10 12:28 ` boger at us dot ibm.com
2015-03-10 14:21 ` ian at airs dot com
2015-03-10 14:44 ` boger at us dot ibm.com
2015-03-10 16:17 ` ian at airs dot com
2015-03-10 17:49 ` boger at us dot ibm.com
2015-03-10 18:28 ` ian at airs dot com
2015-03-10 20:18 ` boger at us dot ibm.com
2015-03-10 20:45 ` ian at airs dot com
2015-03-12 14:13 ` boger at us dot ibm.com
2015-03-12 15:30 ` ian at airs dot com
2015-04-17 12:47 ` boger at us dot ibm.com
2015-04-17 13:04 ` boger at us dot ibm.com
2015-04-17 19:30 ` ian at gcc dot gnu.org
2015-04-17 19:30 ` ian at gcc dot gnu.org
2015-04-17 21:32 ` ian at airs dot com
2015-04-21  8:28 ` vogt at linux dot vnet.ibm.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64999-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).