Jump to content
43oh

Compile error MSpanList_Insert


Recommended Posts

Hello,

 

I just installed Energia on my MacBook, downloaded the TM4C123G board definitions from inside the boards manager, loaded the blink example, and tried to compile it. It failed with a fatal error "MSpanList_Insert". This is my first run, so I can't tell at all what's the error, since I've never complied anything yet in Energia.

 

Full error message below

Energia: 1.6.10E18 (Mac OS X), Board: "LaunchPad (Tiva C) w/ tm4c123 (80MHz)"

/Applications/Energia.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Energia.app/Contents/Java/hardware" -hardware "/Users/davidcollin/Library/Energia15/packages" -tools "/Applications/Energia.app/Contents/Java/tools-builder" -tools "/Applications/Energia.app/Contents/Java/hardware/tools/msp430" -tools "/Users/davidcollin/Library/Energia15/packages" -built-in-libraries "/Applications/Energia.app/Contents/Java/libraries" -libraries "/Users/davidcollin/Documents/Energia/libraries" -fqbn=energia:tivac:EK-TM4C123GXL -ide-version=10610 -build-path "/var/folders/fb/nrv8crj11csghhbvfhp_dnhh0000gn/T/builded0b72ce2b4f77512eec99a6713fe17d.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Applications/Energia.app/Contents/Java/examples/01.Basics/Blink/Blink.ino"
/Applications/Energia.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Applications/Energia.app/Contents/Java/hardware" -hardware "/Users/davidcollin/Library/Energia15/packages" -tools "/Applications/Energia.app/Contents/Java/tools-builder" -tools "/Applications/Energia.app/Contents/Java/hardware/tools/msp430" -tools "/Users/davidcollin/Library/Energia15/packages" -built-in-libraries "/Applications/Energia.app/Contents/Java/libraries" -libraries "/Users/davidcollin/Documents/Energia/libraries" -fqbn=energia:tivac:EK-TM4C123GXL -ide-version=10610 -build-path "/var/folders/fb/nrv8crj11csghhbvfhp_dnhh0000gn/T/builded0b72ce2b4f77512eec99a6713fe17d.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Applications/Energia.app/Contents/Java/examples/01.Basics/Blink/Blink.ino"
failed MSpanList_Insert 0x30df70 0x83bde7acb3c6 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.MSpanList_Insert(0x2c7ea0, 0x30df70)
	/usr/local/go/src/runtime/mheap.c:692 +0x8f
runtime.MHeap_Alloc(0x2c7d60, 0x1, 0x1000000000b, 0xf989)
	/usr/local/go/src/runtime/mheap.c:240 +0x66
runtime.MCentral_CacheSpan(0x2cf2f8, 0x30e0a8)
	/usr/local/go/src/runtime/mcentral.c:85 +0x167
runtime.MCache_Refill(0x309000, 0xc20000000b, 0x30e0a8)
	/usr/local/go/src/runtime/mcache.c:90 +0xa0

goroutine 1 [running]:
runtime.switchtoM()
	/usr/local/go/src/runtime/asm_amd64.s:198 fp=0xc20806a408 sp=0xc20806a400
runtime.mallocgc(0xa0, 0x157da0, 0xc200000001, 0xc208091f40)
	/usr/local/go/src/runtime/malloc.go:178 +0x849 fp=0xc20806a4b8 sp=0xc20806a408
runtime.newarray(0x157da0, 0x94, 0x0)
	/usr/local/go/src/runtime/malloc.go:365 +0xc1 fp=0xc20806a4f0 sp=0xc20806a4b8
runtime.makeslice(0x14f940, 0x94, 0x94, 0x0, 0x0, 0x0)
	/usr/local/go/src/runtime/slice.go:32 +0x15c fp=0xc20806a538 sp=0xc20806a4f0
strings.Join(0xc20806a7a0, 0x2, 0x2, 0x1ca470, 0x1, 0x0, 0x0)
	/usr/local/go/src/strings/strings.go:394 +0xfd fp=0xc20806a600 sp=0xc20806a538
path/filepath.Join(0xc20806a7a0, 0x2, 0x2, 0x0, 0x0)
	/usr/local/go/src/path/filepath/path.go:202 +0x10d fp=0xc20806a690 sp=0xc20806a600
