Coder Social home page Coder Social logo

syncthing-tray's People

Contributors

alex2108 avatar rkfg avatar sieren avatar xor-gate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

syncthing-tray's Issues

Memory leak

After few days I noticed my memory is getting low and syncthing-tray was on the top 11GB usage :D

Image of Yaktocat

Win10, 64x

I was using parameter -target="http://user:pass@localhost:8080" which apparently stop working on version 0.13. I removed user:pass and added -api="key" paremeter

v.4 Won't run on Mac

I know Mac support wasn't ever officially mentioned but prior to syncthing v0.13.2 I was using syncthing-tray v.3 without any issue, but since upgrading to syncthing v.0.13.2 and syncthing-tray v.4 I've been having issues. Everything is working great on my debian box and would love to use the new version on my Mac. Unfortunately my Go knowledge is very minimal so I'm not sure where the issue is or if it's an easy fix, but I appreciate your time and I'm willing to test anything. Thanks.

`Adams-MacBook-Pro:bin adam$ ./syncthing-tray -target http://127.0.0.1:8080 -api F0d3D34whU4NpBIGx0tINyIuEWantkp3
2016/05/23 14:38:12 main.go:274: Starting Syncthing-Tray
2016/05/23 14:38:12 main.go:275: Connecting to syncthing at http://127.0.0.1:8080
2016/05/23 14:38:12 initialize.go:148: wating for lock
2016/05/23 14:38:12 initialize.go:150: wating for event lock
2016/05/23 14:38:12 initialize.go:162: syncthing restarted at 2016-05-23T07:01:26.238330068-05:00
2016/05/23 14:38:12 initialize.go:205: reading config from syncthing
2016/05/23 14:38:12 initialize.go:257: getting version
2016/05/23 14:38:12 initialize.go:267: displaying version
2016-05-23 14:38:13.022 syncthing-tray[15095:285104] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1259/Misc.subproj/NSUndoManager.m:359
2016-05-23 14:38:13.023 syncthing-tray[15095:285104] +[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.
2016-05-23 14:38:13.024 syncthing-tray[15095:285104](0 CoreFoundation 0x00007fff9a46b4f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff9839673c objc_exception_throw + 48
2 CoreFoundation 0x00007fff9a4701ca +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff8b400856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 Foundation 0x00007fff8b385af1 +[NSUndoManager%28NSPrivate%29 _endTopLevelGroupings] + 170
5 AppKit 0x00007fff9453be22 -[NSApplication run] + 844
6 syncthing-tray 0x00000000042d9330 nativeLoop + 128
7 syncthing-tray 0x00000000042d8cea _cgo_46c98963705b_Cfunc_nativeLoop + 26
8 syncthing-tray 0x0000000004065f00 runtime.asmcgocall + 112)
2016-05-23 14:38:13.024 syncthing-tray[15095:285104] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1259/Misc.subproj/NSUndoManager.m:359
2016-05-23 14:38:13.025 syncthing-tray[15095:285104] An uncaught exception was raised
2016-05-23 14:38:13.025 syncthing-tray[15095:285104] +[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.
2016-05-23 14:38:13.025 syncthing-tray[15095:285104](0 CoreFoundation 0x00007fff9a46b4f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff9839673c objc_exception_throw + 48
2 CoreFoundation 0x00007fff9a4701ca +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff8b400856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 Foundation 0x00007fff8b385af1 +[NSUndoManager%28NSPrivate%29 _endTopLevelGroupings] + 170
5 AppKit 0x00007fff9453bebe -[NSApplication run] + 1000
6 syncthing-tray 0x00000000042d9330 nativeLoop + 128
7 syncthing-tray 0x00000000042d8cea _cgo_46c98963705b_Cfunc_nativeLoop + 26
8 syncthing-tray 0x0000000004065f00 runtime.asmcgocall + 112)
2016-05-23 14:38:13.025 syncthing-tray[15095:285104] *** 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 0x00007fff9a46b4f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff9839673c objc_exception_throw + 48
2 CoreFoundation 0x00007fff9a4701ca +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff8b400856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 Foundation 0x00007fff8b385af1 +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 170
5 AppKit 0x00007fff9453bebe -[NSApplication run] + 1000
6 syncthing-tray 0x00000000042d9330 nativeLoop + 128
7 syncthing-tray 0x00000000042d8cea _cgo_46c98963705b_Cfunc_nativeLoop + 26
8 syncthing-tray 0x0000000004065f00 runtime.asmcgocall + 112
)
libc++abi.dylib: terminating with uncaught exception of type NSException
SIGABRT: abort
PC=0x7fff8d75bf06 m=5
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x42d8cd0, 0xc82004fdf0, 0xc800000000)
/usr/local/go/src/runtime/cgocall.go:123 +0x11b fp=0xc82004fdc8 sp=0xc82004fd98
github.com/thomasf/systray._Cfunc_nativeLoop(0x0)
github.com/thomasf/systray/_obj/_cgo_gotypes.go:76 +0x45 fp=0xc82004fdf0 sp=0xc82004fdc8
github.com/thomasf/systray.nativeLoop()
/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/cgo.go:20 +0x18 fp=0xc82004fe00 sp=0xc82004fdf0
github.com/thomasf/systray.Run(0x44c3ee8)
/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/systray.go:56 +0xa0 fp=0xc82004fe28 sp=0xc82004fe00
main.main()
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:285 +0x64c fp=0xc82004ff50 sp=0xc82004fe28
runtime.main()
/usr/local/go/src/runtime/proc.go:188 +0x2b0 fp=0xc82004ffa0 sp=0xc82004ff50
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82004ffa8 sp=0xc82004ffa0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x132
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37

goroutine 6 [select, locked to thread]:
runtime.gopark(0x44c4698, 0xc820024728, 0x4419e90, 0x6, 0x18, 0x2)
/usr/local/go/src/runtime/proc.go:262 +0x163
runtime.selectgoImpl(0xc820024728, 0x0, 0x18)
/usr/local/go/src/runtime/select.go:392 +0xa67
runtime.selectgo(0xc820024728)
/usr/local/go/src/runtime/select.go:215 +0x12
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal1_unix.go:279 +0x32c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1

goroutine 7 [chan receive]:
main.main.func1(0xc82005c420)
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:266 +0x36
created by main.main
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:269 +0x383

goroutine 8 [chan receive]:
main.rate_reader()
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/rate_reader.go:15 +0xc3
created by main.main
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:277 +0x624

goroutine 9 [semacquire]:
sync.runtime_Semacquire(0x4628c2c)
/usr/local/go/src/runtime/sema.go:47 +0x26
sync.(*Mutex).Lock(0x4628c28)
/usr/local/go/src/sync/mutex.go:83 +0x1c4
main.main_loop()
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:154 +0x23
main.main.func2()
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:280 +0x19
created by main.main
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:282 +0x63c

goroutine 10 [chan receive]:
github.com/thomasf/systray.Run.func1(0x44c3ee8)
/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/systray.go:52 +0x38
created by github.com/thomasf/systray.Run
/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/systray.go:54 +0x9b

goroutine 34 [semacquire]:
sync.runtime_Semacquire(0x4628c3c)
/usr/local/go/src/runtime/sema.go:47 +0x26
sync.(*Mutex).Lock(0x4628c38)
/usr/local/go/src/sync/mutex.go:83 +0x1c4
main.get_config(0x0, 0x0)
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/initialize.go:268 +0xc9d
main.initializeLocked()
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/initialize.go:166 +0xba
created by main.initialize
/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/initialize.go:152 +0x1c0

goroutine 36 [IO wait]:
net.runtime_pollWait(0x4ea1000, 0x72, 0xc82026c000)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(_pollDesc).Wait(0xc8202620d0, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(_pollDesc).WaitRead(0xc8202620d0, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(_netFD).Read(0xc820262070, 0xc82026c000, 0x1000, 0x1000, 0x0, 0x4d00050, 0xc820010170)
/usr/local/go/src/net/fd_unix.go:250 +0x23a
net.(_conn).Read(0xc82026a000, 0xc82026c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:172 +0xe4
net/http.noteEOFReader.Read(0x4ea10c0, 0xc82026a000, 0xc820246138, 0xc82026c000, 0x1000, 0x1000, 0x400fa33, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1687 +0x67
net/http.(_noteEOFReader).Read(0xc820252100, 0xc82026c000, 0x1000, 0x1000, 0xc820274d1d, 0x0, 0x0)
:284 +0xd0
bufio.(_Reader).fill(0xc820264300)
/usr/local/go/src/bufio/bufio.go:97 +0x1e9
bufio.(_Reader).Peek(0xc820264300, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0xcc
net/http.(_persistConn).readLoop(0xc8202460d0)
/usr/local/go/src/net/http/transport.go:1073 +0x177
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:857 +0x10a6

goroutine 37 [select]:
net/http.(_persistConn).writeLoop(0xc8202460d0)
/usr/local/go/src/net/http/transport.go:1277 +0x472
created by net/http.(_Transport).dialConn
/usr/local/go/src/net/http/transport.go:858 +0x10cb

goroutine 51 [IO wait]:
net.runtime_pollWait(0x4ea0f40, 0x72, 0xc8202aa000)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(_pollDesc).Wait(0xc8202861b0, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(_pollDesc).WaitRead(0xc8202861b0, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(_netFD).Read(0xc820286150, 0xc8202aa000, 0x1000, 0x1000, 0x0, 0x4d00050, 0xc820010170)
/usr/local/go/src/net/fd_unix.go:250 +0x23a
net.(_conn).Read(0xc82028c008, 0xc8202aa000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:172 +0xe4
net/http.noteEOFReader.Read(0x4ea10c0, 0xc82028c008, 0xc820294138, 0xc8202aa000, 0x1000, 0x1000, 0x400fa33, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1687 +0x67
net/http.(_noteEOFReader).Read(0xc8202823c0, 0xc8202aa000, 0x1000, 0x1000, 0xc820275d1d, 0x0, 0x0)
:284 +0xd0
bufio.(_Reader).fill(0xc82026e360)
/usr/local/go/src/bufio/bufio.go:97 +0x1e9
bufio.(_Reader).Peek(0xc82026e360, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0xcc
net/http.(_persistConn).readLoop(0xc8202940d0)
/usr/local/go/src/net/http/transport.go:1073 +0x177
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:857 +0x10a6

goroutine 52 [select]:
net/http.(_persistConn).writeLoop(0xc8202940d0)
/usr/local/go/src/net/http/transport.go:1277 +0x472
created by net/http.(_Transport).dialConn
/usr/local/go/src/net/http/transport.go:858 +0x10cb

goroutine 39 [IO wait]:
net.runtime_pollWait(0x4ea0e80, 0x72, 0xc8202bb000)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(_pollDesc).Wait(0xc820262450, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(_pollDesc).WaitRead(0xc820262450, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(_netFD).Read(0xc8202623f0, 0xc8202bb000, 0x1000, 0x1000, 0x0, 0x4d00050, 0xc820010170)
/usr/local/go/src/net/fd_unix.go:250 +0x23a
net.(_conn).Read(0xc82026a010, 0xc8202bb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:172 +0xe4
net/http.noteEOFReader.Read(0x4ea10c0, 0xc82026a010, 0xc820246888, 0xc8202bb000, 0x1000, 0x1000, 0x400fa33, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1687 +0x67
net/http.(_noteEOFReader).Read(0xc820253380, 0xc8202bb000, 0x1000, 0x1000, 0xc820277d1d, 0x0, 0x0)
:284 +0xd0
bufio.(_Reader).fill(0xc820264780)
/usr/local/go/src/bufio/bufio.go:97 +0x1e9
bufio.(_Reader).Peek(0xc820264780, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0xcc
net/http.(_persistConn).readLoop(0xc820246820)
/usr/local/go/src/net/http/transport.go:1073 +0x177
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:857 +0x10a6

goroutine 40 [select]:
net/http.(_persistConn).writeLoop(0xc820246820)
/usr/local/go/src/net/http/transport.go:1277 +0x472
created by net/http.(_Transport).dialConn
/usr/local/go/src/net/http/transport.go:858 +0x10cb

rax 0x0
rbx 0x6
rcx 0x700000208518
rdx 0x0
rdi 0x1603
rsi 0x6
rbp 0x700000208540
rsp 0x700000208518
r8 0x3
r9 0x7fff893bfa7c
r10 0x8000000
r11 0x206
r12 0x7000002086a0
r13 0x58076d0
r14 0x70000020a000
r15 0x700000208580
rip 0x7fff8d75bf06
rflags 0x206
cs 0x7
fs 0x0
gs 0x0
`

