You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the refresh_token is expired, onedrive reports a "Segmentation fault":
...
ERROR: Check your configuration as your refresh_token may be empty or invalid. You may need to issue a --reauth and re-authorise this client.
Thread 1 "onedrive" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff7b89347 in std.net.curl.HTTP.Impl.~this() () from /usr/lib/x86_64-linux-gnu/libphobos2-ldc-shared.so.90
#2 0x00007ffff7ac2629 in _D6object__T7destroyVbi1TS3std3net4curl4HTTP4ImplZQBmFKQBeZv () from /usr/lib/x86_64-linux-gnu/libphobos2-ldc-shared.so.90
#3 0x00007ffff7bd6570 in _D3std8typecons__T10RefCountedTSQBe3net4curl4HTTP4ImplVEQCcQCb24RefCountedAutoInitializei1ZQCv6__dtorMFZv () from /usr/lib/x86_64-linux-gnu/libphobos2-ldc-shared.so.90
#4 0x00007ffff78a1757 in rt_finalize2 () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#5 0x00007ffff7888e75 in _D2gc4impl12conservativeQw15SmallObjectPool13runFinalizersMFNbMxAvZv () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#6 0x00007ffff788720b in _D2gc4impl12conservativeQw3Gcx13runFinalizersMFNbMxAvZv () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#7 0x00007ffff78872d1 in _D2gc4impl12conservativeQw14ConservativeGC__T9runLockedS_DQCeQCeQCcQCnQBs13runFinalizersMFNbMxAvZ2goFNbPSQDzQDzQDxQEi3GcxMxQBdZvS_DQEzQEzQExQFi9otherTimelS_DQFzQFzQFxQGi9numOtherslTQDaTxQDoZQFpMFNbKQDrKxQEfZv
() from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#8 0x00007ffff7888513 in _DThn16_2gc4impl12conservativeQw14ConservativeGC13runFinalizersMFNbMxAvZv () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#9 0x00007ffff78a88ac in _d_dso_registry () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#10 0x00005555555d5ceb in ?? ()
#11 0x00007ffff7fe0f6b in _dl_fini () at dl-fini.c:138
#12 0x00007ffff74a88a7 in __run_exit_handlers (status=-1, listp=0x7ffff764e718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#13 0x00007ffff74a8a60 in __GI_exit (status=<optimized out>) at exit.c:139
#14 0x00005555555fb60b in ?? ()
#15 0x0000555555643a67 in ?? ()
#16 0x00007ffff789d9dc in _D2rt6dmain212_d_run_main2UAAamPUQgZiZ6runAllMFZv () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#17 0x00007ffff789d7ef in _d_run_main2 () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#18 0x00007ffff789d65e in _d_run_main () from /usr/lib/x86_64-linux-gnu/libdruntime-ldc-shared.so.90
#19 0x00007ffff7486083 in __libc_start_main (main=0x55555564fda0, argc=3, argv=0x7fffffffdac8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdab8) at ../csu/libc-start.c:308
#20 0x00005555555d42ee in ?? ()
Please let me know if this is rather a bug in libphobos2
What are all your local file system partition types
N/A
How do you use 'onedrive'
just sync
Steps to reproduce the behaviour
Try to synchronize with an expired token
Complete Verbose Log Output
Using 'user' Config Dir: /.../.config/onedrive
Using 'system' Config Dir: /etc/onedrive
No user or system config file found, using application defaults
Checking Application Version ...
Initializing the OneDrive API ...
Configuring Global Azure AD Endpoints
Opening the item database ...
All operations will be performed in: /.../OneDrive
ERROR: Microsoft OneDrive API returned an error with the following message:
Error Message: HTTP request returned status code 400 (Bad Request)
Error Reason: AADSTS50078: Presented multi-factor authentication has expired due to policies configured by your administrator, you must refresh your multi-factor authentication to access '00000003-0000-0000-c000-000000000000'.
Trace ID: ...
Correlation ID: ...
Timestamp: 2022-07-06 05:30:44Z
Calling Function: acquireToken()
ERROR: Microsoft OneDrive API returned an error with the following message:
Error Message: HTTP request returned status code 401 (Unauthorized)
Error Reason: Access token is empty.
Error Timestamp: 2022-07-06T05:30:44
API Request ID: ...
Calling Function: init()
ERROR: Check your configuration as your refresh_token may be empty or invalid. You may need to issue a --reauth and re-authorise this client.
Segmentation fault
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
@centic9
Whilst a segmentation fault is not good - this is not an issue or bug with this client. Additionally, please note the following:
Your application version v2.4.19-ppa does not correspond with the supported packages installed from the OpenSuSE Build Service. Please uninstall that package and repository and follow https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md to install the client correctly, which for your version of Ubuntu is onedrive v2.4.19-1+np1
Describe the bug
When the refresh_token is expired, onedrive reports a "Segmentation fault":
Please let me know if this is rather a bug in libphobos2
Operating System Details
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Business | Office365
What is your OneDrive Application Version
2.4.19
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'
just sync
Steps to reproduce the behaviour
Try to synchronize with an expired token
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: