-
-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Description
Hi. I am on an m4 mac os v15.5 and attempting to run the example program in your readme but am hitting a panic. It could be my set up but unsure. Any help would be appreciated. Here is the full panic:
panic
$ go run main.go
# command-line-arguments
ld: warning: ignoring duplicate libraries: '-lobjc'
SIGABRT: abort
PC=0x1884b9388 m=0 sigcode=0
signal arrived during cgo execution
goroutine 1 gp=0x14000002380 m=0 mp=0x101f25180 [syscall, locked to thread]:
runtime.cgocall(0x101383f50, 0x140001a9d18)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/cgocall.go:167 +0x44 fp=0x140001a9ce0 sp=0x140001a9ca0 pc=0x100dce774
github.com/progrium/darwinkit/objc/ffi._Cfunc_ffi_call0(0x140001ce750, 0x18c4f6a84, 0x101f4a9c0, 0x140001a9e48)
_cgo_gotypes.go:156 +0x2c fp=0x140001a9d10 sp=0x140001a9ce0 pc=0x100e10a9c
github.com/progrium/darwinkit/objc/ffi.Call.func1(...)
/Users/joe/go/pkg/mod/github.com/progrium/[email protected]/objc/ffi/ffi.go:75
github.com/progrium/darwinkit/objc/ffi.Call(0x140001ce750, 0x18c4f6a84, 0x101f4a9c0, {0x140001a9e48, 0x2, 0x2})
/Users/joe/go/pkg/mod/github.com/progrium/[email protected]/objc/ffi/ffi.go:75 +0x80 fp=0x140001a9d70 sp=0x140001a9d10 pc=0x100e10ec0
github.com/progrium/darwinkit/objc.Call[...]({0x10160a3f8, 0x126e053c0}, {0x2031c946f}, {0x0, 0x0, 0x101545be0})
/Users/joe/go/pkg/mod/github.com/progrium/[email protected]/objc/call.go:61 +0x498 fp=0x140001a9e80 sp=0x140001a9d70 pc=0x100e54418
github.com/progrium/darwinkit/macos/appkit.Application.Run({{{0x1400005df38?}}})
/Users/joe/go/pkg/mod/github.com/progrium/[email protected]/macos/appkit/application.gen.go:511 +0x6c fp=0x140001a9ed0 sp=0x140001a9e80 pc=0x10108656c
github.com/progrium/darwinkit/macos.RunApp(0x1015fa798)
/Users/joe/go/pkg/mod/github.com/progrium/[email protected]/macos/macos.go:25 +0xe8 fp=0x140001a9f20 sp=0x140001a9ed0 pc=0x101333048
main.main()
/Users/joe/ocean/testapp/main.go:13 +0x24 fp=0x140001a9f40 sp=0x140001a9f20 pc=0x101381754
runtime.main()
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:285 +0x278 fp=0x140001a9fd0 sp=0x140001a9f40 pc=0x100da05f8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140001a9fd0 sp=0x140001a9fd0 pc=0x100dd80e4
goroutine 18 gp=0x14000082380 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:460 +0xc0 fp=0x14000044790 sp=0x14000044770 pc=0x100dd1170
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:466
runtime.forcegchelper()
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:373 +0xb4 fp=0x140000447d0 sp=0x14000044790 pc=0x100da0944
runtime.goexit({})
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000447d0 sp=0x140000447d0 pc=0x100dd80e4
created by runtime.init.7 in goroutine 1
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:361 +0x24
goroutine 19 gp=0x14000082540 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:460 +0xc0 fp=0x14000044f60 sp=0x14000044f40 pc=0x100dd1170
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:466
runtime.bgsweep(0x14000092000)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mgcsweep.go:279 +0x9c fp=0x14000044fb0 sp=0x14000044f60 pc=0x100d8c57c
runtime.gcenable.gowrap1()
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mgc.go:212 +0x28 fp=0x14000044fd0 sp=0x14000044fb0 pc=0x100d80248
runtime.goexit({})
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000044fd0 sp=0x14000044fd0 pc=0x100dd80e4
created by runtime.gcenable in goroutine 1
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mgc.go:212 +0x6c
goroutine 20 gp=0x14000082700 m=nil [GC scavenge wait]:
runtime.gopark(0x14000092000?, 0x1014310f8?, 0x1?, 0x0?, 0x14000082700?)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:460 +0xc0 fp=0x14000045760 sp=0x14000045740 pc=0x100dd1170
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:466
runtime.(*scavengerState).park(0x101f24780)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000045790 sp=0x14000045760 pc=0x100d8a10c
runtime.bgscavenge(0x14000092000)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mgcscavenge.go:653 +0x44 fp=0x140000457b0 sp=0x14000045790 pc=0x100d8a644
runtime.gcenable.gowrap2()
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mgc.go:213 +0x28 fp=0x140000457d0 sp=0x140000457b0 pc=0x100d801e8
runtime.goexit({})
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000457d0 sp=0x140000457d0 pc=0x100dd80e4
created by runtime.gcenable in goroutine 1
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mgc.go:213 +0xac
goroutine 2 gp=0x14000003500 m=nil [GOMAXPROCS updater (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:460 +0xc0 fp=0x14000048f70 sp=0x14000048f50 pc=0x100dd1170
runtime.goparkunlock(...)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:466
runtime.updateMaxProcsGoroutine()
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:6706 +0xf4 fp=0x14000048fd0 sp=0x14000048f70 pc=0x100daf294
runtime.goexit({})
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000048fd0 sp=0x14000048fd0 pc=0x100dd80e4
created by runtime.defaultGOMAXPROCSUpdateEnable in goroutine 1
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:6694 +0x48
goroutine 3 gp=0x14000003c00 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0xb8?, 0x85?, 0x100dd1bc4?)
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/proc.go:460 +0xc0 fp=0x14000048580 sp=0x14000048560 pc=0x100dd1170
runtime.runFinalizers()
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mfinal.go:210 +0x104 fp=0x140000487d0 sp=0x14000048580 pc=0x100d7f2e4
runtime.goexit({})
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000487d0 sp=0x140000487d0 pc=0x100dd80e4
created by runtime.createfing in goroutine 1
/opt/homebrew/Cellar/go/1.25.1/libexec/src/runtime/mfinal.go:172 +0x78
r0 0x0
r1 0x0
r2 0x0
r3 0x0
r4 0x16f09d840
r5 0x16f09d800
r6 0x1f6aae3e8
r7 0x16f09d878
r8 0x1408dba6f5d05bab
r9 0x1408dba703b044ab
r10 0x600200648229
r11 0x16f09d840
r12 0x1
r13 0x5fe2
r14 0xc
r15 0x18
r16 0x148
r17 0x1f7651fa8
r18 0x0
r19 0x6
r20 0x103
r21 0x1f6601fe0
r22 0x0
r23 0x1400019bef0
r24 0x0
r25 0x8
r26 0x3
r27 0x140001acca8
r28 0x8
r29 0x16f09d600
lr 0x1884f288c
sp 0x16f09d5e0
pc 0x1884b9388
fault 0x1884b9388
exit status 2
ezh
Metadata
Metadata
Assignees
Labels
No labels