Created an attachment (id=1548)
A simple dbus object service
Open up a terminal and run ./testserv.py.
Test the server by opening up a terminal and running python with the following
commands:
>>> import dbus
>>> b = dbus.Bus(dbus.Bus.TYPE_SESSION, False)
>>> s = b.get_service("com.test")
>>> o = s.get_object("/SimpleServ", "com.test")
>>> o.ping()
>>> o.threadone()
SimpleServ Segfaults for me on linux-686-smp when threading is enabled.
Commenting out all the thread initialization references makes the program run
properly, but calling o.threadone() doesn't work as expected (its execution
doesn't start until gtk.main() has ended).
Created an attachment (id=1548)
A simple dbus object service
Open up a terminal and run ./testserv.py.
Test the server by opening up a terminal and running python with the following dbus.Bus. TYPE_SESSION, False) "com.test" ) "/SimpleServ" , "com.test")
commands:
>>> import dbus
>>> b = dbus.Bus(
>>> s = b.get_service(
>>> o = s.get_object(
>>> o.ping()
>>> o.threadone()
SimpleServ Segfaults for me on linux-686-smp when threading is enabled.
Commenting out all the thread initialization references makes the program run
properly, but calling o.threadone() doesn't work as expected (its execution
doesn't start until gtk.main() has ended).