Jump to content

Lion Preview.app crashing on launch


  • Please log in to reply
5 replies to this topic

#1
verdi1987

verdi1987

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
Is anyone else experiencing Preview.app crashing on launch? It crashes if I launch it directly or if it is opened by launching a file (JPG, PDF, etc.). I have an AMD 6850. QE/CI is working.

UPDATE: I determined that something in my user account is causing the crash. It does not crash with freshly created user accounts. I deleted the Preview preference files and caches, but it still crashes...

UPDATE 2: FIXED! I had a broken "Mail Downloads" symbolic link in ~/Library. I deleted it, and Preview.app now works.

Here is part of the dump:

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 file couldn’t be opened.

Application Specific Signatures:
sandbox creation failed: 1002

#2
eliotw

eliotw

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
I'm having the same problem with the same crash message for my login only.

My "Mail Downloads/" looked fine but I deleted the directory just to be sure and still have the issue.

Any other ideas what might be causing this ?

Thanks,
Eliot

Is anyone else experiencing Preview.app crashing on launch? It crashes if I launch it directly or if it is opened by launching a file (JPG, PDF, etc.). I have an AMD 6850. QE/CI is working.

UPDATE: I determined that something in my user account is causing the crash. It does not crash with freshly created user accounts. I deleted the Preview preference files and caches, but it still crashes...

UPDATE 2: FIXED! I had a broken "Mail Downloads" symbolic link in ~/Library. I deleted it, and Preview.app now works.

Here is part of the dump:

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 file couldn’t be opened.

Application Specific Signatures:
sandbox creation failed: 1002



#3
eliotw

eliotw

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
On my system the Downloads directory was a symbolic link to an external drive. Removing this symoblic link, running Preview, and then putting the link back fixed it. Now Preview starts properly.

Here's what I did:

$ ls -ld Downloads
lrwxr-xr-x 1 user user 30 May 22 21:11 Downloads -> /Volumes/Ext Mac HD/Downloads/
$ rm Downloads
< Ran Preview, then Quit>
$ ln -s "/Volumes/Ext Mac HD/Downloads/" Downloads

Now Preview starts w/o issue.

Others on the Apple Support forums are having similar issues and fixing it by recreating symbolic links.

#4
MrBungleBear

MrBungleBear

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Having the same issue, but error is slightly different:


Process: Preview [74171]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Identifier: com.apple.Preview
Version: 5.5 (719)
Build Info: Preview-719000000000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [286]

Date/Time: 2011-07-28 22:35:21.834 +0100
OS Version: Mac OS X 10.7 (11A511)
Report Version: 9

Interval Since Last Report: 80336 sec
Crashes Since Last Report: 6
Per-App Crashes Since Last Report: 4
Anonymous UUID: 8ECDA0B7-657B-45CD-9B18-4CAB9C5FE7CD

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: failed to resolve "~/Library/Containers/com.apple.Preview/Data/Downloads" after 32 tries


So, I wen to that dir and:

