Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Problem: mdworker(20190) deny mach-lookup com.apple.ls.boxd

Hey guys,

since a while now, the macbook pro freeze and the mouse switch to this cycle (using firefox)...

Here are the entries of the console after the freeze.


08.12.12 12:40:16,467 sandboxd[20205]: ([20190]) mdworker(20190) deny mach-lookup com.apple.ls.boxd


mdworker(20190) deny mach-lookup com.apple.ls.boxd


Process: mdworker [20190]

Path: /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker

Load Address: 0x10399d000

Identifier: mdworker

Version: ??? (???)

Code Type: x86_64 (Native)

Parent Process: launchd [447]


Date/Time: 2012-12-08 12:40:16.346 +0100

OS Version: Mac OS X 10.8.2 (12C60)

Report Version: 8


Thread 0:

0 libsystem_kernel.dylib 0x00007fff84270686 mach_msg_trap + 10

1 CoreFoundation 0x00007fff8ec8d803 __CFRunLoopServiceMachPort + 195

2 CoreFoundation 0x00007fff8ec92ee6 __CFRunLoopRun + 1078

3 CoreFoundation 0x00007fff8ec926b2 CFRunLoopRunSpecific + 290

4 CoreFoundation 0x00007fff8eca1371 CFRunLoopRun + 97

5 mdworker 0x00000001039a5ba9

6 libdyld.dylib 0x00007fff852b97e1 start + 0


Thread 1:

0 libsystem_c.dylib 0x00007fff85220eeb tiny_free_list_add_ptr + 378

1 libsystem_c.dylib 0x00007fff85219f12 szone_free + 2094

2 libdispatch.dylib 0x00007fff8da48695 _dispatch_cache_cleanup + 30

3 libdispatch.dylib 0x00007fff8da4a0ba _dispatch_mgr_thread2 + 61

4 libdispatch.dylib 0x00007fff8da49afd _dispatch_mgr_invoke + 134

5 libdispatch.dylib 0x00007fff8da499ee _dispatch_mgr_thread + 54


Thread 2:

0 libsystem_kernel.dylib 0x00007fff842706c2 semaphore_wait_trap + 10

1 libxpc.dylib 0x00007fff82ff5e1f xpc_connection_send_message_with_reply_sync + 127

2 LaunchServices 0x00007fff8db033ce send(LSBoxMessage&, LSBoxMessage&) + 28

3 LaunchServices 0x00007fff8db83d4b lsbox_preflightAppLaunch + 84

4 LaunchServices 0x00007fff8db0e341 _LSFindOrRegisterBundleNode + 857

5 LaunchServices 0x00007fff8db6ab02 _LSRegisterNode + 75

6 LaunchServices 0x00007fff8db16a0f _LSBundleCopyOrCheckNode + 1047

7 LaunchServices 0x00007fff8dafe5b6 _LSCopyLibraryItemURLs + 486

8 mdworker 0x00000001039cd014

9 libdispatch.dylib 0x00007fff8da4af01 _dispatch_call_block_and_release + 15

10 libdispatch.dylib 0x00007fff8da470b6 _dispatch_client_callout + 8

11 libdispatch.dylib 0x00007fff8da4847f _dispatch_queue_drain + 235

12 libdispatch.dylib 0x00007fff8da482f1 _dispatch_queue_invoke + 52

13 libdispatch.dylib 0x00007fff8da481c3 _dispatch_worker_thread2 + 249

14 libsystem_c.dylib 0x00007fff85200cab _pthread_wqthread + 404

15 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Thread 3:

0 libsystem_kernel.dylib 0x00007fff84270686 mach_msg_trap + 10

1 liblaunch.dylib 0x00007fff848e37c4

2 liblaunch.dylib 0x00007fff848e24d9 bootstrap_look_up3 + 69

3 libxpc.dylib 0x00007fff82ff3c21 _xpc_connection_bootstrap_look_up_slow + 371

4 libxpc.dylib 0x00007fff82ff2c82 _xpc_connection_init + 1062

5 libdispatch.dylib 0x00007fff8da470b6 _dispatch_client_callout + 8

6 libdispatch.dylib 0x00007fff8da4847f _dispatch_queue_drain + 235

7 libdispatch.dylib 0x00007fff8da482f1 _dispatch_queue_invoke + 52

8 libdispatch.dylib 0x00007fff8da48448 _dispatch_queue_drain + 180

9 libdispatch.dylib 0x00007fff8da482f1 _dispatch_queue_invoke + 52

10 libdispatch.dylib 0x00007fff8da481c3 _dispatch_worker_thread2 + 249

11 libsystem_c.dylib 0x00007fff85200cab _pthread_wqthread + 404

12 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Thread 4:

0 libsystem_kernel.dylib 0x00007fff842726d6 __workq_kernreturn + 10

1 libsystem_c.dylib 0x00007fff85200cb3 _pthread_wqthread + 412

2 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Thread 5:

0 libsystem_kernel.dylib 0x00007fff842726d6 __workq_kernreturn + 10

1 libsystem_c.dylib 0x00007fff85200cb3 _pthread_wqthread + 412

2 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Binary Images:

0x10399d000 - 0x1039f6ff7 mdworker (707.3) <105316D8-F5DF-3079-96EF-0EF0986EB053> /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker

0x7fff82fea000 - 0x7fff8300cff7 libxpc.dylib (140.41) <FAC04D8B-680E-325F-8F0C-DD69859D0E01> /usr/lib/system/libxpc.dylib

0x7fff84260000 - 0x7fff8427bff7 libsystem_kernel.dylib (2050.18.24) <C0535565-35D1-31A7-A744-63D9F10F12A4> /usr/lib/system/libsystem_kernel.dylib

0x7fff848e0000 - 0x7fff848e8fff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib

0x7fff851ea000 - 0x7fff852b6fe7 libsystem_c.dylib (825.25) <8CBCF9B9-EBB7-365E-A3FF-2F3850763C6B> /usr/lib/system/libsystem_c.dylib

0x7fff852b7000 - 0x7fff852baff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib

0x7fff8da45000 - 0x7fff8da5aff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib

0x7fff8dafa000 - 0x7fff8dbabfff com.apple.LaunchServices (539.7 - 539.7) <DA7C602E-5E01-31B8-925D-B45360CA089F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices

0x7fff8ec5e000 - 0x7fff8ee47fff com.apple.CoreFoundation (6.8 - 744.12) <EF002794-DAEF-31C6-866C-E3E3AC387A9F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation


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


08.12.12 12:40:16,529 sandboxd[20205]: ([20189]) mdworker(20189) deny mach-lookup com.apple.ls.boxd


mdworker(20189) deny mach-lookup com.apple.ls.boxd


Process: mdworker [20189]

Path: /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker

Load Address: 0x106809000

Identifier: mdworker

Version: ??? (???)

Code Type: x86_64 (Native)

Parent Process: launchd [113]


Date/Time: 2012-12-08 12:40:16.468 +0100

OS Version: Mac OS X 10.8.2 (12C60)

Report Version: 8


Thread 0:

0 libsystem_kernel.dylib 0x00007fff84270686 mach_msg_trap + 10

1 CoreFoundation 0x00007fff8ec8d803 __CFRunLoopServiceMachPort + 195

2 CoreFoundation 0x00007fff8ec92ee6 __CFRunLoopRun + 1078

3 CoreFoundation 0x00007fff8ec926b2 CFRunLoopRunSpecific + 290

4 CoreFoundation 0x00007fff8eca1371 CFRunLoopRun + 97

5 mdworker 0x0000000106811ba9

6 libdyld.dylib 0x00007fff852b97e1 start + 0


Thread 1:

