« Return to Thread: msynctool core dumps

Re: msynctool core dumps

by Daniel Gollub :: Rate this Message:

Reply to Author | View in Thread

On Wednesday 23 April 2008 10:41:11 Christian Hilgers wrote:
> > What does your file-sync configuration look like?
>
> see attached file

  <directory>
    <path>/opt/opensync/kde-file/note</path>
    <objtype>note</objtype>
    <objformat>xmlformat-note</objformat>
    <converterpath_config></converterpath_config>
  </directory>

This <objformat> line is VERY interesting....

>
> > Could you send the full backtrace .. there is something REALLY odd. The
> > libxml
>
> see attached file
>
> This is the first time with "live" data so there might be weird data in.
>
> The Note visible in the stacktrace does not look different then
> the other notes in that directory.
> BUT there is no data in these notes.

What do you mean by data?

>
> expample note:
> cat libkcal-542667007.520  <- thats the one in the file-sync-directory
> BEGIN:VNOTE
> VERSION:1.1
> SUMMARY:KaffeePads
> END:VNOTE
>
> There is data in the kdepim.

... i guess the problem is that you try to dump with the xmlformat-note ...
but the conversation path is for some reason broken; it just dumps the notes
as vnote10/vnote11. Later when you sync again.. the file-sync reads this
vnote1* and handles it as xmlformat-note... and when it comes to parsing the
XML, which actually is not in XML form - > KABOOOOOOOOOOOOM

I try to reproduce this ... never tried <objformat>xmlformat-note</objformat>
for file-sync plugin. But i suspect some problems right now with the
conversion path of xmlformat-$objtype to objformat file (to dump it on the
disk).

Hint: In meanwhile just replace "xmlformat-note" with "memo" for now. This
might work...

best regards,
Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

 « Return to Thread: msynctool core dumps

LightInTheBox - Buy quality products at wholesale price