Skip to content

Instantly share code, notes, and snippets.

@d6rkaiz d6rkaiz/gist:9087914
Created Feb 19, 2014

Embed
What would you like to do?
go lang build fail on wheezy 7.4
$ hg clone -u release https://code.google.com/p/go
$ cd go/src
$ ./all.bash

snip...

--- FAIL: TestBlockProfile (0.17 seconds)
        pprof_test.go:332: Bad mutex entry, expect:

                [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
                #       0x[0-9,a-f]+    sync\.\(\*Mutex\)\.Lock\+0x[0-9,a-f]+   .*/src/pkg/sync/mutex\.go:[0-9]+
                #       0x[0-9,a-f]+    runtime/pprof_test\.blockMutex\+0x[0-9,a-f]+    .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
                #       0x[0-9,a-f]+    runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+      .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+

                got:
                --- contention:
                cycles/second=2279199805
                25465158 1 @ 0x4052e2 0x439ab1 0x439229 0x4325eb 0x417a30
                #       0x4052e2        runtime.selectgo+0x12                           /home/d6rkaiz/dev/go/src/pkg/runtime/chan.c:840
                #       0x439ab1        runtime/pprof_test.blockSelectRecvAsync+0x121   /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:373
                #       0x439229        runtime/pprof_test.TestBlockProfile+0x189       /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:320
                #       0x4325eb        testing.tRunner+0x8b                            /home/d6rkaiz/dev/go/src/pkg/testing/testing.go:391

                23575416 1 @ 0x404c68 0x43998b 0x439229 0x4325eb 0x417a30
                #       0x404c68        runtime.chanrecv1+0x38                          /home/d6rkaiz/dev/go/src/pkg/runtime/chan.c:446
                #       0x43998b        runtime/pprof_test.blockChanClose+0x9b          /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:363
                #       0x439229        runtime/pprof_test.TestBlockProfile+0x189       /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:320
                #       0x4325eb        testing.tRunner+0x8b                            /home/d6rkaiz/dev/go/src/pkg/testing/testing.go:391

                23538267 1 @ 0x404c68 0x43983b 0x439229 0x4325eb 0x417a30
                #       0x404c68        runtime.chanrecv1+0x38                          /home/d6rkaiz/dev/go/src/pkg/runtime/chan.c:446
                #       0x43983b        runtime/pprof_test.blockChanRecv+0x9b           /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:345
                #       0x439229        runtime/pprof_test.TestBlockProfile+0x189       /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:320
                #       0x4325eb        testing.tRunner+0x8b                            /home/d6rkaiz/dev/go/src/pkg/testing/testing.go:391

                23526856 1 @ 0x4052e2 0x439bec 0x439229 0x4325eb 0x417a30
                #       0x4052e2        runtime.selectgo+0x12                           /home/d6rkaiz/dev/go/src/pkg/runtime/chan.c:840
                #       0x439bec        runtime/pprof_test.blockSelectSendSync+0x12c    /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:386
                #       0x439229        runtime/pprof_test.TestBlockProfile+0x189       /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:320
                #       0x4325eb        testing.tRunner+0x8b                            /home/d6rkaiz/dev/go/src/pkg/testing/testing.go:391

                23460399 1 @ 0x404c1c 0x4398e0 0x439229 0x4325eb 0x417a30
                #       0x404c1c        runtime.chansend1+0x4c                          /home/d6rkaiz/dev/go/src/pkg/runtime/chan.c:438
                #       0x4398e0        runtime/pprof_test.blockChanSend+0xa0           /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:354
                #       0x439229        runtime/pprof_test.TestBlockProfile+0x189       /home/d6rkaiz/dev/go/src/pkg/runtime/pprof/pprof_test.go:320
                #       0x4325eb        testing.tRunner+0x8b                            /home/d6rkaiz/dev/go/src/pkg/testing/testing.go:391

FAIL
FAIL    runtime/pprof   7.310s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.