matryer / xbar

Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
https://xbarapp.com
MIT License
17.55k stars 643 forks source link

2.0.7 doesn't start on Big Sur 11.2.2 #614

Closed sydsyd closed 3 years ago

sydsyd commented 3 years ago

Rebooted, removed BitBar, but Xbar doesn't seem to start. Nothing on menubar.

adrianmester commented 3 years ago

I think it's the same issue mentioned in #612

sydsyd commented 3 years ago

I think it's the same issue mentioned in #612

I wonder what version it does start on?

matryer commented 3 years ago

Yeah, we're seeing some weird crashes. But not on our machines! @leaanthony and I are trying to get to the bottom of it.

Meanwhile, can you share your macOS versions? And Safari versions if possible.

magicus commented 3 years ago

I installed v2.0.9-beta, and ran it from the terminal as /Applications/xbar.app/Contents/MacOS/xbar and got the following crash dump:


2021-03-08 23:50:42.875 xbar[2842:34822] -[NSImage template]: unrecognized selector sent to instance 0x41938f80
2021-03-08 23:50:42.877 xbar[2842:34822] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSImage template]: unrecognized selector sent to instance 0x41938f80'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff207636af __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff2049b3c9 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff207e5c85 -[NSObject(NSObject) __retain_OA] + 0
    3   CoreFoundation                      0x00007fff206cb07d ___forwarding___ + 1467
    4   CoreFoundation                      0x00007fff206caa38 _CF_forwarding_prep_0 + 120
    5   xbar                                0x00000000043fc2a8 processTextMenuItem + 1176
    6   xbar                                0x00000000043fd174 processMenuItem + 1476
    7   xbar                                0x00000000043fd37a processMenuData + 106
    8   xbar                                0x00000000043fd633 GetMenu + 147
    9   xbar                                0x00000000043fe57d ShowTrayMenu + 301
    10  xbar                                0x00000000043ffacc UpdateTrayMenuInStore + 460
    11  xbar                                0x00000000043efc36 __SetTrayMenu_block_invoke + 38
    12  libdispatch.dylib                   0x00007fff204455dd _dispatch_call_block_and_release + 12
    13  libdispatch.dylib                   0x00007fff204467c7 _dispatch_client_callout + 8
    14  libdispatch.dylib                   0x00007fff20452b86 _dispatch_main_queue_callback_4CF + 940
    15  CoreFoundation                      0x00007fff20726970 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    16  CoreFoundation                      0x00007fff206e8852 __CFRunLoopRun + 2731
    17  CoreFoundation                      0x00007fff206e76ce CFRunLoopRunSpecific + 563
    18  HIToolbox                           0x00007fff2896f630 RunCurrentEventLoopInMode + 292
    19  HIToolbox                           0x00007fff2896f42c ReceiveNextEventCommon + 709
    20  HIToolbox                           0x00007fff2896f14f _BlockUntilNextEventMatchingListInModeWithFilter + 64
    21  AppKit                              0x00007fff22f079b1 _DPSNextEvent + 883
    22  AppKit                              0x00007fff22f06177 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
    23  AppKit                              0x00007fff22ef868a -[NSApplication run] + 586
    24  xbar                                0x00000000043f39ac Run + 4076
    25  xbar                                0x00000000043e70cf _cgo_0185d2c5ec34_Cfunc_Run + 47
    26  xbar                                0x0000000004071390 runtime.asmcgocall + 112
)
libc++abi.dylib: terminating with uncaught exception of type NSException
SIGABRT: abort
PC=0x7fff205c3462 m=0 sigcode=0
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x43e70a0, 0xc000159da0, 0x0)
    /usr/local/go/src/runtime/cgocall.go:154 +0x5b fp=0xc000159d70 sp=0xc000159d38 pc=0x4008efb
github.com/wailsapp/wails/v2/internal/ffenestri._Cfunc_Run(0x4c04cb0, 0xc000000000, 0x0)
    _cgo_gotypes.go:359 +0x45 fp=0xc000159da0 sp=0xc000159d70 pc=0x43cc9a5
