-
-
Notifications
You must be signed in to change notification settings - Fork 862
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
Bug: Segfault when running 'onedrive --display-sync-status' when run as 2nd process #2103
Comments
@votdev Additionally, segfaulting with the Ubuntu|Debian packages is also a known issue due to how LDC is packaged and used for those distributions:
Regardless of this, please can you test the following PR to potentially resolve your issue:
To build the client successfully, you will need to also install the following dependencies as per https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md#dependencies-ubuntu-18x---ubuntu-22x--debian-9---debian-11---x86_64 To run the PR, you need to run the client from the PR build directory:
To install the PR, you will need to perform When running the PR, your version should be: |
@votdev |
Sorry, no. Will test asap. |
@votdev |
I have tested this PR - it solves the segv fault - some additional info: the segv fault only occurs when another instance of onedrive is running - when no other instance is running, the original version also works as expected: => My original version (from https://download.opensuse.org/ repo):
=> My PR version:
|
@bart-swennen |
Maybe not the right place to ask this, but is --display-sync-status intended to work when another instance is running ? Or is this solely meant as 'stand-alone' inquiry and is there another way to ask a running instance for its current state ? |
Please, search for status in this page. |
You can run it at the same time as a running instance, however with the following caveat:
To get the correct and accurate sync status, it is best to stop any existing process and run the command - then this is reporting the correct sync state 100% of the time. |
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. |
Describe the bug
When onedrive is running in monitor mode via systemd and a
onedrive --display-sync-status
is executed, a segfault occurs.Operating System Details
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Personal
What is your OneDrive Application Version
2.4.20
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
n/a
Steps to reproduce the behaviour
See above
Complete Verbose Log Output
Screenshots
n/a
Other Log Information or Details
Additional context
No response
The text was updated successfully, but these errors were encountered: