Skip to content

Instantly share code, notes, and snippets.

@shadeslayer
Created May 11, 2011 13:50
Show Gist options
  • Select an option

  • Save shadeslayer/966470 to your computer and use it in GitHub Desktop.

Select an option

Save shadeslayer/966470 to your computer and use it in GitHub Desktop.
shadeslayer@saphira /media/Data/SyncEvolution/build » cd
shadeslayer@saphira ~ » ./setup.sh
shadeslayer@saphira ~ » syncevo-dbus-server
[INFO] syncevo-dbus-server: ready to run
[1] 6357 segmentation fault syncevo-dbus-server
shadeslayer@saphira ~ » gdb syncevo-dbus-server 139 ↵
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /media/Data/SyncEvolution/dist/libexec/syncevo-dbus-server...rdone.
(gdb) run
Starting program: /media/Data/SyncEvolution/dist/libexec/syncevo-dbus-server
[Thread debugging using libthread_db enabled]
^[[INFO] /media/Data/SyncEvolution/dist/libexec/syncevo-dbus-server: ready to run
Program received signal SIGSEGV, Segmentation fault.
0x000000000053dcce in do_getall (connection=0xa3b170, message=<value optimized out>, user_data=0xa4fa60) at ../../../syncevolution/src/gdbus/object.c:493
warning: Source file is more recent than executable.
493 for (property = interface->properties; property->name; property++) {
(gdb) t
[Current thread is 1 (Thread 0x7ffff370f9a0 (LWP 6744))]
(gdb) bt
#0 0x000000000053dcce in do_getall (connection=0xa3b170, message=<value optimized out>, user_data=0xa4fa60)
at ../../../syncevolution/src/gdbus/object.c:493
#1 properties_getall (connection=0xa3b170, message=<value optimized out>, user_data=0xa4fa60) at ../../../syncevolution/src/gdbus/object.c:566
#2 handle_message (connection=0xa3b170, message=<value optimized out>, user_data=0xa4fa60) at ../../../syncevolution/src/gdbus/object.c:597
#3 0x000000371661ca01 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#4 0x000000371660eb10 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#5 0x000000000053caa5 in queue_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>)
at ../../../syncevolution/src/gdbus/mainloop.c:91
#6 0x0000003718a42bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x0000003718a433a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x0000003718a439f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00000000004fc4fc in SyncEvo::DBusServer::run (this=0x7fffffffdc80) at ../../syncevolution/src/syncevo-dbus-server.cpp:5742
#10 0x000000000050365a in main (argc=1, argv=0x7fffffffe308, envp=<value optimized out>) at ../../syncevolution/src/syncevo-dbus-server.cpp:6872
(gdb)
============================================================================================================================
shadeslayer@saphira /media/Data/SyncEvolution/build » gdbus introspect -e -o /org/syncevolution/Server -d org.syncevolution 1 ↵
node /org/syncevolution/Server {
interface org.freedesktop.DBus.Introspectable {
methods:
Introspect(out s arg_0);
signals:
properties:
};
interface org.freedesktop.DBus.Properties {
methods:
Get(in s arg_0,
in s arg_1,
out v arg_2);
Set(in s arg_0,
in s arg_1,
in v arg_2);
GetAll(in s arg_0,
out a{sv} arg_1);
signals:
properties:
};
interface org.syncevolution.Server {
methods:
GetCapabilities();
GetVersions();
Attach();
Detach();
EnableNotifications(in s arg_0);
DisableNotifications(in s arg_0);
Connect(in a{ss} arg_0,
in b arg_1,
in s arg_2,
out o arg_3);
StartSession(in s arg_0,
out o arg_1);
StartSessionWithFlags(in s arg_0,
in as arg_1,
out o arg_2);
GetConfigs(in b arg_0,
out as arg_1);
GetConfig(in s arg_0,
in b arg_1,
out a{sa{ss}} arg_2);
GetReports(in s arg_0,
in u arg_1,
in u arg_2,
out aa{ss} arg_3);
CheckSource(in s arg_0,
in s arg_1);
GetDatabases(in s arg_0,
in s arg_1,
out a(ssb) arg_2);
CheckPresence(in s arg_0,
out s arg_1,
out as arg_2);
GetSessions(out ao arg_0);
InfoResponse(in s arg_0,
in s arg_1,
in a{ss} arg_2);
signals:
SessionChanged(o arg_0,
b arg_1);
TemplatesChanged();
ConfigChanged();
Presence(s arg_0,
s arg_1,
s arg_2);
InfoRequest(s arg_0,
o arg_1,
s arg_2,
s arg_3,
s arg_4,
a{ss} arg_5);
LogOutput(o arg_0,
s arg_1,
s arg_2);
properties:
};
};
shadeslayer@saphira /media/Data/SyncEvolution/build »
============================================================================================================================
shadeslayer@saphira ~ » mdbus2 org.syncevolution /org/syncevolution/Server GetCapabilities
** (mdbus2:11379): CRITICAL **: string_substring: assertion `self != NULL' failed
** (mdbus2:11379): CRITICAL **: string_get_length: assertion `self != NULL' failed
process 11379: arguments to dbus_message_new_method_call() were incorrect, assertion "method != NULL" failed in file dbus-message.c line 1199.
This is normally a bug in some application using the D-Bus library.
process 11379: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "message != NULL" failed in file dbus-connection.c line 3525.
This is normally a bug in some application using the D-Bus library.
** (mdbus2:11379): CRITICAL **: formatMessage: assertion `msg != NULL' failed
** (mdbus2:11379): CRITICAL **: string_to_string: assertion `self != NULL' failed
[1] 11379 segmentation fault mdbus2 org.syncevolution /org/syncevolution/Server GetCapabilities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment