About | Buy Stuff | Industry Watch | Learning Curve | Products | Search | Twitter
Home » Industry Watch » The TechnologicalHall of Monkeys) (» Heroes Banquet)

No Preview Sandbox

The sky is falling. This time it's for real.


Buy It

Try It

Oops!

What happened here?

Process:         Preview [1349]
Path:            /Applications/Preview.app/Contents/MacOS/Preview
Identifier:      com.apple.Preview
Version:         5.5.2 (719.25)
Build Info:      Preview-719025000000000~8
Code Type:       X86-64 (Native)
Parent Process:  launchd [69]

Date/Time:       2012-07-04 17:35:39.372 +0200
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

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

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
dyld: launch, running initializers
/usr/lib/libSystem.B.dylib
xpchelper reply message validation: sandbox creation failed: 1002
Container object initialization failed: The operation couldn't be completed. Permission denied

Application Specific Signatures:
sandbox creation failed: 1002

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libxpc.dylib                  	0x00007fff8c49f267 runtime_init + 823
1   libdispatch.dylib             	0x00007fff907713f0 dispatch_once_f + 53
2   libxpc.dylib                  	0x00007fff8c49faf5 _xpc_runtime_set_domain + 285
3   libxpc.dylib                  	0x00007fff8c49cf3d _libxpc_initializer + 452
4   libSystem.B.dylib             	0x00007fff8964ce7e libSystem_initializer + 222
5   dyld                          	0x00007fff6443dda6 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 218
6   dyld                          	0x00007fff6443daf2 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 46
7   dyld                          	0x00007fff6443b2e4 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 260
8   dyld                          	0x00007fff6443b27d ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 157
9   dyld                          	0x00007fff6443b27d ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 157
10  dyld                          	0x00007fff6443c0b7 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 59
11  dyld                          	0x00007fff644314dd dyld::initializeMainExecutable() + 206
12  dyld                          	0x00007fff6443560b dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**) + 1852
13  dyld                          	0x00007fff6442f059 _dyld_start + 49

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000000000000a2  rbx: 0x00007fff6442afd0  rcx: 0x00007fff6442b072  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x00007fff6442a268  rbp: 0x00007fff6442c020  rsp: 0x00007fff6442a730
   r8: 0x00007fff8a4bdf48   r9: 0x0000000000000092  r10: 0x0000000000000000  r11: 0x00007fff6442aff4
  r12: 0x00007fb352c09030  r13: 0x00007fb352c08a00  r14: 0x00007fb352c08c70  r15: 0x000000000000000f
  rip: 0x00007fff8c49f267  rfl: 0x0000000000010202  cr2: 0x00007fff64429ff8
Logical CPU: 0

'Sandbox creation' depends on getting into ~/Library/Containers where 10.7 promises to protect us all from the slings and arrows of outrageous fortune that continually befall Microsoft.

But if poor Preview and his friends can't get in there - well they weren't prepared for that!

As if the Cupertino neophytes never heard of that cornerstone of computer design known as 'degrading gracefully'.

'Sandbox' is a concept for application environments, not programmers.

'Fault-tolerance or graceful degradation is the property that enables a system (often computer-based) to continue operating properly in the event of a failure in one or more of its components. If operating quality decreases at all, the decrease is proportional to the severity of the failure - as compared to a naïvely-designed system in which even a small failure can cause total breakdown.'
 - Wikipedia

See Also
Wikipedia: Fault-tolerant system
Developers Workshop: Apple Rooting Their Own Systems?
Developers Workshop: Xcode 4.3.3 FileMerge

About | Buy Stuff | Industry Watch | Learning Curve | Products | Search | Twitter
Copyright © Rixstep. All rights reserved.