Lightroom: Crash on selecting Import from menu

  • 1
  • Problem
  • Updated 2 years ago
  • (Edited)
Sequence of Events
1. In LR, select a tiff file from a smart collection
2. Select Edit (in Photoshop) etc.
3. Do the edits in PS
4. Close the file in PS
5. While the file is being written by PS or read by LR (impossible to tell which), select 'File' from the LR Menu and 'Import Photos or Videos...'
6. LR crashes

These are the first few relevant lines from the crash dump

----------------------------

System Integrity Protection: enabled
Crashed Thread:        42  ImportSourceScanner worker

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000074494718bec0
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x74494718bec0:
    Stack                  000070000a1dd000-000070000a25f000 [  520K] rw-/rwx SM=COW  thread 42
--> 
    MALLOC_TINY            00007fb25bc00000-00007fb25c000000 [ 4096K] rw-/rwx SM=PRV  

Application Specific Information:
objc_msgSend() selector name: isEqual:

----------------------------
And for Thread 42:
----------------------------

Thread 42 Crashed:: ImportSourceScanner worker0   libobjc.A.dylib               0x00007fffb056bb5d objc_msgSend + 29
1   com.apple.CoreFoundation       0x00007fff9bd472e8 -[__NSDictionaryM objectForKey:] + 152
2   com.apple.ImageCaptureCore     0x00007fff9dd8287d -[ICDevice connect] + 288
3   com.apple.ImageCaptureCore     0x00007fff9dd8cab9 -[ICCameraDevice requestOpenSession] + 534
4   com.adobe.lightroom.import     0x0000000119ceed4b 0x119cec000 + 11595
5   com.adobe.ag.kernel           0x000000010ee85e15 0x10ee7c000 + 40469
6   com.adobe.ag.kernel           0x000000010ee9455d 0x10ee7c000 + 99677
7   com.adobe.ag.kernel           0x000000010ee860e1 0x10ee7c000 + 41185
8   com.adobe.ag.kernel           0x000000010ee8577e 0x10ee7c000 + 38782
9   com.adobe.ag.kernel           0x000000010ee8633d 0x10ee7c000 + 41789
10  com.adobe.ag.kernel           0x000000010ee7e172 lua_pcall + 100
11  com.adobe.ag.kernel           0x000000010ee7fec6 0x10ee7c000 + 16070
12  com.adobe.ag.kernel           0x000000010ee85e15 0x10ee7c000 + 40469
13  com.adobe.ag.kernel           0x000000010ee9455d 0x10ee7c000 + 99677
14  com.adobe.ag.kernel           0x000000010ee860e1 0x10ee7c000 + 41185
15  com.adobe.ag.kernel           0x000000010ee7e0f1 lua_call + 37
16  com.adobe.ag.substrate         0x000000010efd80bd AgLua_callWithAutoReleasePool + 85
17  com.adobe.ag.kernel           0x000000010ee85e15 0x10ee7c000 + 40469
18  com.adobe.ag.kernel           0x000000010ee945bb 0x10ee7c000 + 99771
19  com.adobe.ag.kernel           0x000000010ee860e1 0x10ee7c000 + 41185
20  com.adobe.ag.kernel           0x000000010ee8577e 0x10ee7c000 + 38782
21  com.adobe.ag.kernel           0x000000010ee8633d 0x10ee7c000 + 41789
22  com.adobe.ag.kernel           0x000000010ee7e172 lua_pcall + 100
23  com.adobe.ag.substrate         0x000000010efcb6dc 0x10efb9000 + 75484
24  com.apple.Foundation           0x00007fff9d7b030d __NSThread__start__ + 1243
25  libsystem_pthread.dylib       0x00007fffb106babb _pthread_body + 180
26  libsystem_pthread.dylib       0x00007fffb106ba07 _pthread_start + 286
27  libsystem_pthread.dylib       0x00007fffb106b231 thread_start + 13

