On QGIS 2.10, running on Ubuntu 15.04 Linux, I have a project file that has a fairly large number of mainly shapefile layers, which gets to 99% on the slider to the right of where it has a message saying 'Loading layer name of last layer' and then just hangs there, for a long period of time (sometimes an hour) before the qgis process crashes.
I haven't had this fault before, even when working with other projects with large numbers of complex layers, and this fault affects one particular project file for no obvious reason.
I have already tried a couple of different methods of resolving this, firstly by removing this last layer by manually editing the .qgs project file in a text editor, and secondly by disabling all plugins and restarting qgis in case it could be a plugin causing the problem. Neither of these affected the issue. If I edit the .qgs file to remove the last layer, the program hangs instead as it displays 'Loading layer...' for the preceding layer.
I have no reason to think that the data of any of the actual layers are missing or corrupted, and in any case if this had happened I would have expected the "Handle bad layers" message instead.
Does anyone know what kind of situation is likely to have caused this, or how to remedy it?