Lightroom 5 crashes when you rate, label, or flag your images, or when selecting images in the Filmstrip.
Solution: Replace the current ui.dll file.
Open Lightroom 5.
Choose Help > System info.
Note the application architecture (x64 or x86) and the application folder name. The application folder name is where Lightroom 5 is installed; the default is C:\Program Files.
Exit Lightroom 5.
If your application architecture was x64, click the x64.zip link below. If your application architecture is x86, click the x86.zip link below.