Mac OS X DMG/App creation of Syncthing + syncthing-tray

Hi there,

I want to let you know I'm personaly using/packed Syncthing and syncthing tray for Mac OS X inside a DMG/App bundle. The syncthing-tray works perfect on Mac OS X.

https://forum.syncthing.net/t/mac-os-x-native-app-and-disk-image-installer-proof-of-concept
https://github.com/jerryjacobs/foo-app/releases
https://github.com/jerryjacobs/foo-app/tree/syncthing-tray-app

Thanks for you work, hopefully I will create a "real" package for the Syncthing community which they can use to distribute Syncthing on Mac OS X.

Kind regards,
Jerry

Freezes after some time on Ubuntu 12.04 32 bit

I don't see a pattern here, it just works for some time and then stops updating, tray menu also doesn't work. Log doesn't contain anything useful just state changes. Works fine on my Debian jessie amd64 though.

32-bit Linux Binary Request

Hello,

Can you please release a 32-bit binary as well as the 64-bit? I noticed there is a 32 for Windows but not Linux. I typically would use 64-bit Linux but for an older machine I use 32. I'd greatly appreciate it.

request: more info in tooltip

It would be nice to have more info in icon tooltip text like

  • current Download/Upload Rate
  • Last File Received per device
  • syncing errors