0 libsystem_kernel.dylib 0x00007fff84272d16 kevent + 10

1 libdispatch.dylib 0x00007fff8da499ee _dispatch_mgr_thread + 54


Thread 2:

0 libsystem_kernel.dylib 0x00007fff84272d16 kevent + 10

1 libdispatch.dylib 0x00007fff8da489ee _dispatch_mgr_wakeup + 16

2 libdispatch.dylib 0x00007fff8da47e65 _dispatch_wakeup + 28

3 libdispatch.dylib 0x00007fff8da47e10 _dispatch_queue_push_list_slow2 + 33

4 libdispatch.dylib 0x00007fff8da47ecd _dispatch_wakeup + 132

5 libdispatch.dylib 0x00007fff8da48027 _dispatch_resume_slow + 17

6 libxpc.dylib 0x00007fff82ff5ff2 _xpc_connection_listen_for_reply + 198

7 libxpc.dylib 0x00007fff82ff5eff _xpc_connection_send_message_with_reply_f + 136

8 libxpc.dylib 0x00007fff82ff5e10 xpc_connection_send_message_with_reply_sync + 112

9 LaunchServices 0x00007fff8db033ce send(LSBoxMessage&, LSBoxMessage&) + 28

10 LaunchServices 0x00007fff8db83d4b lsbox_preflightAppLaunch + 84

11 LaunchServices 0x00007fff8db0e341 _LSFindOrRegisterBundleNode + 857

12 LaunchServices 0x00007fff8db6ab02 _LSRegisterNode + 75

13 LaunchServices 0x00007fff8db16a0f _LSBundleCopyOrCheckNode + 1047

14 LaunchServices 0x00007fff8dafe5b6 _LSCopyLibraryItemURLs + 486

15 mdworker 0x0000000106839014

16 libdispatch.dylib 0x00007fff8da4af01 _dispatch_call_block_and_release + 15

17 libdispatch.dylib 0x00007fff8da470b6 _dispatch_client_callout + 8

18 libdispatch.dylib 0x00007fff8da4847f _dispatch_queue_drain + 235

19 libdispatch.dylib 0x00007fff8da482f1 _dispatch_queue_invoke + 52

20 libdispatch.dylib 0x00007fff8da481c3 _dispatch_worker_thread2 + 249

21 libsystem_c.dylib 0x00007fff85200cab _pthread_wqthread + 404

22 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Thread 3:

0 libsystem_kernel.dylib 0x00007fff84270686 mach_msg_trap + 10

1 liblaunch.dylib 0x00007fff848e37c4

2 liblaunch.dylib 0x00007fff848e24d9 bootstrap_look_up3 + 69

3 libxpc.dylib 0x00007fff82ff3c21 _xpc_connection_bootstrap_look_up_slow + 371

4 libxpc.dylib 0x00007fff82ff2c82 _xpc_connection_init + 1062

5 libdispatch.dylib 0x00007fff8da470b6 _dispatch_client_callout + 8

6 libdispatch.dylib 0x00007fff8da4847f _dispatch_queue_drain + 235

7 libdispatch.dylib 0x00007fff8da482f1 _dispatch_queue_invoke + 52

8 libdispatch.dylib 0x00007fff8da48448 _dispatch_queue_drain + 180

9 libdispatch.dylib 0x00007fff8da482f1 _dispatch_queue_invoke + 52

10 libdispatch.dylib 0x00007fff8da481c3 _dispatch_worker_thread2 + 249

11 libsystem_c.dylib 0x00007fff85200cab _pthread_wqthread + 404

12 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Thread 4:

0 libsystem_kernel.dylib 0x00007fff842726d6 __workq_kernreturn + 10

1 libsystem_c.dylib 0x00007fff85200cb3 _pthread_wqthread + 412

2 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Thread 5:

0 libsystem_kernel.dylib 0x00007fff842726d6 __workq_kernreturn + 10

