I’m having problem uploading to ESP8266 board (XOD 0.25.0), after selecting “Download & Install” it starts the download then after sometime it ends with error. Appreciate any help.
Installing Arduino dependencies…
Downloading esp8266:esptool@0.4.13…
esp8266:esptool@0.4.13 downloaded
Downloading esp8266:xtensa-lx106-elf-gcc@1.20.0-26-gb404fb9-2…
esp8266:xtensa-lx106-elf-gcc@1.20.0-26-gb404fb9-2 downloaded
Downloading esp8266:mkspiffs@0.2.0…
esp8266:mkspiffs@0.2.0 downloaded
Downloading esp8266:esp8266@2.4.3…
esp8266:esp8266@2.4.3 downloaded
Installing esp8266:esptool@0.4.13
esp8266:esptool@0.4.13 installed
Installing esp8266:xtensa-lx106-elf-gcc@1.20.0-26-gb404fb9-2
runtime: VirtualAlloc of 2097152 bytes failed with errno=487
fatal error: runtime: cannot map pages in arena address space
runtime stack:
runtime.throw(0xa25f89, 0x30)
/home/jenkins/go1.10.2-patched/src/runtime/panic.go:616 +0x6b
runtime.sysMap(0x4cc40000, 0x200000, 0x3478fe01, 0xdb2b58
)
/home/jenkins/go1.10.2-patched/src/runtime/mem_windows.go:124 +0x100
runtime.(*mheap).sysAlloc(0xda1620, 0x200000, 0x26501)
/home/jenkins/go1.10.2-patched/src/runtime/malloc.go:470 +0x22f
runtime.(*mheap).grow(0xda1620, 0x100, 0x0)
/home/jenkins/go1.10.2-patched/src/runtime/mheap.go:907 +0x4e
runtime.(*mheap).allocSpanLocked(0xda1620, 0x100, 0xdb2b68, 0x1000)
/home/jenkins/go1.10.2-patched/src/runtime/mheap.go:820 +0x2e4
runtime.(*mheap).alloc_m(0xda1620, 0x100, 0xda0101, 0x14ce3)
/home/jenkins/go1.10.2-patched/src/runtime/mheap.go:686 +0x115
runtime.(*mheap).alloc.func1()
/home/jenkins/go1.10.2-patched/src/runtime/mheap.go:753 +0x40
runtime.(*mheap).alloc(0xda1620, 0x100, 0x12010101, 0x0)
/home/jenkins/go1.10.2-patched/src/runtime/mheap.go:752 +0x6c
runtime.largeAlloc(0x1ffe00, 0x440101, 0x1640000)
/home/jenkins/go1.10.2-patched/src/runtime/malloc.go
:826 +0x7b
runtime.mallocgc.func1()
/home/jenkins/go1.10.2-patched/src/runtime/malloc.go:721 +0x39
runtime.systemstack(0x0)
/home/jenkins/go1.10.2-patched/src/runtime/asm_386.s:464 +0x5e
runtime.mstart()
/home/jenkins/go1.10.2-patched/src/runtime/proc.go:1175
goroutine 1 [running]:
runtime.systemstack_switch()
/home/jenkins/go1.10.2-patched/src/runtime/asm_386.s:418 fp=0x12239900 sp=0x122398fc pc=0x44bb10
runtime.mallocgc(0x1ffe00, 0x96be60, 0x12239901, 0x6000)
/home/jenkins/go1.10.2-patched/src/runtime/malloc.go:720 +0x67b fp=0x12239954 sp=0x12239900 pc=0x40e7fb
runtime.makeslice(0x96be60, 0x1ffe00, 0x1ffe00, 0x4ca6a000, 0x649d81, 0x11f461e0)
/home/jenkins/go1.10.2-patched/src/runtime/slice.go:61 +0x59 fp=0x12239968 sp=0x12239954 pc=0x439da9
bytes.makeSlice(0x1ffe00, 0x0, 0x0, 0x0)
/home/jenkins/go1.10.2-patched/src/bytes/buffer.go:230 +0x61 fp=0x12239984 sp=0x12239968 pc=0x4d6ff1
bytes.(*Buffer).grow(0x11f301e0, 0x200, 0x6000)
/home/jenkins/go1.10.2-patched/src/bytes/buffer.go:144 +0x112 fp=0x122399ac sp=0x12239984 pc=0x4d6a82
bytes.(*Buffer).ReadFrom(0x11f301e0, 0xaa0b40, 0x11e17b00, 0x34b10120, 0x11f301e0, 0x1, 0xe80)
/home/jenkins/go1.10.2-patched/src/bytes/buffer.go:204 +0x45 fp=0x122399e8 sp=0x122399ac pc=0x4d6e35
io.copyBuffer(0xaa0c20, 0x11f301e0, 0xaa0b40, 0x11e17b00, 0x0, 0x0, 0x0, 0x60, 0x9b4b80, 0x1222ba01, …)
/home/jenkins/go1.10.2-patched/src/io/io.go:386 +0x2be fp=0x12239a24 sp=0x122399e8 pc=0x453f6e
io.Copy(0xaa0c20, 0x11f301e0, 0xaa0b40, 0x11e17b00, 0x64, 0x0, 0x0, 0x0)
/home/jenkins/go1.10.2-patched/src/io/io.go:362 +0x51 fp=0x12239a54 sp=0x12239a24 pc=0x453c81
github.com/arduino/arduino-cli/vendor/github.com/codeclysm/extract.Tar(0xaa1920, 0x11ffdce0, 0x11f29440, 0x35, 0x0, 0xb, 0xa0f90f)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/codeclysm/extract/extract.go:168 +0x2bc fp=
0x12239bf4 sp=0x12239a54 pc=0x65f86c
github.com/arduino/arduino-cli/vendor/github.com/codeclysm/extract.Gz(0xaa1920, 0x11ffdc90, 0x11f29440, 0x35, 0x0, 0xb, 0xa0eae4)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/codeclysm/extract/extract.go:110 +0x173 fp=0x12239c78 sp=0x12239bf4 pc=0x65f513
github.com/arduino/arduino-cli/vendor/github.com/codeclysm/extract.Archive(0xaa1920, 0x11ffdc90, 0x11f29440, 0x35, 0x0, 0x0, 0x1221a278)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/codeclysm/extract/extract.go:65 +0x184 fp=0x12239d00 sp=0x12239c78 pc=0x65f004
github.com/arduino/arduino-cli/arduino/resources.(*DownloadResource).Install(0x12008cc0, 0x11de5ff8, 0x11f6c000, 0x1221a278, 0x0, 0x0)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/arduino/resources/install.go:57 +0x2cb fp=0x12239d68 sp=0x12239d00 pc=0x66299b
github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*PackageManager).InstallTool(0x11f491e0, 0x1200ade0, 0x0, 0x0)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/arduino/cores/packagemanager/install_uninstall.go:85 +0xde fp=0x12239db8 sp=0x12239d68 pc=0x77524e
github.com/arduino/arduino-cli/commands/core.InstallToolRelease(0x11f491e0, 0x1200ade0)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/commands/core/install.go:131 +0x122 fp=0x12239e24 sp=0x12239db8 pc=0x8997e2
github.com/arduino/arduino-cli/commands/core.installPlatformByRef(0x11f491e0, 0x11f491a0)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/commands/core/install.go:72 +0x6c fp=0x12239e58 sp=0x12239e24 pc=0x898f1c
github.com/arduino/arduino-cli/commands/core.runInstallCommand(0x11f58140, 0x11f465d0, 0x1, 0x2)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/commands/core/install.go:54 +0xc4 fp=0x12239e90 sp=0x12239e58 pc=0x898e84
github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra.(*Command).execute(0x11f58140, 0x11f465a0, 0x2, 0x2, 0x11f58140, 0x11f465a0)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra/command.go:760 +0x20e fp=0x12239f04 sp=0x12239e90 pc=0x84fbee
github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x11e712c0, 0x11f588c0, 0x11e71e00, 0x11e71a40)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra/command.go:846 +0x28a fp=0x12239fa0 sp=0x12239f04 pc=0x85050a
github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra.(*Command).Execute(0x11e712c0, 0x8f2718, 0x8f34f4)
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/vendor/github.com/spf13/cobra/command.go:794 +0x21 fp=0x12239fb4 sp=0x12239fa0 pc=0x850261
main.main()
/home/jenkins/workspace/arduino-cli/src/github.com/arduino/arduino-cli/main.go:30 +0x1f fp=0x12239fc8 sp=0x12239fb4 pc=0x8f352f
runtime.main()
/home/jenkins/go1.10.2-patched/src/runtime/proc.go:198 +0x1ea fp=0x12239ff0 sp=0x12239fc8 pc=0x4296aa
runtime.goexit()
/home/jenkins/go1.10.2-patched/src/runtime/asm_386.s:1665 +0x1 fp=0x12239ff4 sp=0x12239ff0 pc=0x44d5f1
goroutine 5 [syscall, 12 minutes]:
os/signal.signal_recv(0x0)
/home/jenkins/go1.10.2-patched/src/runtime/sigqueue.go:139 +0x12f
os/signal.loop()
/home/jenkins/go1.10.2-patched/src/os/signal/signal_unix.go:22 +0x1a
created by os/signal.init.0
/home/jenkins/go1.10.2-patched/src/os/signal/signal_unix.go:28 +0x37
goroutine 152 [IO wait]:
internal/poll.runtime_pollWait(0x321f90e0, 0x72, 0x0)
/home/jenkins/go1.10.2-patched/src/runtime/netpoll.go:173 +0x4b
internal/poll.(*pollDesc).wait(0x121a427c, 0x72, 0xd52100, 0x0, 0x0)
/home/jenkins/go1.10.2-patched/src/internal/poll/fd_poll_runtime.go:85 +0x8c
internal/poll.(*ioSrv).ExecIO(0xd9c8e0, 0x121a4194, 0xa33f30, 0x40, 0x42b3b0, 0x1215fee8)
/home/jenkins/go1.10.2-patched/src/internal/poll/fd_windows.go:223 +0xf1
internal/poll.(*FD).Read(0x121a4180, 0x1206e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/jenkins/go1.10.2-patched/src/internal/poll/fd_windows.go:484 +0x1f0
net.(*netFD).Read(0x121a4180, 0x1206e000, 0x1000, 0x1000, 0x427514, 0xa34334, 0x12233c10)
/home/jenkins/go1.10.2-patched/src/net/fd_windows.go:151 +0x3f
net.(*conn).Read(0x11f6c2d0, 0x1206e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/jenkins/go1.10.2-patched/src/net/net.go:
176 +0x56
crypto/tls.(*block).readFromUntil(0x1202fbe0, 0x321f91e0, 0x11f6c2d0, 0x5, 0x11f6c2d0, 0x0)
/home/jenkins/go1.10.2-patched/src/crypto/tls/conn.go:493 +0x76
crypto/tls.(*Conn).readRecord(0x11e16900, 0xa34317, 0x11e169a0, 0x11f6c2d0)
/home/jenkins/go1.10.2-patched/src/crypto/tls/conn.go:595 +0xbd
crypto/tls.(*Conn).Read(0x11e16900, 0x11f7d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/jenkins/go1.10.2-patched/src/crypto/tls/conn.go:1156 +0xdd
bufio.(*Reader).Read(0x1207b920, 0x11e64e20, 0x9, 0x9, 0x5b8289, 0x11e16af0, 0xfffffffe)
/home/jenkins/go1.10.2-patched/src/bufio/bufio.go:216 +0x22b
io.ReadAtLeast(0xaa0bc0, 0x1207b920, 0x11e64e20, 0x9, 0x9, 0x9, 0x12230000, 0x164035c, 0x12233dcc)
/home/jenkins/go1.10.2-patched/src/io/io.go:309 +0x68
io.ReadFull(0xaa0bc0, 0x1207b920, 0x11e64e20, 0x9, 0x9, 0x11, 0x1000, 0x11)
/home/jenkins/go1.10.2-patched/src/io/io.go:327 +0x45
net/http.http2readFrameHeader(0x11e64e20, 0x9, 0x9, 0xaa0bc0, 0x1207b920, 0x0, 0x0, 0x0, 0x11e01300, 0x12176090)
/home/jenkins/go1.10.2-patched/src/net/http/h2_bundle.go:1517 +0x66
net/http.(*http2Framer).ReadFrame(0x11e64e00, 0x11fe2160, 0x0, 0x0, 0x0)
/home/jenkins/go1.10.2-patched/src/net/http/h2_bundle.go:1775 +0x82
net/http.(*http2clientConnReadLoop).run(0x12233fdc, 0xa34058, 0x11e21fdc)
/home/jenkins/go1.10.2-patched/src/net/http/h2_bundle.go:8028 +0x6d
net/http.(*http2ClientConn).readLoop(0x11f7a000)
/home/jenkins/go1.10.2-patched/src/net/http/h2_bundle.go:7956 +0x58
created by net/http.(*http2Transport).newClientConn
/home/jenkins/go1.10.2-patched/src/net/http/h2_bundle.go:7143 +0x576
C:\Users\MyName\AppData\Local\Programs\XOD IDE\resources\arduino-cli.exe --config-file=C:\Users\MyName\AppData\Local\Temp\arduino-cli719pQb\.cli-config.yml core install esp8266:esp8266
failed with code 2