Skip to main content
Gunther Wegner
Known Participant
June 24, 2022

P: Export large Sequences via simple custom export plugin crashes Lightroom 11.4

  • June 24, 2022
  • 52 replies
  • 5117 views

This issue was reported to me by multiple LRTimelapse users that use my LRTExport Lightroom Plugin to export their timelapses.


Symptom: Exporting sequences of multiple thousand images via a custom export plugin consistantly makes Lightroom Classic 11.4 (and later prereleases) crash. This happens on Windows and Mac machines.

There is no problem, with shorter sequences of several hundreds of images, as it appears.

 

I could reproduce the reports from my users on my machine (Windows 10), latest NVidia drivers, etc.

 

To exclude the chance of any programming errors in my rather complex LRTExport plugin, I coded a very simple, basic custom export plugin. This simple plugin, also crashes when used to export several thousand images, you can use it to reproduce the issue:

https://www.dropbox.com/s/4om4748izdlaw1y/Gunther_Wegner_SimpleExport.lrplugin.zip?dl=1

 

The more images I export, the faster and more often the crash happens. With 4000 images for example, often after 10 images Lightroom closes. In some cases it sends a crash report (which I submitted under my info(at)LRTimelapse email address) in some cases it just closes.

Another scenario that I observed a couple of times is that the plugin stops logging and updating the progressbar but the export actually continues in background (filling up the export folder). Then obviously you also can't stop the export via the X button.

 

I can reproduce these issues in 100% of all cases when exporting several thousand images.

 

I went back to Lightroom Classic 11.3.1, where everything works fine in the same scenario.

 

I already spent two days in analyzing this issue and I'm willing to help to provide more information, if I can. It is very important for the timelapse community that this issue gets resolved asap!

 

Thank you in advance,

Gunther Wegner

LRTimelapse.com

This topic has been closed for replies.

52 replies

mathiasrh
Known Participant
July 18, 2022

I can confirm this issue on my computer as well. Exporting 1000 images and more is not possible in 11.4.1. Downgrading to 11.3.1 helps. 

Please fix this issue asap.

Known Participant
July 17, 2022

Yet another member of the global timelapse community here. Like many who have chimed in, I am a professional timelapse photographer. Lightroom and LRTimelapse form the core of my post-processing workflow, and this export bug is crippling.

 

I only found this thread today, having already spent at least 40 hours trying to solve the problem at my end, thinking that it was my own hardware/software/OS that was the root of the problem. Downgrading LR means I can finally get back to work.

 

I sure hope that this bug gets fixed soon, please!

gian luca burini
Participating Frequently
July 16, 2022

versione 11.4.1

gian luca burini
Participating Frequently
July 16, 2022

Lightroom classic quits when exporting many files, without generating any errors. Intel I7 PC with 64gbram hard disck c MM2 500gb Free 290 secondary ssd disks.

Known Participant
July 15, 2022

Issue: 

  • Lightroom Classic Version Number: 11.4.1
  • OS Version Number: Windows 10


Steps to reproduce:

  1. ...Import 4000 CR3 raw files
  2. ...Rename them to a preferred order
  3. ...Export all to another drive as compressed DNG without previews (internal SSD or external) HDD)
  4. Lightroom shuts down part way through the export.

 

 

Expected result: Export to complete
Actual result: Lightroom shuts down

 

This is a serious issue for me as it's part of my backup process. Finding out that not all of the files are backed up puts the clients image security at risk.

Community Expert
July 15, 2022

I don't know the answer.  But, do you have enough disc space?  What happens if you do it 1000 at a time?  Could there be a corrupted image file in there somewhere?

Known Participant
July 15, 2022

Hi Bill,

 

These are either 4tb drives or 2tb ssd's with a massive amount of free space. I've had no issues like this for over 2 years since I started using my current setup. 11.4.x is where things started to go wrong so I'm open to point at my hardware but think it unlikely.

This is with the same two cameras, and sets of cards. There's no issues importing the files or reading them. It could be due to the GPU acceleration but I'm sure it's a bug and not hardware related (imho). Nothing has changed here to cause this. It could even be an issue with ACR.

That the program itself shuts down suggests something bigger is at play, like it gets stuck and crashes. I walk away after starting the export and I find only 35% of the files have been converted.

 

There's other bugs but those have been reported elsewhere. 11.4.1 is better than 11.4.0 but some issues are still present.

Gunther Wegner
Known Participant
July 12, 2022
Hi Kathy,
That correlates exactly with my experiences. It seems to affect all export
plugins.
Let's hope that Adobe will fix this soon.

Best
Gunther
Participant
July 11, 2022

I do not use this particular plugin, but I have recently experienced repeated crashes when attempting to export large numbers of photos (over 1000) using both Jeffrey Friedl's Folder Publisher and another called LRTreeExporter. I cannot get it to run to completion. My hard drive had filled up before I realized that the export process was leaving a folder in a Temp directory (Windows - appdata > local > temp) that still contained large numbers of photos that were part of the export process. I did notice that it never contained the full set of photos, it crashed well before then but the number of files varied. If I target smaller groupings of photos, I typically do not have a problem and the process completes successfully. My crashing never results in any type of dialog box from LrC, it's just gone. 

gian luca burini
Participating Frequently
July 2, 2022

Lightroom classic quits when exporting many files, without generating any errors. Intel I7 PC with 64gbram hard disck c MM2 500gb Free 290 secondary ssd disks.

dj_paige
Legend
July 2, 2022

Version NUMBER of Lightroom Classic?

Version NUMBER of your operating system?

 

Is the problem that Lightroom Classic quits and the rest of the computer runs fine, or is the problem that the computer shuts down and has to be re-started?

 

How many files is "exporting many files"? (give me a number)

How far into this export do you get? (give me a number)

gian luca burini
Participating Frequently
July 2, 2022

versione 11.4.1

johnrellis
Legend
July 1, 2022

My educated guess about what's happening: The LR export pipeline creates a separate LR task for each photo being exported by a plugin.  The LR 11.4 changes to the pipeline (to accommodate the use of the GPU) are causing these tasks to get "starved" by the task scheduler, so they're just queuing up for minutes at a time (or longer) waiting for their turn.  This could be as simple as the rendering part of the pipeline not doing a yield() to the scheduler frequently enough.

 

When hundreds or thousands of these tasks get queued up, perhaps LR sometimes runs out of internal resources and hangs or crashes.

Gunther Wegner
Known Participant
July 1, 2022

@johnrellisthanks for confirming this.