[codebox]macpro-x8:Data geoff$ ls -l
total 32
drwx------ 2 geoff geoff 68 28 Jul 21:49 Documents
lrwxr-xr-x 1 geoff geoff 21 28 Jul 21:49 Downloads -> ../../../../Downloads
drwx------ 22 geoff geoff 748 28 Jul 21:49 Library
lrwxr-xr-x 1 geoff geoff 18 28 Jul 21:49 Movies -> ../../../../Movies
lrwxr-xr-x 1 geoff geoff 17 28 Jul 21:49 Music -> ../../../../Music
lrwxr-xr-x 1 geoff geoff 20 28 Jul 21:49 Pictures -> ../../../../Pictures
macpro-x8:Data geoff$ cd ../../../..
macpro-x8:~ geoff$ ls -l
total 180200
drwxr-xr-x 6 geoff geoff 204 24 Sep 2010 Applications
-rw-r--r--@ 1 geoff geoff 81 6 Aug 2010 CTX.DAT
drwxr-xr-x 5 geoff geoff 170 13 Aug 2010 Citrix
drwxr--r-- 18 geoff geoff 612 16 Jun 10:06 Desktop
drwxr--r-- 95 geoff geoff 3230 16 Jun 10:06 Documents
lrwxr-xr-x 1 root geoff 10 12 Mar 2008 Downloads -> /Downloads
drwx------@ 11 geoff geoff 374 27 Jul 01:14 Dropbox
drwx------@ 72 geoff geoff 2448 28 Jul 21:49 Library
drwxr--r-- 40 geoff geoff 1360 16 Jun 10:06 Movies
drwxr--r-- 17 geoff geoff 578 16 Jun 10:06 Music
-rw-r--r-- 1 geoff geoff 92049408 22 Jun 2008 Parallels-Desktop-5608-Mac-uk-AQ.dmg
drwxr--r-- 15 geoff geoff 510 16 Jun 10:06 Pictures
drwxr-xr-x 4 geoff geoff 136 27 Oct 2003 Public
-rwxr--r-- 1 geoff geoff 5207 31 Jul 2007 SAULGEO.ID
drwxr-xr-x 9 geoff geoff 306 10 Feb 2008 Sites
-rw-r--r-- 1 geoff geoff 0 2 Aug 2005 Switch-In
-rwxr-xr-x 1 geoff geoff 55 22 Apr 2006 bcpi.sh
drwxr-xr-x 5 geoff geoff 170 9 Jul 2007 bin
drwxr-xr-x 17 geoff admin 578 24 Jun 2004 freetype-2.1.9
drwxr-xr-x@ 3 geoff geoff 102 1 Sep 2009 hob
drwxr-xr-x@ 2 geoff geoff 68 1 Sep 2009 hob_jportal
drwxr-xr-x 2 geoff geoff 68 30 May 2005 iChat_files
-rw-r--r-- 1 geoff geoff 2108 12 Oct 2007 java0.log
drwxr-xr-x 19 geoff geoff 646 13 Apr 2006 junk
-rw-r--r-- 1 root geoff 8 12 Nov 2005 loc.txt
drwxr-xr-x 4 geoff geoff 136 14 Jul 2008 misc
-rw-r--r-- 1 root wheel 85749 3 Dec 2004 my_mail_setup.gtar.gz
drwxr-xr-x 8 geoff geoff 272 11 Sep 2007 oracle_zips
drwxr-xr-x 5 geoff geoff 170 12 Aug 2004 perl
drwxr-xr-x 3 geoff geoff 102 30 Oct 2006 scriptbits
-rw-r--r-- 1 geoff geoff 0 2 Aug 2005 set-iPhoto-perms.command_20050802@004709
-rw-r--r-- 1 geoff geoff 37 17 Nov 2007 slingid.txt
-rwxr-xr-x 1 geoff geoff 62 2 Sep 2007 start_cga
-rwxr-xr-x 1 geoff geoff 17 2 Sep 2007 stop_cga
-rw-r--r-- 1 root geoff 40 12 Nov 2005 tmp1.txt
-rw-r--r-- 1 geoff geoff 81179 10 Mar 2008 touud
drwxr-xr-x@ 5 geoff geoff 170 8 Feb 18:48 viewone
drwxr-xr-x 7 geoff group 238 1 Dec 2004 work
macpro-x8:~ geoff$ cd /
macpro-x8:/ geoff$ ls -l
total 91101
drwxrwxr-x+ 174 root admin 5916 27 Jul 01:43 Applications
drwxr-xr-x 4 geoff admin 136 17 Mar 2004 Backup_catalogues
drwxrwxrwt 10 root admin 340 10 Dec 2007 DamagedFiles
drwxrwxr-x@ 2 root admin 68 6 Aug 2003 Desktop Folder
drwxrwxr-x@ 18 root admin 612 22 Mar 01:46 Developer
drwxrwxr-x@ 10 root admin 340 10 Dec 2007 Documents
drwxrwxrwx 25 root admin 850 27 Jul 09:00 Downloads
drwxr-xr-x 7 geoff admin 238 17 Dec 2006 Installer_Logs
drwxr-xr-x+ 73 root wheel 2482 27 Jul 00:07 Library
-rw-rw-rw-@ 1 geoff admin 31040608 8 Jul 2005 NAVMac800QSFile
drwxr-xr-x@ 2 root wheel 68 18 Jun 20:44 Network
drwxrwxr-x 4 root admin 136 14 Nov 2010 Resources
-rw-r--r--@ 1 ali admin 42 3 Jun 2008 Shockwave Log
drwxr-xr-x+ 4 root wheel 136 26 Jul 23:56 System
drwxrwxr-x@ 2 root admin 68 13 Apr 2004 Updaters
lrwxr-xr-x 1 root admin 60 12 Mar 2008 User Guides And Information -> /Library/Documentation/User Guides and Information.localized
drwxrwxrwx 12 root wheel 408 27 Jul 00:02 Users
drwxrwxrwt@ 10 root admin 340 28 Jul 22:32 Volumes
drwxr-xr-x 4 root admin 136 11 Sep 2007 app
drwxr-xr-x@ 39 root wheel 1326 26 Jul 23:53 bin
drwxrwxr-t@ 2 root admin 68 18 Jun 20:44 cores
dr-xr-xr-x 3 root wheel 4503 27 Jul 00:10 dev
lrwxr-xr-x@ 1 root wheel 11 26 Jul 23:54 etc -> private/etc
dr-xr-xr-x 2 root wheel 1 28 Jul 22:30 home
drwxrwxrwt@ 8 root wheel 272 26 Jul 23:17 lost+found
-rw-r--r--@ 1 root wheel 15565140 18 Jun 20:59 mach_kernel
drwxr-xr-x 3 geoff admin 102 19 Nov 2004 man
dr-xr-xr-x 2 root wheel 1 28 Jul 22:30 net
drwxr-xr-x@ 4 root admin 136 11 Sep 2007 opt
drwxr-xr-x@ 6 root wheel 204 27 Jul 00:02 private
drwxr-xr-x@ 62 root wheel 2108 26 Jul 23:55 sbin
lrwxr-xr-x@ 1 root wheel 11 26 Jul 23:54 tmp -> private/tmp
drwxrwxrwt 13 root staff 442 2 May 2005 tmp 1
-rw-r--r-- 1 geoff admin 44 13 Aug 2010 tthome.bif
drwxr-xr-x@ 13 root wheel 442 27 Jul 00:07 usr
lrwxr-xr-x@ 1 root wheel 11 26 Jul 23:55 var -> private/var
macpro-x8:/ geoff$
[/codebox]

