Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #45

Open
loeffel-io opened this issue Jul 19, 2020 · 0 comments
Open

Not working #45

loeffel-io opened this issue Jul 19, 2020 · 0 comments

Comments

@loeffel-io
Copy link

loeffel-io commented Jul 19, 2020

macOS catalina

game-center go build -ldflags "-r ." -o test                                  
➜  game-center ./test 
dyld: lazy symbol binding failed: Symbol not found: _ulViewGetJSContext
  Referenced from: /Users/lucasloffel/go/src/github.com/loeffel-io/game-center/./test
  Expected in: /Users/lucasloffel/go/src/github.com/loeffel-io/game-center/libUltralight.dylib

dyld: Symbol not found: _ulViewGetJSContext
  Referenced from: /Users/lucasloffel/go/src/github.com/loeffel-io/game-center/./test
  Expected in: /Users/lucasloffel/go/src/github.com/loeffel-io/game-center/libUltralight.dylib

SIGABRT: abort
PC=0x1324fede m=0 sigcode=0

goroutine 0 [idle]:
runtime: unknown pc 0x1324fede
stack: frame={sp:0x7ffeefbfe608, fp:0x0} stack=[0x7ffeefb80748,0x7ffeefbff7b0)
00007ffeefbfe508:  000000005f14434a  000000000418a520 <crypto/elliptic.initP224+528> 
00007ffeefbfe518:  0000000000000000  0000000000000000 
00007ffeefbfe528:  0000000000000000  0000000000000000 
00007ffeefbfe538:  0000000000020000  0000000000000000 
00007ffeefbfe548:  0000000000000000  0000000000000000 
00007ffeefbfe558:  f29dee7eb9c500da  0000000011165d70 
00007ffeefbfe568:  00000000000000ff  0000000000001e78 
00007ffeefbfe578:  0000000000000000  00007ffeefbfe660 
00007ffeefbfe588:  00000000131fb928  00000000131febd7 
00007ffeefbfe598:  0000000011165d70  0000000000000000 
00007ffeefbfe5a8:  000000001325065a  00007fff912f2e30 
00007ffeefbfe5b8:  00000000000036da  0000000000000000 
00007ffeefbfe5c8:  00000000131fa000  00007ffeefbff2a0 
00007ffeefbfe5d8:  0000000000000000  00007ffeefbfea18 
00007ffeefbfe5e8:  0000000000000005  0000000011165470 
00007ffeefbfe5f8:  00007ffeefbfee78  00007ffeefbfeef0 
00007ffeefbfe608: <000000001327955d  0000000000000021 
00007ffeefbfe618:  000000201324578e  00007ffeefbfe670 
00007ffeefbfe628:  00000000000000bb  00000000000000ff 
00007ffeefbfe638:  0000000000000000  00007ffeefbfe670 
00007ffeefbfe648:  00000000132917f8  00007ffeefbfe660 
00007ffeefbfe658:  000000001327958f  00007ffeefbff290 
00007ffeefbfe668:  0000000013276bf4  6e206c6f626d7953 
00007ffeefbfe678:  646e756f6620746f  6569566c755f203a 
00007ffeefbfe688:  6f43534a74654777  20200a747865746e 
00007ffeefbfe698:  636e657265666552  3a6d6f7266206465 
00007ffeefbfe6a8:  2f73726573552f20  666f6c736163756c 
00007ffeefbfe6b8:  732f6f672f6c6566  75687469672f6372 
00007ffeefbfe6c8:  6f6c2f6d6f632e62  6f692d6c65666665 
00007ffeefbfe6d8:  65632d656d61672f  742f2e2f7265746e 
00007ffeefbfe6e8:  784520200a747365  6920646574636570 
00007ffeefbfe6f8:  726573552f203a6e  6c736163756c2f73 
runtime: unknown pc 0x1324fede
stack: frame={sp:0x7ffeefbfe608, fp:0x0} stack=[0x7ffeefb80748,0x7ffeefbff7b0)
00007ffeefbfe508:  000000005f14434a  000000000418a520 <crypto/elliptic.initP224+528> 
00007ffeefbfe518:  0000000000000000  0000000000000000 
00007ffeefbfe528:  0000000000000000  0000000000000000 
00007ffeefbfe538:  0000000000020000  0000000000000000 
00007ffeefbfe548:  0000000000000000  0000000000000000 
00007ffeefbfe558:  f29dee7eb9c500da  0000000011165d70 
00007ffeefbfe568:  00000000000000ff  0000000000001e78 
00007ffeefbfe578:  0000000000000000  00007ffeefbfe660 
00007ffeefbfe588:  00000000131fb928  00000000131febd7 
00007ffeefbfe598:  0000000011165d70  0000000000000000 
00007ffeefbfe5a8:  000000001325065a  00007fff912f2e30 
00007ffeefbfe5b8:  00000000000036da  0000000000000000 
00007ffeefbfe5c8:  00000000131fa000  00007ffeefbff2a0 
00007ffeefbfe5d8:  0000000000000000  00007ffeefbfea18 
00007ffeefbfe5e8:  0000000000000005  0000000011165470 
00007ffeefbfe5f8:  00007ffeefbfee78  00007ffeefbfeef0 
00007ffeefbfe608: <000000001327955d  0000000000000021 
00007ffeefbfe618:  000000201324578e  00007ffeefbfe670 
00007ffeefbfe628:  00000000000000bb  00000000000000ff 
00007ffeefbfe638:  0000000000000000  00007ffeefbfe670 
00007ffeefbfe648:  00000000132917f8  00007ffeefbfe660 
00007ffeefbfe658:  000000001327958f  00007ffeefbff290 
00007ffeefbfe668:  0000000013276bf4  6e206c6f626d7953 
00007ffeefbfe678:  646e756f6620746f  6569566c755f203a 
00007ffeefbfe688:  6f43534a74654777  20200a747865746e 
00007ffeefbfe698:  636e657265666552  3a6d6f7266206465 
00007ffeefbfe6a8:  2f73726573552f20  666f6c736163756c 
00007ffeefbfe6b8:  732f6f672f6c6566  75687469672f6372 
00007ffeefbfe6c8:  6f6c2f6d6f632e62  6f692d6c65666665 
00007ffeefbfe6d8:  65632d656d61672f  742f2e2f7265746e 
00007ffeefbfe6e8:  784520200a747365  6920646574636570 
00007ffeefbfe6f8:  726573552f203a6e  6c736163756c2f73 

