Skip to content

Instantly share code, notes, and snippets.

@natemurthy
Created January 22, 2023 03:26
Show Gist options
  • Save natemurthy/b753830ed54ab47597f44d4b22127174 to your computer and use it in GitHub Desktop.
Save natemurthy/b753830ed54ab47597f44d4b22127174 to your computer and use it in GitHub Desktop.
natemurthy: tfgo example failed
2023-01-21 19:01:59.670541: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /usr/local/lib/libtensorflow.2.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin
Referenced from: /usr/local/lib/libtensorflow.2.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
SIGABRT: abort
PC=0x108aef24a m=0 sigcode=0
signal arrived during cgo execution
goroutine 1 [syscall]:
runtime.cgocall(0x1001eb670, 0xc00023fc90)
/usr/local/go/src/runtime/cgocall.go:158 +0x5c fp=0xc00023fc68 sp=0xc00023fc30 pc=0x1000044dc
github.com/galeone/tensorflow/tensorflow/go._Cfunc_TF_NewSession(0x103821800, 0x105821810, 0x102a57300)
_cgo_gotypes.go:1097 +0x4d fp=0xc00023fc90 sp=0xc00023fc68 pc=0x1001d38ed
github.com/galeone/tensorflow/tensorflow/go.NewSession.func1(0xc00023ff08?, 0x105821810, 0x30?)
/Users/nate/Gospace/pkg/mod/github.com/galeone/tensorflow/tensorflow/go@v0.0.0-20221023090153-6b7fa0680c3e/session.go:59 +0xa7 fp=0xc00023fcd0 sp=0xc00023fc90 pc=0x1001e0c07
github.com/galeone/tensorflow/tensorflow/go.NewSession(0xc0002000f0?, 0xc0002005a0?)
/Users/nate/Gospace/pkg/mod/github.com/galeone/tensorflow/tensorflow/go@v0.0.0-20221023090153-6b7fa0680c3e/session.go:59 +0x7b fp=0xc00023fd50 sp=0xc00023fcd0 pc=0x1001e09fb
github.com/galeone/tfgo.Exec(0xc0002682e0?, {0xc00023fee8, 0x2, 0x2}, 0x108a41190?, 0x178?)
/Users/nate/Gospace/pkg/mod/github.com/galeone/tfgo@v0.0.0-20221023090852-d89a5c7e31e1/ops.go:85 +0x85 fp=0xc00023fde8 sp=0xc00023fd50 pc=0x1001e97c5
main.main()
/Users/nate/Gospace/src/github.com/natemurthy/go-playground/tfgo/main.go:21 +0x2ac fp=0xc00023ff80 sp=0xc00023fde8 pc=0x1001ea38c
runtime.main()
/usr/local/go/src/runtime/proc.go:250 +0x212 fp=0xc00023ffe0 sp=0xc00023ff80 pc=0x1000373f2
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00023ffe8 sp=0xc00023ffe0 pc=0x100062a21
goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc000058fb0 sp=0xc000058f90 pc=0x1000377b6
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:369
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:302 +0xad fp=0xc000058fe0 sp=0xc000058fb0 pc=0x10003764d
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x100062a21
created by runtime.init.6
/usr/local/go/src/runtime/proc.go:290 +0x25
goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc000059790 sp=0xc000059770 pc=0x1000377b6
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
/usr/local/go/src/runtime/mgcsweep.go:278 +0x8e fp=0xc0000597c8 sp=0xc000059790 pc=0x10002494e
runtime.gcenable.func1()
/usr/local/go/src/runtime/mgc.go:178 +0x26 fp=0xc0000597e0 sp=0xc0000597c8 pc=0x100019606
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000597e8 sp=0xc0000597e0 pc=0x100062a21
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:178 +0x6b
goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc000080000?, 0x1002f2700?, 0x1?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc000059f70 sp=0xc000059f50 pc=0x1000377b6
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x100518fe0)
/usr/local/go/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc000059fa0 sp=0xc000059f70 pc=0x1000229f3
runtime.bgscavenge(0x0?)
/usr/local/go/src/runtime/mgcscavenge.go:617 +0x45 fp=0xc000059fc8 sp=0xc000059fa0 pc=0x100022fc5
runtime.gcenable.func2()
/usr/local/go/src/runtime/mgc.go:179 +0x26 fp=0xc000059fe0 sp=0xc000059fc8 pc=0x1000195a6
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x100062a21
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:179 +0xaa
goroutine 18 [finalizer wait]:
runtime.gopark(0x1005193e0?, 0xc0002061a0?, 0x0?, 0x0?, 0xc000058770?)
/usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc000058628 sp=0xc000058608 pc=0x1000377b6
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:369
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:180 +0x10f fp=0xc0000587e0 sp=0xc000058628 pc=0x10001870f
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x100062a21
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:157 +0x45
rax 0x2000209
rbx 0x4
rcx 0x7ffeefbfdbb8
rdx 0x7ffeefbfe030
rdi 0x6
rsi 0x4
rbp 0x7ffeefbfdc10
rsp 0x7ffeefbfdbb8
r8 0x7ffeefbfdc30
r9 0x0
r10 0x66
r11 0x246
r12 0x66
r13 0x7ffeefbfe030
r14 0x6
r15 0x0
rip 0x108aef24a
rflags 0x246
cs 0x7
fs 0x0
gs 0x0
exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment