jfaughnan

Q: Unable to write IPTC metadata to JPG files

I tried to write IPTC metadata to JPG files and I got

 

No original files were modified

Aperture was not able to modify one or more original files because they have a format that does not permit modification.

 

i found some old posts saying this was broken in Lion.

 

Anyone have any ideas?

Posted on May 29, 2016 5:22 PM

Close

Q: Unable to write IPTC metadata to JPG files

  • All replies
  • Helpful answers

Previous Page 2 of 4 last Next
  • by jfaughnan,

    jfaughnan jfaughnan May 30, 2016 1:41 PM in response to jfaughnan
    Level 3 (803 points)
    Mac OS X
    May 30, 2016 1:41 PM in response to jfaughnan

    My hunch is that there's a bug with date handling. These images have a date in 1986, the date was written into them when I exported versions from the original. I suspect the IPTC writing code has a memory access bug triggered by the dates. The unpredictable behaviors suggests the bug is writing to random bits of memory -- sometimes crashing Aperture, sometimes triggering misleading error messages, occasionally completing.

  • by léonie,

    léonie léonie May 30, 2016 1:56 PM in response to jfaughnan
    Level 10 (106,814 points)
    iLife
    May 30, 2016 1:56 PM in response to jfaughnan

    Could you post a crash log, so we can see where it crashes?

    Do all crash logs have the same error message?

     

    Keep Aperture's activity window open, so you can see which images are beeing processed, when the crash happens.

  • by jfaughnan,

    jfaughnan jfaughnan May 30, 2016 2:15 PM in response to léonie
    Level 3 (803 points)
    Mac OS X
    May 30, 2016 2:15 PM in response to léonie

    Aperture is doing a fresh Vault backup, so I'll have to return to this tonight. I'll do as you say, i'll video the activity screen so I get the last status when it crashes.

     

    I used ImageEXIFViewer (annoying bug in this app -- search field obscures text) to see what was in the images, I do suspect dates are a problem. Attached below.

     

    All the crash reports show a SIGSEGV as below. That's a segment violation - Aperture is writing somewhere it shouldn't. Explains why crash behavior is so flaky, just depends where Aperture writes.

     

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

    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

    Exception Codes:       KERN_INVALID_ADDRESS at 0x000000000ca286c0

    Screen Shot 2016-05-30 at 4.05.05 PM.png

  • by léonie,

    léonie léonie May 30, 2016 2:21 PM in response to jfaughnan
    Level 10 (106,814 points)
    iLife
    May 30, 2016 2:21 PM in response to jfaughnan

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

    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

    But the crashlog should be showing the most recent instructions what the crashed thread 0 has been doing right before the crash.

    Sometimes there is a clue to an incompatible color profile or similar.

  • by jfaughnan,

    jfaughnan jfaughnan May 30, 2016 3:54 PM in response to léonie
    Level 3 (803 points)
    Mac OS X
    May 30, 2016 3:54 PM in response to léonie

    I forgot I can just pull them out of console. Here are 3 excerpts with thread 0. I do see this repeated often, not sure if it helps:

    [NSConditionLock lockWhenCondition:beforeDate:] + 232

     

    [1]

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

    Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)

    Exception Codes:       0x0000000000000001, 0x0000000000000000

     

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

    0   libsystem_platform.dylib       0x00007fff8646bcaf _os_lock_corruption_abort + 0

    1   libsystem_platform.dylib       0x00007fff8646a86b _OSSpinLockLockSlow + 125

    2   com.apple.CoreFoundation       0x00007fff91c39023 __CFPasteboardClientCallBack + 211

    3   com.apple.CoreFoundation       0x00007fff91c0cc68 __CFMessagePortPerform + 568

    4   com.apple.CoreFoundation       0x00007fff91b93c79 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41

    5   com.apple.CoreFoundation       0x00007fff91b93beb __CFRunLoopDoSource1 + 475

    6   com.apple.CoreFoundation       0x00007fff91b85767 __CFRunLoopRun + 2375

    7   com.apple.CoreFoundation       0x00007fff91b84bd8 CFRunLoopRunSpecific + 296

    8   com.apple.Foundation           0x00007fff847d9b29 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278

    9   com.apple.Foundation           0x00007fff847f7d9e -[NSRunLoop(NSRunLoop) runUntilDate:] + 108

    10  com.apple.AppKit               0x00007fff8f27804e NSCoreDragTrackingProc + 4677

    11  com.apple.HIServices           0x00007fff846ef300 DoTrackingMessage + 320

    12  com.apple.HIServices           0x00007fff846f038b SendTrackingMessage + 45

    13  com.apple.HIServices           0x00007fff846ef78c DragInApplication + 244

    14  com.apple.HIServices           0x00007fff846ee6ab CoreDragStartDragging + 535

    15  com.apple.AppKit               0x00007fff8f27667e -[NSCoreDragManager _dragUntilMouseUp:accepted:] + 1020

    16  com.apple.AppKit               0x00007fff8f273367 -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] + 1540

    17  com.apple.AppKit               0x00007fff8f272d49 -[NSWindow(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:] + 135

    18  com.apple.AppKit               0x00007fff8f620022 -[NSOutlineView dragImage:at:offset:event:pasteboard:source:slideBack:] + 226

    19  com.apple.AppKit               0x00007fff8f6db7a0 -[NSTableView _doImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] + 539

    20  com.apple.AppKit               0x00007fff8f6dc530 -[NSTableView _performClassicDragOfIndexes:hitRow:event:] + 329

    21  com.apple.AppKit               0x00007fff8f2d69d1 -[NSTableView _performDragFromMouseDown:] + 463

    22  com.apple.AppKit               0x00007fff8f2d4e71 -[NSTableView mouseDown:] + 688

    23  com.apple.AppKit               0x00007fff8f2d498f -[NSOutlineView mouseDown:] + 74

    24  com.apple.Aperture             0x000000010f0a8c9e 0x10ee21000 + 2653342

    25  com.apple.AppKit               0x00007fff8f78e2dc -[NSWindow _reallySendEvent:isDelayedEvent:] + 14125

    26  com.apple.AppKit               0x00007fff8f11dc86 -[NSWindow sendEvent:] + 470

    27  com.apple.prokit               0x000000011069f75c -[NSProWindow sendEvent:] + 236

    28  com.apple.AppKit               0x00007fff8f11a212 -[NSApplication sendEvent:] + 2504

    29  com.apple.prokit               0x000000011067daee -[NSProApplication sendEvent:] + 129

    30  com.apple.Aperture             0x000000010f28e755 0x10ee21000 + 4642645

    31  com.apple.AppKit               0x00007fff8f043b68 -[NSApplication run] + 711

    32  com.apple.prokit               0x000000011067e39a NSProApplicationMain + 333

    33  com.apple.Aperture             0x000000010ee310b4 0x10ee21000 + 65716

    34  com.apple.Aperture             0x000000010ee30a44 0x10ee21000 + 64068

     

    [2]

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

    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

    Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000016d1aa0

     

     

    VM Regions Near 0x16d1aa0:

    -->

        __TEXT                 00000001035a0000-0000000103cd9000 [ 7396K] r-x/rwx SM=COW  /Applications/Aperture.app/Contents/MacOS/Aperture

     

     

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

    0   com.apple.CoreFoundation       0x00007fff91b3bbb0 __CFBasicHashDrain + 528

    1   com.apple.CoreFoundation       0x00007fff91b2be8e CFRelease + 526

    2   com.apple.ImageIO.framework   0x00007fff8abe09d0 _CGImageMetadataFinalize + 44

    3   com.apple.CoreFoundation       0x00007fff91b2be8e CFRelease + 526

    4   com.apple.ImageIO.framework   0x00007fff8ac93e23 CGImageCopyFileWithParameters + 4637

    5   com.apple.RedRock             0x00000001040c6c8c VerifiedCGImageCopyFileWithParameters + 225

    6   com.apple.RedRock             0x00000001042989c4 -[RKChangeMasterPropertiesTask processVersion:] + 619

    7   com.apple.RedRock             0x00000001042999c2 -[RKDataNodeTask processBatchOnMainThread:] + 447

    8   com.apple.Foundation           0x00007fff847944eb __NSFireDelayedPerform + 364

    9   com.apple.CoreFoundation       0x00007fff91bca2e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20

    10  com.apple.CoreFoundation       0x00007fff91bc9f73 __CFRunLoopDoTimer + 1059

    11  com.apple.CoreFoundation       0x00007fff91c3d53d __CFRunLoopDoTimers + 301

    12  com.apple.CoreFoundation       0x00007fff91b85608 __CFRunLoopRun + 2024

    13  com.apple.CoreFoundation       0x00007fff91b84bd8 CFRunLoopRunSpecific + 296

    14  com.apple.HIToolbox           0x00007fff8b9e856f RunCurrentEventLoopInMode + 235

    15  com.apple.HIToolbox           0x00007fff8b9e82ea ReceiveNextEventCommon + 431

    16  com.apple.HIToolbox           0x00007fff8b9e812b _BlockUntilNextEventMatchingListInModeWithFilter + 71

    17  com.apple.AppKit               0x00007fff8f04e8ab _DPSNextEvent + 978

    18  com.apple.AppKit               0x00007fff8f04de58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346

    19  com.apple.Aperture             0x0000000103a0ca81 0x1035a0000 + 4639361

    20  com.apple.AppKit               0x00007fff8f043af3 -[NSApplication run] + 594

    21  com.apple.prokit               0x0000000104df939a NSProApplicationMain + 333

    22  com.apple.Aperture             0x00000001035b00b4 0x1035a0000 + 65716

    23  com.apple.Aperture             0x00000001035afa44 0x1035a0000 + 64068

     

    [3]

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

    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

    Exception Codes:       KERN_INVALID_ADDRESS at 0x000000000ca286c0

     

    VM Regions Near 0xca286c0:

    -->

        __TEXT                 0000000107c20000-0000000108359000 [ 7396K] r-x/rwx SM=COW  /Applications/Aperture.app/Contents/MacOS/Aperture

     

     

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

    0   com.apple.CoreFoundation       0x00007fff92bc3bb0 __CFBasicHashDrain + 528

    1   com.apple.CoreFoundation       0x00007fff92bb3e8e CFRelease + 526

    2   com.apple.ImageIO.framework   0x00007fff8bc689fa _CGImageMetadataFinalize + 86

    3   com.apple.CoreFoundation       0x00007fff92bb3e8e CFRelease + 526

    4   com.apple.ImageIO.framework   0x00007fff8bd1be23 CGImageCopyFileWithParameters + 4637

    5   com.apple.RedRock             0x0000000108748c8c VerifiedCGImageCopyFileWithParameters + 225

    6   com.apple.RedRock             0x000000010891a9c4 -[RKChangeMasterPropertiesTask processVersion:] + 619

    7   com.apple.RedRock             0x000000010891b9c2 -[RKDataNodeTask processBatchOnMainThread:] + 447

    8   com.apple.Foundation           0x00007fff8581c4eb __NSFireDelayedPerform + 364

    9   com.apple.CoreFoundation       0x00007fff92c522e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20

    10  com.apple.CoreFoundation       0x00007fff92c51f73 __CFRunLoopDoTimer + 1059

    11  com.apple.CoreFoundation       0x00007fff92cc553d __CFRunLoopDoTimers + 301

    12  com.apple.CoreFoundation       0x00007fff92c0d608 __CFRunLoopRun + 2024

    13  com.apple.CoreFoundation       0x00007fff92c0cbd8 CFRunLoopRunSpecific + 296

    14  com.apple.HIToolbox           0x00007fff8ca7056f RunCurrentEventLoopInMode + 235

    15  com.apple.HIToolbox           0x00007fff8ca702ea ReceiveNextEventCommon + 431

    16  com.apple.HIToolbox           0x00007fff8ca7012b _BlockUntilNextEventMatchingListInModeWithFilter + 71

    17  com.apple.AppKit               0x00007fff900d68ab _DPSNextEvent + 978

    18  com.apple.AppKit               0x00007fff900d5e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346

    19  com.apple.Aperture             0x000000010808ca81 0x107c20000 + 4639361

    20  com.apple.AppKit               0x00007fff900cbaf3 -[NSApplication run] + 594

    21  com.apple.prokit               0x000000010947d39a NSProApplicationMain + 333

    22  com.apple.Aperture             0x0000000107c300b4 0x107c20000 + 65716

    23  com.apple.Aperture             0x0000000107c2fa44 0x107c20000 + 64068

  • by jfaughnan,

    jfaughnan jfaughnan May 30, 2016 6:56 PM in response to léonie
    Level 3 (803 points)
    Mac OS X
    May 30, 2016 6:56 PM in response to léonie

    I tried it with the activity window open, but unfortunately Aperture doesn't write to the activity window for IPTC updates. I got another crash log:

     

    Process:               Aperture [4807]

    Path:                  /Applications/Aperture.app/Contents/MacOS/Aperture

    Identifier:            com.apple.Aperture

    Version:               3.6 (3.6)

    Build Info:            Aperture-500021000000000~3

    App Item ID:           408981426

    App External ID:       731142774

    Code Type:             X86-64 (Native)

    Parent Process:        ??? [1]

    Responsible:           Aperture [4807]

    User ID:               502

     

     

    Date/Time:             2016-05-30 20:50:26.093 -0500

    OS Version:            Mac OS X 10.10.5 (14F1808)

    Report Version:        11

    Anonymous UUID:        66EE74A8-03A0-0458-F219-25859D4879EC

     

     

     

     

    Time Awake Since Boot: 41000 seconds

     

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

    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

    Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000cd6600d0

     

    VM Regions Near 0xcd6600d0:

    -->

        __TEXT                 0000000100482000-0000000100bbb000 [ 7396K] r-x/rwx SM=COW  /Applications/Aperture.app/Contents/MacOS/Aperture

     

     

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

    0   com.apple.ImageIO.framework   0x00007fff8bd11590 _TAGList::~_TAGList() + 48

    1   com.apple.ImageIO.framework   0x00007fff8bd115f1 _TAGList::~_TAGList() + 15

    2   com.apple.ImageIO.framework   0x00007fff8bd12dc9 _APP1::~_APP1() + 89

    3   com.apple.ImageIO.framework   0x00007fff8bd12e41 _APP1::~_APP1() + 15

    4   com.apple.ImageIO.framework   0x00007fff8bd1781d _JPEGFile::~_JPEGFile() + 51

    5   com.apple.ImageIO.framework   0x00007fff8bd1786d _JPEGFile::~_JPEGFile() + 15

    6   com.apple.ImageIO.framework   0x00007fff8bd190f4 _JPEGWriter::~_JPEGWriter() + 34

    7   com.apple.ImageIO.framework   0x00007fff8bd191a3 _JPEGWriter::~_JPEGWriter() + 15

    8   com.apple.ImageIO.framework   0x00007fff8bd1bdf4 CGImageCopyFileWithParameters + 4590

    9   com.apple.RedRock             0x0000000100fabc8c VerifiedCGImageCopyFileWithParameters + 225

    10  com.apple.RedRock             0x000000010117d9c4 -[RKChangeMasterPropertiesTask processVersion:] + 619

    11  com.apple.RedRock             0x000000010117e9c2 -[RKDataNodeTask processBatchOnMainThread:] + 447

    12  com.apple.Foundation           0x00007fff8581c4eb __NSFireDelayedPerform + 364

    13  com.apple.CoreFoundation       0x00007fff92c522e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20

    14  com.apple.CoreFoundation       0x00007fff92c51f73 __CFRunLoopDoTimer + 1059

    15  com.apple.CoreFoundation       0x00007fff92cc553d __CFRunLoopDoTimers + 301

    16  com.apple.CoreFoundation       0x00007fff92c0d608 __CFRunLoopRun + 2024

    17  com.apple.CoreFoundation       0x00007fff92c0cbd8 CFRunLoopRunSpecific + 296

    18  com.apple.HIToolbox           0x00007fff8ca7056f RunCurrentEventLoopInMode + 235

    19  com.apple.HIToolbox           0x00007fff8ca702ea ReceiveNextEventCommon + 431

    20  com.apple.HIToolbox           0x00007fff8ca7012b _BlockUntilNextEventMatchingListInModeWithFilter + 71

    21  com.apple.AppKit               0x00007fff900d68ab _DPSNextEvent + 978

    22  com.apple.AppKit               0x00007fff900d5e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346

    23  com.apple.Aperture             0x00000001008eea81 0x100482000 + 4639361

    24  com.apple.AppKit               0x00007fff900cbaf3 -[NSApplication run] + 594

    25  com.apple.prokit               0x0000000101cd839a NSProApplicationMain + 333

    26  com.apple.Aperture             0x00000001004920b4 0x100482000 + 65716

    27  com.apple.Aperture             0x0000000100491a44 0x100482000 + 64068

     

     

    Thread 1:: Dispatch queue: com.apple.libdispatch-manager

    0   libsystem_kernel.dylib         0x00007fff897d4232 kevent64 + 10

    1   libdispatch.dylib             0x00007fff91cdf26e _dispatch_mgr_thread + 52

     

     

    Thread 2:

    0   libsystem_kernel.dylib         0x00007fff897d3136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff85826c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff85826a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x00000001029897c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000102989320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff8580fe92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff926a805a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff926a7fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff926a53ed thread_start + 13

     

     

     

    ......

     

     

    VM Region Summary:

    ReadOnly portion of Libraries: Total=313.9M resident=147.2M(47%) swapped_out_or_unallocated=166.7M(53%)

    Writable regions: Total=2.2G written=453.9M(20%) resident=594.8M(26%) swapped_out=4K(0%) unallocated=1.7G(74%)

     

    REGION TYPE                        VIRTUAL

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

    Activity Tracing                     2048K

    CG backing stores                    26.5M

    CG image                             1708K

    CG raster data                        128K

    CG shared images                      944K

    CoreAnimation                        4240K

    CoreGraphics                           16K

    CoreImage                           514.2M

    CoreUI image data                      64K

    Dispatch continuations               8192K

    Foundation                              4K

    IOKit                               127.3M

    Image IO                              576K

    JS JIT generated code                   8K

    JS JIT generated code (reserved)      1.0G        reserved VM address space (unallocated)

    Kernel Alloc Once                       8K

    MALLOC                              542.3M

    MALLOC (admin)                         32K

    Memory Tag 242                         12K

    Memory Tag 251                         16K

    OpenCL                                 88K

    OpenGL GLSL                           512K

    STACK GUARD                          56.1M

    Stack                                41.2M

    VM_ALLOCATE                          19.4M

    WebKit Malloc                         464K

    __DATA                               34.4M

    __GLSLBUILTINS                       2588K

    __IMAGE                               528K

    __LINKEDIT                           84.5M

    __TEXT                              229.4M

    __UNICODE                             552K

    mapped file                         302.5M

    shared memory                          68K

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

    TOTAL                                 3.0G

    TOTAL, minus reserved VM space        2.0G

     

     

     

    Model: MacBookAir7,2, BootROM MBA71.0166.B08, 2 processors, Intel Core i5, 1.6 GHz, 8 GB, SMC 2.27f2

    Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In

    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D

    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D

    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.15.166.24.3)

    Bluetooth: Version 4.3.6f3 16238, 3 services, 27 devices, 1 incoming serial ports

    Network Service: Wi-Fi, AirPort, en0

    PCI Card: pci1b73,1100, USB eXtensible Host Controller, Thunderbolt@192,0,0

    PCI Card: ethernet, Ethernet Controller, Thunderbolt@191,0,0

    PCI Card: pci11c1,5901, IEEE 1394 Open HCI, Thunderbolt@196,0,0

    Serial ATA Device: APPLE SSD SM0256G, 251 GB

    USB Device: Ultra Fit

    USB Device: ASMT1051

    USB Device: Hub

    USB Device: Hub

    USB Device: USB audio CODEC

    USB Device: Hub

    USB Device: Hub

    USB Device: Internal Memory Card Reader

    USB Device: BRCM20702 Hub

    USB Device: Bluetooth USB Host Controller

    USB Device: EPSON Scanner

    FireWire Device: Voyager Q, Newer Technology, Up to 800 Mb/sec

    FireWire Device: Mercury Elite Pro, OWC, Up to 800 Mb/sec

    Thunderbolt Bus: MacBook Air, Apple Inc., 27.2

    Thunderbolt Device: Thunderbolt 2 Dock, Elgato Systems, 1, 25.1

  • by léonie,

    léonie léonie May 30, 2016 10:55 PM in response to jfaughnan
    Level 10 (106,814 points)
    iLife
    May 30, 2016 10:55 PM in response to jfaughnan

    The crashes are all at different operations and fatal program erros.

    • For example, the first crash is in a code sequence for dragging and dropping.   [NSCoreDragManager _dragUntilMouseUp:accepted:]
    • And the second and third crash are during  metadata copy:    com.apple.ImageIO.framework   0x00007fff8bc689fa _CGImageMetadataFinalize + 86
    • the forth happens when creating a copy of an image: com.apple.ImageIO.framework   0x00007fff8bd1bdf4 CGImageCopyFileWithParameters + 4590

    All crashes are in basic system frameworks.


    This is typical for having incompatible software installed that added unsupported system extensions.

    I have not tried recently if Aperture 3.6 can launch, if you start your Mac in Safe Mode. This will disable non-standard system additions. You may want to give it a try. Aperture 3.5 yould be launched in Safe Mode.


    Mac OS X: Starting up in Safe Mode

  • by léonie,

    léonie léonie May 31, 2016 3:22 AM in response to léonie
    Level 10 (106,814 points)
    iLife
    May 31, 2016 3:22 AM in response to léonie

    Sometimes background processes like rendering previews will cause the crash, while you are doing something differently. Keep Activity open, if there are still other background processes showing up.

  • by jfaughnan,

    jfaughnan jfaughnan May 31, 2016 5:55 AM in response to léonie
    Level 3 (803 points)
    Mac OS X
    May 31, 2016 5:55 AM in response to léonie

    That's a very helpful analysis, thank you.

     

    I tried the Library on two machines, and both crashed with the test library. The two machines do have some common software: Google Drive and Synology Cloud Station drive. I don't have confidence in either of those applications. I'll see if I can crash in Safe Mode.

     

    If it doesn't crash in Safe Mode I'll try uninstalling both and retesting. It will be interesting to see if I can track this down. One of the machines is going to be upgraded to El Capitan one of these days; that will be a clean install so perhaps I'll learn something that way.

     

    really need a 3rd environment to test in but this is going to take a lot of time. I may need to live with the problem and hack away at it periodically. Other than the IPTC crash Aperture is stable.

  • by jfaughnan,

    jfaughnan jfaughnan May 31, 2016 6:28 AM in response to léonie
    Level 3 (803 points)
    Mac OS X
    May 31, 2016 6:28 AM in response to léonie

    The good-bad news is that Aperture crashes immediately in safe mode as well. At least I don't have to spend a lot of time tracking down 3rd party software issues.

     

    As before,  using the test library, everything is fine until I try the IPTC write. It starts writing (progress bar at about 1/4 to 1/2) then usually crashes, occasionally it completes and reports some things could not be written to for one reason or another.

     

    IF I select less than 20 images it may complete without error and no report of being unable to write to anything. I think it's just chance; the fewer images the lower risk that it writes to a random memory address. I think the error messages are also chance. I even have a nasty suspicion that when I do these tests Aperture is damaging my environment -- it would be good to test in a VM. If there were still an Aperture team I'd try really hard to get them to work on my test library.

     

    ---------

    Report below (Safe Mode):

     

     

     

     

    Process:               Aperture [534]

    Path:                  /Applications/Aperture.app/Contents/MacOS/Aperture

    Identifier:            com.apple.Aperture

    Version:               3.6 (3.6)

    Build Info:            Aperture-500021000000000~3

    App Item ID:           408981426

    App External ID:       731142774

    Code Type:             X86-64 (Native)

    Parent Process:        ??? [1]

    Responsible:           Aperture [534]

    User ID:               502

     

     

     

     

    Date/Time:             2016-05-31 08:13:01.297 -0500

    OS Version:            Mac OS X 10.10.5 (14F1808)

    Report Version:        11

    Anonymous UUID:        66EE74A8-03A0-0458-F219-25859D4879EC

     

     

     

     

     

     

     

     

    Time Awake Since Boot: 770 seconds

     

     

     

     

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

     

     

     

     

    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

    Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000024cb8700

     

     

     

     

    VM Regions Near 0x24cb8700:

    -->

        __TEXT                 00000001025e4000-0000000102d1d000 [ 7396K] r-x/rwx SM=COW  /Applications/Aperture.app/Contents/MacOS/Aperture

     

     

     

     

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

    0   com.apple.CoreFoundation       0x00007fff8f2bdbb0 __CFBasicHashDrain + 528

    1   com.apple.CoreFoundation       0x00007fff8f2ade8e CFRelease + 526

    2   com.apple.ImageIO.framework   0x00007fff883629d0 _CGImageMetadataFinalize + 44

    3   com.apple.CoreFoundation       0x00007fff8f2ade8e CFRelease + 526

    4   com.apple.ImageIO.framework   0x00007fff88415e23 CGImageCopyFileWithParameters + 4637

    5   com.apple.RedRock             0x0000000103110c8c VerifiedCGImageCopyFileWithParameters + 225

    6   com.apple.RedRock             0x00000001032e29c4 -[RKChangeMasterPropertiesTask processVersion:] + 619

    7   com.apple.RedRock             0x00000001032e39c2 -[RKDataNodeTask processBatchOnMainThread:] + 447

    8   com.apple.Foundation           0x00007fff81f164eb __NSFireDelayedPerform + 364

    9   com.apple.CoreFoundation       0x00007fff8f34c2e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20

    10  com.apple.CoreFoundation       0x00007fff8f34bf73 __CFRunLoopDoTimer + 1059

    11  com.apple.CoreFoundation       0x00007fff8f3bf53d __CFRunLoopDoTimers + 301

    12  com.apple.CoreFoundation       0x00007fff8f307608 __CFRunLoopRun + 2024

    13  com.apple.CoreFoundation       0x00007fff8f306bd8 CFRunLoopRunSpecific + 296

    14  com.apple.HIToolbox           0x00007fff8916a56f RunCurrentEventLoopInMode + 235

    15  com.apple.HIToolbox           0x00007fff8916a2ea ReceiveNextEventCommon + 431

    16  com.apple.HIToolbox           0x00007fff8916a12b _BlockUntilNextEventMatchingListInModeWithFilter + 71

    17  com.apple.AppKit               0x00007fff8c7d08ab _DPSNextEvent + 978

    18  com.apple.AppKit               0x00007fff8c7cfe58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346

    19  com.apple.Aperture             0x0000000102a50a81 0x1025e4000 + 4639361

    20  com.apple.AppKit               0x00007fff8c7c5af3 -[NSApplication run] + 594

    21  com.apple.prokit               0x0000000103e4639a NSProApplicationMain + 333

    22  com.apple.Aperture             0x00000001025f40b4 0x1025e4000 + 65716

    23  com.apple.Aperture             0x00000001025f3a44 0x1025e4000 + 64068

     

     

     

     

    Thread 1:: Dispatch queue: com.apple.libdispatch-manager

    0   libsystem_kernel.dylib         0x00007fff85ece232 kevent64 + 10

    1   libdispatch.dylib             0x00007fff8e3d926e _dispatch_mgr_thread + 52

     

     

     

     

    Thread 2:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 3:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 4:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 5:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 6:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 7:

    0   libsystem_kernel.dylib         0x00007fff85ecd136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff81f20c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff81f20a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x0000000104afa7c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000104afa320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 8:

    0   libsystem_kernel.dylib         0x00007fff85ecd136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff81f20c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff81f20a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x0000000104afa7c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000104afa320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 9:

    0   libsystem_kernel.dylib         0x00007fff85ecd136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff81f20c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff81f20a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x0000000104afa7c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000104afa320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 10:

    0   libsystem_kernel.dylib         0x00007fff85ecd136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff81f20c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff81f20a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x0000000104afa7c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000104afa320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 11:

    0   libsystem_kernel.dylib         0x00007fff85ecd136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff81f20c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff81f20a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x0000000104afa7c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000104afa320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 1

     

    Thread 12:

    0   libsystem_kernel.dylib         0x00007fff85ecd136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff81f20c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff81f20a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x0000000104afa7c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000104afa320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 13:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 14:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 15:

    0   libsystem_kernel.dylib         0x00007fff85ecd136 __psynch_cvwait + 10

    1   com.apple.Foundation           0x00007fff81f20c31 -[NSCondition waitUntilDate:] + 343

    2   com.apple.Foundation           0x00007fff81f20a95 -[NSConditionLock lockWhenCondition:beforeDate:] + 232

    3   com.apple.proxtcore           0x0000000104afa7c7 -[XTMsgQueue waitForMessage] + 46

    4   com.apple.proxtcore           0x0000000104afa320 -[XTThread run:] + 322

    5   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 16:

    0   libsystem_kernel.dylib         0x00007fff85ec84de mach_msg_trap + 10

    1   libsystem_kernel.dylib         0x00007fff85ec764f mach_msg + 55

    2   com.apple.CoreFoundation       0x00007fff8f307eb4 __CFRunLoopServiceMachPort + 212

    3   com.apple.CoreFoundation       0x00007fff8f30737b __CFRunLoopRun + 1371

    4   com.apple.CoreFoundation       0x00007fff8f306bd8 CFRunLoopRunSpecific + 296

    5   com.apple.AppKit               0x00007fff8c89856b _NSEventThread + 137

    6   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    7   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    8   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 17:: com.apple.NSURLConnectionLoader

    0   libsystem_kernel.dylib         0x00007fff85ec84de mach_msg_trap + 10

    1   libsystem_kernel.dylib         0x00007fff85ec764f mach_msg + 55

    2   com.apple.CoreFoundation       0x00007fff8f307eb4 __CFRunLoopServiceMachPort + 212

    3   com.apple.CoreFoundation       0x00007fff8f30737b __CFRunLoopRun + 1371

    4   com.apple.CoreFoundation       0x00007fff8f306bd8 CFRunLoopRunSpecific + 296

    5   com.apple.CFNetwork           0x00007fff88ae6420 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434

    6   com.apple.Foundation           0x00007fff81f09e92 __NSThread__main__ + 1345

    7   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    8   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    9   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 18:: com.apple.CFSocket.private

    0   libsystem_kernel.dylib         0x00007fff85ecd3fa __select + 10

    1   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    2   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    3   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 19:: QTKit: listenOnDelegatePort

    0   libsystem_kernel.dylib         0x00007fff85ec84de mach_msg_trap + 10

    1   libsystem_kernel.dylib         0x00007fff85ec764f mach_msg + 55

    2   com.apple.CoreFoundation       0x00007fff8f307eb4 __CFRunLoopServiceMachPort + 212

    3   com.apple.CoreFoundation       0x00007fff8f30737b __CFRunLoopRun + 1371

    4   com.apple.CoreFoundation       0x00007fff8f306bd8 CFRunLoopRunSpecific + 296

    5   com.apple.CoreFoundation       0x00007fff8f3be671 CFRunLoopRun + 97

    6   com.apple.QTKit               0x00007fff80faa7e0 listenOnDelegatePort + 372

    7   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    8   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    9   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 20:: QTKit: listenOnNotificationPort

    0   libsystem_kernel.dylib         0x00007fff85ec84de mach_msg_trap + 10

    1   libsystem_kernel.dylib         0x00007fff85ec764f mach_msg + 55

    2   com.apple.CoreFoundation       0x00007fff8f307eb4 __CFRunLoopServiceMachPort + 212

    3   com.apple.CoreFoundation       0x00007fff8f30737b __CFRunLoopRun + 1371

    4   com.apple.CoreFoundation       0x00007fff8f306bd8 CFRunLoopRunSpecific + 296

    5   com.apple.CoreFoundation       0x00007fff8f3be671 CFRunLoopRun + 97

    6   com.apple.QTKit               0x00007fff80fa9424 listenOnNotificationPort + 340

    7   libsystem_pthread.dylib       0x00007fff8eda205a _pthread_body + 131

    8   libsystem_pthread.dylib       0x00007fff8eda1fd7 _pthread_start + 176

    9   libsystem_pthread.dylib       0x00007fff8ed9f3ed thread_start + 13

     

     

     

     

    Thread 21:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 22:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 23:

    0   libsystem_kernel.dylib         0x00007fff85ecd94a __workq_kernreturn + 10

    1   libsystem_pthread.dylib       0x00007fff8ed9f3dd start_wqthread + 13

     

     

     

     

    Thread 0 crashed with X86 Thread State (64-bit):

      rax: 0x0000000000000000  rbx: 0x00007fff8f2ce3d0  rcx: 0x00000000007e0400  rdx: 0x00000000a7baadb1

      rdi: 0x00007fff73309170  rsi: 0x00007fd124ab2940  rbp: 0x00007fff5d618a40  rsp: 0x00007fff5d6189e0

       r8: 0x0000000000000001   r9: 0x00007fd124c00000  r10: 0x00000000eccc9ab2  r11: 0x00007fd124c00000

      r12: 0x0000000024cb8700  r13: 0x00007fd124c59cb0  r14: 0x00007fd124c595d0  r15: 0x0000000000000000

      rip: 0x00007fff8f2bdbb0  rfl: 0x0000000000010206  cr2: 0x0000000024cb8700

     

    Logical CPU:     0

    Error Code:      0x00000004

    Trap Number:     14

  • by léonie,

    léonie léonie May 31, 2016 7:31 AM in response to jfaughnan
    Level 10 (106,814 points)
    iLife
    May 31, 2016 7:31 AM in response to jfaughnan

    Is your test library in your Pictures folder or on an external drive?  How did you transfer the library between the machines?

  • by jfaughnan,

    jfaughnan jfaughnan May 31, 2016 7:52 AM in response to léonie
    Level 3 (803 points)
    Mac OS X
    May 31, 2016 7:52 AM in response to léonie

    I tested it both external and internal drives (no difference). Transfer to alternative machine was by network, then repaired permissions and database before testing. Always rapid crashes on IPTC. I still think it's a bug related to writing older (1986 in this case) creation dates into EXIF headers.

  • by léonie,

    léonie léonie May 31, 2016 9:57 AM in response to jfaughnan
    Level 10 (106,814 points)
    iLife
    May 31, 2016 9:57 AM in response to jfaughnan

    I have tested this several times, and I can write even older dates to the originals. The oldest dates I tried it with were 1929.

    Perhaps the bug is only active for certain architectures. I tested on two MacBook Pros, 17", late 2011, and on a MacBook Pro Retina 2015.

  • by jfaughnan,

    jfaughnan jfaughnan May 31, 2016 10:01 AM in response to léonie
    Level 3 (803 points)
    Mac OS X
    May 31, 2016 10:01 AM in response to léonie

    If I were to create a smaller test library -- maybe 100MB or so, would you be interested in downloading and testing it? Is easy to test...

  • by léonie,

    léonie léonie May 31, 2016 10:03 AM in response to jfaughnan
    Level 10 (106,814 points)
    iLife
    May 31, 2016 10:03 AM in response to jfaughnan

    I could try it, sure. Could you put it into a Dropbox?

Previous Page 2 of 4 last Next