github.com/wailsapp/wails/v2/internal/ffenestri.(*Application).Run.func6(0x4c04cb0)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/ffenestri/ffenestri.go:171 +0x65 fp=0xc000159dd0 sp=0xc000159da0 pc=0x43cf745
github.com/wailsapp/wails/v2/internal/ffenestri.(*Application).Run(0xc0000683c0, 0x45696a0, 0xc000110d20, 0xc0001c4a80, 0x95a, 0xc000068a00, 0x0, 0x0)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/ffenestri/ffenestri.go:171 +0x2f1 fp=0xc000159e40 sp=0xc000159dd0 pc=0x43cde91
github.com/wailsapp/wails/v2/internal/app.(*App).Run(0xc00012d290, 0xc00012d290, 0x0)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/app/desktop.go:224 +0x659 fp=0xc000159ee8 sp=0xc000159e40 pc=0x43dbc79
github.com/wailsapp/wails/v2.Run(0xc00019c000, 0xc000068240, 0x44c84d3)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/wails.go:24 +0x5f fp=0xc000159f18 sp=0xc000159ee8 pc=0x43dc29f
main.main()
    /Users/matryer/Code/go/src/github.com/matryer/xbar/app/main.go:17 +0x30e fp=0xc000159f88 sp=0xc000159f18 pc=0x43e160e
runtime.main()
    /usr/local/go/src/runtime/proc.go:225 +0x256 fp=0xc000159fe0 sp=0xc000159f88 pc=0x403ddb6
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000159fe8 sp=0xc000159fe0 pc=0x4071701

goroutine 6 [select]:
github.com/wailsapp/wails/v2/internal/servicebus.(*ServiceBus).Start.func1(0xc00006a420)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/servicebus/servicebus.go:83 +0x157
created by github.com/wailsapp/wails/v2/internal/servicebus.(*ServiceBus).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/servicebus/servicebus.go:77 +0xce

goroutine 7 [select]:
github.com/wailsapp/wails/v2/internal/subsystem.(*Runtime).Start.func1(0xc00006afc0)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/runtime.go:73 +0x17c
created by github.com/wailsapp/wails/v2/internal/subsystem.(*Runtime).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/runtime.go:70 +0x3f

goroutine 8 [select]:
github.com/wailsapp/wails/v2/internal/subsystem.(*Log).Start.func1(0xc000074370)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/log.go:68 +0x157
created by github.com/wailsapp/wails/v2/internal/subsystem.(*Log).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/log.go:64 +0x5c

goroutine 9 [select]:
github.com/wailsapp/wails/v2/internal/messagedispatcher.(*Dispatcher).Start.func1(0xc000110d20)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/messagedispatcher/messagedispatcher.go:118 +0x225
created by github.com/wailsapp/wails/v2/internal/messagedispatcher.(*Dispatcher).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/messagedispatcher/messagedispatcher.go:115 +0x9e

goroutine 10 [select]:
github.com/wailsapp/wails/v2/internal/subsystem.(*URL).Start.func1(0xc000074640)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/url.go:66 +0x157
created by github.com/wailsapp/wails/v2/internal/subsystem.(*URL).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/url.go:62 +0x5c

goroutine 11 [select]:
github.com/wailsapp/wails/v2/internal/subsystem.(*Event).Start.func1(0xc0000746e0)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/event.go:89 +0x153
created by github.com/wailsapp/wails/v2/internal/subsystem.(*Event).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/event.go:86 +0x9b

goroutine 12 [select]:
github.com/wailsapp/wails/v2/internal/subsystem.(*Menu).Start.func1(0xc000074780)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/menu.go:72 +0x153
created by github.com/wailsapp/wails/v2/internal/subsystem.(*Menu).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/menu.go:69 +0x9b

