I'm unable to reproduce the bug, but I'm attaching the backport of the
patch that upstream has identified as resolving this issue. I've tested
the build and found no regressions on my side.

I've included the fix "Add Build-Depends: ca-certificates for build
tests (Closes: #1064744)" because I was unable to `sbuild` otherwise.

** Description changed:

- The new OneDrive integration is causing a sigfault when opening the My
- Files folder.
+ [ Impact ]
+ 
+ The GNOME integration with OneDrive does not work for some OneDrive accounts.
+ The gvfsd-onedrive process crashes when retrieving the list of remote files, 
making Nautilus unable to browse the OneDrive storage.
+ 
+ This was fixed upstream in libmsgraph-0 version 0.2.2.
+ 
+ [ Test Plan ]
+ 
+ 1. Sign in to Microsoft 365 using personal account
+ 2. Open Nautilus
+ 3. Click on your Microsoft account to mount the OneDrive storage
+ 4. Enter My Files
+ 5. Verify that Nautilus displays the files in OneDrive
+ 
+ [ Where problems could occur ]
+ 
+ libmsgraph-0 is only used by gvfs-onedrive.
+ A bug introduced by this patch could at worse break the OneDrive integration 
for more users than before.
+ With high confidence, this patch cannot introduce a regression that would 
lead to data loss. In any case, OneDrive is a cloud storage that keeps history 
of deleted files.
+ 
+ [ Original Bug Report ]
  
  Release information:
  No LSB modules are available.
  Description:  Ubuntu 24.04 LTS
  Release:      24.04
  
  Apt Cache:
  gvfs:
-   Installed: 1.54.0-1ubuntu2
-   Candidate: 1.54.0-1ubuntu2
-   Version table:
-  *** 1.54.0-1ubuntu2 500
-         500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 1.54.0-1ubuntu2
+   Candidate: 1.54.0-1ubuntu2
+   Version table:
+  *** 1.54.0-1ubuntu2 500
+         500 http://gb.archive.ubuntu.com/ubuntu noble/main amd64 Packages
+         100 /var/lib/dpkg/status
  
  Expected result:
  
  1. Sign in to Microsoft 365 using personal account
  2. Open Nautilus
  3. Mount OneDrive storage
  4. Enter My Files
  5. Nautilus displays files in OneDrive
  
  Actual result:
  
  1. Sign in to Microsoft 365 using personal account
  2. Open Nautilus
  3. Mount OneDrive storage
  4. Enter My Files
  5. Nautilus shows "This location could not be displayed. Sorry, could not 
display all the contents of "My Files": The connection is closed"
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gvfs 1.54.0-1ubuntu2
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Apr 29 18:03:59 2024
  InstallationDate: Installed on 2024-04-26 (3 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: gvfs
  UpgradeStatus: No upgrade log present (probably fresh install)
- --- 
+ ---
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 24.04
  InstallationDate: Installed on 2024-04-26 (4 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  Package: gvfs-backends 1.54.0-1ubuntu2
  PackageArchitecture: amd64
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Tags: noble
  Uname: Linux 6.8.0-31-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True

** Patch added: "msgraph_0.2.1-0ubuntu4.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/msgraph/+bug/2064147/+attachment/5850619/+files/msgraph_0.2.1-0ubuntu4.debdiff

** Also affects: gvfs (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: msgraph (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: msgraph (Ubuntu Noble)
       Status: New => In Progress

** Changed in: msgraph (Ubuntu)
       Status: In Progress => Fix Released

** No longer affects: gvfs (Ubuntu Noble)

** Changed in: msgraph (Ubuntu Noble)
    Milestone: None => noble-updates

** Changed in: msgraph (Ubuntu Noble)
     Assignee: (unassigned) => Alessandro Astone (aleasto)

** Changed in: msgraph (Ubuntu Noble)
   Importance: Undecided => Medium

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

Title:
  Unable to browse My Files using OneDrive integration

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to