arduino.cc/builder/gohasissues.walk(0xc2080ad440, 0x87, 0x31ad78, 0xc208036460, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:68 +0x395 fp=0xc20806a7c8 sp=0xc20806a690
arduino.cc/builder/gohasissues.walk(0xc20808a200, 0x7f, 0x31ad78, 0xc208036370, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806a900 sp=0xc20806a7c8
arduino.cc/builder/gohasissues.walk(0xc20808b480, 0x78, 0x31ad78, 0xc208037810, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806aa38 sp=0xc20806a900
arduino.cc/builder/gohasissues.walk(0xc20808b280, 0x72, 0x31ad78, 0xc2080377c0, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806ab70 sp=0xc20806aa38
arduino.cc/builder/gohasissues.walk(0xc20807c700, 0x64, 0x31ad78, 0xc208037770, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806aca8 sp=0xc20806ab70
arduino.cc/builder/gohasissues.walk(0xc2080aa120, 0x60, 0x31ad78, 0xc208037720, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806ade0 sp=0xc20806aca8
arduino.cc/builder/gohasissues.walk(0xc2080aa1e0, 0x5c, 0x31ad78, 0xc208036d20, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806af18 sp=0xc20806ade0
arduino.cc/builder/gohasissues.walk(0xc208036b90, 0x4d, 0x31ad78, 0xc208036c30, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806b050 sp=0xc20806af18
arduino.cc/builder/gohasissues.walk(0xc208034780, 0x3b, 0x31ad78, 0xc208036aa0, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806b188 sp=0xc20806b050
arduino.cc/builder/gohasissues.walk(0xc208034740, 0x35, 0x31ad78, 0xc208094230, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806b2c0 sp=0xc20806b188
arduino.cc/builder/gohasissues.walk(0x7fff5fbffbae, 0x2d, 0x31ad78, 0xc2080941e0, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:75 +0x516 fp=0xc20806b3f8 sp=0xc20806b2c0
arduino.cc/builder/gohasissues.Walk(0x7fff5fbffbae, 0x2d, 0xc20806b4a8, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/gohasissues/go_has_issues.go:46 +0xf2 fp=0xc20806b460 sp=0xc20806b3f8
arduino.cc/builder.findBuiltinToolsVersionsFile(0x7fff5fbffbae, 0x2d, 0x0, 0x0, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/tools_loader.go:164 +0xa0 fp=0xc20806b4c0 sp=0xc20806b460
arduino.cc/builder.(*ToolsLoader).Run(0x2c19a8, 0xc208066000, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/tools_loader.go:51 +0x176 fp=0xc20806b610 sp=0xc20806b4c0
arduino.cc/builder.(*ContainerSetupHardwareToolsLibsSketchAndProps).Run(0x2c19a8, 0xc208066000, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/container_setup.go:59 +0x6b8 fp=0xc20806b800 sp=0xc20806b610
arduino.cc/builder.runCommands(0xc208066000, 0xc20806ba98, 0x22, 0x22, 0x1, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/builder.go:188 +0x139 fp=0xc20806b890 sp=0xc20806b800
arduino.cc/builder.(*Builder).Run(0xc20806bce0, 0xc208066000, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/builder.go:123 +0x1227 fp=0xc20806bcc0 sp=0xc20806b890
arduino.cc/builder.RunBuilder(0xc208066000, 0x0, 0x0)
	/Users/robertinant/github/arduino-builder/src/arduino.cc/builder/builder.go:219 +0x49 fp=0xc20806bce8 sp=0xc20806bcc0
main.main()
	/Users/robertinant/github/arduino-builder/src/arduino.cc/arduino-builder/main.go:316 +0x171b fp=0xc20806bf98 sp=0xc20806bce8
runtime.main()
	/usr/local/go/src/runtime/proc.go:63 +0xf3 fp=0xc20806bfe0 sp=0xc20806bf98
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20806bfe8 sp=0xc20806bfe0
arduino-builder returned 2
Error compiling for board LaunchPad (Tiva C) w/ tm4c123 (80MHz).
Link to post
Share on other sites

ok. Problem fixed indeed...

 

First, I didn't select a programer in Tools>Programmer menu. I selected the rf2500. Maybe it'll work with the other one. Didn't test. Don't fix what ain't broke.

Second, I didn't press the reset button when trying to program. So for other noobs like me, press the reset button (close to the RGB led) about when you press the "upload" button in Energia. Try several different timings if it fails. It'll eventually end up working.

 

Sorry for polluting the forum with my noobness.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...