Thread 42 crashed with X86 Thread State (64-bit):
  rax: 0x0000600009e5d850  rbx: 0x0000000000000001  rcx: 0x0000000000000000  rdx: 0x00007fffb6a9b560
  rdi: 0x000060000a0455b0  rsi: 0x00007fff9a550ada  rbp: 0x000070000a25c540  rsp: 0x000070000a25c4f8
   r8: 0x000000000000000b   r9: 0x00007fff9ddc0fe8  r10: 0x000074494718bea8  r11: 0x00007fff9a550ada
  r12: 0x0000000000000002  r13: 0x0000000000000003  r14: 0x0000000000000003  r15: 0x00007fffb6a9b560
  rip: 0x00007fffb056bb5d  rfl: 0x0000000000010202  cr2: 0x000074494718bec0
  
----------------------------

Versions etc.
LR - 2015.7
Camera Raw 9.7
Mac OS X 10.12 (16A323)
Photo of Stephen Leggett

Stephen Leggett

  • 70 Posts
  • 5 Reply Likes

Posted 2 years ago

  • 1
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14048 Posts
  • 1735 Reply Likes
Did you submit the crash log with the email address you use here? 
Photo of Stephen Leggett

Stephen Leggett

  • 70 Posts
  • 5 Reply Likes
I submitted it the crash report, my AppleID uses the same email

Crash report has same sequence of events as I cut/paste them from here
Photo of Carlos Cardona

Carlos Cardona

  • 254 Posts
  • 49 Reply Likes
Well now you are just asking for trouble aren't you? Like the Doctor said, "Don't do that!"
Photo of Paul Plak

Paul Plak

  • 138 Posts
  • 19 Reply Likes
LR will hang every time I try to use import a second time in the same LR session. Maybe it is related? I need to exit LR if I want to import a new batch of images if I already imported one before.
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 3437 Posts
  • 618 Reply Likes
Stephen,

I am not seeing a crash in Sierra. What OS are you using?

When you select the Tiff file and invoke Edit In - are you sending a Copy or the Original when prompted by the dialog?
Photo of Stephen Leggett

Stephen Leggett

  • 70 Posts
  • 5 Reply Likes
Per original post - Mac OS X 10.12 (16A323) - i.e. non-beta Sierra

Send the original file which is already large and multilayered, do lots of edits, create a new layer, play with the colour, close and save the now larger file.

The relevant tiff was a very large file. I can't remember precisely which image but it would be somewhere between 150 and 300 MB so LR has a lot to read

So far, this has been a one-off and crashed when I tried to select import at the time I think it was reading the revised image, didn't get as far as showing the import dialog.

I have no problems generally, e.g. its ok to do imports when LR has read the edited file and updated the metadata columns and unlike Paul's post I can import multiple times in same session.

So despite the 'large' file the time window for re-creating this is very small - you need to select the menu items while the read/any resultant window refresh is in progress.
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1417 Posts
  • 437 Reply Likes
I believe this is a known crash on macOS 10.12 Sierra when someone tries to import from an attached iPhone. It should be fixed in the coming macOS update. Lr QE has confirmed the fix with the latest macOS 10.12.1 seed.
(Edited)
Photo of Stephen Leggett

Stephen Leggett

  • 70 Posts
  • 5 Reply Likes
Maybe, but for the following
1. I don't have an iPhone
2. It was reading the tiff from an external hard drive attached via USB, same drive as the LR catalog etc.
3. I didn't get as far as the import dialog
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1417 Posts
  • 437 Reply Likes
If you're interested, there is a macOS 10.12.1 beta 4 available (https://developer.apple.com/download/) that supposedly has the fix. Let us know what you find if you decide to give it a try.
Photo of Stephen Leggett

Stephen Leggett

  • 70 Posts
  • 5 Reply Likes
Thanks, but for me this was a one-off.

I'll just have to try to be a little more patient and wait for the read to complete :)