第一次可以,后面下载东西一半后关掉,再次打开就不能打开了
chenzefengdeiMac:~ feng$ /Users/feng/Downloads/bnd ; exit;
2018-12-27 12:22:12.085 bnd[1234:45246] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1561/Foundation/Misc.subproj/NSUndoManager.m:361
2018-12-27 12:22:12.086 bnd[1234:45246] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff3054becd __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff5c607720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff30566b2a +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff3290ae0d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4 Foundation 0x00007fff3283b249 +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 469
5 AppKit 0x00007fff2d9de24e -[NSApplication run] + 932
6 bnd 0x00000000043fba1b uiMain + 43
7 bnd 0x0000000004056dd0 runtime.asmcgocall + 112
)
libc++abi.dylib: terminating with uncaught exception of type NSException
SIGABRT: abort
PC=0x7fff5d81523e m=3 sigcode=0
signal arrived during cgo execution
goroutine 58 [syscall, locked to thread]:
runtime.cgocall(0x43deb20, 0xc42059e780, 0xc4204da0d8)
/usr/local/go/src/runtime/cgocall.go:128 +0x64 fp=0xc42059e750 sp=0xc42059e718 pc=0x4004544
github.com/b3log/bnd/vendor/github.com/andlabs/ui._Cfunc_uiMain()
_cgo_gotypes.go:1784 +0x41 fp=0xc42059e780 sp=0xc42059e750 pc=0x40fb8f1
github.com/b3log/bnd/vendor/github.com/andlabs/ui.start(0xc4204f0660, 0x4543988)
/Users/Vanessa/Work/Code/GoGoGo/src/github.com/b3log/bnd/vendor/github.com/andlabs/ui/main.go:56 +0x10e fp=0xc42059e7d0 sp=0xc42059e780 pc=0x4100d2e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc42059e7d8 sp=0xc42059e7d0 pc=0x40580e1
created by github.com/b3log/bnd/vendor/github.com/andlabs/ui.Main
/Users/Vanessa/Work/Code/GoGoGo/src/github.com/b3log/bnd/vendor/github.com/andlabs/ui/main.go:36 +0x66
goroutine 1 [chan receive]:
github.com/b3log/bnd/vendor/github.com/andlabs/ui.Main(0x4543988, 0xc42006c000, 0xc0)
/Users/Vanessa/Work/Code/GoGoGo/src/github.com/b3log/bnd/vendor/github.com/andlabs/ui/main.go:37 +0x86
main.main()
/Users/Vanessa/Work/Code/GoGoGo/src/github.com/b3log/bnd/main.go:84 +0x65
goroutine 8 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:139 +0xa7
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41
goroutine 27 [IO wait]:
internal/poll.runtime_pollWait(0x4e54fa8, 0x72, 0xc42004f9a8)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420135698, 0x72, 0xffffffffffffff00, 0x457b720, 0x47e7110)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420135698, 0xc420460000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420135680, 0xc420460000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:157 +0x1dc
net.(*netFD).Read(0xc420135680, 0xc420460000, 0x1000, 0x1000, 0x40541c0, 0xc420000180, 0x4)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e980, 0xc420460000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6a
net/http.(*persistConn).Read(0xc420021c20, 0xc420460000, 0x1000, 0x1000, 0xc42004fb98, 0x4006635, 0xc4204f0060)
/usr/local/go/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc4201e4780)
/usr/local/go/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4201e4780, 0x1, 0x0, 0x0, 0x1, 0xc420086540, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc420021c20)
/usr/local/go/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1237 +0x95a
goroutine 28 [select]:
net/http.(*persistConn).writeLoop(0xc420021c20)
/usr/local/go/src/net/http/transport.go:1822 +0x14b
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1238 +0x97f
goroutine 56 [IO wait]:
internal/poll.runtime_pollWait(0x4e54e08, 0x72, 0xc42004c9a8)
/usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420536098, 0x72, 0xffffffffffffff00, 0x457b720, 0x47e7110)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420536098, 0xc4204c0000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420536080, 0xc4204c0000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:157 +0x1dc
net.(*netFD).Read(0xc420536080, 0xc4204c0000, 0x1000, 0x1000, 0x40541c0, 0xc420000180, 0x4)
/usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc420556068, 0xc4204c0000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6a
net/http.(*persistConn).Read(0xc420142360, 0xc4204c0000, 0x1000, 0x1000, 0xc42004cb98, 0x4006635, 0xc420584060)
/usr/local/go/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc42007ac00)
/usr/local/go/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc42007ac00, 0x1, 0x0, 0x0, 0x1, 0xc4204f05a0, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc420142360)
/usr/local/go/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1237 +0x95a
goroutine 57 [select]:
net/http.(*persistConn).writeLoop(0xc420142360)
/usr/local/go/src/net/http/transport.go:1822 +0x14b
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1238 +0x97f
rax 0x0
rbx 0x7000004ea000
rcx 0x7000004e84d8
rdx 0x0
rdi 0x2903
rsi 0x6
rbp 0x7000004e8510
rsp 0x7000004e84d8
r8 0x7000004e8398
r9 0x7000004e8570
r10 0x0
r11 0x206
r12 0x2903
r13 0x3000000008
r14 0x6
r15 0x2d
rip 0x7fff5d81523e
rflags 0x206
cs 0x7
fs 0x0
gs 0x0
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[进程已完成]
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于