Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core-dump when "systemctl --user stop onedrive" #1609

Closed
4 tasks done
LWirmO opened this issue Aug 21, 2021 · 3 comments
Closed
4 tasks done

core-dump when "systemctl --user stop onedrive" #1609

LWirmO opened this issue Aug 21, 2021 · 3 comments

Comments

@LWirmO
Copy link

LWirmO commented Aug 21, 2021

Bug Report Details

Describe the bug
The log reports "core-dump" when using "systemctl --user stop onedrive" to stop the service

Application and Operating System Details:

  • xubuntu 20.04 LTS, Linux l7490 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • OneDrive Account Type Family subscription
  • Did you build from source or install from a package? used the opensuse.org apt according to the INSTALL.md instruction
  • OneDrive Application Version: Output of onedrive --version onedrive v2.4.13-1~np1
  • OneDrive Application Configuration: default
  • Explain your entire configuration setup - all default

To Reproduce
Steps to reproduce the behavior if not causing an application crash:

  1. Go to 'terminal'
  2. Run 'systemctl --user stop onedrive'
  3. See error

Application Log Output:

Aug 21 09:29:54 l7490 systemd[2450]: Stopping OneDrive Free Client...
Aug 21 09:29:54 l7490 systemd[2450]: onedrive.service: Main process exited, code=dumped, status=11/SEGV
Aug 21 09:29:54 l7490 systemd[2450]: onedrive.service: Failed with result 'core-dump'.
Aug 21 09:29:54 l7490 systemd[2450]: Stopped OneDrive Free Client.

Bug Report Checklist

  • Detailed description
  • Application and Operating System Details provided in full
  • Reproduction steps (if applicable)
  • Verbose Log Output from your error
  • [] Debug Log generated and submitted
@abraunegg
Copy link
Owner

abraunegg commented Aug 21, 2021

@LWirmO
Unfortunately this is not a bug or an issue I can solve.

The issue is caused by:

  1. Your choice of Linux - Ubuntu
  2. The package update policies of Ubuntu
  3. How packages are build for Ubuntu
  4. How the 'onedrive' package uses Ubuntu Universe LDC package ldc-1:1.20.1-1 for building the package for Ubuntu, on the OpenSuSE Build Service

The technical root cause here is the Ubuntu 'ldc' package version - see #1053 for further details.

Your options to resolve:

  1. Uninstall the 'onedrive' package and then build from source, following the correct instructions for your Ubuntu platform
  2. Lodge a bug with the package maintainer for 'onedrive' and 'ldc' referencing this bug: https://bugs.launchpad.net/ubuntu/+source/ldc/+bug/1895969
  3. Upgrade your Ubuntu to 21.x to determine if the issue still exists
  4. Dont use Ubuntu or any of its derivatives - use a different Linux distribution

Edit:
Confirmation that this is the same issue as #1053

As per the package build log file: https://build.opensuse.org/package/live_build_log/home:npreining:debian-ubuntu-onedrive/onedrive/xUbuntu_20.04/x86_64

[   55s] Processing triggers for libc-bin (2.31-0ubuntu9) ...
[   55s] [215/293] installing ldc-1:1.20.1-1
[   56s] [216/293] installing gcc-9-9.3.0-10ubuntu2

Ubuntu 21.x build uses a different / newer version of LDC:

[   46s] Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
[   46s] [213/288] installing ldc-1:1.24.0-2
[   46s] [214/288] installing libgssapi3-heimdal-7.7.0+dfsg-2

@abraunegg
Copy link
Owner

Updated documentation to explicitly reference this issue, as this is a known issue with the Ubuntu packages.

https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md#2-on-ubuntu-2004-the-client-will-segfault--core-dump-when-exiting

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants