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 Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/899858

Title:
  regression in gvfs to connect/browse using obex

Status in GVFS:
  New
Status in OEM Priority Project:
  In Progress
Status in OEM Priority Project oneiric series:
  New
Status in OEM Priority Project precise series:
  In Progress
Status in “gvfs” package in Ubuntu:
  Confirmed
Status in “gvfs” source package in Oneiric:
  Confirmed
Status in “gvfs” source package in Precise:
  Confirmed
Status in “gvfs” package in Debian:
  New

Bug description:
  Action "browse file on devices" from bluetooth gnome applet is not working 
since upgrade to Oneiric
  Using same hardware configuration (PC + cell phone), it was working fine in 
natty.

  after correct pairing of devices (same hardware). The cell phone I
  connect to is obex capable. it is a Sony Ericsson W20i.

  $ gvfs-mount obex://[B8:F9:34:44:B4:10]
  Error mounting location: Connection refused
  $ obexfs -b B8:F9:34:44:B4:10 m
  $ ls m
  Phone memory
  $ 

  so obexfs is ok, but gvfs-backends has a pb.
  After mounting with obexfs, browsing in nautilus is ok.

  From the applet if I just try "Send file to device", I also get a
  "connection refused (111)" message.

  On the phone, the connexion is set as "always allow"

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gvfs-backends 1.10.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-14.23+kamal~fix~stuck~backlight4-generic 
3.0.9
  Uname: Linux 3.0.0-14-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Sun Dec  4 10:53:24 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  SourcePackage: gvfs
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to