goroutine 13 [select]:
github.com/wailsapp/wails/v2/internal/subsystem.(*Call).Start.func1(0xc000074820)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/call.go:77 +0x14a
created by github.com/wailsapp/wails/v2/internal/subsystem.(*Call).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/call.go:74 +0x5a

goroutine 18 [syscall]:
os/signal.signal_recv(0x0)
    /usr/local/go/src/runtime/sigqueue.go:165 +0x9d
os/signal.loop()
    /usr/local/go/src/os/signal/signal_unix.go:23 +0x25
created by os/signal.Notify.func1.1
    /usr/local/go/src/os/signal/signal.go:151 +0x45

goroutine 34 [select]:
github.com/wailsapp/wails/v2/internal/signal.(*Manager).Start.func1(0xc000068a40)
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/signal/signal.go:59 +0x9e
created by github.com/wailsapp/wails/v2/internal/signal.(*Manager).Start
    /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/signal/signal.go:58 +0xc9

goroutine 22 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func1(0xc000096090, 0xc00008e300, 0xc00024a180, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:182 +0x109
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:179 +0x138

goroutine 58 [semacquire]:
sync.runtime_Semacquire(0xc000097548)
    /usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000097540)
    /usr/local/go/src/sync/waitgroup.go:130 +0x65
github.com/matryer/xbar/pkg/plugins.Plugins.Run(0xc000202300, 0x4, 0x4, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:103 +0xc5
main.(*app).RefreshAll.func1(0xc000124090, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/app/app.go:151 +0x55
created by main.(*app).RefreshAll
    /Users/matryer/Code/go/src/github.com/matryer/xbar/app/app.go:148 +0x6d2

goroutine 71 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func2(0xc0003d91a0, 0xc00024a0c0, 0x4570198, 0xc000216540, 0xc000201200)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:201 +0x1af
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:198 +0x19c

goroutine 36 [semacquire]:
sync.runtime_Semacquire(0xc0000975a8)
    /usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0000975a0)
    /usr/local/go/src/sync/waitgroup.go:130 +0x65
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run(0xc00024a000, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:211 +0x1aa
github.com/matryer/xbar/pkg/plugins.Plugins.Run.func1(0x4570198, 0xc000216540, 0xc000097540, 0xc00024a000)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:99 +0x3f
created by github.com/matryer/xbar/pkg/plugins.Plugins.Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:98 +0x9f

goroutine 37 [semacquire]:
sync.runtime_Semacquire(0xc0003d91a8)
    /usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0003d91a0)
    /usr/local/go/src/sync/waitgroup.go:130 +0x65
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run(0xc00024a0c0, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:211 +0x1aa
github.com/matryer/xbar/pkg/plugins.Plugins.Run.func1(0x4570198, 0xc000216540, 0xc000097540, 0xc00024a0c0)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:99 +0x3f
created by github.com/matryer/xbar/pkg/plugins.Plugins.Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:98 +0x9f

goroutine 38 [semacquire]:
sync.runtime_Semacquire(0xc000096098)
    /usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000096090)
    /usr/local/go/src/sync/waitgroup.go:130 +0x65
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run(0xc00024a180, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:211 +0x1aa
github.com/matryer/xbar/pkg/plugins.Plugins.Run.func1(0x4570198, 0xc000216540, 0xc000097540, 0xc00024a180)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:99 +0x3f
created by github.com/matryer/xbar/pkg/plugins.Plugins.Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:98 +0x9f

goroutine 39 [semacquire]:
sync.runtime_Semacquire(0xc000097584)
    /usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000097584)
    /usr/local/go/src/sync/waitgroup.go:130 +0x65
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run(0xc00024a240, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:211 +0x1aa
github.com/matryer/xbar/pkg/plugins.Plugins.Run.func1(0x4570198, 0xc000216540, 0xc000097540, 0xc00024a240)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:99 +0x3f
created by github.com/matryer/xbar/pkg/plugins.Plugins.Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:98 +0x9f

goroutine 43 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func1(0xc000097584, 0xc00008e780, 0xc00024a240, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:182 +0x109
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:179 +0x138

goroutine 44 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func2(0xc000097584, 0xc00024a240, 0x4570198, 0xc000216540, 0xc00008e780)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:201 +0x1af
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:198 +0x19c

goroutine 70 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func1(0xc0003d91a0, 0xc000201200, 0xc00024a0c0, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:182 +0x109
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:179 +0x138

goroutine 68 [IO wait]:
internal/poll.runtime_pollWait(0x6b15490, 0x72, 0xffffffffffffffff)
    /usr/local/go/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00021a198, 0x72, 0x1000, 0x1068, 0xffffffffffffffff)
    /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
    /usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00021a180, 0xc0004a6000, 0x1068, 0x1068, 0x0, 0x0, 0x0)
    /usr/local/go/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc00021a180, 0xc0004a6000, 0x1068, 0x1068, 0xc0004a6575, 0xc000398dd8, 0xc000582828)
    /usr/local/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000094050, 0xc0004a6000, 0x1068, 0x1068, 0x0, 0x0, 0x0)
    /usr/local/go/src/net/net.go:183 +0x91