1 libsystem_c.dylib 0x00007fff85200cb3 _pthread_wqthread + 412

2 libsystem_c.dylib 0x00007fff851eb171 start_wqthread + 13


Binary Images:

0x106809000 - 0x106862ff7 mdworker (707.3) <105316D8-F5DF-3079-96EF-0EF0986EB053> /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker

0x7fff82fea000 - 0x7fff8300cff7 libxpc.dylib (140.41) <FAC04D8B-680E-325F-8F0C-DD69859D0E01> /usr/lib/system/libxpc.dylib

0x7fff84260000 - 0x7fff8427bff7 libsystem_kernel.dylib (2050.18.24) <C0535565-35D1-31A7-A744-63D9F10F12A4> /usr/lib/system/libsystem_kernel.dylib

0x7fff848e0000 - 0x7fff848e8fff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib

0x7fff851ea000 - 0x7fff852b6fe7 libsystem_c.dylib (825.25) <8CBCF9B9-EBB7-365E-A3FF-2F3850763C6B> /usr/lib/system/libsystem_c.dylib

0x7fff852b7000 - 0x7fff852baff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib

0x7fff8da45000 - 0x7fff8da5aff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib

0x7fff8dafa000 - 0x7fff8dbabfff com.apple.LaunchServices (539.7 - 539.7) <DA7C602E-5E01-31B8-925D-B45360CA089F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices

0x7fff8ec5e000 - 0x7fff8ee47fff com.apple.CoreFoundation (6.8 - 744.12) <EF002794-DAEF-31C6-866C-E3E3AC387A9F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation


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


08.12.12 12:40:16,000 kernel[0]: Sandbox: sandboxd(20205) deny mach-lookup com.apple.coresymbolicationd


Maybe some of you might know an answer for this problem.


Thanks a lot.

MacBook Pro, OS X Mountain Lion (10.8.2), SAMSUNG 830 SSD, 8 GB RAM

Posted on Dec 8, 2012 4:46 AM

Reply
17 replies

Dec 27, 2012 10:19 AM in response to baltwo

Try this:


  1. Restart your computer in safe mode (read that link for more info about what it will do.) This is done by restarting as normal from the Apple menu, then holding down shift after you hear the Apple noise on startup. Note, you must wait to hold down shift until after the Apple noise has started. As proof that you're loading into safe mode, you'll see a little progress bar beneath the Apple and you'll have to wait a while.
  2. Once the wait is over, you can log into OSX, but since you're still in safe mode you'll want to restart again, this time without holding shift.
  3. Log in again, check your Console -- if this worked, the error should be gone.

See: http://www.princeton.edu/~jcjb/docs/osx_error_fix/


A simple solution that worked for me.


Cheers

Jan 3, 2013 9:59 AM in response to baltwo

baltwo wrote:


Those are Spotlight indexing crashes, not freezes. AFAICT, theyre due to crappy sandboxing in ML. File a bug reportwith Apple. For more on crashes, see TN 2123 CrashReport Decipherer.


Actually, if you look closely, you'll see that they're neither crashes (.crash) nor hangs (.hang).


Here's what's reported in Console.app:


1/3/2013 11:01:30.601 AM mdworker[12719]: Unable to talk to lsboxd

1/3/2013 11:01:30.946 AM sandboxd[12721]: ([12719]) mdworker(12719) deny mach-lookup com.apple.ls.boxd

The second line has an "attachment" icon which you can click to get the full report, which is saved in an auxiliary document at:


/private/var/log/asl/AUX.2013.01.03/796282


Here's the contents (minus the backtrace information) of that asl (Apple System Log) auxiliary document:


mdworker(12719) deny mach-lookup com.apple.ls.boxd


Process: mdworker [12719]

Path: /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker

Load Address: 0x10817a000

Identifier: mdworker

Version: ??? (???)

