I did some more testings:

1. checked the source, there are two libdbus-glib functions locally
implemented in daemon/dbus-gmain.c, which are

  - dbus_connection_setup_with_g_main
  - dbus_server_setup_with_g_main

  as talked with seb128 and pitti, I did a trial building after renaming
these functions to local_*. gvfs-mount exited immediately with the error
message below:

  $ gvfs-mount obex://[00:1f:5c:01:ac:64]
  Error mounting location: DBus error org.freedesktop.DBus.Error.NoReply: 
Message did not receive a reply (timeout by message bus)

  Note this happened almost immediately, and followed by a crash report of 
gvfsd-obexftp, title of which being:
  "gvfsd-obexftp crashed with SIGSEGV in _dbus_message_new_from_gerror()

2. Confirmed that making libgvfsdaemon statically linked is enough to
solve this issue. Attached is the minimal change I used.

** Patch added: "fix-lp899858.patch"
   
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/899858/+attachment/2967266/+files/fix-lp899858.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/899858

Title:
  regression in gvfs to connect/browse using obex

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/899858/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to