crypto/tls.(*atLeastReader).Read(0xc0003d3188, 0xc0004a6000, 0x1068, 0x1068, 0x0, 0xc000046900, 0x0)
    /usr/local/go/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc00035ecf8, 0x4569000, 0xc0003d3188, 0x4010da5, 0x445c500, 0x44b5720)
    /usr/local/go/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc00035ea80, 0x34701898, 0xc000094050, 0x5, 0xc000094050, 0x44773c0)
    /usr/local/go/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc00035ea80, 0x0, 0x0, 0xc000068000)
    /usr/local/go/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
    /usr/local/go/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc00035ea80, 0xc0003f8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /usr/local/go/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).Read(0xc0002bdd40, 0xc0003a3538, 0x9, 0x9, 0x4263ceb, 0xc000582c78, 0x400c685)
    /usr/local/go/src/bufio/bufio.go:227 +0x222
io.ReadAtLeast(0x4568e60, 0xc0002bdd40, 0xc0003a3538, 0x9, 0x9, 0x9, 0xc0003f6050, 0xacd2e7ebe11300, 0xc0003f6050)
    /usr/local/go/src/io/io.go:328 +0x87
io.ReadFull(...)
    /usr/local/go/src/io/io.go:347
net/http.http2readFrameHeader(0xc0003a3538, 0x9, 0x9, 0x4568e60, 0xc0002bdd40, 0x0, 0x0, 0xc0003c5bf0, 0x0)
    /usr/local/go/src/net/http/h2_bundle.go:1477 +0x89
net/http.(*http2Framer).ReadFrame(0xc0003a3500, 0xc0003c5bf0, 0x0, 0x0, 0x0)
    /usr/local/go/src/net/http/h2_bundle.go:1735 +0xa5
net/http.(*http2clientConnReadLoop).run(0xc000582fa8, 0x0, 0x0)
    /usr/local/go/src/net/http/h2_bundle.go:8322 +0xd8
net/http.(*http2ClientConn).readLoop(0xc000284600)
    /usr/local/go/src/net/http/h2_bundle.go:8244 +0x6f
created by net/http.(*http2Transport).newClientConn
    /usr/local/go/src/net/http/h2_bundle.go:7208 +0x6c5

goroutine 98 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func1(0xc0000975a0, 0xc00008e840, 0xc00024a000, 0x4570198, 0xc000216540)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:182 +0x109
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:179 +0x138

goroutine 99 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func2(0xc0000975a0, 0xc00024a000, 0x4570198, 0xc000216540, 0xc00008e840)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:201 +0x1af
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:198 +0x19c