the icon doesn't change in tint2

I run syncthing-tray with
./syncthing-tray -target="http://localhost:8384"

As expected, in my tint2 panel a red icon appears, and almost immediately it turns blue. However, there are no further changes in the icon's state, although in the console I get a lot of messages like this:
2015/09/29 12:28:06 main.go:345: updating status
2015/09/29 12:28:06 main.go:375: connected 3
2015/09/29 12:28:06 main.go:390: ul+dl
2015/09/29 12:28:06 trayhost.go:113: Setting icon /tmp/trayhosticon100407285 (id: 8)
2015/09/29 12:28:07 main.go:345: updating status
2015/09/29 12:28:07 main.go:375: connected 3
2015/09/29 12:28:07 main.go:390: ul+dl

(and the icon /tmp/trayhosticon100407285 is correct).

initialize.go: invalid character 'C' looking for beginning of value | failed to remove temp icon file (null): invalid address

Xubuntu 18.04 (64bit), syncthing running
INFO: syncthing v1.3.4 "Fermium Flea" (go1.13.7 linux-amd64) [email protected] 2020-01-14 07:01:03 UTC

Output of command /usr/bin/syncthing-tray as user, Icon stays red

2020/02/05 16:57:08 main.go:283: Starting Syncthing-Tray v0.7 - 2016-12-27 14:36:29 UTC
2020/02/05 16:57:08 main.go:284: Connecting to syncthing at http://localhost:8384
2020/02/05 16:57:08 initialize.go:146: wating for lock
2020/02/05 16:57:08 initialize.go:148: wating for event lock
failed to remove temp icon file (null): Ungültige Adresse
2020/02/05 16:57:08 initialize.go:134: invalid character 'C' looking for beginning of value
2020/02/05 16:57:08 initialize.go:192: invalid character 'C' looking for beginning of value
2020/02/05 16:57:08 initialize.go:193: error getting syncthing config -> retry in 5s
2020/02/05 16:57:13 initialize.go:134: invalid character 'C' looking for beginning of value
2020/02/05 16:57:13 initialize.go:192: invalid character 'C' looking for beginning of value
2020/02/05 16:57:13 initialize.go:193: error getting syncthing config -> retry in 5s
2020/02/05 16:57:18 rate_reader.go:30: inBytesRate: 0.00 B/s outBytesRate: 0.00 B/s
2020/02/05 16:57:18 initialize.go:134: invalid character 'C' looking for beginning of value
2020/02/05 16:57:18 initialize.go:192: invalid character 'C' looking for beginning of value
2020/02/05 16:57:18 initialize.go:193: error getting syncthing config -> retry in 5s

