Onedrive fails to start (segmentation fault) on MACOS 10.15.7

Anonymous
2023-04-06T22:43:29+00:00

Here is the crash report

Process: OneDrive [2746]

Path: /Applications/OneDrive.app/Contents/MacOS/OneDrive

Identifier: com.microsoft.OneDrive-mac

Version: 23.061.0319 (23061.0319.0001)

App Item ID: 823766827

App External ID: 855933703

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: OneDrive [2746]

User ID: 505

Date/Time: 2023-04-06 18:32:19.216 -0400

OS Version: Mac OS X 10.15.7 (19H2026)

Report Version: 12

Anonymous UUID: 9F92E85D-E79C-C263-FB01-5B5D7CB5BC74

Sleep/Wake UUID: F457D4FB-5635-4569-B56D-F738AD821700

Time Awake Since Boot: 2400 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11

Termination Reason: Namespace SIGNAL, Code 0xb

Terminating Process: exc handler [2746]

VM Regions Near 0:

-->

\_\_TEXT                 000000010af4a000-000000010b39e000 [ 4432K] r-x/r-x SM=COW  /Applications/OneDrive.app/Contents/MacOS/OneDrive

Application Specific Information:

/Applications/OneDrive.app/Contents/MacOS/../Frameworks/PlaceholderManagerMB.framework/Versions/A/PlaceholderManagerMB

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0 com.microsoft.PlaceholderManagerMB 0x00000001173e6efb _GLOBAL__sub_I_MacboxSyncRootManager.cpp + 35

1 dyld 0x000000011a9f1353 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 535

2 dyld 0x000000011a9f175e ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40

3 dyld 0x000000011a9ec17b ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 493

4 dyld 0x000000011a9ec0e6 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 344

5 dyld 0x000000011a9ea234 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 188

6 dyld 0x000000011a9ea2d4 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 82

[...]

Thread 1:

0 libsystem_pthread.dylib 0x00007fff6cbb3b68 start_wqthread + 0

Thread 2:

0 libsystem_pthread.dylib 0x00007fff6cbb3b68 start_wqthread + 0

Thread 3:

0 libsystem_pthread.dylib 0x00007fff6cbb3b68 start_wqthread + 0

Thread 4:

0 libsystem_pthread.dylib 0x00007fff6cbb3b68 start_wqthread + 0

Thread 5:

0 libsystem_pthread.dylib 0x00007fff6cbb3b68 start_wqthread + 0

Thread 6:

0 libsystem_kernel.dylib 0x00007fff6caf0dea mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff6caf1160 mach_msg + 60

2 com.microsoft.OneDrive-mac 0x000000010b25a308 exception_server_thread + 211

3 libsystem_pthread.dylib 0x00007fff6cbb8109 _pthread_start + 148

4 libsystem_pthread.dylib 0x00007fff6cbb3b8b thread_start + 15

Thread 7:

0 libsystem_kernel.dylib 0x00007fff6caf3872 __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fff6cbb8425 _pthread_cond_wait + 698

2 libc++.1.dylib 0x00007fff69c88623 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93

3 com.microsoft.MSP2P 0x000000010beb788c std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 172

4 com.microsoft.MSP2P 0x000000010beb7743 Microsoft::Applications::Events::PlatformAbstraction::Event::wait(unsigned int) const + 99

5 com.microsoft.MSP2P 0x000000010beb7140 Microsoft::Applications::Events::PlatformAbstraction::WorkerThread::threadFunc(void*) + 672

6 com.microsoft.OneDriveTelemetryStableMac 0x000000011655920c void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(void*), void*> >(void*) + 44

7 libsystem_pthread.dylib 0x00007fff6cbb8109 _pthread_start + 148

8 libsystem_pthread.dylib 0x00007fff6cbb3b8b thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit):

rax: 0x0000000000000000 rbx: 0x00007f97bd813810 rcx: 0x00007f97bd813818 rdx: 0x00007ffee4cb5b58

rdi: 0x0000000000000001 rsi: 0x00007f97bd813000 rbp: 0x00007ffee4cafa00 rsp: 0x00007ffee4caf9f0

r8: 0x000000011aa6e330 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000

r12: 0x0000000000000000 r13: 0x00007ffee4cafa10 r14: 0x00007fff933a0be0 r15: 0x0000000000000000

rip: 0x00000001173e6efb rfl: 0x0000000000010283 cr2: 0x00007fff8ac167e8

Logical CPU: 0

Error Code: 0x02000131

Trap Number: 133

Binary Images:

[........]

External Modification Summary:

Calls made by other processes targeting this process:

task\_for\_pid: 0

thread\_create: 0

thread\_set\_state: 0

Calls made by this process:

task\_for\_pid: 0

thread\_create: 0

thread\_set\_state: 0

