Ticket #524 (new defect)

Opened 7 years ago

Last modified 6 years ago

Unable so sync Nokia 6300 with evolution neither syncml over obex nor gnokii

Reported by: diehorsti Owned by: dgollub
Priority: normal Milestone:
Component: Plugin: gnokii Version: 0.22
Severity: normal Keywords:
Cc:

Description (last modified by felixmoeller) (diff)

I am unable to sync Nokia 6300 with evolution.

  1. Installed version 0.21/0.22 from jahn
  2. configured msynctool according to howto
  3. used gnokii plugin; used Phone type: 6310
  4. issued command:
# msynctool --sync nokia2
Synchronizing group "nokia2" 
The previous synchronization was unclean. Slow-syncing
Member 1 of type evo2-sync just connected
Member 2 of type gnokii-sync just connected
All clients connected or error
...
...
Received an entry pas-id-4474C21A00000010 with data of size 4 from member 1 (evo2-sync). Changetype ADDED
Member 1 of type evo2-sync just sent all changes
Member 2 of type gnokii-sync just sent all changes
All clients sent changes or error
All conflicts have been reported
*** glibc detected *** /usr/lib/opensync/osplugin: double free or corruption (!prev): 0x0806de48 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7b727cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7b75e30]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7e42131]
/usr/lib/opensync/plugins/gnokii_sync.so(gnokii_contact_write+0x214)[0xb7efafc4]
/usr/lib/opensync/plugins/gnokii_sync.so(gnokii_contact_commit+0x185)[0xb7efb6d5]
/usr/lib/libopensync.so.0(osync_member_commit_change+0x314)[0xb7c79d17]
/usr/lib/opensync/osplugin(message_handler+0x5b0)[0x804abfa]
/usr/lib/libopensync.so.0[0xb7c85969]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0xb7e3adf2]
/usr/lib/libglib-2.0.so.0[0xb7e3ddcf]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb7e3e179]
/usr/lib/opensync/osplugin(main+0x55e)[0x804a619]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7b20ebc]
/usr/lib/opensync/osplugin[0x8049bb1]
======= Memory map: ========
08048000-0804c000 r-xp 00000000 03:01 5308629    /usr/lib/opensync/osplugin
0804c000-0804d000 rw-p 00003000 03:01 5308629    /usr/lib/opensync/osplugin
0804d000-08109000 rw-p 0804d000 00:00 0          [heap]
b5800000-b5821000 rw-p b5800000 00:00 0 
b5821000-b5900000 ---p b5821000 00:00 0 
b599c000-b59a7000 r-xp 00000000 03:01 5439552    /lib/libgcc_s.so.1
b59a7000-b59a8000 rw-p 0000a000 03:01 5439552    /lib/libgcc_s.so.1
b59b9000-b59c0000 r--s 00000000 03:01 3506411    /usr/lib/gconv/gconv-modules.cache
b59c0000-b59c1000 ---p b59c0000 00:00 0 
b59c1000-b61c1000 rw-p b59c1000 00:00 0 
b61c1000-b61c2000 ---p b61c1000 00:00 0 
b61c2000-b69c2000 rw-p b61c2000 00:00 0 
b69c2000-b69c3000 ---p b69c2000 00:00 0 
b69c3000-b71c3000 rw-p b69c3000 00:00 0 
b71c3000-b71c4000 ---p b71c3000 00:00 0 
b71c4000-b79c4000 rw-p b71c4000 00:00 0 
b79c4000-b79cf000 r-xp 00000000 03:01 5308624    /usr/lib/opensync/formats/xml-kde.so
b79cf000-b79d0000 rw-p 0000a000 03:01 5308624    /usr/lib/opensync/formats/xml-kde.so
b79d0000-b79e5000 r-xp 00000000 03:01 5308625    /usr/lib/opensync/formats/xml-vcal.so
b79e5000-b79e6000 rw-p 00015000 03:01 5308625    /usr/lib/opensync/formats/xml-vcal.so
b79e6000-b79f1000 r-xp 00000000 03:01 5308623    /usr/lib/opensync/formats/xml-evolution.so
b79f1000-b79f2000 rw-p 0000a000 03:01 5308623    /usr/lib/opensync/formats/xml-evolution.so
b79f2000-b79fe000 r-xp 00000000 03:01 5308627    /usr/lib/opensync/formats/xml-vnote.so
b79fe000-b79ff000 rw-p 0000b000 03:01 5308627    /usr/lib/opensync/formats/xml-vnote.so
b79ff000-b7a0e000 r-xp 00000000 03:01 5308626    /usr/lib/opensync/formats/xml-vcard.so
b7a0e000-b7a0f000 rw-p 0000e000 03:01 5308626    /usr/lib/opensync/formats/xml-vcard.so
b7a0f000-b7a20000 r-xp 00000000 03:01 4474200    /usr/lib/libbluetooth.so.2.5.0
b7a20000-b7a21000 rw-p 00011000 03:01 4474200    /usr/lib/libbluetooth.so.2.5.0
b7a21000-b7a27000 r-xp 00000000 03:01 5439616    /lib/libusb-0.1.so.4.4.4
b7a27000-b7a29000 rw-p 00005000 03:01 5439616    /lib/libusb-0.1.so.4.4.4
b7a29000-b7a2b000 r-xp 00000000 03:01 5308620    /usr/lib/opensync/formats/file.so
b7a2b000-b7a2c000 rw-p 00001000 03:01 5308620    /usr/lib/opensync/formats/file.so
b7a2c000-b7a2d000 r-xp 00000000 03:01 5308618    /usr/lib/opensync/formats/data.so
b7a2d000-b7a2e000 rw-p 00000000 03:01 5308618    /usr/lib/opensync/formats/data.so
b7a2e000-b7a2f000 r-xp 00000000 03:01 5308622    /usr/lib/opensync/formats/todo.so
b7a2f000-b7a30000 rw-p 00000000 03:01 5308622    /usr/lib/opensync/formats/todo.so
b7a30000-b7a31000 r-xp 00000000 03:01 5308621    /usr/lib/opensync/formats/note.so
b7a31000-b7a32000 rw-p 00000000 03:01 5308621    /usr/lib/opensync/formats/note.so
b7a32000-b7a33000 r-xp 00000000 03:01 5308628    /usr/lib/opensync/formats/xmldoc.so
b7a33000-b7a34000 rw-p 00000000 03:01 5308628    /usr/lib/opensync/formats/xmldoc.so
b7a34000-b7a35000 r-xp 00000000 03:01 5308619    /usr/lib/opensync/formats/event.so
b7a35000-b7a36000 rw-p 00000000 03:01 5308619    /usr/lib/opensync/formats/event.so
b7a36000-b7a39000 r-xp 00000000 03:01 1572939  Member 1 of type evo2-sync committed all changes.
Error writing entry pas-id-46B2FB6300000058 to member 2 (gnokii-sync): Broken Pipe
Mapping Write Error: Broken Pipe
...
...
Error writing entry pas-id-4474C21A00000010 to member 2 (gnokii-sync): Broken Pipe
Mapping Write Error: Broken Pipe
Member 2 of type gnokii-sync had an error while commiting changes: Broken Pipe
All clients have written
Member 2 of type gnokii-sync had an error while calling sync done: Broken Pipe
Member 2 of type gnokii-sync had an error while disconnecting: Broken Pipe
Member 1 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to finish the sync for one of the members
Error while synchronizing: Unable to finish the sync for one of the members