Code Type: x86_64 (Native)

Parent Process: launchd [340]


Date/Time: 2013-01-03 11:01:30.905 -0500

OS Version: Mac OS X 10.8.2 (12C60)

Report Version: 8

Compare that with a crash log (.crash) which specifies a Crashed Thread number as well as the Exception Type and Exception Codes:


Process: AppleScript Editor [88791]

Path: /Applications/Utilities/AppleScript Editor.app/Contents/MacOS/AppleScript Editor

Identifier: com.apple.ScriptEditor2

Version: 2.5 (138)

Build Info: ScriptEditorX-138000000000000~5

Code Type: X86-64 (Native)

Parent Process: launchd [344]

User ID: 501


Date/Time: 2013-01-01 06:05:30.986 -0500

OS Version: Mac OS X 10.8.2 (12C60)

Report Version: 10


Crashed Thread: 8


Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffffffffff8


So, it's not a crash, but just a report of a sandboxing violation. It is likely the backtrace information that makes it look so similar to a crash, but the backtrace information serves the same purpose in both cases: to provide the contextual information about what lead up to the event being reported. (In the case of a crash log, there will be one Thread that is listed as Crashed).


Anyway, if it isn't already obvious, I'm experiencing the same logging to Console about this issue, and a Google search led me here.


From what I've gathered, you can apparently fix the issue by restarting in Safe Mode, then restarting normally. That appears to delete some cache files inside the "secure" temporary items and caches folders, which are located in /private/var/folders/, that are somehow responsible for this issue.


Unfortuanately, I don't think I can start up in Safe Mode, since I don't have a recovery partion, because my Mountain Lion installation is spread across 2 volumes in a RAID 0 setup.


I'm still in the process of researching this, and need to reboot now to try creating an external flash drive with a ML installation + Recovery Partition.

Mar 14, 2013 10:05 AM in response to baltwo

baltwo wrote:


You say that, but I don't see any correlation. I still suspect it's due to the RAID configuration.

It has nothing to do with RAID - it is a sandbox issue. You can modify the /System/Library/Sandbox/Profiles/system.sb file to allow lsboxd and coresymbolicationd to get rid of errors. Make a backup of system.sb first, then add this to end of system.sb file and reboot your system:


;;; MDWorker Fix

(allow mach-lookup

(global-name "com.apple.ls.boxd")

(local-name "com.apple.ls.boxd")

(global-name "com.apple.coresymbolicationd")

(local-name "com.apple.coresymbolicationd"))

Mar 15, 2013 4:48 AM in response to baltwo

Basically this error:


08.12.12 12:40:16,467 sandboxd[20205]: ([20190]) mdworker(20190) deny mach-lookup com.apple.ls.boxd


Shows the ML sandbox daemon is blocking mdworker from indexing.


Also -- I should have mentioned earlier that I added the lines for coresymbolicationd because I was having similar error messages for that as well. You might want to check your console to see if you get those messages:


3/10/13 10:57:08.000 AM kernel[0]: Sandbox: sandboxd(785) deny mach-lookup com.apple.coresymbolicationd


If not, and your just having problems with com.apple.ls.boxd, then just add this to end of system.sb file:


;;; MDWorker Fix

(allow mach-lookup

(global-name "com.apple.ls.boxd")

(local-name "com.apple.ls.boxd"))

Mar 24, 2013 11:23 PM in response to joekljk

joekljk wrote:

If…your just having problems with com.apple.ls.boxd, then just add this to end of system.sb file:


;;; MDWorker Fix

(allow mach-lookup

(global-name "com.apple.ls.boxd")

(local-name "com.apple.ls.boxd"))

With those errors, better that Apple fix the muck up their p***poor sandboxing implementation, than I mess with that file. I've reported both the deny mach and deny file issues to Apple; neither have been answered or solved.

Problem: mdworker(20190) deny mach-lookup com.apple.ls.boxd

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.