Bug report

Not sure where to report this since there doesn’t seem to be a category specific for bugs, errors, etc.

This is what I’m getting when I click the Design link on my micro.blog:

Theme error: fatal error: runtime: out of memory runtime stack: runtime.throw(0xf93880, 0x16) /usr/lib/go-1.11/src/runtime/panic.go:608 +0x72 fp=0x7ffd58a84850 sp=0x7ffd58a84820 pc=0x4309f2 runtime.sysMap(0xc000000000, 0x4000000, 0x18f91b8) /usr/lib/go-1.11/src/runtime/mem_linux.go:156 +0xc7 fp=0x7ffd58a84890 sp=0x7ffd58a84850 pc=0x41c987 runtime.(*mheap).sysAlloc(0x18d8460, 0x4000000, 0x0, 0x0) /usr/lib/go-1.11/src/runtime/malloc.go:619 +0x1c7 fp=0x7ffd58a84918 sp=0x7ffd58a84890 pc=0x410867 runtime.(*mheap).grow(0x18d8460, 0x1, 0x0) /usr/lib/go-1.11/src/runtime/mheap.go:920 +0x42 fp=0x7ffd58a84970 sp=0x7ffd58a84918 pc=0x428d12 runtime.(*mheap).allocSpanLocked(0x18d8460, 0x1, 0x18f91c8, 0x0) /usr/lib/go-1.11/src/runtime/mheap.go:848 +0x337 fp=0x7ffd58a849b0 sp=0x7ffd58a84970 pc=0x428b97 runtime.(*mheap).alloc_m(0x18d8460, 0x1, 0x2a, 0x0) /usr/lib/go-1.11/src/runtime/mheap.go:692 +0x119 fp=0x7ffd58a849f0 sp=0x7ffd58a849b0 pc=0x4283a9 runtime.(*mheap).alloc.func1() /usr/lib/go-1.11/src/runtime/mheap.go:759 +0x4c fp=0x7ffd58a84a28 sp=0x7ffd58a849f0 pc=0x4597cc runtime.(*mheap).alloc(0x18d8460, 0x1, 0x1002a, 0x7ffd58a84a90) /usr/lib/go-1.11/src/runtime/mheap.go:758 +0x8a fp=0x7ffd58a84a78 sp=0x7ffd58a84a28 pc=0x42864a runtime.(*mcentral).grow(0x18da218, 0x0) /usr/lib/go-1.11/src/runtime/mcentral.go:232 +0x94 fp=0x7ffd58a84ac0 sp=0x7ffd58a84a78 pc=0x41c384 runtime.(*mcentral).cacheSpan(0x18da218, 0x0) /usr/lib/go-1.11/src/runtime/mcentral.go:106 +0x2f8 fp=0x7ffd58a84b08 sp=0x7ffd58a84ac0 pc=0x41bed8 runtime.(*mcache).refill(0x7fb5d3790000, 0x220000002a) /usr/lib/go-1.11/src/runtime/mcache.go:122 +0x95 fp=0x7ffd58a84b38 sp=0x7ffd58a84b08 pc=0x41ba95 runtime.(*mcache).nextFree.func1() /usr/lib/go-1.11/src/runtime/malloc.go:749 +0x32 fp=0x7ffd58a84b58 sp=0x7ffd58a84b38 pc=0x458be2 runtime.(*mcache).nextFree(0x7fb5d3790000, 0x18f922a, 0x4000, 0x7fb5d3790000, 0x7ffd58a84c18) /usr/lib/go-1.11/src/runtime/malloc.go:748 +0xb6 fp=0x7ffd58a84bb0 sp=0x7ffd58a84b58 pc=0x410f16 runtime.mallocgc(0x180, 0xf38340, 0x7ffd58a84c01, 0x7fb5d3794000) /usr/lib/go-1.11/src/runtime/malloc.go:903 +0x793 fp=0x7ffd58a84c50 sp=0x7ffd58a84bb0 pc=0x411863 runtime.newobject(0xf38340, 0x18f9220) /usr/lib/go-1.11/src/runtime/malloc.go:1032 +0x38 fp=0x7ffd58a84c80 sp=0x7ffd58a84c50 pc=0x411c48 runtime.malg(0x7fb500008000, 0x7fb5d3790000) /usr/lib/go-1.11/src/runtime/proc.go:3288 +0x31 fp=0x7ffd58a84cc0 sp=0x7ffd58a84c80 pc=0x439f21 runtime.mpreinit(0x18d2f40) /usr/lib/go-1.11/src/runtime/os_linux.go:311 +0x29 fp=0x7ffd58a84ce0 sp=0x7ffd58a84cc0 pc=0x42ee29 runtime.mcommoninit(0x18d2f40) /usr/lib/go-1.11/src/runtime/proc.go:624 +0xc1 fp=0x7ffd58a84d18 sp=0x7ffd58a84ce0 pc=0x433841 runtime.schedinit() /usr/lib/go-1.11/src/runtime/proc.go:546 +0x89 fp=0x7ffd58a84d80 sp=0x7ffd58a84d18 pc=0x433509 runtime.rt0_go(0x7ffd58a84e88, 0x7, 0x7ffd58a84e88, 0x0, 0x7fb5d37f709b, 0x737361732e, 0x7ffd58a84e88, 0x758a84dd0, 0x45b650, 0x0, …) /usr/lib/go-1.11/src/runtime/asm_amd64.s:195 +0x11a fp=0x7ffd58a84d88 sp=0x7ffd58a84d80 pc=0x45b77a

Ray

I get that every now and again. Five minutes or so and refreshing the page indicates that the problem has righted itself.

Update: I mean … I assume some memory leak somewhere is chomping up memory, the program crashes, restarts, and all is well. Correct me if I am wrong here @manton (like it has to do with images sizes and/or some kind of recursion being introduced in theme code).

1 Like

Thanks for the report. I’ve been tweaking some things on the servers and hopefully this error and others related to running Hugo will be minimized now. If it keeps popping up, let me know.

1 Like

Ayup, it’s all good now. Thanks for all your efforts, Manton!

Ray

P.S. Suggest getting the “Resolved” add-on for Discourse so threads like this can be marked as such.

1 Like

I’m seeing that error on the design page (https://micro.blog/account/mapping/351) routinely.

1 Like