Dnia Thursday 31 of December 2015 20:57:40 Patrick Ohly pisze:

> On Wed, 2015-12-30 at 23:23 +0100, Janusz wrote:

> > Thanks for answer.

> >

> > I forgot to add that the same behaviour is on 2 PCs - both Ubuntu

> > Wily.

> >

> >

> >

> > This output is from second one:

> >

> >

> >

> > $ SYNCEVOLUTION_DEBUG=1 syncevolution loglevel=3 --print-databases

> > --daemon=no

>

> ...

>

> > Evolution Task List = Evolution Tasks = evolution-tasks:

> > Osobiste (system-task-list) <default>

> >

> > Evolution Memos = evolution-memos:

> > Osobiste (system-memo-list) <default>

>

> And it gets stuck here?

>

> If yes, then run under gdb:

>

> gdb --args syncevolution loglevel=10 --print-databases --daemon=no

> # run

> ...

> CTRL-C once it is stuck

> # threads all apply bt

>

> What is the output?

 

Yes, it stuck there.

Here is output:

 

$ gdb --args syncevolution loglevel=10 --print-databases --daem
on=no
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from syncevolution...done.
(gdb) run
Starting program: /usr/bin/syncevolution loglevel=10 --print-databases --daemon=
no
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
CalDAV:
  select database via absolute URL, set username/password to scan, set syncURL
to base URL if server does not support auto-discovery (<path>)

CalDAVTodo:
  select database via absolute URL, set username/password to scan, set syncURL
to base URL if server does not support auto-discovery (<path>)

CalDAVJournal:
  select database via absolute URL, set username/password to scan, set syncURL
to base URL if server does not support auto-discovery (<path>)

CardDAV:
  select database via absolute URL, set username/password to scan, set syncURL
to base URL if server does not support auto-discovery (<path>)

[New Thread 0x7fffdfb09700 (LWP 5814)]
[New Thread 0x7fffd7308700 (LWP 5815)]
[New Thread 0x7fffdf308700 (LWP 5816)]
[New Thread 0x7fffdeb07700 (LWP 5817)]
Evolution Address Book = Evolution Contacts = evolution-contacts:
  Osobiste (system-address-book) <default>

Evolution Calendar = evolution-calendar:
  Osobiste (system-calendar) <default>
  Urodziny i rocznice (birthdays)

Evolution Task List = Evolution Tasks = evolution-tasks:
  Osobiste (system-task-list) <default>

Evolution Memos = evolution-memos:
  Osobiste (system-memo-list) <default>

^C
Program received signal SIGINT, Interrupt.                                                                                                                                          
0x00007ffff66638dd in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                              
81      ../sysdeps/unix/syscall-template.S: Nie ma takiego pliku ani katalogu.                                                                                                      
(gdb) thread apply all bt
                                                                                                                                                                                   
Thread 5 (Thread 0x7fffdeb07700 (LWP 5817)):                                                                                                                                        
#0  0x00007ffff66638dd in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                          
#1  0x00007ffff71241ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                         
#2  0x00007ffff7124572 in g_main_loop_run ()                                                                                                                                        
  from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                                                      
#3  0x00007ffff562a4c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0                                                                                                      
#4  0x00007ffff714a965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                         
#5  0x00007ffff79766aa in start_thread (arg=0x7fffdeb07700)                                                                                                                         
   at pthread_create.c:333                                                                                                                                                         
#6  0x00007ffff666eeed in clone ()                                                                                                                                                  
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109                                                                                                                                
                                                                                                                                                                                   
Thread 4 (Thread 0x7fffdf308700 (LWP 5816)):                                                                                                                                        
#0  0x00007ffff66638dd in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                          
#1  0x00007ffff71241ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                         
#2  0x00007ffff71242fc in g_main_context_iteration ()                                                                                                                               
  from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                                                      
#3  0x00007ffff7124339 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                         
#4  0x00007ffff714a965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                         
#5  0x00007ffff79766aa in start_thread (arg=0x7fffdf308700)                                                                                                                         
   at pthread_create.c:333                                                                                                                                                         
#6  0x00007ffff666eeed in clone ()                                                                                                                                                  
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109                                                                                                                                
                                                                                                                                                                                   
Thread 3 (Thread 0x7fffd7308700 (LWP 5815)):                                                                                                                                        
#0  0x00007ffff66638dd in poll () at ../sysdeps/unix/syscall-template.S:81                                                                                                          
#1  0x00007ffff71241ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                         
---Type <return> to continue, or q <return> to quit---                                                                                                                              
#2  0x00007ffff7124572 in g_main_loop_run ()                                                                                                                                        
  from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                                                      
#3  0x00007fffef290e57 in ?? () from /usr/lib/libedataserver-1.2.so.20                                                                                                              
#4  0x00007ffff714a965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0                                                                                                         
#5  0x00007ffff79766aa in start_thread (arg=0x7fffd7308700)                                                                                                                         
   at pthread_create.c:333                                                                                                                                                         
#6  0x00007ffff666eeed in clone ()                                                                                                                                                  
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffdfb09700 (LWP 5814)):
#0  0x00007ffff66638dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff71241ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff71242fc in g_main_context_iteration ()
  from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffdfb1128d in ?? ()
  from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff714a965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff79766aa in start_thread (arg=0x7fffdfb09700)
   at pthread_create.c:333
#6  0x00007ffff666eeed in clone ()
   at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7f2b880 (LWP 5810)):
#0  0x00007ffff66638dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff71241ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff71242fc in g_main_context_iteration ()
  from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffead461ee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop:---Type <return> to continue, or q <return> to quit---
:ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fffead140d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fffead14445 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fffea7d8363 in KJob::exec() () from /usr/lib/libkdecore.so.5
#7  0x00007fffeb5afcf0 in SyncEvo::AkonadiSyncSource::getDatabases (
   this=0x793d00)
   at /data/runtests/work/sources/syncevolution/src/backends/akonadi/akonadisyncsource.cpp:137
#8  0x00007ffff758c3c5 in SyncEvo::Cmdline::listDatabases (
   this=<optimized out>, source=0x793d00, header=
   "KDE Address Book = KDE Contacts = kde-contacts")
   at /data/runtests/work/sources/syncevolution/src/syncevo/Cmdline.cpp:2087
#9  0x00007ffff759efe0 in SyncEvo::Cmdline::run (this=0x7fffffffd700)
   at /data/runtests/work/sources/syncevolution/src/syncevo/Cmdline.cpp:839
#10 0x000000000041a90d in SyncEvo::main (argc=<optimized out>,  
   argv=<optimized out>)
   at /data/runtests/work/sources/syncevolution/src/syncevolution.cpp:531
(gdb)

 

BR
Janusz