Okeydoke.

The assert is:

/build/mbanck-libopensync-plugin-xmlformat_0.39-1-i386-TPPFvF/libopensync-plugin-xmlformat-0.39/src/xmlformat_merge.c:191:E:demerge_xmlformat:
 Assertion "*size == osync_xmlformat_size()" failed


Turning on tracing we get:

demerge_xmlformat(0xb6f3dbdc, 0xb6f3dbd8:0, 0xafe08110, 0xb6f3ddbc)

From:
        osync_trace(TRACE_ENTRY, "%s(%p, %p:%u, %p, %p)",
                __func__, buf, size, *size, caps, error);

So it looks like *size is zero instead of osync_xmlformat_size()

more debugging in progress, rummage, rummage...

Oh, yes, the call sequence (from the trace file:)

It looks like _osync_obj_engine_clone_and_demerge_change is calling
demerge_xmlformat (after osync_caps_converter_invoke).

[1299777297.496737]
Looking for mapping for change 126, changetype 1 from member 2
[1299777297.496769]
>>>>>>>  _osync_obj_engine_mapping_find(0xafe01c70, 0xafe00768,
0x8f52f38, 0xb6f3dcec)
[1299777297.496803]
Member1-caps: 0x8b9dfb8 Member2-caps: (nil)
[1299777297.496978]
>>>>>>>  _osync_obj_engine_clone_and_demerge_change(0x8f527a0,
0x8b9dfb8, 0xafe00738, 0xb6f3ddbc)
[1299777297.500347]
Couldn't found merger for capsformat "vformat" and objformat
"xmlformat-contact". Looking further.
[1299777297.500426]
>>>>>>>  osync_caps_converter_invoke(0x8c763f8, 0xb6f3dc3c, (NULL),
0xb6f3ddbc)
[1299777297.500537]
Converter from vformat to xmlformat
[1299777297.500574]
>>>>>>>  get_vcard_hash
[1299777297.500617]
<<<<<<<  get_vcard_hash
....
[1299777297.502550]
>>>>>>>  osync_capability_neosync_caps_converter_invokew(0xafe05ca8,
0xb6f3ddbc)
[1299777297.502584]
>>>>>>>  osync_capability_new_internal(0xb6f3ddbc)
[1299777297.502617]
<<<<<<<  osync_capability_new_internal: 0xafe0be68
[1299777297.502650]
<<<<<<<  osync_capability_new: 0xafe0be68
[1299777297.502690]
<<<<<<<  osync_caps_converter_invoke
[1299777297.502726]
>>>>>>>  demerge_xmlformat(0xb6f3dbdc, 0xb6f3dbd8:0, 0xafe08110,
0xb6f3ddbc)






-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to