Ticket #987 (closed defect: worksforme)

Opened 3 years ago

Last modified 23 months ago

timeout settings are not used

Reported by: mkoller Owned by: dgollub
Priority: high Milestone: OpenSync 0.40
Component: OpenSync: Engine Version: 0.38
Severity: normal Keywords:
Cc:

Description (last modified by felixmoeller) (diff)

Using SVN from today, I have a group: Group: fi

  • Member 1 (KDE-3.5): kdepim-sync
  • Member 2: file-sync

Both syncmember.conf files contain

  <timeout>
   <connect>600</connect>
   <disconnect>600</disconnect>
   <get_changes>600</get_changes>
   <commit>600</commit>
   <batch_commit>600</batch_commit>
   <committed_all>600</committed_all>
   <sync_done>600</sync_done>
   <write>600</write>
   <read>600</read>
  </timeout>

The file-dir is empty, my KDE addressbook has 500 entries to sync.

Doing a first slow-sync, all entries from kdepim-sync are received in a few seconds (about 15), then the disk activity is very high for another 1.5 minutes with no log output from osynctool. Then, I get a lot lines with

XML -> Vcard CONFIG 140534768

with still very high disk activity. After about 30 further seconds I get

contact sink of member 1 of type kdepim-sync had an error: Timeout.

then I get a long list of

Sent an entry 043buoMxv to member 2 (file-sync). Changetype ADDED

and somewhere inbetween (about 50 seconds later)

contact sink of member 2 of type file-sync had an error: Timeout.

and the rest of the ADDED lines. At the end I get

Main sink of member 2 of type file-sync committed all changes.
Main sink of member 1 of type kdepim-sync committed all changes.

and then osynctool hangs doing nothing.

Up to this point, 3 minutes 20 seconds have passed.

Attaching gdb and "thread apply all bt" gives:
Thread 9 (Thread 0xb592cb90 (LWP 17291)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
#2  0xb7f856f2 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#6  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb612db90 (LWP 17294)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
#2  0xb8069823 in osync_queue_poll (queue=0x8151398)
    at /home/PACKAGES/opensync/opensync/opensync/ipc/opensync_queue.c:1052
#3  0xb806a793 in _source_check (source=0x812e700)
    at /home/PACKAGES/opensync/opensync/opensync/ipc/opensync_queue.c:480
#4  0xb7f84e56 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb7f8574d in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#7  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#9  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb512bb90 (LWP 17295)):
---Type <return> to continue, or q <return> to quit---
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
#2  0xb7f856f2 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#6  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb492ab90 (LWP 17299)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
#2  0xb8069823 in osync_queue_poll (queue=0x814cd90)
    at /home/PACKAGES/opensync/opensync/opensync/ipc/opensync_queue.c:1052
#3  0xb806a793 in _source_check (source=0x8131c70)
    at /home/PACKAGES/opensync/opensync/opensync/ipc/opensync_queue.c:480
#4  0xb7f84e56 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb7f8574d in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#7  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#9  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb4129b90 (LWP 17300)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#2  0xb7f856f2 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#6  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb3928b90 (LWP 17301)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
#2  0xb7f856f2 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#6  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb3127b90 (LWP 17302)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
#2  0xb8069823 in osync_queue_poll (queue=0x8156998)
    at /home/PACKAGES/opensync/opensync/opensync/ipc/opensync_queue.c:1052
#3  0xb806a793 in _source_check (source=0x81364c8)
    at /home/PACKAGES/opensync/opensync/opensync/ipc/opensync_queue.c:480
#4  0xb7f84e56 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb7f8574d in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#7  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#9  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb2926b90 (LWP 17303)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7eca1c7 in poll () from /lib/libc.so.6
#2  0xb7f856f2 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb7f85d2a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb7fac39f in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb7ae1175 in start_thread () from /lib/libpthread.so.0
#6  0xb7ed3dce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7adaab0 (LWP 17288)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7ae4c15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7ee02ed in pthread_cond_wait () from /lib/libc.so.6
#3  0xb804eb06 in osync_engine_synchronize_and_block (engine=0x805af68, error=0xbfcb1df4)
    at /home/PACKAGES/opensync/opensync/opensync/engine/opensync_engine.c:1614
#4  0x0804c67c in main (argc=3, argv=0xbfcb1ea4) at /home/PACKAGES/opensync/trunk/tools/osynctool.c:492
#0  0xffffe430 in __kernel_vsyscall ()

Change History

comment:1 Changed 3 years ago by felixmoeller

  • Description modified (diff)

this entry really needed some reformatting ;)

comment:2 Changed 2 years ago by dgollub

  • Component changed from OpenSync to OpenSync: Engine

Could some try to reproduce the issue?

comment:3 Changed 2 years ago by dgollub

  • Status changed from new to closed
  • Resolution set to worksforme

I could imagine this got already fixed, since there was a big rewrite in the IPC subsystem. Please reopen if this is still reproducible.

comment:4 Changed 23 months ago by sim

 decoration Changed 1 year ago by admin

 bathtub Changed 1 year ago by admin

 solar system Changed 1 year ago by admin

 stair parts Changed 1 year ago by admin

 solar supply Changed 1 year ago by admin

Note: See TracTickets for help on using tickets.