goroutine 23 [select]:
github.com/matryer/xbar/pkg/plugins.(*Plugin).Run.func2(0xc000096090, 0xc00024a180, 0x4570198, 0xc000216540, 0xc00008e300)
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:201 +0x1af
created by github.com/matryer/xbar/pkg/plugins.(*Plugin).Run
    /Users/matryer/Code/go/src/github.com/matryer/xbar/pkg/plugins/plugin.go:198 +0x19c

rax    0x0
rbx    0x7db9e00
rcx    0x7ffeefbfd678
rdx    0x0
rdi    0x307
rsi    0x6
rbp    0x7ffeefbfd6a0
rsp    0x7ffeefbfd678
r8     0x7ffeefbfd540
r9     0x7ffeefbfd710
r10    0x7db9e00
r11    0x246
r12    0x307
r13    0x3000000008
r14    0x6
r15    0x16
rip    0x7fff205c3462
rflags 0x246
cs     0x7
fs     0x0
gs     0x0
magicus commented 3 years ago

(This is on Big Sur 11.2.3)

magicus commented 3 years ago

Actually, my problem seems to be separate. Sorry for the confusion created by adding it to this bug report. I'll open a separate issue.

sydsyd commented 3 years ago

Safari Version 14.0.3 (16610.4.3.1.7) MacOS 11.2.3

matryer commented 3 years ago

@magicus check out https://github.com/matryer/xbar/releases/tag/v2.0.10-beta and see if that helps with the NSImage template problem you were seeing.

abraham commented 3 years ago

I'm running into a similar issue with v2.0.10-beta. Opening it does nothing.

Safari Version 14.0.3 (16610.4.3.1.4) MacOS 11.2.2