So, everything looks fine, but it still keeps crashing with the same error... Any ideas?

G>

and, of course, I also did

[codebox]macpro-x8:~ geoff$ cd ~/Library/Containers/com.apple.Preview/Data/Downloads
macpro-x8:Downloads geoff$ ls -l
total 1111040
-rw-r--r--@ 1 geoff admin 19097562 22 Nov 2010 CitrixOnlinePlug-in_web11_2.dmg
-rw-r--r--@ 1 geoff admin 7271722 25 May 02:55 Growl-1-1.2.2.dmg
-rw-r--r--@ 1 geoff admin 7271722 25 May 02:55 Growl-1.2.2.dmg
-rw-r--r--@ 1 geoff admin 599040 7 Nov 2006 How to cut Toenails.ppt
-rw-r--r--@ 1 geoff admin 1906963 22 Mar 02:14 MailFollowUp_1-1.4.4.dmg.zip
-rw-r--r--@ 1 geoff admin 1910470 22 Mar 02:06 MailFollowUp_1.4.4 2.dmg
-rw-r--r--@ 1 geoff admin 1910470 22 Mar 02:06 MailFollowUp_1.4.4.dmg
-rw-r--r--@ 1 geoff admin 1906963 22 Mar 02:14 MailFollowUp_1.4.4.dmg.zip
-rw-r--r--@ 1 geoff admin 1586774 11 Jul 17:38 MailFollowUp_1.5.dmg
-rw-r--r--@ 1 geoff admin 1583214 11 Jul 17:54 MailFollowUp_1.5.dmg.zip
-rw-r--r--@ 1 geoff admin 219875273 16 Jun 10:38 ParallelsDesktop-parallels-en_US-6.0.12090.660720.dmg
-rw-r--r--@ 1 geoff admin 220974499 1 Jul 06:12 ParallelsDesktop-parallels-en_US-6.0.12092.670880.dmg
-rwxr-xr-x@ 1 geoff geoff 33458574 3 Feb 04:01 PersonalBrain_macos_6_0_6_4.dmg
-rw-r--r--@ 1 geoff admin 33221828 3 Feb 12:13 PersonalBrain_macos_6_0_6_4.zip
-rw-r--r--@ 1 geoff admin 4395 8 May 21:19 aikirei.gif
-rw-r--r--@ 1 geoff admin 6368952 23 Jun 05:05 install_flash_player_osx_intel-1.dmg
-rw-r--r--@ 1 geoff admin 6368952 23 Jun 05:05 install_flash_player_osx_intel.dmg
-rw-r--r--@ 1 geoff admin 1788 18 Jul 14:48 meeting-1.ics
-rw-r--r--@ 1 geoff admin 1788 18 Jul 14:48 meeting.ics
-rw-r--r--@ 1 geoff admin 1170728 22 Jul 22:06 xmarks_for_safari_1-1.3.6.dmg
-rw-r--r--@ 1 geoff admin 1150939 7 Apr 19:52 xmarks_for_safari_1.3.5.dmg
-rw-r--r--@ 1 geoff admin 1170728 22 Jul 22:06 xmarks_for_safari_1.3.6.dmg
macpro-x8:Downloads geoff$
[/codebox]

just to be sure, and that works fine too...

G>

#5
martinweiss

martinweiss

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
I have just installed 10.8 and now I am having a similar issue. The crash report looks slightly different each time.


Exception Type:  EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000106f964a2

VM Regions Near 0x106f964a2:
--> __TEXT                 0000000106f0f000-0000000107119000 [ 2088K] r-x/rwx SM=COW  /Applications/Preview.app/Contents/MacOS/Preview
    __DATA                 0000000107119000-0000000107187000 [  440K] rw-/rwx SM=COW  /Applications/Preview.app/Contents/MacOS/Preview

Any ideas? I can't use Preview at all, which is extremely annoying.

#6
martinweiss

martinweiss

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
I downloaded ML again and installed it, without transfering any files from my backup. I can't get rid of this problem which is extremely annoying. I've tried to repair permissions, delete the ~/Library/Containers/com.apple.Preview folder, but without any luck. There are no .plist files in ~/Library/Preferences which I find a bit strange. I'm not sure it's supposed to be like that. Any help would be greatly appreciated.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy