https://bugs.freedesktop.org/show_bug.cgi?id=75672
--- Comment #7 from Niels Ole Salscheider <niels_ole(a)salscheider-online.de> ---
> > Can you run the check with gdb above and give more
information about your
> > Linux distro? Which version of SyncEvolution?
>
> I use Exherbo as my linux distribution. I have KDE 4.12.2 and Akonadi
> (server) 1.11.0. The dbus version is 1.8.0. The problem occurs with
> SyncEvolution 1.4.
How was SyncEvolution compiled? gdb doesn't seem to find debug information
for /usr/lib64/../lib64/libsyncevolution.so.0, which would be useful for
further analysis of the problem.
Was KDE support enabled while building SyncEvolution? Perhaps Akonadi
depends on a KApplication instance, which is what KDEInitMainSlot in the
kdeplatform.so creates.
I used the following configure-line:
./configure --prefix=/usr --host=x86_64-pc-linux-gnu
--build=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --docdir=/usr/share/doc/syncevolution-1.4
--sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking
--disable-silent-rules --enable-fast-install --libdir=/usr/lib64
--enable-release-mode --enable-libsoup --enable-core --enable-doc
--enable-dbus-service --disable-dbus-service-pim --disable-dlt --enable-notify
--disable-gui --disable-gnome-bluetooth-panel-plugin --disable-activesync
--disable-sqlite --disable-addressbook --disable-file --disable-kcalextended
--disable-maemocal --disable-qtcontacts --disable-dav --disable-xmlrpc
--enable-akonadi --enable-bluetooth --disable-ecal --disable-ebook
--disable-gnome-keyring --enable-kwallet
If "KDE support" is support for kwallet then it was enabled.
I have recompiled syncevolution with debug information. I will upload the
backtrace.
Does Akonadi access work for you at all or is it only failing during
syncing
via HTTP?
The simplest possible test is:
SYNCEVOLUTION_DEBUG=1 syncevolution --daemon=no --print-databases
backend=kde-contacts
This works and lists all my akonadi collections for my contacts.
This does not fork any processes, so gdb can be run on it more
easily:
SYNCEVOLUTION_DEBUG=1 gdb --args syncevolution --daemon=no --print-databases
backend=kde-contacts
I think it does not make sense to debug this since it works for me.
When I run dbus-monitor in parallel, I see that it looks for some
well-known
Akonadi names. Below is the failure when Akonadi is not running. Note that
the log starts with claiming and releasing a name for the SyncEvolution
instance; that's part of the KApplication startup, followed by freeing the
name again in KDEInitMainSlot. dbus-monitor doesn't seem to dump the
response to the NameHasOwner method call, neither when it succeeds nor when
it fails.
What does you log look like?
My log for the "--print-databases" case is quite long, it begins with:
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=416
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameOwnerChanged
string ":1.242"
string ""
string ":1.242"
method call sender=:1.242 -> dest=org.freedesktop.DBus serial=1
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=417
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameOwnerChanged
string ":1.243"
string ""
string ":1.243"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=1
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=418
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameOwnerChanged
string "org.syncevolution.syncevolution-4402"
string ""
string ":1.243"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=2
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName
string "org.syncevolution.syncevolution-4402"
uint32 4
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=419
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus;
member=NameOwnerChanged
string "org.syncevolution.syncevolution-4402"
string ":1.243"
string ""
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=3
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=ReleaseName
string "org.syncevolution.syncevolution-4402"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=4
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.freedesktop.Akonadi.upgrading"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=5
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.freedesktop.Akonadi.Control"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=6
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.freedesktop.Akonadi"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=7
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.Akonadi.Control"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=8
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Akonadi.Control'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=9
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentTypeAdded'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=10
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.Akonadi.Control"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=11
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentTypeRemoved'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=12
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceAdded'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=13
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceRemoved'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=14
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceStatusChanged'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=15
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceProgressChanged'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=16
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceNameChanged'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=17
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceWarning'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=18
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceError'"
method call sender=:1.243 -> dest=org.freedesktop.DBus serial=19
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string
"type='signal',sender='org.freedesktop.Akonadi.Control',path='/AgentManager',interface='org.freedesktop.Akonadi.AgentManager',member='agentInstanceOnlineChanged'"
method call sender=:1.243 -> dest=org.freedesktop.Akonadi.Control serial=20
path=/AgentManager; interface=org.freedesktop.Akonadi.AgentManager;
member=agentTypes
After that it lists all the akonadi agents.
I will upload the output of dbus-monitor for syncevo-http-server.
--
You are receiving this mail because:
You are on the CC list for the bug.