Output of command /usr/bin/syncthing-tray as super-user - even if it doesn't make any sense, Icon stays red

2020/02/05 16:59:21 main.go:283: Starting Syncthing-Tray v0.7 - 2016-12-27 14:36:29 UTC
2020/02/05 16:59:21 main.go:284: Connecting to syncthing at http://localhost:8384
2020/02/05 16:59:21 initialize.go:146: wating for lock
2020/02/05 16:59:21 initialize.go:148: wating for event lock
failed to remove temp icon file (null): Ungültige Adresse
2020/02/05 16:59:21 initialize.go:134: invalid character 'C' looking for beginning of value
2020/02/05 16:59:21 initialize.go:192: invalid character 'C' looking for beginning of value
2020/02/05 16:59:21 initialize.go:193: error getting syncthing config -> retry in 5s

(syncthing-tray:2910): Gdk-CRITICAL **: 16:59:21.176: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
2020/02/05 16:59:26 initialize.go:134: invalid character 'C' looking for beginning of value
2020/02/05 16:59:26 initialize.go:192: invalid character 'C' looking for beginning of value
2020/02/05 16:59:26 initialize.go:193: error getting syncthing config -> retry in 5s

License missing

I suggest MIT, @rkfg are you fine with that? Since you contributed a change to the icon I wanted to ask.

