View gist:ece52ebaf298477e314fa1f0cbaf5f85
panic: deadlock detected at fmut | |
goroutine 58 [running]: | |
github.com/syncthing/syncthing/lib/model.(*deadlockDetector).Watch.func1(0x12c60ff0, 0x32f86fd8, 0x12baa720, 0xd961dc, 0x4) | |
github.com/syncthing/syncthing/lib/model/util.go:61 +0x2b4 | |
created by github.com/syncthing/syncthing/lib/model.(*deadlockDetector).Watch | |
github.com/syncthing/syncthing/lib/model/util.go:37 +0x93 | |
goroutine 1 [chan receive, 55 minutes]: | |
github.com/syncthing/syncthing/lib/syncthing.(*App).Wait(...) |
View indir.patch
diff --git a/lib/db/keyer.go b/lib/db/keyer.go | |
index bbd2efa29..591d02230 100644 | |
--- a/lib/db/keyer.go | |
+++ b/lib/db/keyer.go | |
@@ -325,6 +325,11 @@ func (k defaultKeyer) GenerateFolderMetaKey(key, folder []byte) (folderMetaKey, | |
return key, nil | |
} | |
+type hashKey interface { | |
+ // Hash returns whatever hash is stored in the particular key implementing this. |
View gist:6e6bc1202c4832be00021bf1bdbdc0ec
Oct 17 23:11:09 hyena syncthing[15805]: [2WOFS] 2019/10/17 23:11:09.915318 walk.go:188: DEBUG: real to hash: git/projectA/smsgw/info-failover.txt | |
Oct 17 23:11:09 hyena syncthing[15805]: [2WOFS] 2019/10/17 23:11:09.915479 walk.go:188: DEBUG: real to hash: git/projectA/testmachine/credentials-simcard-tech.md | |
Oct 17 23:11:09 hyena syncthing[15805]: [2WOFS] 2019/10/17 23:11:09.915503 walk.go:188: DEBUG: real to hash: git/projectA/testmachine/credentials-simcard-tech.old.txt | |
Oct 17 23:11:09 hyena syncthing[15805]: [2WOFS] 2019/10/17 23:11:09.915718 walk.go:188: DEBUG: real to hash: git/projectA/testmachine/howto-reset.txt | |
Oct 17 23:11:09 hyena syncthing[15805]: [2WOFS] 2019/10/17 23:11:09.915837 walk.go:188: DEBUG: real to hash: git/projectA/testmachine/tech-sms-test-documentation.odt | |
Oct 17 23:11:09 hyena syncthing[15805]: [2WOFS] 2019/10/17 23:11:09.916104 walk.go:166: DEBUG: Walk progress done workfolder [git/projectA/smsgw/info-failover.txt git/projectA/testmachine/credentials-simcard-tech.md git/projectA/test |
View gist:8a40073de6f3192dd1e7c15842b15b7c
Initialized native services in: /home/simon/.gradle/native | |
The client will now receive all logging from the daemon (pid: 4634). The daemon log file: /home/simon/.gradle/daemon/5.4.1/daemon-4634.out.log | |
Starting 3rd build in daemon [uptime: 8 mins 52.3 secs, performance: 99%, non-heap usage: 24% of 268.4 MB] | |
Using 4 worker leases. | |
Starting Build | |
Settings evaluated using settings file '/media/ext4_data/Coding/syncthing-android/settings.gradle'. | |
Projects loaded. Root project using build file '/media/ext4_data/Coding/syncthing-android/build.gradle'. | |
Included projects: [root project 'syncthing-android', project ':app', project ':syncthing'] | |
> Configure project : |
View notifyWinSym.go
package main | |
import ( | |
"path/filepath" | |
) | |
var root = `C:\parent\child` | |
func main() { | |
fmt.Println(filepath.EvalSymlinks(root)) |
View notifyWinRoot.go
package main | |
import ( | |
"fmt" | |
"strings" | |
"github.com/syncthing/notify" | |
) | |
var drive = "C" |
View debug.go
package main | |
import ( | |
"errors" | |
"fmt" | |
"os" | |
"path/filepath" | |
"runtime" | |
"strings" | |
) |
View test.go
package main | |
import ( | |
"errors" | |
"fmt" | |
"os" | |
"path/filepath" | |
"runtime" | |
"strings" | |
) |
View build
#!/bin/sh | |
set -e | |
equivs-build $1 | |
rm repo/$1_* || : | |
mv $1*.deb -t repo/ | |
dpkg-scanpackages repo | gzip > repo/Packages.gz |
View Dockerfile
FROM openjdk:8 | |
ENV ANDROID_HOME="/media/android-sdk" | |
ENV ANDROID_NDK_HOME="/media/android-ndk" | |
ENV GOROOT="/media/go" | |
RUN mkdir -p $ANDROID_HOME | |
RUN mkdir -p $ANDROID_NDK_HOME | |
RUN mkdir -p $GOROOT |
NewerOlder