Skip to content

Instantly share code, notes, and snippets.

@take-cheeze
Created December 20, 2019 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save take-cheeze/c8369086e8f07744870e3a1bf968dc75 to your computer and use it in GitHub Desktop.
Save take-cheeze/c8369086e8f07744870e3a1bf968dc75 to your computer and use it in GitHub Desktop.
-*- mode: compilation; default-directory: "~/dev/mruby/" -*-
Compilation started at Fri Dec 20 13:00:16
MAKEFLAGS=-j16 make -C ~/dev/go-mruby/ all megacheck
make: Entering directory '/home/takeshi/dev/go-mruby'
cd vendor/mruby && MRUBY_CONFIG=../../build_config.rb make
sh golint.sh
go get honnef.co/go/tools/cmd/staticcheck
Checking code with gofmt..
gofmt -s *.go >/dev/null
make[1]: Entering directory '/home/takeshi/dev/go-mruby/vendor/mruby'
ruby ./minirake
Installing golint into your GOPATH...
(in /home/takeshi/dev/go-mruby/vendor/mruby)
Build summary:
================================================
Config Name: host
Output Directory: build/host
Binaries: mrbc
Included Gems:
mruby-error - extensional error handling
mruby-compiler - mruby compiler library
mruby-bin-mrbc - mruby compiler executable
================================================
make[1]: Leaving directory '/home/takeshi/dev/go-mruby/vendor/mruby'
cp vendor/mruby/build/host/lib/libmruby.a .
go: finding golang.org/x/lint latest
GO111MODULE=off staticcheck ./...
Checking with golint...
go test -v
=== RUN TestArray
--- PASS: TestArray (0.01s)
=== RUN TestClassDefineClassMethod
--- PASS: TestClassDefineClassMethod (0.00s)
=== RUN TestClassDefineConst
--- PASS: TestClassDefineConst (0.00s)
=== RUN TestClassDefineMethod
--- PASS: TestClassDefineMethod (0.00s)
=== RUN TestClassNew
--- PASS: TestClassNew (0.00s)
=== RUN TestClassNewException
--- PASS: TestClassNewException (0.00s)
=== RUN TestClassValue
--- PASS: TestClassValue (0.00s)
=== RUN TestCompileContextFilename
--- PASS: TestCompileContextFilename (0.00s)
=== RUN TestDecode
--- PASS: TestDecode (0.04s)
=== RUN TestDecodeInterface
--- PASS: TestDecodeInterface (0.03s)
=== RUN TestEnableDisableGC
--- PASS: TestEnableDisableGC (0.00s)
=== RUN TestIsDead
--- PASS: TestIsDead (0.00s)
=== RUN TestHash
--- PASS: TestHash (0.00s)
=== RUN TestNewMrb
--- PASS: TestNewMrb (0.00s)
=== RUN TestMrbArena
--- PASS: TestMrbArena (0.00s)
=== RUN TestMrbModule
--- PASS: TestMrbModule (0.00s)
=== RUN TestMrbClass
--- PASS: TestMrbClass (0.00s)
=== RUN TestMrbConstDefined
--- PASS: TestMrbConstDefined (0.00s)
=== RUN TestMrbDefineClass
--- PASS: TestMrbDefineClass (0.00s)
=== RUN TestMrbDefineClass_methodException
--- PASS: TestMrbDefineClass_methodException (0.00s)
=== RUN TestMrbDefineClassUnder
--- PASS: TestMrbDefineClassUnder (0.00s)
=== RUN TestMrbDefineModule
--- PASS: TestMrbDefineModule (0.00s)
=== RUN TestMrbDefineModuleUnder
--- PASS: TestMrbDefineModuleUnder (0.00s)
=== RUN TestMrbFixnumValue
--- PASS: TestMrbFixnumValue (0.00s)
=== RUN TestMrbFullGC
--- PASS: TestMrbFullGC (0.00s)
=== RUN TestMrbGetArgs
--- PASS: TestMrbGetArgs (0.61s)
=== RUN TestMrbGlobalVariable
--- PASS: TestMrbGlobalVariable (0.00s)
=== RUN TestMrbInstanceVariable
--- PASS: TestMrbInstanceVariable (0.01s)
=== RUN TestMrbLoadString
--- PASS: TestMrbLoadString (0.01s)
=== RUN TestMrbLoadString_twice
--- PASS: TestMrbLoadString_twice (0.00s)
=== RUN TestMrbLoadStringException
--- PASS: TestMrbLoadStringException (0.00s)
=== RUN TestMrbRaise
--- PASS: TestMrbRaise (0.00s)
=== RUN TestMrbYield
--- PASS: TestMrbYield (0.00s)
=== RUN TestMrbYieldException
--- PASS: TestMrbYieldException (0.00s)
=== RUN TestMrbRun
--- PASS: TestMrbRun (0.00s)
=== RUN TestMrbDefineMethodConcurrent
--- PASS: TestMrbDefineMethodConcurrent (0.13s)
=== RUN TestMrbStackedException
/home/takeshi/dev/go-mruby/vendor/mruby/src/vm.c:1474:9: runtime error: load of null pointer of type 'const mrb_code'
AddressSanitizer:DEADLYSIGNAL
=================================================================
==14916==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000005a61be bp 0x7fb62fea8730 sp 0x7fb62fea7880 T38)
==14916==The signal is caused by a READ memory access.
==14916==Hint: address points to the zero page.
#0 0x5a61bd in mrb_vm_exec (/tmp/go-build385961964/b001/go-mruby.test+0x5a61bd)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/tmp/go-build385961964/b001/go-mruby.test+0x5a61bd) in mrb_vm_exec
Thread T38 created by T1 here:
#0 0x7fb649007805 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x3a805)
#1 0x52b348 in _cgo_try_pthread_create (/tmp/go-build385961964/b001/go-mruby.test+0x52b348)
#2 0x7fffff (/tmp/go-build385961964/b001/go-mruby.test+0x7fffff)
Thread T1 created by T0 here:
#0 0x7fb649007805 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x3a805)
#1 0x52b348 in _cgo_try_pthread_create (/tmp/go-build385961964/b001/go-mruby.test+0x52b348)
#2 0x7fffff (/tmp/go-build385961964/b001/go-mruby.test+0x7fffff)
==14916==ABORTING
exit status 1
FAIL github.com/mitchellh/go-mruby 0.980s
make: *** [Makefile:31: test] Error 1
make: Leaving directory '/home/takeshi/dev/go-mruby'
Compilation exited abnormally with code 2 at Fri Dec 20 13:00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment