Ticket #515 (new defect)

Opened 1 year ago

Last modified 3 months ago

the synchronization between file-sync and palm-sync failed on the Ubuntu machine

Reported by: jijun.yu@sun.com Assigned to: jerryyu
Priority: high Milestone:
Component: Plugin: palm Version: 0.31
Severity: critical Keywords:
Cc:

Description

After committing some patches for palm-contact format into palm-sync trunk, the synchronization between file-sync and palm-sync contact still failed on the Ubuntu machine. It seems that it's the problem of pilot-link.
Here it the stack where segmentation fault happened:

psyncDBGetNthEntry() --> dlp_ReadRecordByIndex() --> dlp_exec() --> dlp_request_write() --> pi_write() --> pi_send() --> write()


Below is the configuration for file-sync and there's none files or dirs under the sync path.

<?xml version="1.0"?>
<config>
  <directory>
    <path>/home/test/sync1</path>
    <objtype>contact</objtype>
  </directory>
</config>


Below is the configuration of palm-sync:

<config><sockaddr>/dev/pilot</sockaddr><username>palm</username><timeout>0</timeout><type>0</type><speed>57600</speed><id>0</id><codepage>cp1252</codepage><popup>1</popup><mismatch>1</mismatch></config>


Below is the outputs of msynctool:

test@marathon:~/sync1$ msynctool --sync file-palm
Synchronizing group "file-palm"
The previous synchronization was unclean. Slow-syncing
contact sink of member 1 of type file-sync just connected
Main sink of member 1 of type file-sync just connected
contact sink of member 2 of type palm-sync just connected
Main sink of member 2 of type palm-sync just connected
All clients connected or error
contact sink of member 1 of type file-sync just sent all changes
Main sink of member 1 of type file-sync just sent all changes
Segmentation fault

Attachments

Thread3005590448-28870.log (31.5 kB) - added by jerryyu on 07/14/07 16:35:12.
attatched is the log files.
Thread3047553968-28870.log (34.5 kB) - added by jerryyu on 07/14/07 16:35:59.
Thread3072732080-28870.log (16.2 kB) - added by jerryyu on 07/14/07 16:36:33.
Thread3082086080-28870.log (68.5 kB) - added by jerryyu on 07/14/07 16:37:52.

Change History

07/14/07 16:35:12 changed by jerryyu

  • attachment Thread3005590448-28870.log added.

attatched is the log files.

07/14/07 16:35:59 changed by jerryyu

  • attachment Thread3047553968-28870.log added.

07/14/07 16:36:33 changed by jerryyu

  • attachment Thread3072732080-28870.log added.

07/14/07 16:37:52 changed by jerryyu

  • attachment Thread3082086080-28870.log added.

07/16/07 04:21:27 changed by jerryyu

  • component changed from OpenSync to Plugin: palm.

07/16/07 22:05:43 changed by dgollub

  • owner changed from abauer to dgollub.
  • status changed from new to assigned.

The palm plugin port was the worst hack i ever did .. i tried to port them within two days to demonstrate something fancy with 0.30 at the FOSDEM during my OpenSync? talk - without success.

I'll pick up work on this the next days ...

07/29/07 13:48:35 changed by jerryyu

Daniel,

I'm porting palm plugin currently. I think it will be finished in several days.

07/29/07 13:49:19 changed by jerryyu

  • owner changed from dgollub to jerryyu.
  • status changed from assigned to new.

08/07/07 17:25:58 changed by cstender

  • milestone changed from 0.31 to OpenSync 0.40.

Milestone 0.31 deleted

07/30/08 18:13:19 changed by tuju

  • milestone changed from 0.40 to 0.38.

08/21/08 16:27:00 changed by tuju

  • milestone deleted.

non-core plugins wont block releases. thus milestone == NULL.