Can I help here?

Change History

comment:1 Changed 7 years ago by rozelak

Hallo,

did you try to connect your phone by menas of gnokii itself? I have the same phone, and I need this setting in ~/.gnokiirc:

[global]
port = /dev/ttyACM0
model = 6510
initlength = default
connection = dku2libusb
use_locking = no
serial_baudrate = 19200
smsc_timeout = 10

[gnokiid]
bindir = /usr/local/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]

[logging]
debug = on
rlpdebug = off
xdebug = off

With this setting I am able to read addressbook (without groups assigment which is not provided by the phone) and calendar notes. There are problems with SMS and TODO items, but I have reported it to gnokii mail list. I will see, if it is not my error in settings.

So, when you are able to talk to phone by gnokii (try e.g. gnokii --identify) than you should be able to synchronize items using gnokii-sync plugin. However, I did not try it deeply.

Regards, Dan

P.S. Do not forget set ~/opensync/groupX/Y/gnokii-sync.conf according to connection, port and model in ~/.gnokiirc!

comment:2 Changed 7 years ago by dgollub

  • Owner changed from abauer to dgollub
  • Component changed from OpenSync to Plugin: gnokii

Looks like a bug in the gnokii-sync commit function. Could you try if this is still possible with gnokii-sync from OpenSync? 0.33?

comment:3 Changed 6 years ago by felixmoeller

  • Description modified (diff)

comment:4 Changed 6 years ago by felixmoeller

  • Description modified (diff)
Note: See TracTickets for help on using tickets.