goroutine 1 [syscall]:
runtime.cgocall(0x430b260, 0xc000042db8, 0x400e766)
        /usr/local/Cellar/go/1.14.2_1/libexec/src/runtime/cgocall.go:133 +0x5b fp=0xc000042d88 sp=0xc000042d50 pc=0x400561b
github.com/ImVexed/muon/ultralight._Cfunc_ulViewGetJSContext(0x11165c30, 0x0)
        _cgo_gotypes.go:3188 +0x4a fp=0xc000042db8 sp=0xc000042d88 pc=0x42fc7ba
github.com/ImVexed/muon/ultralight.UlViewGetJSContext.func1(0x11165c30, 0x43a86a0)
        /Users/lucasloffel/go/pkg/mod/github.com/!im!vexed/muon@v0.0.0-20191209030120-589db8f0f250/ultralight/ultralight.go:589 +0x4d fp=0xc000042de8 sp=0xc000042db8 pc=0x430265d
github.com/ImVexed/muon/ultralight.UlViewGetJSContext(0x11165c30, 0x20)
        /Users/lucasloffel/go/pkg/mod/github.com/!im!vexed/muon@v0.0.0-20191209030120-589db8f0f250/ultralight/ultralight.go:589 +0x2b fp=0xc000042e08 sp=0xc000042de8 pc=0x430135b
github.com/ImVexed/muon.(*Window).addFunction(0xc0000cc280, 0x43bdcc7, 0x3)
        /Users/lucasloffel/go/pkg/mod/github.com/!im!vexed/muon@v0.0.0-20191209030120-589db8f0f250/muon.go:315 +0x59 fp=0xc000042ea8 sp=0xc000042e08 pc=0x4307629
github.com/ImVexed/muon.(*Window).Bind(0xc0000cc280, 0x43bdcc7, 0x3, 0x4353be0, 0x43d7f30)
        /Users/lucasloffel/go/pkg/mod/github.com/!im!vexed/muon@v0.0.0-20191209030120-589db8f0f250/muon.go:132 +0x2b0 fp=0xc000042f30 sp=0xc000042ea8 pc=0x4305d00
main.main()
        /Users/lucasloffel/go/src/github.com/loeffel-io/game-center/main.go:23 +0xec fp=0xc000042f88 sp=0xc000042f30 pc=0x4307dac
runtime.main()
        /usr/local/Cellar/go/1.14.2_1/libexec/src/runtime/proc.go:203 +0x212 fp=0xc000042fe0 sp=0xc000042f88 pc=0x4037122
runtime.goexit()
        /usr/local/Cellar/go/1.14.2_1/libexec/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000042fe8 sp=0xc000042fe0 pc=0x4063c11

rax    0x2000209
rbx    0x0
rcx    0x7ffeefbfe608
rdx    0x7ffeefbfea70
rdi    0x6
rsi    0x4
rbp    0x7ffeefbfe650
rsp    0x7ffeefbfe608
r8     0x7ffeefbfe670
r9     0x0
r10    0xbb
r11    0x246
r12    0xbb
r13    0x7ffeefbfea70
r14    0x4
r15    0x6
rip    0x1324fede
rflags 0x246
cs     0x7
fs     0x0
gs     0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant