Lightroom 2015.4 is constantly and seemingly randomly crashing.

  • 1
  • Problem
  • Updated 11 months ago
I haven't had this much problem with Lightroom ever, and I've been using it for many years. But with 2015.4, I'm getting crashes constantly. Like several per hour. It's truly blocking my ability to get work done. It doesn't seem to correspond with any particular operation, just randomly out of the blue LR just crashes. I'm also a developer at Microsoft and was able to get a callstack (top module was agkernel.dll), but without debugging symbols it's kind of pointless.  I suspected that maybe the GPU performance enhancement was possibly causing these problems (as I recently upgraded my video card) but it's been off now for a while I still keep crashing.

Is there anything I can do to possibly fix this problem or diagnose what's happening? 
Photo of James Griesmer

James Griesmer

  • 6 Posts
  • 0 Reply Likes
  • angry, sad, frustrated

Posted 3 years ago

  • 1
Photo of James Griesmer

James Griesmer

  • 6 Posts
  • 0 Reply Likes
For the record I'm running Windows 10 (latest public build from November), NVIDIA GeForce GTX Titan (driver 361.91).
Photo of James Griesmer

James Griesmer

  • 6 Posts
  • 0 Reply Likes
Looking at the eventlog, it seems the crashes may not even be related. Over the past hour I had these two.
At 10:19am today I had the one I mentioned in agkernel.dll.
At 10:32am today I then had one in CameraRaw.dll

Looks like there are some related files that may be useful to see. 
Photo of James Griesmer

James Griesmer

  • 6 Posts
  • 0 Reply Likes
Looking back further, it seems the agkernel.dll crash is the more frequent one.
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2643 Posts
  • 337 Reply Likes
Googling for AgKernel crashes, I see one person who had a bad memory module found my memtest and Prime95 and in another thread there is a help page from Adobe about it:

https://forums.adobe.com/thread/1040400

https://forums.adobe.com/thread/2055483

A DLL crashing could be because there are multiple copies and LR is finding the wrong one on the path.

Since you've had multiple crashes, it also could be that the catalog or Camera Raw cache or Previews cache are corrupted so it might not hurt to purge the Camera Raw cache, and create a new catalog with a new Previews folder then import everything from your old catalog into your new catalog (File / Import from another catalog) and see if things are better.

It could even be that the SSD, being flash memory, has a bad spot or two in critical areas. 
Photo of James Griesmer

James Griesmer

  • 6 Posts
  • 0 Reply Likes
Thanks Steve. I hesitate to believe that there's a hardware problem at this point as everything else on my machine is running normally. I need to do something though, because I'm crashing pretty much constantly now as I try to do things. However, I cannot even seem to make a new catalog. As soon as I attempt it, LR, just disappears. File->New Catalog. Picked a new name for the catalog, press enter and... gone. When I reopen LR, it's still pointing at the original catalog. On disk there was nothing created. I think at this point I'm going to try uninstall and reinstall.
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2643 Posts
  • 337 Reply Likes

Something is seriously wrong with your computer, either hardware, or software, or the catalog, itself.

You can roll back to previous versions of LR 2015.x by uninstalling LR, then downloading and installing the base .0 version, then installing the patch to whatever newer version you want, from here: 

https://helpx.adobe.com/lightroom/kb/lightroom-downloads.html

Photo of James Griesmer

James Griesmer

  • 6 Posts
  • 0 Reply Likes
Well, uinstalled and reinstalled LR. I was then able to create a new catalog on another drive (non-SSD). I imported my entire catalog from the old location. I started editing the one file that I was trying to edit before I started down this reinstall path and... bang. Crashed again. However, it does seem to be crashing pretty consistently. At least it seems to happen when I'm editing this one NEF file and am attempting to use the brush. The crash was not in agkernel, but in CameraRaw.dll. Since my uninstall/reinstall should have replaced the Lightroom\CameraRaw.dll with a known good copy, I thought one of two things might be happening.

1) There's something wrong with the XMP file that's associated with this NEF.
2) There's a bug in LR.

Well, wouldn't you know... After I removed the XMP and redid all my edits, THEN tried the brush editing that was giving me fits, I havn't yet experienced a crash. Is it possible that the XMP file was somehow corrupt? Any way to tell other than just deleting it?

I don't think I'm completely out of the woods yet, after all I've only been using it again for a few minutes. But it was so bad before, it was unbearable. I'm hoping that I don't see he agkernel.dll crash anymore now that I moved my catalog and reinstalled LR.

Phew, sorry for so much typing. But maybe it'll help somebody else. :)
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2643 Posts
  • 337 Reply Likes

The XMP file is only a copy of what’s in the LR database, already.   When you say you imported your entire catalog, did you import FROM the catalog FILE or did you import all the photos, again, using whatever settings were stored in the XMPs?

The XMP file could have been in a bad spot on your storage device that holds your photos and deleting it let LR recreate it in a different location but that would leave the bad spot free for another file to be written there.

Photo of Emily Flynn

Emily Flynn

  • 2 Posts
  • 0 Reply Likes
I'm having the same problem with Lightroom classic! Never had any problems before with the previous LR but as soon as I updated to classic it's crashing every 10 mins extremely annoying when I have so much work to do!
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4265 Posts
  • 1547 Reply Likes