Sorry that Lightroom freezes when you're trying to export your catalog.
Could you please let us know the version of Lightroom you're using and does this problem occurs with all the catalog(even a new catalog) while exporting?
Hi Akash, the version is 2007-2017
Sorry, here is no such Lightroom version.
Could you please share the "System info" from Lightroom: