Onedrive CLI client causes segmentation fault

Bug #1862595 reported by Kalle Tuulos
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
onedrive (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Ubuntu 18.04.4 LTS

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
onedrive:
  Installed: 1.1.20170919-2ubuntu2
  Candidate: 1.1.20170919-2ubuntu2
  Version table:
 *** 1.1.20170919-2ubuntu2 500
        500 http://fi.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen
I opened a new shell and typed "onedrive". It was supposed to synchronize my Onedrive directory, instead it just segfaulted.

4) What happened instead
user@machine:~$ onedrive
std.json.JSONException@../../../../src/libphobos/src/std/json.d(442): Key not found: lastModifiedDateTime
----------------
0x560724ce00b6 ???
 ???:0
0x560724d489ae ???
 ???:0
0x560724d47a5b ???
 ???:0
0x560724c7d4fa ???
 ???:0
0x560724c7ea7a ???
 ???:0
0x560724c7e46c ???
 ???:0
0x560724c74002 ???
 ???:0
0x560724c73a72 ???
 ???:0
0x560724dc78be ???
 ???:0
0x560724dc7a2e ???
 ???:0
0x560724dc7dea ???
 ???:0
0x560724dc7a2e ???
 ???:0
0x560724dc7bc0 ???
 ???:0
0x560724c72ea3 ???
 ???:0
0x7fe7506d7b96 __libc_start_main
 ???:0
0x560724c6ac99 ???
 ???:0
0xffffffffffffffff ???
 ???:0
Segmentation fault (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: onedrive 1.1.20170919-2ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-76.86-generic 4.15.18
Uname: Linux 4.15.0-76-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: LXDE
Date: Mon Feb 10 08:56:21 2020
Dependencies:
 gcc-8-base 8.3.0-6ubuntu1~18.04.1
 libc6 2.27-3ubuntu1
 libgcc1 1:8.3.0-6ubuntu1~18.04.1
 libsqlite3-0 3.22.0-1ubuntu0.2
InstallationDate: Installed on 2018-10-25 (472 days ago)
InstallationMedia: Lubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: onedrive
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kalle Tuulos (kalle-tuulos) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in onedrive (Ubuntu):
status: New → Confirmed
Revision history for this message
Pablo (pyabo) wrote :

Same issue here. Anyone found a workaround?

Revision history for this message
Nina Marwede (lynax) wrote :

Note that the version of the onedrive package in Bionic and even in Focal is quite outdated.

Workaround:

With Xubuntu 20.04 in a corporate environment, I successfully use the package from Debian Sid which is frequently updated, usually a few days after new source code releases.

The disadvantage is that I do this manually by checking for updates, downloading the package, and installing like "sudo gdebi-gtk onedrive_2.4.9-1_amd64.deb" then "systemctl --user daemon-reload" and "systemctl --user restart onedrive".

Similarly I also had to manually install the dependency libphobos2 from Debian Sid.

https://github.com/abraunegg/onedrive
https://packages.debian.org/sid/onedrive
https://packages.debian.org/sid/libphobos2-ldc-shared94

I often have network timeouts (with error messages sometimes hard to interpret) but this might be my personal problem. In general the software works fine and I'm thankful for this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.