GNOME Bugzilla – Bug 615199
Invoking a DBus method with a callback as an argument never executes the callback
Last modified: 2021-05-25 17:32:08 UTC
Using seed and seed-examples HEAD Using WebKit 1.1.90 Running on Fedora 11 ******* The dbus-consolekit.js example ( http://git.gnome.org/browse/seed-examples/tree/dbus/dbus-consolekit.js ) currently hangs on my machine when I run it. I think this is because it never reaches Seed.quit() (the callback is never invoked) and just sits inside the GLib mainloop. I can't see any messages being sent over DBus (when I use dbus-monitor) and can't really get any useful debug information from seed (under gdb). I am able to call other DBus methods which don't take a callback (so the Banshee example works for me, for example). Sorry I can't provide anything more useful.
using seed HEAD using gobject-introspection 9.12 using ubuntu 10.10 ******************** Seems I have come across the same issue here and to be honest I'm a bit concerned that this bug is obviously still open. I can confirm though, that messages are sent over dbus as they are received on the remote end. However, there are no return values received. See the simple test snippets here: http://pastebin.com/MXQwj4aF http://pastebin.com/eGHKT1jT
Created attachment 177491 [details] [review] adds some debugging code Got this far after adding a the deubging patch and a small change - not calling dbus_message_iter_has_next, which it looks like should not be called anyway. Program received signal SIGSEGV, Segmentation fault. 0x00c1e0e6 in ?? () from /usr/lib/libwebkit-1.0.so.2 (gdb) bt full
+ Trace 225400
A partial fix should be in head. The pastebin examples do not work at present at it displays DBus error: org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.seed.Test" does not exist
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/seed/-/issues/ Thank you for your understanding and your help.