Lightroom: Crashing while backing up catalog (3.6 Mac)

  • 2
  • Problem
  • Updated 7 years ago
  • (Edited)
I've been having a problem with LR for about a month now.

I have LR set to backup my library once a day on exit. So when I go to exit it asks me if I would like to bak the catalog up. I choose yes and it starts to backup.

Now while the backup is running a second window pops up asking if I would like to back up the catalog. I click no and LR crashes.

When I try to re-open LR is say the catalog is corrupt and tries to repair it. Sometimes it works and sometimes it doesn't. So far I have lost two catalogs.

The only thing I have changed is that I added a new external HD and put my library on the external drive.

My internal hard drive is pretty full, could that cause a problem?

System Info:

LR Version 3.6

iMac
Intel Core 2 Duo
2.8 GHz
Memory: 4 GB
OS X 10.5.8
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 2
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
I have moved about 100gb of video off my hard drive. I have tried creating new Libraries and LR still does the same thing.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 823 Reply Likes
When an application crashes on MacOS, the OS tells you about it and offers to send the crash report to Apple - at that point you can see the details of the crash report.

You can find older crash reports in ~/Library/Logs/CrashReporter
or the longer version in ~/Library/Logs/Adobe/LogTransport/Archive/... and the name and version of the application that crashed.
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
That window does pop up when other apps crash, but it has not popped up when LR crashes.

Once it crashes it does tell me LR had a problem quitting and LR restarts. It then tells me it cannot open the library and asks if I want to repair it. I try to repair it and it doesn't work.

Strange thing is a day later I try again with the corrupt library and LR repairs it.

I will see if I can find a crash report.

Thanks.
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
I actually found that I have a LogTransport and LogTransport2 directory.

LogTransport has two reports from Photoshop Elements from April 2011 and LogTransport2 is empty.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 823 Reply Likes
Ok, if the Adobe version isn't there, check for the Apple crash report (in ~/Library/Logs/CrashReporter)
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
Checked there too and didn't find anything. There are some older reports for LR from 2010 and 2011, but no recent ones and nothing from today.

This problem started after I updated to the current version of LR and moved my Library to a new external HD I installed. Not sure if either of those would have anything to do with my problem.
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
Can anyone help me with this?
Photo of Dan Tull

Dan Tull, Employee

  • 172 Posts
  • 38 Reply Likes
Hmm, based on the above I'm wondering if LR is really crashing or just exiting as a result of the superfluous second dialog coming up afterward. I'll have to poke around in the code and see if I can figure out something I can do to figure out why you're seeing two of those dialogs.
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
Thanks Dan.

One thing, after the second dialogue box pops up asking if I want to back up the catalog and I click no, I get a message from LR saying it quit unexpectedly, or something like that. It then tries to restart LR and a re-open the catalog. Then it tells me the catalog is corrupt and asks if I want to try and repair it. I click yes and it says it cannot repair the catalog.

I come back a few days later and the catalog, that LR said was corrupt, opens and works.
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
I finally have a crash report. Can I send this to someone?

I was using LR this morning. Walked away for a few minutes and when I came back and tried working on more images I got a message saying, "LR encountered and error when reading a catalog file and needs to quit."

LR tried to restart and repair the catalog, but it didn't work.



Photo of Dan Tull

Dan Tull, Employee

  • 172 Posts
  • 38 Reply Likes
Ah, that. There won't be a crash report for that case. It's not a process crash, it's just an I/O error for which Lightroom's response is to exit and restart.

Usually this means either the disk where the catalog resides is throwing I/O errors (not a good sign, though I have seen cases of this with some external drives and RAID arrays that otherwise appear to be functioning normally) or some other process is interfering with access to the catalog.

Sometimes the I/O errors are transient, which can also cause the second dialog to appear even in cases where the catalog is not actually corrupt. I used to use an external drive for my main catalog all the time with no problems, but there do seem to be some problematic drives out there.

One other case I remember seeing was where a drive would throw transient I/O errors when it was spinning back up after being spun down while idle. Is the drive a Western Digital brand one, by chance? I think that's the kind that I've run into having problems of this sort before.

DT

P.S. If the catalog is actually corrupt, I can try to fix it if necessary.
Photo of Miguel Cruz

Miguel Cruz

  • 10 Posts
  • 0 Reply Likes
Thanks Dan.

It's actually a Seagate HD. I was wondering if that was causing the problem. The HD goes idle and then I try to exit LR.

Although, there was a crash report generated last time it quit while trying to back up my catalog.