Ticket #111 (new defect)

Opened 1 year ago

Last modified 1 week ago

syncml-obex-client hangs when transfering contacts

Reported by: wibbit Assigned to: ehabkost
Priority: high Component: SyncML-Plugin
Version: 0.X Severity: normal
Keywords: Cc:

Description (Last modified by felixmoeller)

Good morning

I'm attempting to sync my Nokai E70 using libopensync, and have run in to a problem.

I am able to sync Calendar and Tasks with out a problem, however when attempting to sync contacts, every thing appears to freeze. On the phone it states transfering 60 of 81, and will not change no matter how long I leave it (left for about 10 minutes while making tea/hanging out washing). The command line does not return any error message. When clicking cancel on the phone, it will say "cancelling" indefinetely, pressing "hang up" will get rid of the message, but any further sync's fail till the phone is rebooted.

With the some advice from pmarat in IRC, I started using syncml-obex-client to try and narrow things down a bit.

When I ran the following command, the transfer gets stuck at 60.

syncml-obex-client -b 00:12:D2:1E:37:A0 14 --slow-sync text/x-vcard Contacts --identifier "PC Suite" --wbxml --dumpinfo --useStringTable
connection with device succeeded
Received an Alert for the DS Server at Contacts: Type: 200, Last 20070310T234858Z, Next 20070311T132715Z
Slowsyncing
Just received a new session with ID 1
Going to request the devinf
Session 1 reported final. flushing

This is part of the output from syncing notes with --dumpinfo

Man: NOKIA
Mod: E70
FirmwareVersion: 
SoftwareVersion: 1.0610.05.07
HardwareVersion: 

ReceiveLimit: 0
MaxObjSize: 0
Connection used: OBEX Client
Identifier: PC Suite

Databases:
DB Locations: Notes
DB Type: text/plain
DB Slow: 1

Bluetooth: Yes
Wbxml: Yes
SyncML Version: 1.1
SupportsNumberofChanges: Yes
SupportsLargeObjects: Yes

Here is some additional info about my environment.

Fedora Core 6

libopensync-plugin-syncml-0.20_SVN1631-2.1
libopensync-plugin-evolution2-0.21_SVN1818-2.1
libopensync-tools-0.21_SVN1818-2.1
libopensync-plugin-file-0.21_SVN1818-2.1
libopensync-0.21_SVN1818-2.1

I have enabled tracing with the syncml-obex-client, and will add that info to this ticket once I work out how to create attachments :)

Please let me know if there is any other info I can provide.

Attachments

Thread3086379920.log (57.4 kB) - added by wibbit on 03/11/07 14:42:29.
Thread3086382784.log (23.6 kB) - added by wibbit on 03/11/07 14:43:03.
sent-1.xml (1.4 kB) - added by wibbit on 03/11/07 14:43:35.
sent-1.wbxml (380 bytes) - added by wibbit on 03/11/07 14:43:46.
sent-0.xml (0.6 kB) - added by wibbit on 03/11/07 14:44:00.
sent-0.wbxml (116 bytes) - added by wibbit on 03/11/07 14:44:12.
received-0.xml (1.0 kB) - added by wibbit on 03/11/07 14:44:23.
received-0.wbxml (297 bytes) - added by wibbit on 03/11/07 14:44:35.
Thread3086535568.log (59.2 kB) - added by wibbit on 03/11/07 15:01:00.
Without an @ sign in contact
Thread3086538432.log (24.8 kB) - added by wibbit on 03/11/07 15:01:17.
Without an @ sign in contact

Change History

03/11/07 14:42:29 changed by wibbit

  • attachment Thread3086379920.log added.

03/11/07 14:43:03 changed by wibbit

  • attachment Thread3086382784.log added.

03/11/07 14:43:35 changed by wibbit

  • attachment sent-1.xml added.

03/11/07 14:43:46 changed by wibbit

  • attachment sent-1.wbxml added.

03/11/07 14:44:00 changed by wibbit

  • attachment sent-0.xml added.

03/11/07 14:44:12 changed by wibbit

  • attachment sent-0.wbxml added.

03/11/07 14:44:23 changed by wibbit

  • attachment received-0.xml added.

03/11/07 14:44:35 changed by wibbit

  • attachment received-0.wbxml added.

03/11/07 14:46:51 changed by wibbit

Re-submitting some of the info, to make it clearer... Sorry :/

--dumpinfo output.

Man: NOKIA
Mod: E70
FirmwareVersion: 
SoftwareVersion: 1.0610.05.07
HardwareVersion: 

ReceiveLimit: 0
MaxObjSize: 0
Connection used: OBEX Client
Identifier: PC Suite

Databases:
DB Locations: Notes
DB Type: text/plain
DB Slow: 1

Bluetooth: Yes
Wbxml: Yes
SyncML Version: 1.1
SupportsNumberofChanges: Yes
SupportsLargeObjects: Yes

Output from the command when phone freezes.

syncml-obex-client -b 00:12:D2:1E:37:A0 14 --slow-sync text/x-vcard Contacts --identifier "PC Suite" --wbxml --dumpinfo --useStringTable
connection with device succeeded
Received an Alert for the DS Server at Contacts: Type: 200, Last 20070310T234858Z, Next 20070311T132715Z
Slowsyncing
Just received a new session with ID 1
Going to request the devinf
Session 1 reported final. flushing

03/11/07 14:59:46 changed by wibbit

After some further investigation, I noticed that I had a contact who's name was an email address (I.E. had an @ sign).

After removing that contact, and re-attempting a sync, the syncronization goes through to the 80th contact, and then, again the phone stays at the 80th contact and does not stop.

I have uploaded new trace files.

03/11/07 15:01:00 changed by wibbit

  • attachment Thread3086535568.log added.

Without an @ sign in contact

03/11/07 15:01:17 changed by wibbit

  • attachment Thread3086538432.log added.

Without an @ sign in contact

03/13/07 19:21:43 changed by wibbit

I've just tried it with the latest SVN build from the suse build system.

libsyncml-0.4.3_SVN236-3.1

08/12/08 14:14:04 changed by felixmoeller

  • description changed.