[Feature] auth support

It would be awesome if this application would allow to authenticate with the syncthing/pulse ui via for example -user="username" -password="password".
Thanks for the great work on the indicator so far!

Syncthingtray crashes every few days

Once or twice each week, Syncthingtray crashes. Interestingly, when it crashes on one computer, it crashes on the other computer on which it's installed on my LAN. Here are the details:

Faulting application name: SyncthingTray.exe, version: 0.3.1.0, time stamp: 0x53e3b2a5
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
Exception code: 0xe0434352
Fault offset: 0x0000000000008b9c
Faulting process id: 0x6c8
Faulting application start time: 0x01d0d9bbeb120b7b
Faulting application path: F:\syncthing\SyncthingTray.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 417519a8-499d-11e5-82c3-54271e232b32
Faulting package full name: 
Faulting package-relative application ID: 

First computer: Windows 8.1 64 bit.
Second computer: Windows 10 Insider Preview build th2_release 10525 (but prior to that, Windows XP SP3, on which Syncthingtray also crashed regularly)

Just before the application error above, I get a .NET runtime rror:

Application: SyncthingTray.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
   at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
   at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
   at SyncthingTray.SyncthingTray.ActiveProcess_OutputDataReceived(System.Object, System.Diagnostics.DataReceivedEventArgs)
   at System.Diagnostics.Process.OutputReadNotifyUser(System.String)
   at System.Diagnostics.AsyncStreamReader.FlushMessageQueue()
   at System.Diagnostics.AsyncStreamReader.ReadBuffer(System.IAsyncResult)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.IO.Stream+ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(System.Threading.Tasks.Task)
   at System.Threading.Tasks.Task.FinishContinuations()
   at System.Threading.Tasks.Task.Finish(Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

panic: sync: unlock of unlocked mutex

not sure if this helps since I was not running the most recent version here :/
should probably include some version info in my builds...

2016/06/12 10:05:54 main.go:136: got new config -> reinitialize
2016/06/12 10:05:54 initialize.go:148: wating for lock
2016/06/12 10:05:54 initialize.go:150: wating for event lock
2016/06/12 10:06:02 initialize.go:207: reading config from syncthing
2016/06/12 10:06:03 initialize.go:259: getting version
2016/06/12 10:06:03 initialize.go:269: displaying version
panic: sync: unlock of unlocked mutex

goroutine 5561 [running]:
panic(0x6d8020, 0xc820431530)
    /home/alex/go/go/src/runtime/panic.go:481 +0x3e6
sync.(*Mutex).Unlock(0xbd4d90)
    /home/alex/go/go/src/sync/mutex.go:109 +0x9f
main.initializeLocked()
    /home/alex/go/src/github.com/alex2108/syncthing-tray/initialize.go:173 +0x113
created by main.initialize
    /home/alex/go/src/github.com/alex2108/syncthing-tray/initialize.go:152 +0x1c0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.