Calls made by all processes on this machine:

task\_for\_pid: 247449

thread\_create: 0

thread\_set\_state: 0

VM Region Summary:

ReadOnly portion of Libraries: Total=824.0M resident=0K(0%) swapped_out_or_unallocated=824.0M(100%)

Writable regions: Total=598.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=598.9M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)

=========== ======= =======

Activity Tracing 256K 1

Kernel Alloc Once 8K 1

MALLOC 201.4M 37

MALLOC guard page 16K 3

MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)

SQLite page cache 128K 2

STACK GUARD 56.0M 8

Stack 11.6M 8

VM_ALLOCATE 280K 14

__DATA 42.5M 414

__DATA_CONST 97K 6

__FONT_DATA 4K 1

__LINKEDIT 443.5M 63

__OBJC_RO 32.3M 1

__OBJC_RW 1908K 2

__TEXT 380.7M 402

__UNICODE 564K 1

mapped file 52.3M 58

shared memory 636K 15

=========== ======= =======

TOTAL 1.6G 1038

TOTAL, minus reserved VM space 1.2G 1038

Microsoft 365 and Office | OneDrive | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

57 answers

Sort by: Most helpful
  1. Anonymous
    2023-04-11T22:58:09+00:00

    Update:

    • After removing the Updater files, if you have OneDrive as a Login Item, it will fail to start.
    • The check for the Updater files is done when it is launched, offline or online
    • You must always start OneDrive with the Updater files included. After OneDrive starts, add them back then go online. It won't perform the check and will run.
    • If you want OneDrive as a Login Item, you have to ensure you are offline when your system boots up. In most times, this is uncommon and inconvenient.
    • I've chosen to manually start OneDrive in case I'm online, in which case I go offline until after it has started.
    • For convenience...move the Updater files, instead of deleting them. I moved mine to Documents/OneDrive. This ways if it does fail, these files can be copied back into the OneDrive.app Contents folder.

    Hey everyone - I got this to work! Following Robert's advice, but there's a step that you must make in order to get it to work.

    1. Download 23.054.0313.0003 stand alone
    2. After installing, go offline
    3. Run OneDrive and allow the initial setup screen to appear (it won't go past this initial step of entering your email account since you're offline) Remain offline.
    4. While the screen is still displayed (you'll see a problem message and a disable cloud icon shown at the top), select OneDrive.app and select Show Package Contents
    5. Remove the files Robert listed - anything with "updater".
    6. Now go online so you can connect. After already entering your email address - enter your account password. (Probably don't even need to enter your account email - just load the initial screen message and delete updater files while offline)
    7. Continue through the setup process and voila!

    Logic: the application likely checks for the updater files when it is launched. If they are deleted before running the application, it will fail. If they are removed after it is running, it doesn't check for these files and will remain running.

    I'm now successfully up and running and syncing files with 23.054. Now that the updater files had been removed. Hiopefully it will remain at this version. I've also disabled the stand-alone MS updater.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-04-28T16:58:54+00:00

    Hi,

    I have experienced the same problem (noticed after 14 days :-)), Catalina 10.15.7, was a little bit unhappy how Microsoft handle the situation, but in this (or on another forum) I found a link to https://hansbrender.com/all-onedrive-versions/#tabmac onedrive versions ... I know it is not a securite site (not MS), but I give it a try, and installed the latest preview version, at this time it was 23.086.0423.0001 from 04/25/23 ... and it works! ... so seems there si finally a solution. Hope this will help others.

    George (CZ)

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-04-11T09:23:58+00:00

    Hi, I also have the same problem. My problem was solved by installing the old version (version 23.054.0313.0003; https://support.microsoft.com/en-us/office/onedrive-release-notes-845dcf18-f921-435e-bf28-4e24b95e5fc0#OSVersion=Mac) and turning off Microsoft autoupdate to prevent updates to the latest version.

    Regards

    Hi R. Muhaimin,

    I have automatic updates disabled (launched via MS Word or directly via "Microsoft AutoUpdate.app") but this seems to work only for MS Office and Teams products but not for OneDrive. Where did you find the option to disable the automatic update for OneDrive?

    Thanks,

    Roland

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-04-10T22:58:27+00:00

    Same here. Version 23061.0319.0003 is the version I cannot get to launch. I've downloaded from the Apple Store and from MS site - it's the same useless version.

    Most software companies will provide access to older software versions, at least 4-5 iterations, just in case there's a such as this. However, I'm unable to locate any older version(s), not even one. Since I do pay for the yearly 365 subscription, this is very frustrating. I typically use OneDrive for one of my backup methods. I've uninstalled OneDrive and have removed the OneDrive folder from my MacBook. I'm now using browser-access only now.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-04-10T21:05:07+00:00

    Same problem !

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments