Hey everyone!
I'm getting a segmentation fault when I'm syncing a group with one file-sync member and one mozilla-sync member.
ingo@ingo-laptop:~$ ls /usr/lib/opensync-1.0/plugins/mozilla-sync.so
/usr/lib/opensync-1.0/plugins/mozilla-sync.so
ingo@ingo-laptop:~$ ls /usr/share/opensync-1.0/defaults/mozilla-sync
/usr/share/opensync-1.0/defaults/mozilla-sync
ingo@ingo-laptop:~$ export LD_LIBRARY_PATH=/usr/lib:/usr/lib/thunderbird/:/usr/lib/opensync-1.0/formats
ingo@ingo-laptop:~$ strace msynctool --sync mozilla > opensync-strace.log 2>&1
The output file of the strace is attached. I'm using opensync 0.36 compiled by myself and the binaries of the mozilla opensync plugin 0.1.6 from source forge.
I've never analysed straces before, but I saw some file-not-found entries. Did I not set LD_LIBRARY_PATH right?
Interestingly, everything works fine when <calendar-id> in the config is set to a number of a calendar that doesn't exist. Otherwise, I always get a segfault.
Any ideas? Or do you maybe need further information?
Regards, Ingo
Logged In: YES
user_id=1697246
Originator: YES
Another interesting point: if I use the Thunderbird plugin for synching, it even crashes when I set the calendar-id to a non-existing one (manually).
Logged In: YES
user_id=1697246
Originator: YES
I'm wondering if the segfault's I keep getting are due to incompatability with my version of Lightning. This leads me to some more points:
(1) an incompatible version should not result in segfaults, but in an error message, informing about the incompatibility.
(2) It'd be nice if at least Lightning 0.8 was supported, 0.9 would be even greater (once approaches final state).
(3) Most importantly, the compatible versions of Lightning need ABSOLUTELY to be listed somewhere on the homepage!
If I have time to the next weeks, maybe I'll have at look at the bluezync code and especially work on point 2, but don't rely on this ;-)
Logged In: YES
user_id=1662541
Originator: NO
1) The end of the stacktrace has:
Main sink of member 1 of type file-sync had an error: Unable to find conversion path
Main sink of member 1 of type file-sync had an error: Unable to find con) = ? ERESTARTSYS (To be restarted)
I am no expert on strace, but it looks to me like a memory corruption.
Would it be possible for you to run again with valgrind (http://valgrind.org/)?
2) You get an "Unable to find conversion path". This is strange. Could you have a look at the OSYNC_TRACES and see if you can find out why this fails. Maybe you do not have all the format plugins installed?
3) Any chance that you could try again with the latest version from SVN (and the latest OpenSync SVN as well)?
/Henrik
Logged In: YES
user_id=1662541
Originator: NO
1) The end of the stacktrace has:
Main sink of member 1 of type file-sync had an error: Unable to find conversion path
Main sink of member 1 of type file-sync had an error: Unable to find con) = ? ERESTARTSYS (To be restarted)
I am no expert on strace, but it looks to me like a memory corruption.
Would it be possible for you to run again with valgrind (http://valgrind.org/)?
2) You get an "Unable to find conversion path". This is strange. Could you have a look at the OSYNC_TRACES and see if you can find out why this fails. Maybe you do not have all the format plugins installed?
3) Any chance that you could try again with the latest version from SVN (and the latest OpenSync SVN as well)?
/Henrik
Hi,
blueZync is now compatible with Lightning version 0.7 and version 0.8.
I just added a bit of explanation on the homepage:
http://kaarposoft.dk/bluezync/compatibility.html
Please try to compile and run the newest version from SVN,
and let me know if things are working better now!
/Henrik
Hi Ingo,
blueZync now supports Sunbird/Lightning 0.7 and 0.8; and gives an error message if the wrong version is used.
And I have added a bit of explanation on http://kaarposoft.dk/bluezync/compatibility.html
/Henrik