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: Oldest
  1. 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
  2. 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
  3. Anonymous
    2023-04-17T07:23:33+00:00

    No way guys... no solution is working for me. :(

    The app freezes and closes itself.

    Reboot needed any time to make it work just once.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-04-17T10:46:49+00:00

    Unfortunately even when disabling my network while installing OneDrive and checking the Info.plist afterward, I can see the version as **23.061.0319.**The link **** https://go.microsoft.com/fwlink/?linkid=823060****clearly is downloading a different version.

    Anyone care to share their OneDrive.app via Google Drive or something?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-04-17T18:25:34+00:00

    Hi All,

    I just tried the new version, which is distributed via App Store 23.071.0402 but doesn't work either.

    Does somebody has a tipp how to suppress the automatic update of OneDrive forever without always deleting/ adding back...

    • OneDrive Updater.app
    • OneDriveUpdaterDaemon.xpc
    • StandaloneUpdater.app
    • StandaloneUpdaterDaemon.xpc

    ... and going online/ offline etc after every reboot to keep version 23.054.0313?

    Thanks,

    Roland

    Was this answer helpful?

    0 comments No comments