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

Aperture 3.2 upgrade (from 3.1.3) crash continuously

Upgraded today from Aperture 3.1.3 to 3.2 and running a small test on a library of 10 Canon CR2 Raw images, but having Aperture 3.2 crash from the start.


I have repaired permissions, repaired database, rebuild database, created a new library etc. and nothing seems to help!


Yes, even tried a blank brand new library created in Aperture 3.2 - no luck. Can not do anything - sometimes I might even get to open an image full screen before it crash...?


As per usual I do not get a response from Apple so will try getting rid of Nik Software plugins and BorderFX, but this is going rapidly in the same direction as Adobe software experience for me.


Regards

"Again not a happy customer after an upgrade...???"


BTW: Running on iMac with OS 10.6.8 and all the latest patches installed

iMac, Mac OS X (10.6.8), iMac Core Duo 2006

Posted on Oct 12, 2011 9:22 PM

Reply
182 replies

Oct 12, 2011 9:33 PM in response to wacko's

those plugins might be incompatible. Happens all the time when the hosting app is updated.


You could try launching Aperture in 32bit mode, see if that helps , "get-info" on the app's icon and check "run in 32bit compatibility mode".


You could also trash the preferences and reset Aperture to factory values : /USER/Library/preferences - look for com.apple.aperture.plist, that holds the settings for the app that might have been borked,


I updated from 3.1.3 to 3.2 in OSX 10.7.2 and all is working. ( I don't have plugins, only presets from 3rd parties ) So your experience is not the default.

Oct 12, 2011 10:28 PM in response to Sjazbec

Thanks Sjazbec, appreciate your suggestions.


Unfortunately none of the suggestions worked:

1. iMac Core Duo is a 32bit CPU, so I am running in 32bit mode

2. Deleted all Aperture preferences - still crashing

3. Deleted all plugins - still crashing

4. I have had upgrade issues ever since Aperture v2 to v3 and followed similar threads in the discussions


I hope I can still downgrade if all else fail and no viable suggestion / solution comes around. Fortunately I have learned my lessons from past experiences and did this on a spare iMac, and not my main Aperture library.

Oct 13, 2011 5:59 AM in response to wacko's

I get the same problem. But i found the cause, and I did send a bug report. Unfortunately, you are (as me) out of luck.


It appears Aperture 3.2 is using SSE3 extensions, specifly aperture crashes when trying to use the 'palignr' instruction. Those of us with Intel core duo processors do not have SSE3, and the application will crash if it uses any instructions that the CPU does not recognize. (Illegal/Bad instruction)


The only chance we have is

A) Downgrade, both application and any updated Library.

B) make Apple support Intel Core Duo again. I believe it should be quite easy. Just set the correct build flags, and do a new release. I doubt any code changes are the cause of this. Lets hope 🙂



I do have a few plugins, theoreticly it be might be because of them. But a quick test would be to simply remove them. I doubt it would change anything.

Oct 13, 2011 6:19 AM in response to frej

Thanks, you definitely investigated the issue further than what I got so far.


Adamski commented on JPEG and RAW, so this is what I have found:

1. I deleted all my Aperture preferences and plugins

2. I deleted my previous library, opened Aperture, thereby forcing it to have a clean environment

- no remnants from previous libraries / settings / preferences

3. Then import some JPEG's


Guess what - absolute joy, no issues.


4. Then put ALL my plugins back.


Guess what - absolute joy, no issues.


5. Tried to import a single RAW...????!!!! (that is Canon CR2 from EOS5D back in 2006)


Guess what - it crashed by simply clicking on the image or just waiting long enough (it will eventually crash).


So yes, I believe some Apple / Aperture / Intel / XCode RAW processing is stuffed....


I was silently hoping it is just my environment, but it seems Apple like Adobe decided that the client now performs the testing of the applications. This since version 3.0...


Apple, please fix and remember this for future releases!

Oct 13, 2011 6:28 AM in response to Frank Caggiano

I'm running on a Intel Core 2 duo Macbook and have not had any problems. It is a Macbook 5.1

Yes and then you have SSE3. Blame intel marketing. Intel Core Duo is _not_ the same as Intel Core 2 Duo. I have an old Macbook pro 1,1


Where speificaly did you come up with this diagnoses?


Well you asked.

1) First started aperture at commandline. It only gave me 'Illegal Instruction'. But it was a hint.

2) Run aperture in a debugger (i used gdb). It freezes the program when crashing allowing me to inspect quite a bit.

I got this:

Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.

[Switching to process 2987 thread 0xcc03]

0x0162b399 in DGConvertFromRGB16ToRGBA16 ()

3)So now we have a function and code address.

But gdb can print the actual instructions, by simply reading the binary code.

So:

'disassemble DGConvertFromRGB16ToRGBA16'

prints a page full of instructions, and we need to know which caused the problem, we have the address but an offset number is easier for humans (at least me) than hex addresses.

4)

'info registers'

gives us among others:

eip 0x162b399 0x162b399 <DGConvertFromRGB16ToRGBA16+161>

Using the offset address from data in 3)

0x0162b399 <DGConvertFromRGB16ToRGBA16+161>: palignr $0x8,%xmm2,%xmm4


And the offending instruction is palignr. Quick googling show that it is part of SSE3.

Note that the hex adress matches as well, so if i was really clever i had just used that 😟, they are ordered as well 🙂


Sometimes a Msc in comp.sci helps 😉

Oct 13, 2011 6:29 AM in response to wacko's

Just did my first imports from a Canon 40d RAW images into 3.2 and still no problems. This is on an iMac again Core 2 duo.


So I'm not saying you folks aren't having problems but it isn't as simple as being on a core 2 duo system or importing RAW files.


You should go back to the priestine state and before adding back in the plugins do the import that's causing the crash, see if that changes anything.

Oct 13, 2011 6:32 AM in response to wacko's

Apple iMac Intel Core Duo is 32 bit - so I think you might be lucky if the issue does eventually revolves around CPU / Xcode compiler specs.


The application is a universal binary here and runs finely on a 32bit cpu until it crashes a few seconds in. A 64bit application would crash _immediately_ on a 32bit cpu.

Oct 13, 2011 6:40 AM in response to adamski faulkner

Great post frej! Thats just what I thought the issue was 😉. How can you downgrade the Library? I am desperate to get this working as have clients waiting for jobs.

I have no clue about how to downgrade library. It's likely possible by comparing the database schema they use (aperture uses sqlite), and write a custom conversion script. But it's also quite a bit of work, depending on the amount of changes they actually made. They might have changed parts outside the sqlite database as well.


You best bet is getting both Library and Application from a backup.


I can run aperture a bit longer holding shift key on during aperture launch. I found something on google that it would stop aperture from any image processin, like thumbnails. But viewing any RAW causes a crash for me again. The same.

Aperture 3.2 upgrade (from 3.1.3) crash continuously

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