-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client 1.2.0beta1 crashes under ubuntu 12.04 #237
Comments
What does "1.2.0beta1 used to work just fine" mean? Did you an update and it worked fine before? |
I got the same issue on Ubuntu 12.10. I'm compiling the client by myself, using the most current csync (dav branch) and mirall from git. The gdb stacktrace tells me that csync crashes:
Here the logfile:
|
It works again for me.... It might have to do with the "lock" file(/home/username/.local/share/data/ownCloud). |
I deleted the whole folder /home/username/.local/share/data/ownCloud but get the same error. When booting up the client, everything seems to work fine. I can configure the server, it says "sucessfully connected", until it tries to sync the first data. Then it crashes with a segfault in csync. |
@smessmer the crash line shows that it might be that your client loads the wrong owncloud plugin for csync which is loaded using dlopen. If there is an older ocsync_owncloud.so wandering around on your system, ie. from previously installed packages, which is prefered to the recently built one in your csync built dir, this can happen. Can you please verify that? |
Here are my complete steps it took to get it working again: $sudo apt-get remove owncloud-client -->adjust to your distro Am 15.01.2013 13:34, schrieb Sebastian Meßmer:
|
There is no other ocsync_owncloud.so (at least not anymore), but it still doesn't work. Here my steps: I ran
(the second line removed libcsync-plugin-owncloud)
Then I followed the guide at http://doc.owncloud.org/desktop/1.1/building.html
The csync cmake call complains about missing CMocka and Neon libraries but seems to work nevertheless. When running make in the mirall-build directory now, I get an error message
The file ../ocsync-build/src/libocsync.so is there, so I wondered why it complained and changed the -DCSYNC_LIBRARY_PATH and -DCSYNC_INCLUDE_PATH attributes to absolute instead of relative paths. Then it compiles again and I could run it. But I still get the same error. Here a gdb backtrace:
|
@smessmer please check if your csync build directory contains modules/ocsync_owncloud.so. That is loaded dynamically by csync once you try to access ownCloud. If you say you the cmake run did not find NEON its likely that the ownCloud plugin was not built. Make sure to have the neon devel packages installed, remove the csync build dir and rerun cmake. |
There was a libocsync.so and make reported it built everything successfully, so I thought it finished successfully. Nevertheless, there was no ocsync_owncloud.so. Installing libneon27-dev and rebuilding everything solved the problem. Thank you very much. |
You're welcome, have fun! |
Good day,
my owncloud sync client started crashing right after start-up. The 1.2.0beta1 used to work just fine. A removal and reinstall does not help.
$uname -a
Linux PC-Biotech99 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$dmesg
.
.
.
Jan 9 18:20:46 PC-Biotech99 kernel: [33425.650458] owncloud[15865]: segfault at 0 ip 00007f498a4c9fc7 sp 00007f495cfb0308 error 4 in libocsync.so.0.2.0[7f498a4b9000+1c000]
Logfile:
01-08 18:35:24:823 Logging into logfile: "owncloud-crash.log" with flush false
01-08 18:35:24:823 "################## ownCloud de_DE 1.2.0beta1 "
.
.
.
.
01-08 18:35:26:598 * csync thread started
01-08 18:35:26:598 * event notification disabled
01-08 18:35:26:598 >===================================== sync started for "ownCloud"
01-08 18:35:26:598 ==> returning exclude file path: "/etc/ownCloud/sync-exclude.lst"
01-08 18:35:26:598 ==== added CSync exclude List: "/etc/ownCloud/sync-exclude.lst"
The text was updated successfully, but these errors were encountered: