Invoking DBus method call crashes server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus-python (Ubuntu) |
Fix Released
|
Undecided
|
Matthias Klose |
Bug Description
Both a server and a client communicating via DBus are implemented in Python. Calling a method of the server object crashes the server program.
HOW TO REPRODUCE
1. Run the server
./server.py
2. Run the client
./client.py
RESULT
1. The server exits with:
Segmentation fault (core dumped)
2. The client exits with
Traceback (most recent call last):
File "./client.py", line 6, in ?
obj.
File "/var/lib/
ret = self._proxy_method (*args, **keywords)
File "/var/lib/
reply_message = self._connectio
File "dbus_bindings.
dbus_
REMARK
The crash does not happen if 'dbus-send' is used:
> dbus-send --dest=local.Server --type=method_call --print-reply /local/Server local.IServer.
method return sender=:1.42 -> dest=:1.43
int32 42
UBUNTU RELEASE
edgy
INSTALLED SOFTWARE
ii dbus 0.93-0ubuntu3 simple interprocess messaging system
un dbus-1 <none> (no description available)
un dbus-1-dev <none> (no description available)
ii dbus-1-doc 0.93-0ubuntu2 simple interprocess messaging system (docume
ii dbus-1-utils 0.93-0ubuntu2 simple interprocess messaging system (utilit
un dbus-glib-1-de <none> (no description available)
un dbus-qt-1 <none> (no description available)
un dbus-qt-1c2 <none> (no description available)
ii kdbus 0.8.6-0ubuntu2 D-BUS service browser for KDE
un libdbus-1-1 <none> (no description available)
ii libdbus-1-2 0.60-6ubuntu8 simple interprocess messaging system
ii libdbus-1-3 0.93-0ubuntu3 simple interprocess messaging system
ii libdbus-1-cil 0.63.git.20060 CLI binding for D-BUS interprocess messaging
ii libdbus-1-dev 0.93-0ubuntu3 simple interprocess messaging system (develo
un libdbus-cil <none> (no description available)
ii libdbus-glib-1 0.71-1ubuntu1 simple interprocess messaging system (GLib-b
ii libdbus-glib-1 0.71-1ubuntu1 simple interprocess messaging system (GLib i
un libdbus-glib-d <none> (no description available)
un libdbus-glib0- <none> (no description available)
un libdbus-qt-1-1 <none> (no description available)
ii libdbus-qt-1-1 0.62.git.20060 simple interprocess messaging system (Qt-bas
un libdbus0 <none> (no description available)
un libdbus0-dev <none> (no description available)
un libdbus0-doc <none> (no description available)
ii libnet-dbus-pe 0.33.2-0ubuntu Perl XS API to the dbus inter-application me
ii python-dbus 0.71-2ubuntu1 simple interprocess messaging system (Python
pn python2.4-dbus <none> (no description available)
un python2.5-dbus <none> (no description available)
Attached server and client code