hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 576 forks source link

SparkleShare 1.2 doesn't start on openSUSE 13.1 #1452

Closed digulla closed 7 years ago

digulla commented 10 years ago

I tried to SparkleShare 1.0.0 and 1.2.0 on openSUSE 13.1 without any success. When I start the executable, it just hangs.

Running it with strace, I see:

stat("/home/user/.config/sparkleshare/logs/debug_log_2013-12-20.1.txt", 0x7fff117d7a80) = -1 ENOENT (No such file or directory)
lstat("/home/user/.config/sparkleshare/logs/debug_log_2013-12-20.1.txt", 0x7fff117d7a80) = -1 ENOENT (No such file or directory)
access("/home/user/.config/sparkleshare/logs", F_OK) = 0
stat("/home/user/.config/sparkleshare/logs", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/home/user/.config/sparkleshare/logs", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/home/user/.config/sparkleshare/logs", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/home/user/.config/sparkleshare/logs", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/home/user/.config/sparkleshare/logs", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/home/user/.config/sparkleshare/logs", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
openat(AT_FDCWD, "/home/user/.config/sparkleshare/logs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 2 entries */, 32768)     = 48
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
stat("/home/user/.config/sparkleshare", {st_mode=S_IFDIR|0755, st_size=8, ...}) = 0
lstat("/home/user/.config/sparkleshare", {st_mode=S_IFDIR|0755, st_size=8, ...}) = 0
brk(0x251f000)                          = 0x251f000
mmap(0x7f8320205000, 90112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f83201de000
brk(0x2541000)                          = 0x2541000
brk(0x2562000)                          = 0x2562000
brk(0x2583000)                          = 0x2583000
brk(0x2553000)                          = 0x2553000
uname({sys="Linux", node="hostname", ...}) = 0
tgkill(10432, 10436, SIGPWR)            = 0
futex(0x985f00, FUTEX_WAIT_PRIVATE, 0, NULL

I'm using mono-core 3.0.6, gtk-sharp2 2.12.10, webkit-sharp 0.3

Any ideas?

digulla commented 10 years ago

It hangs in the very same futex call when I run mono /usr/lib64/sparkleshare/SparkleShare.exe --help

hbons commented 10 years ago

any output on "sparkleshare start"? and what version is the output of? (strace on mono apps doesn't give a lot of usefull info.)

digulla commented 10 years ago

Thanks for the quick answer.

As I said, it's SparkleShare 1.0.0 and 1.2.0.

"sparkleshare start" doesn't output anything. It just hangs. It doesn't even get to creating the SparkleShare folder.

--help prints the help and then hangs.

digulla commented 10 years ago

As you can see from the log above, it tries to access the log file (probably trying to create it the first time) and the config files and then hangs.

My guess is that the log file is accessed via a framework, so you probably have no idea where that's happening but you might know where in the code it tries to access /home/user/.config/sparkleshare for the first time.

hbons commented 10 years ago

could this have something to do with using mono 3.0?

hbons commented 9 years ago

still the same thing with 1.4?

digulla commented 9 years ago

I can't get 1.4 to compile: No notify-sharp 3.0 and no webkitgtk-sharp ...

hbons commented 7 years ago

Closing as this is quite old now and flatpak should fix this.