Ticket #139 (closed defect: fixed)

Opened 5 months ago

Last modified 1 week ago

There was an error in the session 1: Incoming buffer was open when final arrived

Reported by: felixmoeller Assigned to: bellmich
Priority: normal Component: libsyncml
Version: 0.4.6 Severity: normal
Keywords: Cc: bellmich, felix@derklecks.de

Description

I get the error message as quoted in the summary every time i try to sync. My cellphone did work earlier with libsyncml.

macbook:/home/fm/svn/libsyncml # syncml-obex-client -u 0 --slow-sync text/x-vcard contacts --wbxml
connection with device succeeded
Received an Alert for the DS Server at contacts: Type: 201, Last 0, Next 76
Slowsyncing
Just received a new session with ID 1
Received the DevInf
Session 1 reported final. flushing
Received an reply to our Alert
Going to receive 0 changes
Received a modified entry 934 of size 173 and type text/x-vcard
                Data: BEGIN:VCARD
...
Received a modified entry 916 of size 115 and type text/x-vcard
                Data: BEGIN:VCARD
VERSION:2.1
N:Althen;..
TEL;CELL:..
BDAY:..
X-IRMC-LUID:000200000394
END:VCARD

Received an reply to our Sync: 500
Session 1 reported final. flushing
There was an error in the session 1: Incoming buffer was open when final arrived

Before the error there are several contacts successfully displayed.

I did not test for several weeks as I was waiting for ticket #130 as I am on openSUSE factory.

Attachments

1.txt (15.4 kB) - added by felixmoeller on 03/17/08 15:13:53.
first file
2.txt (11.2 kB) - added by felixmoeller on 03/17/08 15:14:55.
second trace file

Change History

03/13/08 00:47:39 changed by felixmoeller

I forgot to mention my versions:

# rpm -q libsyncml-tools libsyncml0
libsyncml-tools-0.4.6_SVN403-7.1
libsyncml0-0.4.6_SVN403-7.1

If there is anything else I may provide just tell me.

Thanks.

03/13/08 01:32:54 changed by felixmoeller

Just in case here the --dumpinfo

There was an error in the session 1: Incoming buffer was open when final arrivedSend the output below to the libsyncml developers

========================================
Man: SonyEricsson
Mod: V630i
FirmwareVersion: R1ED001
SoftwareVersion: R6AA
HardwareVersion: R5A

ReceiveLimit: 0
MaxObjSize: 0
Connection used: OBEX Client
Identifier: LibSyncML Test Suite

Databases:
DB Locations: contacts
DB Type: text/x-vcard
DB Slow: 1

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

03/13/08 14:31:09 changed by felixmoeller

Ok, I did a little more research now.

The last revision that works is r350. Beginning from r351 I get

# ./tools/syncml-obex-client -u 0 --slow-sync text/x-vcard contacts --wbxml
connection with device succeeded
/home/fm/svn/libsyncml/libsyncml/sml_support.c:443:E:smlSafeFree: Assertion "*address" failed
Abgebrochen

From r360 to r383 it is the following

./tools/syncml-obex-client -u 0 --slow-sync text/x-vcard contacts --wbxml
/home/fm/svn/libsyncml/libsyncml/sml_support.c:443:E:smlSafeFree: Assertion "*address" failed
Abgebrochen

And then from r384 on I get:

END:VCARD

Received an reply to our Sync: 500
Session 1 reported final. flushing
/home/fm/svn/libsyncml/libsyncml/sml_support.c:441:E:smlSafeFree: Assertion "*address" failed
There was an error in the session 1: Incoming buffer was open when final arrivedAbgebrochen

03/17/08 00:06:17 changed by prahal

Sorry not to be of any help by myself. But you should ask Michel Bell on the opensync-devel ML . He works a lot on libsyncml code but is not on irc neither do I know if he follows tickets.

03/17/08 00:07:28 changed by prahal

Hum sorry Michael you where already in the cc ... thanks for all.

03/17/08 13:08:15 changed by bellmich

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

I discovered last week that there is a ticket mailing list. So since last week I follow tickets and I hope libsyncml tickets appear on this list too. My mistake ... I'm sorry.

03/17/08 15:13:53 changed by felixmoeller

  • attachment 1.txt added.

first file

03/17/08 15:14:55 changed by felixmoeller

  • attachment 2.txt added.

second trace file

03/17/08 15:15:41 changed by felixmoeller

  • cc changed from bellmich to bellmich, felix@derklecks.de.

somehow I do not get the replies ...

08/12/08 23:21:26 changed by felixmoeller

I guess we can close this one as it works with syncml-ds-client from r530.

Thanks

08/12/08 23:25:20 changed by felixmoeller

  • status changed from assigned to closed.
  • resolution set to fixed.