From: Markus O. <obe...@wu...> - 2006-04-25 13:17:17
|
Hi all, I've debugging the "Mapping Write Error: Unable to commit change. Error 500". It has occurred also in my configuration using msynctool, a File Member, the SyncML-HTTP-Server plugin and the Siemens CX75 as SyncML-HTTP-Client. Using slow-sync and a database without entries, the sync succeeds. However, as soon as I try a 2nd sync the "Mapping Write Errors" occurr. As far as I can read the logs, I see that for my vcard entries e.g. 2684354914 the hashtable has been updated, but a SELECT to the hash for this entry does not succeed. Therefore the entry has the changetype ADDED although the entry has already been there. I tried to read the hash.db with sqlite3, however, even this has created a Segmentation Fault. So I think there is a error in area of the hash tables, however, I am not expert. I can't correct the bug, however, I can try to trace and send more logs, if requested. Help would be appreciated. Kind regards, Markus ------------------------------- LOGS ------------------------------- [1145968854.497526] [FILE-SYNC] FULL DEBUG: end: __fs_access [1145968854.497592] >>>>>>> osync_hashtable_update_hash(0x805ca38, 0x8121ca8) [1145968854.497646] Updating hashtable with hash "1145968854-1145968854" and changetype 4 [1145968854.499540] query executed: REPLACE INTO tbl_hash ('uid', 'hash', 'objtype') VALUES('2684354914', '1145968854-1145968854', 'data') [1145968854.551968] <<<<<<< osync_hashtable_update_hash [1145968854.552069] >>>>>>> osync_context_report_success(0x814f168) [1145968854.552148] [CLI] FULL DEBUG: Member is replying with message 0x8158c80 to message 0x81515b0:"COMMIT_CHANGE" with no error [1145968854.552219] <<<<<<< osync_context_report_success [1145968854.552278] [FILE-SYNC] FULL DEBUG: end: fs_commit_change [1145968854.552330] <<<<<<< osync_member_commit_change [1145968854.552382] <<<<<<< client_message_handler [...] [1145968949.807467] >>>>>>> fs_report_dir(0x805c8b8, (null), 0x808afd8) [1145968949.807618] path /root/MySync [1145968949.807775] path2 /root/MySync/2684354914 2684354914 [1145968949.807836] >>>>>>> osync_change_new() [1145968949.807892] <<<<<<< osync_change_new: 0x8090468 [1145968949.807947] >>>>>>> osync_change_set_objformat_string(0x8090468, file) [1145968949.808000] <<<<<<< osync_change_set_objformat_string [1145968949.808065] >>>>>>> osync_hashtable_detect_change(0x805a7f0, 0x8090468) [1145968949.808125] >>>>>>> osync_hashtable_get_changetype(0x805a7f0, 2684354914, 1145968854-1145968854) [1145968949.808384] query executed: SELECT hash FROM tbl_hash WHERE uid='2684354914' [1145968949.808587] [OSDB] DEBUG: Unable step get hash! not an error [1145968949.808662] Comparing 1145968854-1145968854 with (null) [1145968949.808716] <<<<<<< osync_hashtable_get_changetype: TRUE [1145968949.808771] <<<<<<< osync_hashtable_detect_change: TRUE [ ------------------------------- END OF LOGS ------------------------------- -- Open WebMail Project (http://openwebmail.org) |