Running xbar from terminal % ./xbar fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x44 pc=0x7fff2041740d] runtime stack: runtime.throw(0x44dbc52, 0x2a) /usr/local/go/src/runtime/panic.go:1117 +0x72 runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:718 +0x2ef goroutine 1 [syscall, locked to thread]: runtime.cgocall(0x43e7060, 0xc000163da0, 0x0) /usr/local/go/src/runtime/cgocall.go:154 +0x5b fp=0xc000163d70 sp=0xc000163d38 pc=0x4008e7b github.com/wailsapp/wails/v2/internal/ffenestri._Cfunc_Run(0x6a08a60, 0xc000000000, 0x0) _cgo_gotypes.go:359 +0x45 fp=0xc000163da0 sp=0xc000163d70 pc=0x43cc925 github.com/wailsapp/wails/v2/internal/ffenestri.(*Application).Run.func6(0x6a08a60) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/ffenestri/ffenestri.go:171 +0x65 fp=0xc000163dd0 sp=0xc000163da0 pc=0x43cf6c5 github.com/wailsapp/wails/v2/internal/ffenestri.(*Application).Run(0xc000030400, 0x45696a0, 0xc000118e60, 0xc0001cca80, 0x95a, 0xc000030a00, 0x0, 0x0) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/ffenestri/ffenestri.go:171 +0x2f1 fp=0xc000163e40 sp=0xc000163dd0 pc=0x43cde11 github.com/wailsapp/wails/v2/internal/app.(*App).Run(0xc000137290, 0xc000137290, 0x0) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/app/desktop.go:224 +0x659 fp=0xc000163ee8 sp=0xc000163e40 pc=0x43dbbf9 github.com/wailsapp/wails/v2.Run(0xc0001a6000, 0xc000030280, 0x44c8493) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/wails.go:24 +0x5f fp=0xc000163f18 sp=0xc000163ee8 pc=0x43dc21f main.main() /Users/matryer/Code/go/src/github.com/matryer/xbar/app/main.go:17 +0x30e fp=0xc000163f88 sp=0xc000163f18 pc=0x43e158e runtime.main() /usr/local/go/src/runtime/proc.go:225 +0x256 fp=0xc000163fe0 sp=0xc000163f88 pc=0x403dd36 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000163fe8 sp=0xc000163fe0 pc=0x4071681 goroutine 6 [select]: github.com/wailsapp/wails/v2/internal/servicebus.(*ServiceBus).Start.func1(0xc000074420) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/servicebus/servicebus.go:83 +0x157 created by github.com/wailsapp/wails/v2/internal/servicebus.(*ServiceBus).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/servicebus/servicebus.go:77 +0xce goroutine 7 [select]: github.com/wailsapp/wails/v2/internal/subsystem.(*Runtime).Start.func1(0xc000074fc0) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/runtime.go:73 +0x17c created by github.com/wailsapp/wails/v2/internal/subsystem.(*Runtime).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/runtime.go:70 +0x3f goroutine 8 [select]: github.com/wailsapp/wails/v2/internal/subsystem.(*Log).Start.func1(0xc00007e370) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/log.go:68 +0x157 created by github.com/wailsapp/wails/v2/internal/subsystem.(*Log).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/log.go:64 +0x5c goroutine 9 [select]: github.com/wailsapp/wails/v2/internal/messagedispatcher.(*Dispatcher).Start.func1(0xc000118e60) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/messagedispatcher/messagedispatcher.go:118 +0x225 created by github.com/wailsapp/wails/v2/internal/messagedispatcher.(*Dispatcher).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/messagedispatcher/messagedispatcher.go:115 +0x9e goroutine 10 [select]: github.com/wailsapp/wails/v2/internal/subsystem.(*URL).Start.func1(0xc00007e640) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/url.go:66 +0x157 created by github.com/wailsapp/wails/v2/internal/subsystem.(*URL).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/url.go:62 +0x5c goroutine 11 [select]: github.com/wailsapp/wails/v2/internal/subsystem.(*Event).Start.func1(0xc00007e6e0) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/event.go:89 +0x153 created by github.com/wailsapp/wails/v2/internal/subsystem.(*Event).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/event.go:86 +0x9b goroutine 12 [select]: github.com/wailsapp/wails/v2/internal/subsystem.(*Menu).Start.func1(0xc00007e780) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/menu.go:72 +0x153 created by github.com/wailsapp/wails/v2/internal/subsystem.(*Menu).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/menu.go:69 +0x9b goroutine 13 [select]: github.com/wailsapp/wails/v2/internal/subsystem.(*Call).Start.func1(0xc00007e820) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/call.go:77 +0x14a created by github.com/wailsapp/wails/v2/internal/subsystem.(*Call).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/subsystem/call.go:74 +0x5a goroutine 34 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:165 +0x9d os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x25 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x45 goroutine 50 [select]: github.com/wailsapp/wails/v2/internal/signal.(*Manager).Start.func1(0xc000030a80) /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/signal/signal.go:59 +0x9e created by github.com/wailsapp/wails/v2/internal/signal.(*Manager).Start /Users/matryer/Code/go/pkg/mod/github.com/wailsapp/wails/v2@v2.0.0-alpha.47/internal/signal/signal.go:58 +0xc9
leaanthony commented 3 years ago

I just downloaded v2.0.10-beta and it runs on my mac (11.2.1). Will test on 11.2.2 next. EDIT: I don't appear to have an 11.2.2 update available.

leaanthony commented 3 years ago

Can also confirm it works if there is no user plugin directory available image

AlekSi commented 3 years ago

If your Macs have Touch Bars, that seems to be https://github.com/matryer/xbar/issues/610#issuecomment-793603674

matryer commented 3 years ago

@sydsyd @Abraham @magicus Can you please try the latest release to see if this is resolved? Thanks so much for your help.

abraham commented 3 years ago

Works for me now. Thanks!

magicus commented 3 years ago

v2.0.13-beta works fine for me.

sydsyd commented 3 years ago

ditto for me. On a 2019 MacBook Pro 16 Thanks Mat.

matryer commented 3 years ago

OK closing this - looks like we got it.

matryer commented 3 years ago

OK closing this - looks like we got it. Thanks everyone.

sydsyd commented 3 years ago

Thanks for taking over the BitBar app