Open hilesha opened 1 year ago
Followed this link _https://mynewt.apache.org/latest/newt/install/newt_mac.html_ to install newt on MacOS BigSur 11.7.3. ran below command newt version
got below error stack
_fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff20977c9e] runtime stack: runtime.throw({0x1003b42ab?, 0xc000000008?}) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/panic.go:1047 +0x5d fp=0x7ffeefbff748 sp=0x7ffeefbff718 pc=0x100037a1d runtime: g 0: unexpected return pc for runtime.sigpanic called from 0x7fff20977c9e stack: frame={sp:0x7ffeefbff748, fp:0x7ffeefbff798} stack=[0x7ffeefb807e8,0x7ffeefbff850) 0x00007ffeefbff648: 0x0000000100000004 0x000000000000001f 0x00007ffeefbff658: 0x00007fff20977c9e 0x0b01dfacedebac1e 0x00007ffeefbff668: 0x0000000000000001 0x0000000100037a1d <runtime.throw+0x000000000000005d> 0x00007ffeefbff678: 0x00007ffeefbff718 0x00000001003addac 0x00007ffeefbff688: 0x00007ffeefbff6c8 0x0000000100037de8 <runtime.fatalthrow.func1+0x0000000000000048> 0x00007ffeefbff698: 0x0000000100631360 0x00000001003a1a0f 0x00007ffeefbff6a8: 0x0000000000000001 0x00007ffeefbff718 0x00007ffeefbff6b8: 0x0000000100037a1d <runtime.throw+0x000000000000005d> 0x0000000100631360 0x00007ffeefbff6c8: 0x00007ffeefbff708 0x0000000100037d6c <runtime.fatalthrow+0x000000000000006c> 0x00007ffeefbff6d8: 0x00007ffeefbff6e8 0x0000000100631360 0x00007ffeefbff6e8: 0x0000000100037da0 <runtime.fatalthrow.func1+0x0000000000000000> 0x0000000100631360 0x00007ffeefbff6f8: 0x0000000100037a1d <runtime.throw+0x000000000000005d> 0x00007ffeefbff718 0x00007ffeefbff708: 0x00007ffeefbff738 0x0000000100037a1d <runtime.throw+0x000000000000005d> 0x00007ffeefbff718: 0x00007ffeefbff720 0x0000000100037a40 <runtime.throw.func1+0x0000000000000000> 0x00007ffeefbff728: 0x00000001003b42ab 0x000000000000002a 0x00007ffeefbff738: 0x00007ffeefbff788 0x000000010004d869 <runtime.sigpanic+0x0000000000000369> 0x00007ffeefbff748: <0x00000001003b42ab 0x000000c000000008 0x00007ffeefbff758: 0x0000000000000003 0x000000c0000061a0 0x00007ffeefbff768: 0x0000000100d04d6c 0x0000000100f1b988 0x00007ffeefbff778: 0x0000000000002000 0x0000000000000000 0x00007ffeefbff788: 0x00007ffeefbff7d0 !0x00007fff20977c9e 0x00007ffeefbff798: >0x00007ffeefbff7d0 0x0000000100608000 0x00007ffeefbff7a8: 0x000000000000002e 0x000000010011c145 <golang.org/x/sys/unix.libc___sysctl_trampoline+0x0000000000000005> 0x00007ffeefbff7b8: 0x000000010006a68c <runtime.syscall6+0x000000000000002c> 0x000000c0000fdb68 0x00007ffeefbff7c8: 0x00007ffeefbff810 0x000000c0000fdb48 0x00007ffeefbff7d8: 0x0000000100068304 <runtime.asmcgocall+0x0000000000000064> 0x0000000000000001 0x00007ffeefbff7e8: 0x0000000100013700 <runtime.evacuate+0x0000000000000520> 0x0000000000000030 0x00007ffeefbff7f8: 0x00007ffeefbff810 0x0000000100662de0 0x00007ffeefbff808: 0x00000000000004e0 0x000000c0000061a0 0x00007ffeefbff818: 0x0000000100066449 <runtime.systemstack+0x0000000000000049> 0x00007ffeefbff838 0x00007ffeefbff828: 0x000000010006ab85 <runtime.newproc+0x0000000000000025> 0x0000000100631360 0x00007ffeefbff838: 0x00007ffeefbff880 0x0000000100066345 <runtime.mstart+0x0000000000000005> 0x00007ffeefbff848: 0x00000001000662d1 <runtime.rt0_go+0x0000000000000131> runtime.sigpanic() /usr/local/Cellar/go/1.19.5/libexec/src/runtime/signal_unix.go:819 +0x369 fp=0x7ffeefbff798 sp=0x7ffeefbff748 pc=0x10004d869 goroutine 1 [syscall]: syscall.syscall6(0xf?, 0xe?, 0x1?, 0xc0000a4c70?, 0xc0000fdc70?, 0x10011b6ee?, 0x1003a5775?) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/sys_darwin.go:45 +0x99 fp=0xc0000fdc18 sp=0xc0000fdb58 pc=0x100065059 golang.org/x/sys/unix.sysctl({0xc0000fdcc0?, 0xe?, 0xc0000d50e0?}, 0x8?, 0x70?, 0x6f6f000000000000?, 0xc0002162a0?) /private/tmp/mynewt-newt-20230210-37804-1g66fkl/mynewt-newt-mynewt_1_9_0_tag/.brew_home/go/pkg/mod/golang.org/x/sys@v0.0.0-20190916202348-b4ddaad3f8a3/unix/zsyscall_darwin_amd64.go:2330 +0x6f fp=0xc0000fdc80 sp=0xc0000fdc18 pc=0x10011beef golang.org/x/sys/unix.nametomib({0x1003a5775, 0xe}) /private/tmp/mynewt-newt-20230210-37804-1g66fkl/mynewt-newt-mynewt_1_9_0_tag/.brew_home/go/pkg/mod/golang.org/x/sys@v0.0.0-20190916202348-b4ddaad3f8a3/unix/syscall_darwin.go:74 +0x92 fp=0xc0000fdce0 sp=0xc0000fdc80 pc=0x10011b9f2 golang.org/x/sys/unix.sysctlmib({0x1003a5775?, 0x98?}, {0x0, 0x0, 0xc0000fdda8?}) /private/tmp/mynewt-newt-20230210-37804-1g66fkl/mynewt-newt-mynewt_1_9_0_tag/.brew_home/go/pkg/mod/golang.org/x/sys@v0.0.0-20190916202348-b4ddaad3f8a3/unix/syscall_bsd.go:419 +0x2f fp=0xc0000fdd48 sp=0xc0000fdce0 pc=0x10011b76f golang.org/x/sys/unix.SysctlUint32Args({0x1003a5775?, 0x10000a665?}, {0x0?, 0x28?, 0xc?}) /private/tmp/mynewt-newt-20230210-37804-1g66fkl/mynewt-newt-mynewt_1_9_0_tag/.brew_home/go/pkg/mod/golang.org/x/sys@v0.0.0-20190916202348-b4ddaad3f8a3/unix/syscall_bsd.go:454 +0x27 fp=0xc0000fdda0 sp=0xc0000fdd48 pc=0x10011b887 golang.org/x/sys/unix.SysctlUint32(...) /private/tmp/mynewt-newt-20230210-37804-1g66fkl/mynewt-newt-mynewt_1_9_0_tag/.brew_home/go/pkg/mod/golang.org/x/sys@v0.0.0-20190916202348-b4ddaad3f8a3/unix/syscall_bsd.go:450 github.com/shirou/gopsutil/cpu.CountsWithContext({0x0?, 0x1003a1a1d?}, 0x1?) /private/tmp/mynewt-newt-20230210-37804-1g66fkl/mynewt-newt-mynewt_1_9_0_tag/.brew_home/go/pkg/mod/github.com/shirou/gopsutil@v2.20.8+incompatible/cpu/cpu_darwin.go:113 +0x45 fp=0xc0000fddd8 sp=0xc0000fdda0 pc=0x10011cb65 github.com/shirou/gopsutil/cpu.Counts(...) /private/tmp/mynewt-newt-20230210-37804-1g66fkl/mynewt-newt-mynewt_1_9_0_tag/.brew_home/go/pkg/mod/github.com/shirou/gopsutil@v2.20.8+incompatible/cpu/cpu.go:66 main.newtDfltNumJobs() /tmp/mynewt.JwA08mPycf/src/mynewt.apache.org/newt/newt/newt.go:47 +0x45 fp=0xc0000fde10 sp=0xc0000fddd8 pc=0x1003162e5 main.newtCmd() /tmp/mynewt.JwA08mPycf/src/mynewt.apache.org/newt/newt/newt.go:127 +0x378 fp=0xc0000fdec0 sp=0xc0000fde10 pc=0x1003167d8 main.main() /tmp/mynewt.JwA08mPycf/src/mynewt.apache.org/newt/newt/newt.go:151 +0x2b fp=0xc0000fdf80 sp=0xc0000fdec0 pc=0x100316b2b runtime.main() /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:250 +0x212 fp=0xc0000fdfe0 sp=0xc0000fdf80 pc=0x10003a232 runtime.goexit() /usr/local/Cellar/go/1.19.5/libexec/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000fdfe8 sp=0xc0000fdfe0 pc=0x100068621 goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:363 +0xd6 fp=0xc00004afb0 sp=0xc00004af90 pc=0x10003a5f6 runtime.goparkunlock(...) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:369 runtime.forcegchelper() /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:302 +0xad fp=0xc00004afe0 sp=0xc00004afb0 pc=0x10003a48d runtime.goexit() /usr/local/Cellar/go/1.19.5/libexec/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004afe8 sp=0xc00004afe0 pc=0x100068621 created by runtime.init.6 /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:290 +0x25 goroutine 3 [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:363 +0xd6 fp=0xc00004b790 sp=0xc00004b770 pc=0x10003a5f6 runtime.goparkunlock(...) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:369 runtime.bgsweep(0x0?) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/mgcsweep.go:278 +0x8e fp=0xc00004b7c8 sp=0xc00004b790 pc=0x1000274ee runtime.gcenable.func1() /usr/local/Cellar/go/1.19.5/libexec/src/runtime/mgc.go:178 +0x26 fp=0xc00004b7e0 sp=0xc00004b7c8 pc=0x10001c1a6 runtime.goexit() /usr/local/Cellar/go/1.19.5/libexec/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00004b7e8 sp=0xc00004b7e0 pc=0x100068621 created by runtime.gcenable /usr/local/Cellar/go/1.19.5/libexec/src/runtime/mgc.go:178 +0x6b goroutine 4 [GC scavenge wait]: runtime.gopark(0xc000072000?, 0x10043bad0?, 0x1?, 0x0?, 0x0?) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:363 +0xd6 fp=0xc00004bf70 sp=0xc00004bf50 pc=0x10003a5f6 runtime.goparkunlock(...) /usr/local/Cellar/go/1.19.5/libexec/src/runtime/proc.go:369 runtime.(*scavengerState).park(0x1006311e0)_
Followed this link _https://mynewt.apache.org/latest/newt/install/newt_mac.html_ to install newt on MacOS BigSur 11.7.3. ran below command newt version
got below error stack