Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime/pprof: fatal error: runtime: cannot map pages in arena address space on windows/386 #10737

Closed
mikioh opened this issue May 7, 2015 · 3 comments
Milestone

Comments

@mikioh
Copy link
Contributor

mikioh commented May 7, 2015

See http://build.golang.org/log/d9c532d3a1b8266fae407518d131bc872f41a617.

fatal error: runtime: cannot map pages in arena address space

runtime stack:
runtime.throw(0x613568, 0x30)
    C:/workdir/go/src/runtime/panic.go:543 +0x7f
runtime.sysMap(0x42b40000, 0x100000, 0x80fe01, 0x6e50b8)
    C:/workdir/go/src/runtime/mem_windows.go:112 +0x7f
runtime.mHeap_SysAlloc(0x6cb720, 0x100000, 0x0)
    C:/workdir/go/src/runtime/malloc.go:420 +0x124
runtime.mHeap_Grow(0x6cb720, 0x80, 0x0)
    C:/workdir/go/src/runtime/mheap.go:597 +0x55
runtime.mHeap_AllocSpanLocked(0x6cb720, 0x80, 0x326e6ce4)
    C:/workdir/go/src/runtime/mheap.go:501 +0x567
runtime.mHeap_Alloc_m(0x6cb720, 0x80, 0x0, 0x121b4601, 0x326e6ce4)
    C:/workdir/go/src/runtime/mheap.go:406 +0x152
runtime.mHeap_Alloc.func1()
    C:/workdir/go/src/runtime/mheap.go:455 +0x4f
runtime.systemstack(0x80ff14)
    C:/workdir/go/src/runtime/asm_386.s:283 +0x81
runtime.mHeap_Alloc(0x6cb720, 0x80, 0x0, 0x326e0101, 0x121c0500)
    C:/workdir/go/src/runtime/mheap.go:456 +0x5d
runtime.largeAlloc(0x100000, 0x1, 0x42a40000)
    C:/workdir/go/src/runtime/malloc.go:720 +0x8a
runtime.mallocgc.func3()
    C:/workdir/go/src/runtime/malloc.go:631 +0x39
runtime.systemstack(0x121b2000)
    C:/workdir/go/src/runtime/asm_386.s:267 +0x57
runtime.mstart()
    C:/workdir/go/src/runtime/proc1.go:683
@mikioh mikioh added this to the Go1.5 milestone May 7, 2015
@mikioh mikioh changed the title runtime/pprof: fatal error: runtime: cannot map pages in arena address space on windows runtime/pprof: fatal error: runtime: cannot map pages in arena address space on windows/386 May 7, 2015
@alexbrainman
Copy link
Member

Thank you.

@rsc
Copy link
Contributor

rsc commented Jul 21, 2015

This was TestTraceStress, which found many many runtime bugs for us. If you haven't seen this since May, I'm inclined to think we fixed the problem.

@rsc rsc closed this as completed Jul 21, 2015
@joegrasse
Copy link

Ran into the following today. Sorry, I can't provide the source code to you.

Windows 7
12GB Memory
go version go1.5.1 windows/amd64

C:\>go tool pprof -alloc_space X:\gowork\src\github.com\joegrasse\daemon-example\daemon-example X:\gowork\src\github.com\joegrasse\daemon-example\daemon-example3.mprof
Entering interactive mode (type "help" for commands)
(pprof) top10
20900.06kB of 20904.66kB total (  100%)
Dropped 51 nodes (cum <= 104.52kB)
      flat  flat%   sum%        cum   cum%
11756.25kB 56.24% 56.24%    20900kB   100%  main.processMMF
 9143.75kB 43.74%   100%  9143.75kB 43.74%  main._Cfunc_GoString
    0.06kB 0.0003%   100% 20900.28kB   100%  main.main
         0     0%   100% 20900.28kB   100%  runtime.goexit
         0     0%   100% 20900.28kB   100%  runtime.main
(pprof) weblist processMMF
(pprof) weblist main
(pprof) weblist
fatal error: runtime: cannot map pages in arena address space

runtime stack:
runtime.throw(0x99e5e0, 0x30)
        c:/go/src/runtime/panic.go:527 +0x97
runtime.sysMap(0xc306e10000, 0x220c10000, 0xb2b701, 0xb8ffb8)
        c:/go/src/runtime/mem_windows.go:112 +0x90
runtime.mHeap_SysAlloc(0xb710a0, 0x220c10000, 0xc082538180)
        c:/go/src/runtime/malloc.go:423 +0x167
runtime.mHeap_Grow(0xb710a0, 0x110608, 0x0)
        c:/go/src/runtime/mheap.go:628 +0x6a
runtime.mHeap_AllocSpanLocked(0xb710a0, 0x110601, 0x100)
        c:/go/src/runtime/mheap.go:532 +0x5f8
runtime.mHeap_Alloc_m(0xb710a0, 0x110601, 0xffffff0100000000, 0xfffe60)
        c:/go/src/runtime/mheap.go:425 +0x1ba
runtime.mHeap_Alloc.func1()
        c:/go/src/runtime/mheap.go:484 +0x48
runtime.systemstack(0xfffe78)
        c:/go/src/runtime/asm_amd64.s:278 +0xb5
runtime.mHeap_Alloc(0xb710a0, 0x110601, 0x10100000000, 0x20)
        c:/go/src/runtime/mheap.go:485 +0x6a
runtime.largeAlloc(0x220c008c6, 0xc000000001, 0xc082034ee8)
        c:/go/src/runtime/malloc.go:745 +0xba
runtime.mallocgc.func3()
        c:/go/src/runtime/malloc.go:634 +0x3a
runtime.systemstack(0xc0825381c0)
        c:/go/src/runtime/asm_amd64.s:262 +0x7e
runtime.mstart()
        c:/go/src/runtime/proc1.go:674

@golang golang locked and limited conversation to collaborators Nov 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants