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: Newest
  1. Anonymous
    2023-04-14T06:37:09+00:00

    I've blocked OneDrive update server by adding the following line to /etc/hosts:

    0.0.0.0. oneclient.sfx.ms
    

    Now it works without removing Updaters. Hope it will work for some time while I'm considering alternatives...

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-04-13T22:29:08+00:00

    After rebooting, and starting OneApp again...you must repeat the initial steps:

    1. Go offline
    2. Add back/move the Updater files in the Contents folder within OneDrive.app
    3. Start OneDrive and remain offline
    4. Move/delete the Updater files from Contents folder within OneDrive.app
    5. Go online

    I know...it is a bit of a process, and definitely a hack, but if you aren't rebooting often, it isn't so bad.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-04-13T22:26:31+00:00

    After rebooting, and starting OneApp again...you must:

    1. Go offline
    2. Add back/move the Updater files in the Contents folder within OneDrive.app
    3. Start OneDrive and remain offline
    4. Move/delete the Updater files from Contents folder within OneDrive.app
    5. Go online

    I know...it is a bit of a process, and definitely a hack, but if you aren't rebooting often, it isn't so bad. I'm still considering alternatives like Google services or just not using a cloud service for my backup and just use my external drive. Very frustrating. All this conversation in this thread and MS still hasn't chimed in. In fact, they'll likely ensure future versions can't be run at all using this hack. Ideally, I like to locate where in the code it does the check for Updater files and remove it.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-04-13T22:21:35+00:00

    I let mine run all day and it didn't stop. It worked until I had to reboot and start OneDrive again. Keep in mind, OneDrive syncs very slowly. I know because I had a few large proejcts, many files, and it is taking so long to complete syncing. I don't know why...it used to be much faster with older versions. Maybe you thought it had stopped but it was just syncing slowly? Did it pop up an error message?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2023-04-13T18:04:11+00:00

    It just spanned a day and then stopped to work... really disappointed! :(

    Was this answer helpful?

    0 comments No comments